From 6a60da72c8e047513d277f65ec393032531e7d02 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 25 Jul 2016 14:12:39 -0700 Subject: [PATCH 001/253] https://api.playfab.com/releaseNotes/#160725 (#69) * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/4a2d5be6b3996643a4bd8c2262239e20b37eda76 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/00e8d9c6d1698f651f3cfd7cc9b4e2c79b41c379 * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/bd433f65207155e8a47362a69afc3e6e43c8e1fc * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/514efaa363364b69337e988da5d4153e73edfc46 * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/409df4e651eab4b8e8431d7a97eed8b3b184d6b4 * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/7cfb169905a9f4a2b6003ca252d9be368ec82797 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/ebdac468562b9d4d2cdf2bf31282eab898b0a278 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/f3e0f088b25b0fdfa17857893897a9e995ae56f2 * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/44eb6e3bf2640cb952aa22ec95ce9b5b79181639 * https://github.com/PlayFab/SDKGenerator/commit/ff41cb27abbea1dc6f1d37685238ac55561aa939 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/9be767d9ad6369b464aaea8cf99588e16f4b9cbc * https://github.com/PlayFab/SDKGenerator/commit/edce013e252af1f964fae8c57a30465e65abceab * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/5f5eaa01948c3b6787a0d68596ab6dfab9e6fe96 * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/4cf7e8762ddf31148d9a64d751e2976c3dbded6b * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/8c46b5023b084d28364a10e00b0054cf622306d8 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/3f054faa0bc54d49f0575c2649f7e5b07832504e * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/d027604b60851f0506413d7f23ca9bbb49864b89 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/a549733c17456d4b976b9b7e431243146b045fbb * https://github.com/PlayFab/SDKGenerator/commit/a549733c17456d4b976b9b7e431243146b045fbb * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/9c61ecd81f2f445707bf29e9695604e73c34a30b * https://github.com/PlayFab/SDKGenerator/commit/84f27fc73037bde6bd0b8bb9f6b84f8d6871b395 * https://github.com/PlayFab/SDKGenerator/commit/db13b8628df01066403bac61ecdf66ec6253c14f * https://github.com/PlayFab/SDKGenerator/commit/db13b8628df01066403bac61ecdf66ec6253c14f * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/81e550e655029bc60e8d997f3f5739a144afd805 * https://github.com/PlayFab/SDKGenerator/commit/89ab2c4ee4f421ad17819acb3524dd31c4bdd274 * https://github.com/PlayFab/SDKGenerator/commit/a8f6e66af35076b284f81264f88a82c5de261416 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/96f8d558e03a03c9754ae74a5c91a147cfd99a34 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/19cb95461b67175761a06f25a1f88b549e1bdeb1 * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/9e3bef846b73ee539f04a1229278af1ca65221e0 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/80f10a6343fa45441cb99d39a982664c5c025db0 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/80f10a6343fa45441cb99d39a982664c5c025db0 * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/d450ad2c4a889dbdf29ef2bc06021b7a17b1309a * https://github.com/PlayFab/SDKGenerator/commit/752c5bdd1e9126149fe26f08c5410d7714819a92 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/f64b36875dda5408252cac4c698948e5b0053f2b * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/1591ebfd0bf5dd1c602fa1c9fb787a616f871c88 * https://github.com/PlayFab/SDKGenerator/commit/4480b5e7eac6fa48df9b4b5aea3479718bc12148 * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/e1f90767efef5f1b9c21b978ff5a078293b5f511 * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/c625248f874f2e1a853d018e3ca8f5186d1a8853 * Automated build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/eca7958f026c227cdbea5e3489a1cca596b9d61b * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/761c4d48da9968a6d0a1e25f21ddd6d173d3dc2f * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/f88f4ad41360caf887cd9e6b02f7f0da4a32f5b9 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/43b38ad36322952d9c4595b1aff7205632ad9645 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/43b38ad36322952d9c4595b1aff7205632ad9645 * Automated build from Jenkins * Automated pf-main build from Jenkins --- PlayFabSDK/PlayFabAdminApi.js | 2 +- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 2cb4af99..3dcf20ab 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.23.160714", + sdkVersion: "0.24.160725", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 45a0d6ee..cc768238 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.23.160714", + sdkVersion: "0.24.160725", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index 21fc0b12..cbc3a735 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.23.160714", + sdkVersion: "0.24.160725", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index cd50d1ad..5a999271 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.23.160714", + sdkVersion: "0.24.160725", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, From 66109ae889faa8566d333f9a54b6febafe92b000 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 1 Aug 2016 17:42:41 -0700 Subject: [PATCH 002/253] https://api.playfab.com/releaseNotes/#160801 (#70) * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/1b845b6a8097664e0a87289ef0dce91ec30dcedf * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins --- PlayFabSDK/PlayFabAdminApi.js | 28 ++++++++++++++++++++++++++-- PlayFabSDK/PlayFabClientApi.js | 28 ++++++++++++++++++++++++++-- PlayFabSDK/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSDK/PlayFabServerApi.js | 28 ++++++++++++++++++++++++++-- 4 files changed, 80 insertions(+), 8 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 3dcf20ab..14c02706 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.24.160725", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.25.160801", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -304,6 +304,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + RemoveVirtualCurrencyTypes: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + SetCatalogItems: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -489,6 +495,24 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + + GetAllSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayersInSegment: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index cc768238..b9dda197 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.24.160725", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.25.160801", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -284,6 +284,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); }, + AddGenericID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + AddUsernamePassword: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -314,6 +320,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetPlayFabIDsFromGenericIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + GetPlayFabIDsFromGoogleIDs: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -398,6 +410,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + RemoveGenericID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + ReportPlayer: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -949,6 +967,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); }, + GetPlayerSegments: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + _MultiStepClientLogin: function (needsAttribution) { if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { var request = {}; diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index cbc3a735..d2718766 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.24.160725", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.25.160801", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 5a999271..5bae351c 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.24.160725", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.25.160801", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -154,6 +154,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetPlayerCombinedInfo: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetPlayerStatistics: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -615,6 +621,24 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + + GetAllSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayersInSegment: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, }; var PlayFabServerSDK = PlayFab.ServerApi; From d29a2ff2fb6e6386fd2b9af681b4f1ae96e757ff Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 15 Aug 2016 11:06:18 -0700 Subject: [PATCH 003/253] https://api.playfab.com/releaseNotes/#160815 https://api.playfab.com/releaseNotes/#160815 --- PlayFabSDK/PlayFabAdminApi.js | 2 +- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 14c02706..1267cf2b 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.25.160801", + sdkVersion: "0.26.160815", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index b9dda197..1d219a71 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.25.160801", + sdkVersion: "0.26.160815", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index d2718766..a64e34ab 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.25.160801", + sdkVersion: "0.26.160815", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 5bae351c..780487b5 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.25.160801", + sdkVersion: "0.26.160815", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, From de97c4442be93375c977d095d9c5a7ee6425728d Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 22 Aug 2016 11:24:09 -0700 Subject: [PATCH 004/253] https://api.playfab.com/releaseNotes/#160822 (#73) * https://github.com/PlayFab/SDKGenerator/commit/ace54351842ffefaee024645a16a60254addd010 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/6963fb88f789935b803b51730b2f16730c27dc69 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/1b128f013594998a64de968eca8ced78fdb5714a * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/2bd1d7bac2055b5c0d1bf300e0b75c9d49ac850e --- PlayFabApiTest.js | 37 ++++++++++++++++------------- PlayFabSDK/PlayFabAdminApi.js | 38 +++++++++++++++++++++++++++++- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 38 +++++++++++++++++++++++++++++- 5 files changed, 96 insertions(+), 21 deletions(-) diff --git a/PlayFabApiTest.js b/PlayFabApiTest.js index c299b10a..0e0a5788 100644 --- a/PlayFabApiTest.js +++ b/PlayFabApiTest.js @@ -67,7 +67,7 @@ var PlayFabApiTests = { } else { // Continue with other tests that require login QUnit.test("UserDataApi", PlayFabApiTests.UserDataApi); - QUnit.test("UserStatisticsApi", PlayFabApiTests.UserStatisticsApi); + QUnit.test("PlayerStatisticsApi", PlayFabApiTests.PlayerStatisticsApi); QUnit.test("UserCharacter", PlayFabApiTests.UserCharacter); QUnit.test("LeaderBoard", PlayFabApiTests.LeaderBoard); QUnit.test("AccountInfo", PlayFabApiTests.AccountInfo); @@ -317,7 +317,7 @@ var PlayFabApiTests = { /// Verify that the data is saved correctly, and that specific types are tested /// Parameter types tested: Dictionary /// - UserStatisticsApi: function (assert) { + PlayerStatisticsApi: function (assert) { var getStatsRequest = {}; // null also works // This test is always exactly 3 async calls @@ -326,40 +326,43 @@ var PlayFabApiTests = { var get2Done = assert.async(); var getStatsCallback2 = function (result, error) { - PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserStats result"); - assert.ok(result.data.UserStatistics != null, "Testing GetUserData Stats"); - assert.ok(result.data.UserStatistics.hasOwnProperty(PlayFabApiTests.testConstants.TEST_STAT_NAME), "Testing GetUserData Stat-value"); + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetPlayerStats result"); + assert.ok(result.data.Statistics != null, "Testing GetUserData Stats"); - var actualtestNumber = result.data.UserStatistics[PlayFabApiTests.testConstants.TEST_STAT_NAME]; + var actualtestNumber = -1000; + for (var i = 0; i < result.data.Statistics.length; i++) + if (result.data.Statistics[i].StatisticName === PlayFabApiTests.testConstants.TEST_STAT_NAME) + actualtestNumber = result.data.Statistics[i].Value; assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing stat: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); get2Done(); }; var updateStatsCallback = function (result, error) { - PlayFabApiTests.VerifyNullError(result, error, assert, "Testing UpdateUserStats result"); - PlayFabClientSDK.GetUserStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback2", getStatsCallback2, assert)); + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing UpdatePlayerStats result"); + PlayFabClientSDK.GetPlayerStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback2", getStatsCallback2, assert)); updateDone(); }; var getStatsCallback1 = function (result, error) { - PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserStats result"); - assert.ok(result.data.UserStatistics != null, "Testing GetUserData Stats"); + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetPlayerStats result"); + assert.ok(result.data.Statistics != null, "Testing GetUserData Stats"); - var hasData = result.data.UserStatistics.hasOwnProperty(PlayFabApiTests.testConstants.TEST_STAT_NAME); - PlayFabApiTests.testData.testNumber = !hasData ? 1 : result.data.UserStatistics[PlayFabApiTests.testConstants.TEST_STAT_NAME]; + PlayFabApiTests.testData.testNumber = 0; + for (var i = 0; i < result.data.Statistics.length; i++) + if (result.data.Statistics[i].StatisticName === PlayFabApiTests.testConstants.TEST_STAT_NAME) + PlayFabApiTests.testData.testNumber = result.data.Statistics[i].Value; PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds var updateStatsRequest = { // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/UpdateUserStatistics - UserStatistics: {} // Can't pre-define properties because the param-name is in a string + // https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + Statistics: [{ StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME, Value: PlayFabApiTests.testData.testNumber }] }; - updateStatsRequest.UserStatistics[PlayFabApiTests.testConstants.TEST_STAT_NAME] = PlayFabApiTests.testData.testNumber; - PlayFabClientSDK.UpdateUserStatistics(updateStatsRequest, PlayFabApiTests.CallbackWrapper("updateStatsCallback", updateStatsCallback, assert)); + PlayFabClientSDK.UpdatePlayerStatistics(updateStatsRequest, PlayFabApiTests.CallbackWrapper("updateStatsCallback", updateStatsCallback, assert)); get1Done(); }; // Kick off this test process - PlayFabClientSDK.GetUserStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback1", getStatsCallback1, assert)); + PlayFabClientSDK.GetPlayerStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback1", getStatsCallback1, assert)); }, /// diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 1267cf2b..205b35b4 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.26.160815", + sdkVersion: "0.27.160822", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -106,24 +106,54 @@ if(!PlayFab._internalSettings) { PlayFab.AdminApi = { + BanUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetUserAccountInfo: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetUserBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + ResetUsers: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + RevokeAllBansForUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + SendAccountRecoveryEmail: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + UpdateBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + UpdateUserTitleDisplayName: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -262,6 +292,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + DeleteStore: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetCatalogItems: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 1d219a71..2f2902bf 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.26.160815", + sdkVersion: "0.27.160822", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index a64e34ab..6a733e4b 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.26.160815", + sdkVersion: "0.27.160822", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 780487b5..2d8b45c6 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.26.160815", + sdkVersion: "0.27.160822", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -112,6 +112,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + BanUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetPlayFabIDsFromFacebookIDs: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -130,12 +136,36 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetUserBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeAllBansForUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + SendPushNotification: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + UpdateBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + DeleteUsers: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -340,6 +370,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetRandomResultTables: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetUserInventory: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; From 5143cb8cffc1d82e49702f816e116674daae5305 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 29 Aug 2016 14:42:33 -0700 Subject: [PATCH 005/253] https://api.playfab.com/releaseNotes/#160829 (#74) * Automated pf-main build from Jenkins * Automated build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/b216b6eb481e21fda1c1dd77144bcdaec2c9216d * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/88cfcc25e19d6f62015611f63041454be318692e * https://github.com/PlayFab/SDKGenerator/commit/19ef407e5e261ad4df59375ab998f04558872507 * https://github.com/PlayFab/SDKGenerator/commit/15e56d3d20c083fa2aa03a784296e76ce7547972 * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * https://github.com/PlayFab/SDKGenerator/commit/6f6b966c8c8a7ee8377dc1fba48c8437eaec824b * Automated build from Jenkins * Automated pf-main build from Jenkins * Automated pf-main build from Jenkins * Automated build from Jenkins --- PlayFabSDK/PlayFabAdminApi.js | 20 ++++++++++++++++++- PlayFabSDK/PlayFabClientApi.js | 32 +++++++++++++++++++++++++++++- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 29 ++++++++++++++++++++++++++- 4 files changed, 79 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 205b35b4..1fa71e2b 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.27.160822", + sdkVersion: "0.28.160829", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -532,6 +532,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + AddPlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetAllSegments: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -549,6 +555,18 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + + GetPlayerTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemovePlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 2f2902bf..c2d0da03 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.27.160822", + sdkVersion: "0.28.160829", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -350,6 +350,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + /** + * @deprecated Please use GetPlayerCombinedInfo instead. + */ GetUserCombinedInfo: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -493,6 +496,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + /** + * @deprecated Please use GetFriendLeaderboardAroundPlayer instead. + */ GetFriendLeaderboardAroundCurrentUser: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -511,6 +517,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + /** + * @deprecated Please use GetLeaderboardAroundPlayer instead. + */ GetLeaderboardAroundCurrentUser: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -559,6 +568,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + /** + * @deprecated Please use GetPlayerStatistics instead. + */ GetUserStatistics: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -583,6 +595,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + /** + * @deprecated Please use UpdatePlayerStatistics instead. + */ UpdateUserStatistics: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -775,6 +790,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + /** + * @deprecated Please use WritePlayerEvent instead. + */ LogEvent: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -835,6 +853,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + /** + * @deprecated Please use ExecuteCloudScript instead. + */ GetCloudScriptUrl: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -846,6 +867,9 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCloudScriptUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); }, + /** + * @deprecated Please use ExecuteCloudScript instead. + */ RunCloudScript: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -973,6 +997,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetPlayerTags: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + _MultiStepClientLogin: function (needsAttribution) { if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { var request = {}; diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index 6a733e4b..72045b7c 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.27.160822", + sdkVersion: "0.28.160829", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 2d8b45c6..febddc80 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.27.160822", + sdkVersion: "0.28.160829", buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -238,6 +238,9 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use GetPlayerStatistics instead. + */ GetUserStatistics: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -286,6 +289,9 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use UpdatePlayerStatistics instead. + */ UpdateUserStatistics: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -502,6 +508,9 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use WritePlayerEvent instead. + */ LogEvent: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -658,6 +667,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + AddPlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetAllSegments: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -675,6 +690,18 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + + GetPlayerTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemovePlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, }; var PlayFabServerSDK = PlayFab.ServerApi; From e951730128299aed07604ad4caaae1539f4ec9db Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Thu, 8 Sep 2016 17:08:07 -0700 Subject: [PATCH 006/253] Add an example template to prevent FAQ being asked (#67) (#76) New example section provided by dylanh724 --- README.md | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9dc149ae..9af89d3c 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,71 @@ Our Developer Success Team can assist with answering any questions as well as pr [Forums, Support and Knowledge Base](https://community.playfab.com/hc/en-us) +6. Example Usage (Template): +---- + +``` +// In this javascript example, it is assumed your html will include the PlayFab JavaScript Client SDK +// For example, in your html header, add this: +// + +// You must always set your titleId first +PlayFab.settings.titleId = null; // Set your titleId here. Example: "6195" + +// Utility function (We may add this to the core sdk later) +function CompileErrorReport(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; +} + +// Define a callback function (In this case for any PlayFab-Login) +function OnLogin(response, error) { + if (response && response["code"] == 200) { + console.log("Login Successful: " + response.data.PlayFabId) + } + else { + console.log("LoginWithEmailAddress Failed: \n" + CompileErrorReport(error)) + } +} + +// Username and email is a typical login for Web-Pages +function ExampleLoginWithEmailAddress(email, password) +{ + // Request JSON + var loginRequest = { + TitleId: PlayFab.settings.titleId, + "Email": email, + "Password": password + }; + // https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress + PlayFabClientSDK.LoginWithEmailAddress(loginRequest, OnLogin); +} + +// CustomId should only be used for testing or evaluating PlayFab, but it can be any string +function ExampleLoginWithCustomId(customId) { + // Request JSON + var loginRequest = { + TitleId: PlayFab.settings.titleId, + CustomId: PlayFab._internalSettings.buildIdentifier, + CreateAccount: true + }; + // https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + PlayFabClientSDK.LoginWithCustomID(loginRequest, OnLogin); +} +``` + + +7. Acknowledgements +---- + Example Usage provided by [dylanh724](https://www.github.com/dylanh724) + -6. Copyright and Licensing Information: +8. Copyright and Licensing Information: ---- Apache License -- Version 2.0, January 2004 From b68054cf26e01ed06f29f58594b094da8cd3b9d8 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 12 Sep 2016 14:57:59 -0700 Subject: [PATCH 007/253] https://api.playfab.com/releaseNotes/#160912 https://api.playfab.com/releaseNotes/#160912 --- PlayFabApiTest.js | 18 ++++++++++-------- PlayFabSDK/PlayFabAdminApi.js | 10 ++++++++-- PlayFabSDK/PlayFabClientApi.js | 4 ++-- PlayFabSDK/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSDK/PlayFabServerApi.js | 10 ++++++++-- 5 files changed, 30 insertions(+), 16 deletions(-) diff --git a/PlayFabApiTest.js b/PlayFabApiTest.js index 0e0a5788..9e0ed4ae 100644 --- a/PlayFabApiTest.js +++ b/PlayFabApiTest.js @@ -28,7 +28,7 @@ var PlayFabApiTests = { testNumber: null // Used by several tests }, testConstants: { - TEST_KEY: "testCounter", + TEST_DATA_KEY: "testCounter", TEST_STAT_NAME: "str", CHAR_TEST_TYPE: "Fighter" }, @@ -44,7 +44,7 @@ var PlayFabApiTests = { }, LoginTests: function () { - // All tests run completely synchronously, which is a bit tricky. + // All tests run in parallel, which is a bit tricky. // Some test rely on data loaded from other tests, and there's no super easy to force tests to be sequential/dependent // In fact, most of the tests return here before they're done, and report back success/fail in some arbitrary future @@ -147,6 +147,8 @@ var PlayFabApiTests = { var invalidDone = assert.async(); var invalidRequest = { + // Currently, you need to look up the correct format for this object in the API-docs: + // https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress TitleId: PlayFab.settings.titleId, Email: PlayFabApiTests.titleData.userEmail, Password: PlayFabApiTests.titleData.userPassword + "INVALID" @@ -270,10 +272,10 @@ var PlayFabApiTests = { var getDataCallback2 = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserData result"); assert.ok(result.data.Data != null, "Testing GetUserData Data"); - assert.ok(result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_KEY), "Testing GetUserData DataKey"); + assert.ok(result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY), "Testing GetUserData DataKey"); - var actualtestNumber = parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_KEY].Value, 10); - var timeUpdated = new Date(result.data.Data[PlayFabApiTests.testConstants.TEST_KEY].LastUpdated); + var actualtestNumber = parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].Value, 10); + var timeUpdated = new Date(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].LastUpdated); var now = Date.now(); var testMin = now - (1000 * 60 * 5); @@ -292,8 +294,8 @@ var PlayFabApiTests = { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserData result"); assert.ok(result.data.Data != null, "Testing GetUserData Data"); - var hasData = result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_KEY); - PlayFabApiTests.testData.testNumber = !hasData ? 1 : parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_KEY].Value, 10); + var hasData = result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY); + PlayFabApiTests.testData.testNumber = !hasData ? 1 : parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].Value, 10); PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds var updateDataRequest = { @@ -301,7 +303,7 @@ var PlayFabApiTests = { // https://api.playfab.com/Documentation/Client/method/UpdateUserData Data: {} // Can't pre-define properties because the param-name is in a string }; - updateDataRequest.Data[PlayFabApiTests.testConstants.TEST_KEY] = PlayFabApiTests.testData.testNumber; + updateDataRequest.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY] = PlayFabApiTests.testData.testNumber; PlayFabClientSDK.UpdateUserData(updateDataRequest, PlayFabApiTests.CallbackWrapper("updateDataCallback", updateDataCallback, assert)); get1Done(); }; diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 1fa71e2b..4992138b 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.28.160829", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.29.160912", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -538,6 +538,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetAllActionGroups: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetAllSegments: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index c2d0da03..8b112805 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.28.160829", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.29.160912", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index 72045b7c..fe7a5066 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.28.160829", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.29.160912", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index febddc80..fda9ea13 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.28.160829", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.29.160912", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -673,6 +673,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetAllActionGroups: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetAllSegments: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; From 900c135b7e5e3060c25fbcfcf5054ca47720f098 Mon Sep 17 00:00:00 2001 From: Zee Bee Date: Mon, 12 Sep 2016 17:33:25 -0700 Subject: [PATCH 008/253] Updated readme Added details on using the CDN. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9af89d3c..b056004c 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ These files are an internal PlayFab testing project, which activates and tests t They require a testTitleData.json file to exist, which is described below. +This SDK can alternatively be obtained via our CDN. Additional details can be found [here](https://playfab.com/playfab-now-serving-javascript-sdk-via-cdn/). + 4. testTitleData.json file required for example test files. ---- From 2062151f04f06ee957092a2a1f44179423379090 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 19 Sep 2016 13:53:11 -0700 Subject: [PATCH 009/253] https://api.playfab.com/releaseNotes/#160919 (#78) https://api.playfab.com/releaseNotes/#160919 --- PlayFabApiTest.html | 8 ++--- PlayFabApiTest.js | 12 +++++-- PlayFabSDK/PlayFabAdminApi.js | 16 +++++++-- PlayFabSDK/PlayFabClientApi.js | 4 +-- PlayFabSDK/PlayFabMatchmakerApi.js | 4 +-- PlayFabSDK/PlayFabServerApi.js | 52 ++++++++++++++++++++++++++++-- 6 files changed, 81 insertions(+), 15 deletions(-) diff --git a/PlayFabApiTest.html b/PlayFabApiTest.html index b2c8e098..554ac4a9 100644 --- a/PlayFabApiTest.html +++ b/PlayFabApiTest.html @@ -10,10 +10,10 @@
- - - - + + + + diff --git a/PlayFabApiTest.js b/PlayFabApiTest.js index 9e0ed4ae..8d7cd89d 100644 --- a/PlayFabApiTest.js +++ b/PlayFabApiTest.js @@ -588,11 +588,17 @@ QUnit.done(function (details) { FunctionParameter: { customId: PlayFab._internalSettings.buildIdentifier, testReport: PfTestReport }, GeneratePlayStreamEvent: true }; + var onSaveResultsFinal = function (result, error) { + if (result && !error) { + console.log(PlayFabApiTests.testData.playFabId, ", Test report saved to CloudScript: ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + } else { + console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (CS Error): ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + } + }; if (PlayFabClientSDK.IsClientLoggedIn()) { - PlayFabClientSDK.ExecuteCloudScript(saveResultsRequest, null); - console.log(PlayFabApiTests.testData.playFabId, ", Test report saved to CloudScript: ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + PlayFabClientSDK.ExecuteCloudScript(saveResultsRequest, onSaveResultsFinal); } else { - console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript: ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (Login): ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); } }); diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 4992138b..3546d853 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.29.160912", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.30.160919", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -232,12 +232,24 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + RefundPurchase: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + ResetUserStatistics: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + ResolvePurchaseDispute: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + UpdatePlayerStatisticDefinition: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 8b112805..80da2624 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.29.160912", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.30.160919", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index fe7a5066..d41bbae3 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.29.160912", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.30.160919", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index fda9ea13..17ed6d66 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.29.160912", - buildIdentifier: "jbuild_javascriptsdk_1", + sdkVersion: "0.30.160919", + buildIdentifier: "jbuild_javascriptsdk_0", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -172,6 +172,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetFriendLeaderboard: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetLeaderboard: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -478,6 +484,30 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + AddFriend: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetFriendsList: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemoveFriend: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeregisterGame: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + NotifyMatchmakerPlayerLeft: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -490,6 +520,18 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + RefreshGameServerInstanceHeartbeat: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RegisterGame: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + SetGameServerInstanceData: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -502,6 +544,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetGameServerInstanceTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + AwardSteamAchievement: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; From 6bc58e7ef2f1f001f581c00bfe48326f854c64e7 Mon Sep 17 00:00:00 2001 From: pgilmorepf Date: Mon, 26 Sep 2016 13:26:15 -0700 Subject: [PATCH 010/253] testTitleData.json readme update --- README.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b056004c..9018d3eb 100644 --- a/README.md +++ b/README.md @@ -28,20 +28,10 @@ This SDK can alternatively be obtained via our CDN. Additional details can be fo 4. testTitleData.json file required for example test files. ---- -This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional. The testTitleData.json file provides your secret title information to the unit-test project, so it can execute tests in your own PlayFab title. - -The format is as follows: - - { - "titleId": "your Game Title ID, found in the settings/credentials section of your dashboard on the website", - "developerSecretKey": "your PlayFab API Secret Key, found in the settings/credentials section of your dashboard on the website - NEVER SHARE THIS KEY WITH PLAYERS", - "titleCanUpdateSettings": "false", // "true" or "false", based on your Allow Client to Post Player Statistics option, found in the settings/general section of your dashboard on the website - "userName": "testUser", // Arbitrary username, you can change this to any valid username - "userEmail": "your@email.com", // This email address will be bound to the username above - "userPassword": "testPassword", // This must be the correct password for the testUser above (if that user does not exist yet, this will be the new password) - "characterName": "testCharacter" // Arbitrary characterName, you can change this to any valid characterName - } +This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional. +Please read about the testTitleData.json format, and purpose here: +* https://github.com/PlayFab/SDKGenerator/blob/master/JenkinsConsoleUtility/testTitleData.md This file must be created and placed in the root of the sdk (beside PlayFabApiTest.html & PlayFabApiTest.js), and must be named "testTitleData.json" From 76c041f0b2da68298db617fe0abc75260da4a061 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 3 Oct 2016 18:20:27 +0000 Subject: [PATCH 011/253] https://github.com/PlayFab/SDKGenerator/commit/1bcc2b2ea6b7621326c614a2d4c9aa6556e7dd21 --- PlayFabApiTest.js | 10 +++------- PlayFabSDK/PlayFabAdminApi.js | 4 ++-- PlayFabSDK/PlayFabClientApi.js | 10 ++++++++-- PlayFabSDK/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSDK/PlayFabServerApi.js | 10 ++++++++-- 5 files changed, 23 insertions(+), 15 deletions(-) diff --git a/PlayFabApiTest.js b/PlayFabApiTest.js index 8d7cd89d..e3d73873 100644 --- a/PlayFabApiTest.js +++ b/PlayFabApiTest.js @@ -17,10 +17,8 @@ var PlayFabApiTests = { titleId: null, // put titleId here developerSecretKey: null, // put secretKey here titleCanUpdateSettings: "true", - userName: "put test username here", - userEmail: "put valid email for userName here", - userPassword: "put valid password for userName here", - characterName: "put valid characterName for userName here" + userEmail: "put valid email associated with an existing account here", + characterName: "put any character name here" }, testData: { playFabId: null, // Filled during login @@ -81,9 +79,7 @@ var PlayFabApiTests = { var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null && inputTitleData.hasOwnProperty("titleCanUpdateSettings") - && inputTitleData.hasOwnProperty("userName") && inputTitleData.hasOwnProperty("userEmail") - && inputTitleData.hasOwnProperty("userPassword") && inputTitleData.hasOwnProperty("characterName"); if (titleDataValid) @@ -151,7 +147,7 @@ var PlayFabApiTests = { // https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress TitleId: PlayFab.settings.titleId, Email: PlayFabApiTests.titleData.userEmail, - Password: PlayFabApiTests.titleData.userPassword + "INVALID" + Password: "INVALID" }; var invalidLoginCallback = function (result, error) { diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 3546d853..c8add4bf 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.30.160919", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.31.161003", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 80da2624..6e896bc2 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.30.160919", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.31.161003", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -622,6 +622,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetTime: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + GetTitleData: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index d41bbae3..c42a2a4e 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.30.160919", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.31.161003", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 17ed6d66..83066627 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,8 +18,8 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.30.160919", - buildIdentifier: "jbuild_javascriptsdk_0", + sdkVersion: "0.31.161003", + buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", logicServerUrl: null, @@ -316,6 +316,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetTime: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetTitleData: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; From 8aaded4e68105838e28f97cbf9032541a8e8c6bc Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 17 Oct 2016 22:33:51 +0000 Subject: [PATCH 012/253] https://api.playfab.com/releaseNotes/#161017 --- PlayFabApiTest.js | 29 ++++++++++- PlayFabSDK/PlayFabAdminApi.js | 9 +--- PlayFabSDK/PlayFabClientApi.js | 79 ++---------------------------- PlayFabSDK/PlayFabMatchmakerApi.js | 9 +--- PlayFabSDK/PlayFabServerApi.js | 36 +------------- 5 files changed, 37 insertions(+), 125 deletions(-) diff --git a/PlayFabApiTest.js b/PlayFabApiTest.js index e3d73873..8247a538 100644 --- a/PlayFabApiTest.js +++ b/PlayFabApiTest.js @@ -12,7 +12,7 @@ if (typeof QUnit == "undefined") { } var PlayFabApiTests = { - testTitleDataFilename: "testTitleData.json", // TODO: Do not hard code the location of this file (javascript can't really do relative paths either) + testTitleDataFilename: "testTitleData.json", // Since you never want this to be public, a web page can ONLY load this if it's a local file in the same directory (Also can't convert to environment variable) titleData: { titleId: null, // put titleId here developerSecretKey: null, // put secretKey here @@ -70,6 +70,7 @@ var PlayFabApiTests = { QUnit.test("LeaderBoard", PlayFabApiTests.LeaderBoard); QUnit.test("AccountInfo", PlayFabApiTests.AccountInfo); QUnit.test("CloudScript", PlayFabApiTests.CloudScript); + QUnit.test("CloudScriptError", PlayFabApiTests.CloudScriptError); QUnit.test("WriteEvent", PlayFabApiTests.WriteEvent); } }, @@ -510,6 +511,32 @@ var PlayFabApiTests = { PlayFabClientSDK.ExecuteCloudScript(helloWorldRequest, PlayFabApiTests.CallbackWrapper("helloWorldCallback", helloWorldCallback, assert)); }, + /// + /// CLIENT API + /// Test that CloudScript errors can be deciphered + /// + CloudScriptError: function (assert) { + var errDone = assert.async(); + + var errRequest = { + // Currently, you need to look up the correct format for this object in the API-docs: + // https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + FunctionName: "throwError" + }; + + var errCallback = function (result, error) { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Cloud Script Error result"); + if (result != null) { + assert.ok(result.data.FunctionResult == null, "Testing Cloud Script Error result"); + assert.ok(result.data.Error != null, "Testing Cloud Script Error result message"); + assert.equal(result.data.Error.Error, "JavascriptException", "Testing Cloud Script Error result message"); + } + errDone(); + }; + + PlayFabClientSDK.ExecuteCloudScript(errRequest, PlayFabApiTests.CallbackWrapper("errCallback", errCallback, assert)); + }, + /// /// CLIENT API /// Test that the client can publish custom PlayStream events diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index c8add4bf..1f1cd89d 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -11,26 +11,21 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Android_Id" + AD_TYPE_ANDROID_ID: "Adid" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.31.161003", + sdkVersion: "0.32.161017", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", - logicServerUrl: null, GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - GetLogicServerUrl: function () { - return PlayFab._internalSettings.logicServerUrl; - }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 6e896bc2..2f8dc0f6 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -11,26 +11,21 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Android_Id" + AD_TYPE_ANDROID_ID: "Adid" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.31.161003", + sdkVersion: "0.32.161017", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", - logicServerUrl: null, GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - GetLogicServerUrl: function () { - return PlayFab._internalSettings.logicServerUrl; - }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -496,15 +491,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - /** - * @deprecated Please use GetFriendLeaderboardAroundPlayer instead. - */ - GetFriendLeaderboardAroundCurrentUser: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundCurrentUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - GetFriendLeaderboardAroundPlayer: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -517,15 +503,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - /** - * @deprecated Please use GetLeaderboardAroundPlayer instead. - */ - GetLeaderboardAroundCurrentUser: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCurrentUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - GetLeaderboardAroundPlayer: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -568,15 +545,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - /** - * @deprecated Please use GetPlayerStatistics instead. - */ - GetUserStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - UpdatePlayerStatistics: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -595,15 +563,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - /** - * @deprecated Please use UpdatePlayerStatistics instead. - */ - UpdateUserStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - GetCatalogItems: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -796,15 +755,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - /** - * @deprecated Please use WritePlayerEvent instead. - */ - LogEvent: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LogEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - WriteCharacterEvent: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -859,29 +809,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - /** - * @deprecated Please use ExecuteCloudScript instead. - */ - GetCloudScriptUrl: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - var overloadCallback = function (result, error) { - PlayFab._internalSettings.logicServerUrl = result.data.Url; - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCloudScriptUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); - }, - - /** - * @deprecated Please use ExecuteCloudScript instead. - */ - RunCloudScript: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetLogicServerUrl() + "/Client/RunCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - GetContentDownloadUrl: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -1015,7 +942,7 @@ PlayFab.ClientApi = { if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) request.Idfa = PlayFab.settings.advertisingIdValue; else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) - request.Android_Id = PlayFab.settings.advertisingIdValue; + request.Adid = PlayFab.settings.advertisingIdValue; else return; PlayFab.ClientApi.AttributeInstall(request, null); diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index c42a2a4e..782d99f7 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -11,26 +11,21 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Android_Id" + AD_TYPE_ANDROID_ID: "Adid" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.31.161003", + sdkVersion: "0.32.161017", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", - logicServerUrl: null, GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - GetLogicServerUrl: function () { - return PlayFab._internalSettings.logicServerUrl; - }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 83066627..14bc56f4 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -11,26 +11,21 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Android_Id" + AD_TYPE_ANDROID_ID: "Adid" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.31.161003", + sdkVersion: "0.32.161017", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", - logicServerUrl: null, GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - GetLogicServerUrl: function () { - return PlayFab._internalSettings.logicServerUrl; - }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -244,15 +239,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, - /** - * @deprecated Please use GetPlayerStatistics instead. - */ - GetUserStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); - }, - UpdatePlayerStatistics: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -295,15 +281,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, - /** - * @deprecated Please use UpdatePlayerStatistics instead. - */ - UpdateUserStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); - }, - GetCatalogItems: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -562,15 +539,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, - /** - * @deprecated Please use WritePlayerEvent instead. - */ - LogEvent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LogEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); - }, - WriteCharacterEvent: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; From cf0977dd9bcb4fb40524b24e82485ceafab19c95 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 7 Nov 2016 23:28:41 +0000 Subject: [PATCH 013/253] https://api.playfab.com/releaseNotes/#161107 --- PlayFabSDK/PlayFabAdminApi.js | 62 +++++++++++++++++++++++++++++- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 2 +- 4 files changed, 64 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 1f1cd89d..ca21588a 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.32.161017", + sdkVersion: "0.33.161107", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", @@ -580,6 +580,66 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + + AbortTaskInstance: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + CreateActionsOnPlayersInSegmentTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + CreateCloudScriptTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCloudScriptTaskInstance: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTaskInstances: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTasks: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RunTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 2f8dc0f6..db2d1d86 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.32.161017", + sdkVersion: "0.33.161107", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index 782d99f7..983671e1 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.32.161017", + sdkVersion: "0.33.161107", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 14bc56f4..6e8df4e5 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.32.161017", + sdkVersion: "0.33.161107", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", From 65c11718ae505a8e025d224bb5a1115430e4c58e Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 21 Nov 2016 18:26:38 +0000 Subject: [PATCH 014/253] https://api.playfab.com/releaseNotes/#161121 --- PlayFabSDK/PlayFabAdminApi.js | 14 +++++++++++++- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index ca21588a..75397326 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.33.161107", + sdkVersion: "0.34.161121", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", @@ -101,6 +101,18 @@ if(!PlayFab._internalSettings) { PlayFab.AdminApi = { + GetPolicy: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdatePolicy: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + BanUsers: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index db2d1d86..2d12a7de 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.33.161107", + sdkVersion: "0.34.161121", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index 983671e1..07065a78 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.33.161107", + sdkVersion: "0.34.161121", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 6e8df4e5..18d5bea0 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.33.161107", + sdkVersion: "0.34.161121", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", From 8ea8f3d0b78b5061726a353810e6dee9b84734e4 Mon Sep 17 00:00:00 2001 From: pgilmorepf Date: Thu, 15 Dec 2016 14:13:43 -0800 Subject: [PATCH 015/253] Readme support link updated --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9018d3eb..a9e33dee 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Do you have ideas on how we can make our products and services better? Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services. -[Forums, Support and Knowledge Base](https://community.playfab.com/hc/en-us) +[Forums, Support and Knowledge Base](https://community.playfab.com/index.html) 6. Example Usage (Template): ---- From 2540a0bbac51dac24c7ad429ca9a575d99e01a68 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 2 Jan 2017 23:51:15 +0000 Subject: [PATCH 016/253] https://api.playfab.com/releaseNotes/#170102 --- PlayFabApiTest.js | 2 -- PlayFabSDK/PlayFabAdminApi.js | 2 +- PlayFabSDK/PlayFabClientApi.js | 11 +---------- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 2 +- 5 files changed, 4 insertions(+), 15 deletions(-) diff --git a/PlayFabApiTest.js b/PlayFabApiTest.js index 8247a538..378bdd25 100644 --- a/PlayFabApiTest.js +++ b/PlayFabApiTest.js @@ -16,7 +16,6 @@ var PlayFabApiTests = { titleData: { titleId: null, // put titleId here developerSecretKey: null, // put secretKey here - titleCanUpdateSettings: "true", userEmail: "put valid email associated with an existing account here", characterName: "put any character name here" }, @@ -79,7 +78,6 @@ var PlayFabApiTests = { // All of these must exist for the titleData load to be successful var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null - && inputTitleData.hasOwnProperty("titleCanUpdateSettings") && inputTitleData.hasOwnProperty("userEmail") && inputTitleData.hasOwnProperty("characterName"); diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index 75397326..cce62766 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.34.161121", + sdkVersion: "0.35.170102", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 2d12a7de..7db51858 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.34.161121", + sdkVersion: "0.35.170102", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", @@ -345,15 +345,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - /** - * @deprecated Please use GetPlayerCombinedInfo instead. - */ - GetUserCombinedInfo: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - LinkAndroidDeviceID: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index 07065a78..c454db7a 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.34.161121", + sdkVersion: "0.35.170102", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 18d5bea0..0790e981 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.34.161121", + sdkVersion: "0.35.170102", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", From 8e3a6d25dead360356166f0a4ad7b8465a0d7e6e Mon Sep 17 00:00:00 2001 From: pgilmorepf Date: Thu, 5 Jan 2017 14:06:26 -0800 Subject: [PATCH 017/253] Publishing the GettingStartedGuide --- JavaScriptGettingStarted.md | 144 ++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 JavaScriptGettingStarted.md diff --git a/JavaScriptGettingStarted.md b/JavaScriptGettingStarted.md new file mode 100644 index 00000000..204c33c6 --- /dev/null +++ b/JavaScriptGettingStarted.md @@ -0,0 +1,144 @@ + +JavaScript Getting Started Guide +---- + +This guide will help you make your first API call in JavaScript. + +JavaScript Project Setup +---- + +* OS: This guide should work in any OS capable of running a web-browser +* Installation + * You are probably already reading this page on your favorite browser +* New Project Setup + * Create a new folder, with two empty text files: + * PlayFabGettingStarted.html + * PlayFabGettingStarted.js +* PlayFab installation complete + +Set up your first API call +---- + +This guide will provide the minimum steps to make your first PlayFab API call. Confirmation will be visible on the webpage. + +In your favorite text-editor, update the contents of PlayFabGettingStarted.html as follows: +```HTML + + + + + PlayFab JavaScript Unit Tests + + + + + PlayFab Getting Started Guide
+ TitleID:
+ CustomID:
+
+ Result:
+
+ + +``` + +In your favorite text-editor, update the contents of PlayFabGettingStarted.js as follows: +```JavaScript +function DoExampleLoginWithCustomID(){ + PlayFab.settings.titleId = document.getElementById("titleId").value; + var loginRequest = { + // Currently, you need to look up the correct format for this object in the API-docs: + // https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + TitleId: PlayFab.settings.titleId, + CustomId: document.getElementById("customId").value, + CreateAccount: true + }; + + PlayFabClientSDK.LoginWithCustomID(loginRequest, LoginCallback); +} + +var LoginCallback = function (result, error) { + if (result !== null) { + document.getElementById("resultOutput").innerHTML = "Congratulations, you made your first successful API call!"; + } else if (error !== null) { + document.getElementById("resultOutput").innerHTML = + "Something went wrong with your first API call.\n" + + "Here's some debug information:\n" + + CompileErrorReport(error); + } +} + +// This is a utility function we haven't put into the core SDK yet. Feel free to use it. +function CompileErrorReport(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; +} +``` + +Finish and Execute +---- + +* Open PlayFabGettingStarted.html in your favorite browser +* Click the "Call LoginWithCustomID" button +* You should see the following text in the Result section: +```text +Congratulations, you made your first successful API call! +``` + +* At this point, you can start making other api calls, and building your game +* For a list of all available client API calls, see our documentation: + * https://api.playfab.com/ +* Happy coding! + +Deconstruct the code +---- + +This optional last section describes each part of Program.cs in detail. + +The HTML file has a few important lines: +```HTML + +``` + +This line loads the Client-SDK directly from the PlayFab CDN. Our CDN always hosts the latest version of PlayFabSDK. It may be safer for you to download the files, and use a fixed version: [PlayFab JavaScriptSDK](https://api.playfab.com/sdks/download/javascript) + +The other important HTML lines: +```HTML + +... +
+``` + +As you can see above, PlayFabGettingStarted.js contains the DoExampleLoginWithCustomID function. These lines bind our js file to our webpage, and invoke the DoExampleLoginWithCustomID function in that script. Everything else is just GUI. + +* Line by line breakdown for PlayFabGettingStarted.js + * PlayFab.settings.titleId = "xxxx"; + * Every PlayFab developer creates a title in Game Manager. When you publish your game, you must code that titleId into your game. This lets the client know how to access the correct data within PlayFab. For most users, just consider it a mandatory step that makes PlayFab work. + * var loginRequest = { TitleId: PlayFab.settings.titleId, CustomId: "GettingStartedGuide", CreateAccount: true }; + * Most PlayFab API methods require input parameters, and those input parameters are packed into a request object + * Every API method requires a unique request object, with a mix of optional and mandatory parameters + * For LoginWithCustomIDRequest, there is a mandatory parameter of CustomId, which uniquely identifies a player and CreateAccount, which allows the creation of a new account with this call. TitleId is another mandatory parameter in JavaScript, and it must match PlayFab.settings.titleId + * PlayFabClientSDK.LoginWithCustomID(loginRequest, LoginCallback); + * This begins the async request to "LoginWithCustomID", which will call LoginCallback when the API call is complete + * For login, most developers will want to use a more appropriate login method + * See the [PlayFab Login Documentation](https://api.playfab.com/Documentation/Client#Authentication) for a list of all login methods, and input parameters. Common choices are: + * [LoginWithAndroidDeviceID](https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID) + * [LoginWithIOSDeviceID](https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID) + * [LoginWithEmailAddress](https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress) +* LoginCallback contains two parameters: result, error + * When successful, error will be null, and the result object will contain the requested information, according to the API called + * This result contains some basic information about the player, but for most users, login is simply a mandatory step before calling other APIs. + * If error is not null, your API has failed + * API calls can fail for many reasons, and you should always attempt to handle failure + * Why API calls fail (In order of likelihood) + * PlayFabSettings.TitleId is not set. If you forget to set titleId to your title, then nothing will work. + * Request parameters. If you have not provided the correct or required information for a particular API call, then it will fail. See error.errorMessage, error.errorDetails, or error.GenerateErrorReport() for more info. + * Device connectivity issue. Cell-phones lose/regain connectivity constantly, and so any API call at any time can fail randomly, and then work immediately after. Going into a tunnel can disconnect you completely. + * PlayFab server issue. As with all software, there can be issues. See our [release notes](https://api.playfab.com/releaseNotes/) for updates. + * The internet is not 100% reliable. Sometimes the message is corrupted or fails to reach the PlayFab server. + * If you are having difficulty debugging an issue, and the information within the error information is not sufficient, please visit us on our [forums](https://community.playfab.com/index.html) From ec32aa43b66700983ccbc198dbb127aad44ca84d Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 9 Jan 2017 18:28:07 +0000 Subject: [PATCH 018/253] https://api.playfab.com/releaseNotes/#170109 --- PlayFabSDK/PlayFabAdminApi.js | 2 +- PlayFabSDK/PlayFabClientApi.js | 2 +- PlayFabSDK/PlayFabMatchmakerApi.js | 2 +- PlayFabSDK/PlayFabServerApi.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSDK/PlayFabAdminApi.js index cce62766..6a68b38c 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSDK/PlayFabAdminApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.35.170102", + sdkVersion: "0.36.170109", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSDK/PlayFabClientApi.js index 7db51858..6632339e 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSDK/PlayFabClientApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.35.170102", + sdkVersion: "0.36.170109", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSDK/PlayFabMatchmakerApi.js index c454db7a..a52ea3d7 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSDK/PlayFabMatchmakerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.35.170102", + sdkVersion: "0.36.170109", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSDK/PlayFabServerApi.js index 0790e981..f84d5fac 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSDK/PlayFabServerApi.js @@ -18,7 +18,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.35.170102", + sdkVersion: "0.36.170109", buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", From e6febe520f572367a942eedb2d56c0707d2ef124 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Fri, 27 Jan 2017 16:47:12 -0800 Subject: [PATCH 019/253] Update README.md --- README.md | 83 ++++++++----------------------------------------------- 1 file changed, 11 insertions(+), 72 deletions(-) diff --git a/README.md b/README.md index a9e33dee..023b2411 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,13 @@ JavaScriptSDK README ======== 1. Overview: ---- + JavaScriptSDK for the Client API of PlayFab +This SDK can alternatively be used via our CDN. Additional details can be found [here](https://playfab.com/playfab-now-serving-javascript-sdk-via-cdn/). + +If you want to start coding right away, check out our [JavaScript Getting Started Guide](JavaScriptGettingStarted.md) + 2. Prerequisites: ---- @@ -15,18 +20,10 @@ To connect to the PlayFab service, your machine must be running TLS v1.2 or bett * [Support for SSL/TLS protocols on Windows](http://blogs.msdn.com/b/kaushal/archive/2011/10/02/support-for-ssl-tls-protocols-on-windows.aspx) -3. Example Project: PlayFabApiTest.html & PlayFabApiTest.js: +3. Example Project (UNDER CONSTRUCTION) ---- -These files are an internal PlayFab testing project, which activates and tests the core functionality of the sdk. They are not part of the sdk. You should delete these two files before integrating the sdk with your project. - -They require a testTitleData.json file to exist, which is described below. - -This SDK can alternatively be obtained via our CDN. Additional details can be found [here](https://playfab.com/playfab-now-serving-javascript-sdk-via-cdn/). - - -4. testTitleData.json file required for example test files. ----- +The Example project is being revised for the upcoming 1.0 release This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional. @@ -35,7 +32,7 @@ Please read about the testTitleData.json format, and purpose here: This file must be created and placed in the root of the sdk (beside PlayFabApiTest.html & PlayFabApiTest.js), and must be named "testTitleData.json" -5. Troubleshooting: +4. Troubleshooting: ---- For a complete list of available APIs, check out the [online documentation](http://api.playfab.com/Documentation/). @@ -47,71 +44,13 @@ Our Developer Success Team can assist with answering any questions as well as pr [Forums, Support and Knowledge Base](https://community.playfab.com/index.html) -6. Example Usage (Template): ----- -``` -// In this javascript example, it is assumed your html will include the PlayFab JavaScript Client SDK -// For example, in your html header, add this: -// - -// You must always set your titleId first -PlayFab.settings.titleId = null; // Set your titleId here. Example: "6195" - -// Utility function (We may add this to the core sdk later) -function CompileErrorReport(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; -} - -// Define a callback function (In this case for any PlayFab-Login) -function OnLogin(response, error) { - if (response && response["code"] == 200) { - console.log("Login Successful: " + response.data.PlayFabId) - } - else { - console.log("LoginWithEmailAddress Failed: \n" + CompileErrorReport(error)) - } -} - -// Username and email is a typical login for Web-Pages -function ExampleLoginWithEmailAddress(email, password) -{ - // Request JSON - var loginRequest = { - TitleId: PlayFab.settings.titleId, - "Email": email, - "Password": password - }; - // https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress - PlayFabClientSDK.LoginWithEmailAddress(loginRequest, OnLogin); -} - -// CustomId should only be used for testing or evaluating PlayFab, but it can be any string -function ExampleLoginWithCustomId(customId) { - // Request JSON - var loginRequest = { - TitleId: PlayFab.settings.titleId, - CustomId: PlayFab._internalSettings.buildIdentifier, - CreateAccount: true - }; - // https://api.playfab.com/Documentation/Client/method/LoginWithCustomID - PlayFabClientSDK.LoginWithCustomID(loginRequest, OnLogin); -} -``` - - -7. Acknowledgements +5. Acknowledgements ---- - Example Usage provided by [dylanh724](https://www.github.com/dylanh724) + [dylanh724](https://www.github.com/dylanh724) - The previous tutorial before the current [Getting Started Guide](JavaScriptGettingStarted.md) -8. Copyright and Licensing Information: +6. Copyright and Licensing Information: ---- Apache License -- Version 2.0, January 2004 From de8e913f1dd6f7a9254c7642d290025d6c1692a8 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Fri, 27 Jan 2017 16:48:51 -0800 Subject: [PATCH 020/253] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 023b2411..816efe01 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,7 @@ The Example project is being revised for the upcoming 1.0 release This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional. Please read about the testTitleData.json format, and purpose here: -* https://github.com/PlayFab/SDKGenerator/blob/master/JenkinsConsoleUtility/testTitleData.md -This file must be created and placed in the root of the sdk (beside PlayFabApiTest.html & PlayFabApiTest.js), and must be named "testTitleData.json" +* [testTitleData.md](https://github.com/PlayFab/SDKGenerator/blob/master/JenkinsConsoleUtility/testTitleData.md) must be created and placed in the root of the example (beside index.html & PlayFabApiTest.ts), and must be named "testTitleData.json" 4. Troubleshooting: From f14aa79b925f234d7168fd50c408849e8953d04c Mon Sep 17 00:00:00 2001 From: pgilmorepf Date: Mon, 30 Jan 2017 16:25:32 -0800 Subject: [PATCH 021/253] https://api.playfab.com/releaseNotes/#170130 Summary: https://api.playfab.com/releaseNotes/#170130 Separating sdk into a proper source only folder and example folder Rebuilding the Example project to utilize typescript. Moving some build constants out of InternalSettings, so that that object can stay entirely hidden. Converting PlayFabApitest.js to .ts, and adding a bunch of TypeScript syntax. Fixing the type-errors in the timestamp checks. Test Plan: Jenker! Reviewers: Marco.Williams Maniphest Tasks: T2184 Differential Revision: https://phab.playfabdev.com/D3171 --- .gitignore | 9 +- PlayFabApiTest.html | 19 - .../src/PlayFab}/PlayFabAdminApi.js | 9 +- .../src/PlayFab}/PlayFabClientApi.js | 9 +- .../src/PlayFab}/PlayFabMatchmakerApi.js | 9 +- .../src/PlayFab}/PlayFabServerApi.js | 9 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4696 ++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 5464 +++++++++++++++++ .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 358 ++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5064 +++++++++++++++ PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 43 + PlayFabTestingExample/PlayFabApiTest.csproj | 95 + .../PlayFabApiTest.js | 201 +- PlayFabTestingExample/PlayFabApiTest.sln | 22 + PlayFabTestingExample/PlayFabApiTest.ts | 588 ++ .../code.jquery.com}/qunit/qunit-1.19.0.css | 0 .../code.jquery.com}/qunit/qunit-1.19.0.js | 0 PlayFabTestingExample/index.html | 19 + .../src/PlayFab/PlayFabAdminApi.js | 660 ++ .../src/PlayFab/PlayFabClientApi.js | 947 +++ .../src/PlayFab/PlayFabMatchmakerApi.js | 138 + .../src/PlayFab/PlayFabServerApi.js | 738 +++ .../src/typings/PlayFab/PlayFab.d.ts | 43 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4696 ++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5464 +++++++++++++++++ .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 358 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5064 +++++++++++++++ PlayFabTestingExample/web.Debug.config | 30 + PlayFabTestingExample/web.Release.config | 31 + PlayFabTestingExample/web.config | 11 + 30 files changed, 34607 insertions(+), 187 deletions(-) delete mode 100644 PlayFabApiTest.html rename {PlayFabSDK => PlayFabSdk/src/PlayFab}/PlayFabAdminApi.js (99%) rename {PlayFabSDK => PlayFabSdk/src/PlayFab}/PlayFabClientApi.js (99%) rename {PlayFabSDK => PlayFabSdk/src/PlayFab}/PlayFabMatchmakerApi.js (96%) rename {PlayFabSDK => PlayFabSdk/src/PlayFab}/PlayFabServerApi.js (99%) create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts create mode 100644 PlayFabTestingExample/PlayFabApiTest.csproj rename PlayFabApiTest.js => PlayFabTestingExample/PlayFabApiTest.js (81%) create mode 100644 PlayFabTestingExample/PlayFabApiTest.sln create mode 100644 PlayFabTestingExample/PlayFabApiTest.ts rename {code.jquery.com => PlayFabTestingExample/code.jquery.com}/qunit/qunit-1.19.0.css (100%) rename {code.jquery.com => PlayFabTestingExample/code.jquery.com}/qunit/qunit-1.19.0.js (100%) create mode 100644 PlayFabTestingExample/index.html create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts create mode 100644 PlayFabTestingExample/web.Debug.config create mode 100644 PlayFabTestingExample/web.Release.config create mode 100644 PlayFabTestingExample/web.config diff --git a/.gitignore b/.gitignore index 78d1925f..4f74d1ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,8 @@ -testTitleData.json \ No newline at end of file +bin/ +obj/ +.vs/ + +*.map +*.user + +testTitleData.json diff --git a/PlayFabApiTest.html b/PlayFabApiTest.html deleted file mode 100644 index 554ac4a9..00000000 --- a/PlayFabApiTest.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - PlayFab JavaScript Unit Tests - - - -
-
- - - - - - - - - diff --git a/PlayFabSDK/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js similarity index 99% rename from PlayFabSDK/PlayFabAdminApi.js rename to PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6a68b38c..74495260 100644 --- a/PlayFabSDK/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -1,4 +1,6 @@ -var PlayFab = typeof PlayFab != 'undefined' ? PlayFab : {}; +/// + +var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {}; if(!PlayFab.settings) { PlayFab.settings = { @@ -18,8 +20,6 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.36.170109", - buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", GetServerUrl: function () { @@ -99,6 +99,9 @@ if(!PlayFab._internalSettings) { } } +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + PlayFab.AdminApi = { GetPolicy: function (request, callback) { diff --git a/PlayFabSDK/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js similarity index 99% rename from PlayFabSDK/PlayFabClientApi.js rename to PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6632339e..3755e17f 100644 --- a/PlayFabSDK/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -1,4 +1,6 @@ -var PlayFab = typeof PlayFab != 'undefined' ? PlayFab : {}; +/// + +var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {}; if(!PlayFab.settings) { PlayFab.settings = { @@ -18,8 +20,6 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.36.170109", - buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", GetServerUrl: function () { @@ -99,6 +99,9 @@ if(!PlayFab._internalSettings) { } } +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + PlayFab.ClientApi = { IsClientLoggedIn: function () { diff --git a/PlayFabSDK/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js similarity index 96% rename from PlayFabSDK/PlayFabMatchmakerApi.js rename to PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index a52ea3d7..a6c99444 100644 --- a/PlayFabSDK/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -1,4 +1,6 @@ -var PlayFab = typeof PlayFab != 'undefined' ? PlayFab : {}; +/// + +var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {}; if(!PlayFab.settings) { PlayFab.settings = { @@ -18,8 +20,6 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.36.170109", - buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", GetServerUrl: function () { @@ -99,6 +99,9 @@ if(!PlayFab._internalSettings) { } } +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + PlayFab.MatchmakerApi = { AuthUser: function (request, callback) { diff --git a/PlayFabSDK/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js similarity index 99% rename from PlayFabSDK/PlayFabServerApi.js rename to PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f84d5fac..bea32970 100644 --- a/PlayFabSDK/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -1,4 +1,6 @@ -var PlayFab = typeof PlayFab != 'undefined' ? PlayFab : {}; +/// + +var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {}; if(!PlayFab.settings) { PlayFab.settings = { @@ -18,8 +20,6 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, - sdkVersion: "0.36.170109", - buildIdentifier: "jbuild_javascriptsdk_1", productionServerUrl: ".playfabapi.com", GetServerUrl: function () { @@ -99,6 +99,9 @@ if(!PlayFab._internalSettings) { } } +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + PlayFab.ServerApi = { AuthenticateSessionTicket: function (request, callback) { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts new file mode 100644 index 00000000..37c84149 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -0,0 +1,4696 @@ +declare module PlayFabAdminModule { + export interface IPlayFabAdmin { + /** + / Gets the requested policy. + / https://api.playfab.com/Documentation/Admin/method/GetPolicy + */ + GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Changes a policy for a title + / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + */ + UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + / https://api.playfab.com/Documentation/Admin/method/BanUsers + */ + BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier + / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + */ + GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Admin/method/GetUserBans + */ + GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics + / https://api.playfab.com/Documentation/Admin/method/ResetUsers + */ + ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + */ + RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Admin/method/RevokeBans + */ + RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + */ + SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Admin/method/UpdateBans + */ + UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title specific display name for a user + / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + */ + UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + */ + CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. This method does not remove the player's event history, login history, inventory items, nor virtual currencies. + / https://api.playfab.com/Documentation/Admin/method/DeleteUsers + */ + DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a download URL for the requested report + / https://api.playfab.com/Documentation/Admin/method/GetDataReport + */ + GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + */ + GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserData + */ + GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + */ + GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + */ + GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + */ + GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + */ + GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + */ + GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Resets the indicated statistic, removing all player entries for it and backing up the old values. + / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + */ + IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attempts to process an order refund through the original real money payment provider. + / https://api.playfab.com/Documentation/Admin/method/RefundPurchase + */ + RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Completely removes all statistics for the specified user, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + */ + ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attempts to resolve a dispute with the original order's payment provider. + / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + */ + ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + */ + UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserData + */ + UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + */ + UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + */ + UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + */ + UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + */ + UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + */ + UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a new news item to the title's news feed + / https://api.playfab.com/Documentation/Admin/method/AddNews + */ + AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + */ + AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes an existing virtual item store + / https://api.playfab.com/Documentation/Admin/method/DeleteStore + */ + DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + */ + GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/GetPublisherData + */ + GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + */ + GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Admin/method/GetStoreItems + */ + GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings which can be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetTitleData + */ + GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings which cannot be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData + */ + GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retuns the list of all defined virtual currencies for the title + / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + */ + ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes one or more virtual currencies from the set defined for the title. + / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + */ + RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates the catalog configuration of all virtual goods for the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + */ + SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets all the items in one virtual store + / https://api.playfab.com/Documentation/Admin/method/SetStoreItems + */ + SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the key-value store of custom title settings which can be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleData + */ + SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom title settings which cannot be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + */ + SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. + / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + */ + SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the catalog configuration for virtual goods in the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + */ + UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + */ + UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates an existing virtual item store with new or modified items + / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + */ + UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Admin/method/GetUserInventory + */ + GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified user inventories + / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + */ + GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + */ + RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + */ + SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details for a specific completed session, including links to standard out and standard error logs + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + */ + GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details of defined game modes for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + */ + GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the game server mode details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + */ + ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/AddServerBuild + */ + AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + */ + GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + */ + GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the build details for all game server executables which are currently defined for the title + / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + */ + ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + */ + ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + */ + RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/SetPublisherData + */ + SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets the contents and information of a specific Cloud Script revision. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + */ + GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + */ + GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the currently published revision of a title Cloud Script + / https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision + */ + SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. + / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + */ + UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Delete a content file from the title + / https://api.playfab.com/Documentation/Admin/method/DeleteContent + */ + DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all contents of the title and get statistics such as size + / https://api.playfab.com/Documentation/Admin/method/GetContentList + */ + GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. + / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + */ + GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Completely removes all statistics for the specified character, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + */ + ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + */ + AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups + */ + GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetAllSegments + */ + GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + */ + GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + */ + GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + */ + RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Abort an ongoing task instance. + / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + */ + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. + / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + */ + CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Create a CloudScript task, which can run a CloudScript on a schedule. + / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + */ + CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Delete a task. + / https://api.playfab.com/Documentation/Admin/method/DeleteTask + */ + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get information about a ActionsOnPlayersInSegment task instance. + / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + */ + GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get detail information about a CloudScript task instance. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + */ + GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Query for task instances by task, status, or time range. + / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + */ + GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get definition information on a specified task or all tasks within a title. + / https://api.playfab.com/Documentation/Admin/method/GetTasks + */ + GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Run a task immediately regardless of its schedule. + / https://api.playfab.com/Documentation/Admin/method/RunTask + */ + RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Update an existing task. + / https://api.playfab.com/Documentation/Admin/method/UpdateTask + */ + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabAdminModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest + */ + export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / ID of a task instance that is being aborted. + */ + TaskInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter + */ + export interface ActionsOnPlayersInSegmentTaskParameter { + /** + / ID of the segment to perform actions on. + */ + SegmentId: string; + /** + / ID of the action to perform on each player in segment. + */ + ActionId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary + */ + export interface ActionsOnPlayersInSegmentTaskSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Error message for last processing attempt, if an error occured. + */ + ErrorMessage?: string; + /** + / Flag indicating if the error was fatal, if false job will be retried. + */ + ErrorWasFatal?: boolean; + /** + / Total players in segment when task was started. + */ + TotalPlayersInSegment?: number; + /** + / Total number of players that have had the actions applied to. + */ + TotalPlayersProcessed?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution + */ + export interface AdCampaignAttribution { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest + */ + export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Time this news was published. If not set, defaults to now. + */ + Timestamp?: string; + /** + / Title (headline) of the news item + */ + Title: string; + /** + / Body text of the news + */ + Body: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult + */ + export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique id of the new news item + */ + NewsId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest + */ + export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult + */ + export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest + */ + export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier for the build executable + */ + BuildId: string; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / server host regions in which this build should be running and available + */ + ActiveRegions?: string[]; + /** + / developer comment(s) for this build + */ + Comment?: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult + */ + export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for this build executable + */ + BuildId?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / developer comment(s) for this build + */ + Comment?: 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; + /** + / the current status of the build validation and processing steps + */ + Status?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest + */ + export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be increased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest + */ + export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) to the title + */ + VirtualCurrencies: VirtualCurrencyData[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo + */ + export interface BanInfo { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / The unique Ban Id associated with this ban. + */ + BanId?: string; + /** + / The IP address on which the ban was applied. May affect multiple players. + */ + IPAddress?: string; + /** + / The MAC address on which the ban was applied. May affect multiple players. + */ + MACAddress?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; + /** + / The reason why this ban was applied. + */ + Reason?: string; + /** + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. + */ + Active: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest + */ + export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / IP address to be banned. May affect multiple players. + */ + IPAddress?: string; + /** + / MAC address to be banned. May affect multiple players. + */ + MACAddress?: string; + /** + / The reason for this ban. Maximum 140 characters. + */ + Reason?: string; + /** + / The duration in hours for the ban. Leave this blank for a permanent ban. + */ + DurationInHours?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest + */ + export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of ban requests to be applied. Maximum 100. + */ + Bans: BanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult + */ + export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were applied + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult + */ + export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem + */ + export interface CatalogItem { + /** + / unique identifier for this item + */ + ItemId: string; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / catalog version for this item + */ + CatalogVersion?: string; + /** + / text name for the item, to show in-game + */ + DisplayName?: string; + /** + / text description of item, to show in-game + */ + Description?: string; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / list of item tags + */ + Tags?: string[]; + /** + / game specific custom data + */ + CustomData?: string; + /** + / defines the consumable properties (number of uses, timeout) for the item + */ + Consumable?: CatalogItemConsumableInfo; + /** + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + */ + Container?: CatalogItemContainerInfo; + /** + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + */ + Bundle?: CatalogItemBundleInfo; + /** + / if true, then an item instance of this type can be used to grant a character to a user. + */ + CanBecomeCharacter: boolean; + /** + / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + */ + IsStackable: boolean; + /** + / if true, then an item instance of this type can be traded between players using the trading APIs + */ + IsTradable: boolean; + /** + / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + */ + ItemImageUrl?: string; + /** + / BETA: If true, then only a fixed number can ever be granted. + */ + IsLimitedEdition: boolean; + /** + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + */ + InitialLimitedEditionCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo + */ + export interface CatalogItemBundleInfo { + /** + / unique ItemId values for all items which will be added to the player inventory when the bundle is added + */ + BundledItems?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + */ + BundledResultTables?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the bundle is added + */ + BundledVirtualCurrencies?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo + */ + export interface CatalogItemConsumableInfo { + /** + / number of times this object can be used, after which it will be removed from the player inventory + */ + UsageCount?: number; + /** + / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + */ + UsagePeriod?: number; + /** + / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + */ + UsagePeriodGroup?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo + */ + export interface CatalogItemContainerInfo { + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; + /** + / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked + */ + ItemContents?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + */ + ResultTableContents?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the container is unlocked + */ + VirtualCurrencyContents?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile + */ + export interface CloudScriptFile { + /** + / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. + */ + Filename: string; + /** + / Contents of the Cloud Script javascript. Must be string-escaped javascript. + */ + FileContents: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter + */ + export interface CloudScriptTaskParameter { + /** + / Name of the CloudScript function to execute. + */ + FunctionName?: string; + /** + / Argument to pass to the CloudScript function. + */ + Argument?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary + */ + export interface CloudScriptTaskSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Result of CloudScript execution + */ + Result?: ExecuteCloudScriptResult; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus + */ + export interface CloudScriptVersionStatus { + /** + / Version number + */ + Version: number; + /** + / Published code revision for this Cloud Script version + */ + PublishedRevision: number; + /** + / Most recent revision for this Cloud Script version + */ + LatestRevision: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo + */ + export interface ContentInfo { + /** + / Key of the content + */ + Key?: string; + /** + / Size of the content in bytes + */ + Size: number; + /** + / Last modified time + */ + LastModified: string; + + } + + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest + */ + export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task details related to segment and action + */ + Parameter: ActionsOnPlayersInSegmentTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest + */ + export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task details related to CloudScript + */ + Parameter: CloudScriptTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest + */ + export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) + */ + VersionChangeInterval?: string; + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult + */ + export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / created statistic definition + */ + Statistic?: PlayerStatisticDefinition; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult + */ + export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { + /** + / ID of the task + */ + TaskId?: string; + + } + + type Currency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest + */ + export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to be deleted + */ + Key: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest + */ + export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version of the store to delete. If null, uses the default catalog. + */ + CatalogVersion?: string; + /** + / unqiue identifier for the store which is to be deleted + */ + StoreId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult + */ + export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest + */ + export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specify either the task ID or the name of task to be deleted. + */ + Identifier?: NameIdentifier; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest + */ + export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult + */ + export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type EffectType = "Allow" + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult + */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult + */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the function that executed + */ + FunctionName?: string; + /** + / The revision of the CloudScript that executed + */ + Revision: number; + /** + / The object returned from the CloudScript function, if any + */ + FunctionResult?: any; + /** + / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + ExecutionTimeSeconds: number; + /** + / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + */ + ProcessorTimeSeconds: number; + MemoryConsumedBytes: number; + /** + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; + /** + / Information about the error, if any, that occured during execution + */ + Error?: ScriptExecutionError; + + } + + type GameBuildStatus = "Available" + | "Validating" + | "InvalidBuildPackage" + | "Processing" + | "FailedToProcess"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo + */ + export interface GameModeInfo { + /** + / specific game mode type + */ + Gamemode: string; + /** + / minimum user count required for this Game Server Instance to continue (usually 1) + */ + MinPlayerCount: number; + /** + / maximum user count a specific Game Server Instance can support + */ + MaxPlayerCount: number; + /** + / whether to start as an open session, meaning that players can matchmake into it (defaults to true) + */ + StartOpen?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionGroupResult + */ + export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Action Group name + */ + Name: string; + /** + / Action Group ID + */ + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult + */ + export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Status summary of the actions-on-players-in-segment task instance + */ + Summary?: ActionsOnPlayersInSegmentTaskSummary; + /** + / Parameter of this task instance + */ + Parameter?: ActionsOnPlayersInSegmentTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsRequest + */ + export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsResult + */ + export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of Action Groups. + */ + ActionGroups: GetActionGroupResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest + */ + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult + */ + export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments for this title. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest + */ + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being requested. If null, uses the default catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult + */ + export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest + */ + export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Version number. If left null, defaults to the latest version + */ + Version?: number; + /** + / Revision number. If left null, defaults to the latest revision + */ + Revision?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult + */ + export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Version number. + */ + Version: number; + /** + / Revision number. + */ + Revision: number; + /** + / Time this revision was created + */ + CreatedAt: string; + /** + / List of Cloud Script files in this revision. + */ + Files?: CloudScriptFile[]; + /** + / True if this is the currently published revision + */ + IsPublished: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult + */ + export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Status summary of the CloudScript task instance + */ + Summary?: CloudScriptTaskSummary; + /** + / Parameter of this task instance + */ + Parameter?: CloudScriptTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest + */ + export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult + */ + export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of versions + */ + Versions?: CloudScriptVersionStatus[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest + */ + export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, or for a specified version, etc. + */ + Prefix?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult + */ + export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Number of content items returned. We currently have a maximum of 1000 items limit. + */ + ItemCount: number; + /** + / The total size of listed contents in bytes. + */ + TotalSize: number; + /** + / List of content items. + */ + Contents?: ContentInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest + */ + export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to upload, usually formatted as a path, e.g. images/a.png + */ + Key: string; + /** + / A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. + */ + ContentType?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult + */ + export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { + /** + / URL for uploading content via HTTP PUT method. The URL will expire in 1 hour. + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest + */ + export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Report name + */ + ReportName: string; + /** + / Reporting year (UTC) + */ + Year: number; + /** + / Reporting month (UTC) + */ + Month: number; + /** + / Reporting year (UTC) + */ + Day: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult + */ + export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The URL where the requested report can be downloaded. + */ + DownloadUrl?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest + */ + export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the lobby for which info is being requested + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult + */ + export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier of the lobby + */ + LobbyId?: string; + /** + / unique identifier of the Game Server Instance for this lobby + */ + TitleId?: string; + /** + / time when the Game Server Instance was created + */ + StartTime: string; + /** + / time when Game Server Instance is currently scheduled to end + */ + EndTime?: string; + /** + / game mode for this Game Server Instance + */ + Mode?: string; + /** + / version identifier of the game server executable binary being run + */ + BuildVersion?: string; + /** + / region in which the Game Server Instance is running + */ + Region?: string; + /** + / array of unique PlayFab identifiers for users currently connected to this Game Server Instance + */ + Players?: string[]; + /** + / IP address for this Game Server Instance + */ + ServerAddress?: string; + /** + / communication port for this Game Server Instance + */ + ServerPort: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest + */ + export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / previously uploaded build version for which game modes are being requested + */ + BuildVersion: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult + */ + export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of game modes available for the specified build + */ + GameModes?: GameModeInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult + */ + export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments the requested player currently belongs to. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest + */ + export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for this segment. + */ + SegmentId: string; + /** + / 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; + /** + / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. + */ + MaxBatchSize?: number; + /** + / Continuation token if retrieving subsequent pages of results. + */ + ContinuationToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult + */ + export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; + /** + / 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[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest + */ + export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest + */ + export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult + */ + export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / the player statistic definitions for the title + */ + Statistics?: PlayerStatisticDefinition[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest + */ + export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult + */ + export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersions?: PlayerStatisticVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest + */ + export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Optional namespace to filter results by + */ + Namespace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult + */ + export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Canonical tags (including namespace and tag's name) for the requested user + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest + */ + export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the policy to read. Only supported name is 'ApiPolicy'. + */ + PolicyName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse + */ + export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the policy read. + */ + PolicyName?: string; + /** + / The statements in the requested policy. + */ + Statements?: PermissionStatement[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest + */ + export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / array of keys to get back data from the Publisher data blob, set by the admin tools + */ + Keys: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult + */ + export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest + */ + export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version to fetch tables from. Use default catalog version if null + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult + */ + export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of random result tables currently available + */ + Tables?: { [key: string]: RandomResultTableListing }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult + */ + export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for this segment. + */ + Id: string; + /** + / Segment name. + */ + Name?: string; + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest + */ + export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the previously uploaded build executable for which information is being requested + */ + BuildId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult + */ + export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for this build executable + */ + BuildId?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / developer comment(s) for this build + */ + Comment?: 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; + /** + / the current status of the build validation and processing steps + */ + Status?: string; + /** + / error message, if any, about this build + */ + ErrorMessage?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest + */ + export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the game server build to upload + */ + BuildId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult + */ + export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { + /** + / pre-authorized URL for uploading the game server build package + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest + */ + export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version to store items from. Use default catalog version if null + */ + CatalogVersion?: string; + /** + / Unqiue identifier for the store which is being requested. + */ + StoreId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult + */ + export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased from this store. + */ + Store?: StoreItem[]; + /** + / How the store was last updated (Admin or a third party). + */ + Source?: string; + /** + / The base catalog that this store is a part of. + */ + CatalogVersion?: string; + /** + / The ID of this store. + */ + StoreId?: string; + /** + / Additional data about the store. + */ + MarketingData?: StoreMarketingModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest + */ + export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / ID of the requested task instance. + */ + TaskInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest + */ + export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. + */ + TaskIdentifier?: NameIdentifier; + /** + / Optional filter for task instances that are of a specific status. + */ + StatusFilter?: string; + /** + / Optional range-from filter for task instances' StartedAt timestamp. + */ + StartedAtRangeFrom?: string; + /** + / Optional range-to filter for task instances' StartedAt timestamp. + */ + StartedAtRangeTo?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult + */ + export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get detailed status summary, use Get*TaskInstance API according to task type (e.g. GetActionsOnPlayersInSegmentTaskInstance). + */ + Summaries?: TaskInstanceBasicSummary[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest + */ + export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. + */ + Identifier?: NameIdentifier; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult + */ + export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Result tasks. Empty if there is no task found. + */ + Tasks?: ScheduledTask[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest + */ + export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the title data (leave null to get all keys) + */ + Keys?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult + */ + export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest + */ + export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult + */ + export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information about the bans + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest + */ + export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult + */ + export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose custom data is being returned. + */ + PlayFabId?: string; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest + */ + export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult + */ + export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Array of inventory items belonging to the user. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance + */ + export interface GrantedItemInstance { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Result of this operation. + */ + Result: boolean; + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest + */ + export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Array of items to grant and the users to whom the items are to be granted. + */ + ItemGrants: ItemGrant[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult + */ + export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest + */ + export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult + */ + export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersion?: PlayerStatisticVersion; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant + */ + export interface ItemGrant { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest + */ + export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult + */ + export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of uploaded game server builds + */ + Builds?: GetServerBuildInfoResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest + */ + export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult + */ + export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of virtual currency names defined for this title + */ + VirtualCurrencies?: VirtualCurrencyData[]; + + } + + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement + */ + export interface LogStatement { + /** + / 'Debug', 'Info', or 'Error' + */ + Level?: string; + Message?: string; + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest + */ + export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / User email address attached to their account + */ + Email?: string; + /** + / PlayFab username for the account (3-20 characters) + */ + Username?: string; + /** + / Title specific username to match against existing user accounts + */ + TitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult + */ + export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User info for the user matching the request + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest + */ + export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / previously uploaded build version for which game modes are being specified + */ + BuildVersion: string; + /** + / array of game modes (Note: this will replace all game modes for the indicated build version) + */ + GameModes: GameModeInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult + */ + export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest + */ + export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the previously uploaded build executable to be updated + */ + BuildId: string; + /** + / new timestamp + */ + Timestamp?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / developer comment(s) for this build + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult + */ + export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for this build executable + */ + BuildId?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / developer comment(s) for this build + */ + Comment?: 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; + /** + / the current status of the build validation and processing steps + */ + Status?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier + */ + export interface NameIdentifier { + Name?: string; + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement + */ + export interface PermissionStatement { + /** + / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. + */ + Resource: string; + /** + / The action this statement effects. The only supported action is 'Execute'. + */ + Action: string; + /** + / The effect this statement will have. The only supported effect is 'Allow'. + */ + Effect: string; + /** + / The principal this statement will effect. The only supported principal is '*'. + */ + Principal: string; + /** + / A comment about the statement. Intended solely for bookeeping and debugging. + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount + */ + export interface PlayerLinkedAccount { + /** + / Authentication platform + */ + Platform?: string; + /** + / Platform user identifier + */ + PlatformUserId?: string; + /** + / Linked account's username + */ + Username?: string; + /** + / Linked account's email + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation + */ + export interface PlayerLocation { + /** + / 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; + /** + / City of the player's geographic location. + */ + City?: string; + /** + / Latitude coordinate of the player's geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the player's geographic location. + */ + Longitude?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile + */ + export interface PlayerProfile { + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Player record created + */ + Created?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + */ + BannedUntil?: string; + /** + / Dictionary of player's statistics using only the latest version's value + */ + Statistics?: { [key: string]: number }; + /** + / 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 }; + /** + / List of player's tags for segmentation. + */ + Tags?: string[]; + /** + / Dictionary of player's locations by type. + */ + Locations?: { [key: string]: PlayerLocation }; + /** + / Dictionary of player's virtual currency balances + */ + VirtualCurrencyBalances?: { [key: string]: number }; + /** + / Array of ad campaigns player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttribution[]; + /** + / Array of configured push notification end points + */ + PushNotificationRegistrations?: PushNotificationRegistration[]; + /** + / Array of third party accounts linked to this player + */ + LinkedAccounts?: PlayerLinkedAccount[]; + /** + / Array of player statistics + */ + PlayerStatistics?: PlayerStatistic[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic + */ + export interface PlayerStatistic { + /** + / Statistic ID + */ + Id?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + StatisticVersion: number; + /** + / Current statistic value + */ + StatisticValue: number; + /** + / Statistic name + */ + Name?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition + */ + export interface PlayerStatisticDefinition { + /** + / unique name of the statistic + */ + StatisticName?: string; + /** + / current active version of the statistic, incremented each time the statistic resets + */ + CurrentVersion: number; + /** + / interval at which the values of the statistic for all players are reset automatically + */ + VersionChangeInterval?: string; + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion + */ + export interface PlayerStatisticVersion { + /** + / name of the statistic when the version became active + */ + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; + /** + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + */ + ScheduledActivationTime?: string; + /** + / time when the statistic version became active + */ + ActivationTime: string; + /** + / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval + */ + ScheduledDeactivationTime?: string; + /** + / time when the statistic version became inactive due to statistic version incrementing + */ + DeactivationTime?: string; + /** + / status of the process of saving player statistic values of the previous version to a downloadable archive + */ + ArchivalStatus?: string; + /** + / URL for the downloadable archive of player statistic values, if available + */ + ArchiveDownloadUrl?: string; + + } + + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration + */ + export interface PushNotificationRegistration { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable + */ + export interface RandomResultTable { + /** + / Unique name for this drop table + */ + TableId: string; + /** + / Child nodes that indicate what kind of drop table item this actually is. + */ + Nodes: ResultTableNode[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing + */ + export interface RandomResultTableListing { + /** + / Catalog version this table is associated with + */ + CatalogVersion?: string; + /** + / Unique name for this drop table + */ + TableId: string; + /** + / Child nodes that indicate what kind of drop table item this actually is. + */ + Nodes: ResultTableNode[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest + */ + export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique order ID for the purchase in question. + */ + OrderId: string; + /** + / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + */ + Reason?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse + */ + export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The order's updated purchase status. + */ + PurchaseStatus?: string; + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest + */ + export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult + */ + export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest + */ + export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the previously uploaded build executable to be removed + */ + BuildId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult + */ + export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest + */ + export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of virtual currencies to delete + */ + VirtualCurrencies: VirtualCurrencyData[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest + */ + export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult + */ + export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUsersRequest + */ + export interface ResetUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of users to reset + */ + Users: UserCredentials[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest + */ + export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult + */ + export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type ResolutionOutcome = "Revoke" + | "Reinstate" + | "Manual"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest + */ + export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique order ID for the purchase in question. + */ + OrderId: string; + /** + / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + */ + Reason?: string; + /** + / Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and Manual. Manual will cause no change to the order state. + */ + Outcome: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse + */ + export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The order's updated purchase status. + */ + PurchaseStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode + */ + export interface ResultTableNode { + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; + /** + / Either an ItemId, or the TableId of another random result table + */ + ResultItem: string; + /** + / How likely this is to be rolled - larger numbers add more weight + */ + Weight: number; + + } + + type ResultTableNodeType = "ItemId" + | "TableId"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest + */ + export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult + */ + export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked. + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest + */ + export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Ids of the bans to be revoked. Maximum 100. + */ + BanIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult + */ + export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest + */ + export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult + */ + export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest + */ + export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Provide either the task ID or the task name to run a task. + */ + Identifier?: NameIdentifier; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult + */ + export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { + /** + / ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call to retrieve status for the task instance. + */ + TaskInstanceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask + */ + export interface ScheduledTask { + /** + / ID of the task + */ + TaskId?: string; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name?: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task type. + */ + Type?: string; + /** + / Task parameter. Different types of task have different parameter structure. See each task type's create API documentation for the details. + */ + Parameter?: any; + /** + / UTC time of last run + */ + LastRunTime?: string; + /** + / UTC time of next run + */ + NextRunTime?: string; + + } + + type ScheduledTaskType = "CloudScript" + | "ActionsOnPlayerSegment"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError + */ + export interface ScriptExecutionError { + /** + / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** + / Details about the error + */ + Message?: string; + /** + / Point during the execution of the script at which the error occurred, if any + */ + StackTrace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest + */ + export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / User email address attached to their account + */ + Email: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult + */ + export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest + */ + export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Version number + */ + Version: number; + /** + / Revision to make the current published revision + */ + Revision: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult + */ + export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest + */ + export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult + */ + export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest + */ + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult + */ + export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest + */ + export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + */ + Name: string; + /** + / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + */ + Platform: string; + /** + / for APNS, this is the PlatformPrincipal (SSL Certificate) + */ + Key?: string; + /** + / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM + */ + Credential: string; + /** + / replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if notifications have already setup for this platform. + */ + OverwriteOldARN: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult + */ + export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Amazon Resource Name for the created notification topic. + */ + ARN?: string; + + } + + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner"; + + type StatisticAggregationMethod = "Last" + | "Min" + | "Max" + | "Sum"; + + type StatisticResetIntervalOption = "Never" + | "Hour" + | "Day" + | "Week" + | "Month"; + + type StatisticVersionArchivalStatus = "NotScheduled" + | "Scheduled" + | "Queued" + | "InProgress" + | "Complete"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem + */ + export interface StoreItem { + /** + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + */ + ItemId: string; + /** + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / Override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + */ + CustomData?: any; + /** + / Intended display position for this item. Note that 0 is the first position + */ + DisplayPosition?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel + */ + export interface StoreMarketingModel { + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; + /** + / Tagline for a store. + */ + Description?: string; + /** + / Custom data about a store. + */ + Metadata?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary + */ + export interface TaskInstanceBasicSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Type of the task. + */ + Type?: string; + + } + + type TaskInstanceStatus = "Succeeded" + | "Starting" + | "InProgress" + | "Failed" + | "Aborted" + | "Pending"; + + type TitleActivationStatus = "None" + | "ActivatedTitleKey" + | "PendingSteam" + | "ActivatedSteam" + | "RevokedSteam"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest + */ + export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The id of the ban to be updated. + */ + BanId: string; + /** + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + */ + Reason?: string; + /** + / The updated expiration date for the ban. Null for no change. + */ + Expires?: string; + /** + / The updated IP address for the ban. Null for no change. + */ + IPAddress?: string; + /** + / The updated MAC address for the ban. Null for no change. + */ + MACAddress?: string; + /** + / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. + */ + Permanent?: boolean; + /** + / The updated active state for the ban. Null for no change. + */ + Active?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest + */ + export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of bans to be updated. Maximum 100. + */ + Bans: UpdateBanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult + */ + export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were updated + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest + */ + export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being updated. If null, uses the default catalog. + */ + CatalogVersion?: string; + /** + / Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will always set it. + */ + SetAsDefaultCatalog?: boolean; + /** + / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult + */ + export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest + */ + export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of Cloud Script files to upload to create the new revision. Must have at least one file. + */ + Files: CloudScriptFile[]; + /** + / Immediately publish the new revision + */ + Publish: boolean; + /** + / PlayFab user ID of the developer initiating the request. + */ + DeveloperPlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult + */ + export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Cloud Script version updated + */ + Version: number; + /** + / New revision number created + */ + Revision: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest + */ + export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of the new interval boundary) + */ + VersionChangeInterval?: string; + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult + */ + export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / updated statistic definition + */ + Statistic?: PlayerStatisticDefinition; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest + */ + export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the policy being updated. Only supported name is 'ApiPolicy' + */ + PolicyName: string; + /** + / The new statements to include in the policy. + */ + Statements: PermissionStatement[]; + /** + / Whether to overwrite or append to the existing policy. + */ + OverwritePolicy: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse + */ + export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the policy that was updated. + */ + PolicyName?: string; + /** + / The statements included in the new version of the policy. + */ + Statements?: PermissionStatement[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest + */ + export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / which catalog is being updated. If null, update the current default catalog version + */ + CatalogVersion?: string; + /** + / array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that table, while any others will be added to the available set) + */ + Tables?: RandomResultTable[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult + */ + export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest + */ + export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version of the store to update. If null, uses the default catalog. + */ + CatalogVersion?: string; + /** + / Unique identifier for the store which is to be updated + */ + StoreId: string; + /** + / Additional data about the store + */ + MarketingData?: StoreMarketingModel; + /** + / Array of store items - references to catalog items, with specific pricing - to be added + */ + Store?: StoreItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult + */ + export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest + */ + export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specify either the task ID or the name of the task to be updated. + */ + Identifier?: NameIdentifier; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task type. + */ + Type: string; + /** + / Parameter object specific to the task type. See each task type's create API documentation for details. + */ + Parameter?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest + */ + export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult + */ + export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest + */ + export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest + */ + export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose title specific display name is to be changed + */ + PlayFabId: string; + /** + / new title display name for the user - must be between 3 and 25 characters + */ + DisplayName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult + */ + export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / current title display name for the user (this will be the original display name if the rename attempt failed) + */ + DisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo + */ + export interface UserAccountInfo { + /** + / Unique identifier for the user account + */ + PlayFabId?: string; + /** + / Timestamp indicating when the user account was created + */ + Created: string; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / Title-specific information for the user account + */ + TitleInfo?: UserTitleInfo; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; + /** + / User Facebook information, if a Facebook account has been linked + */ + FacebookInfo?: UserFacebookInfo; + /** + / User Steam information, if a Steam account has been linked + */ + SteamInfo?: UserSteamInfo; + /** + / User Gamecenter information, if a Gamecenter account has been linked + */ + GameCenterInfo?: UserGameCenterInfo; + /** + / User iOS device information, if an iOS device has been linked + */ + IosDeviceInfo?: UserIosDeviceInfo; + /** + / User Android device information, if an Android device has been linked + */ + AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** + / User Kongregate account information, if a Kongregate account has been linked + */ + KongregateInfo?: UserKongregateInfo; + /** + / User Twitch account information, if a Twitch account has been linked + */ + TwitchInfo?: UserTwitchInfo; + /** + / User PSN account information, if a PSN account has been linked + */ + PsnInfo?: UserPsnInfo; + /** + / User Google account information, if a Google account has been linked + */ + GoogleInfo?: UserGoogleInfo; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; + /** + / Custom ID information, if a custom ID has been assigned + */ + CustomIdInfo?: UserCustomIdInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo + */ + export interface UserAndroidDeviceInfo { + /** + / Android device ID + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCredentials + */ + export interface UserCredentials { + /** + / Username of user to reset + */ + Username: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo + */ + export interface UserCustomIdInfo { + /** + / Custom ID + */ + CustomId?: string; + + } + + type UserDataPermission = "Private" + | "Public"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord + */ + export interface UserDataRecord { + /** + / Data stored for the specified user data key. + */ + Value?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo + */ + export interface UserFacebookInfo { + /** + / Facebook identifier + */ + FacebookId?: string; + /** + / Facebook full name + */ + FullName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo + */ + export interface UserGameCenterInfo { + /** + / Gamecenter identifier + */ + GameCenterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo + */ + export interface UserGoogleInfo { + /** + / Google ID + */ + GoogleId?: string; + /** + / Email address of the Google account + */ + GoogleEmail?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; + /** + / Gender information of the Google account + */ + GoogleGender?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo + */ + export interface UserIosDeviceInfo { + /** + / iOS device ID + */ + IosDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo + */ + export interface UserKongregateInfo { + /** + / Kongregate ID + */ + KongregateId?: string; + /** + / Kongregate Username + */ + KongregateName?: string; + + } + + type UserOrigination = "Organic" + | "Steam" + | "Google" + | "Amazon" + | "Facebook" + | "Kongregate" + | "GamersFirst" + | "Unknown" + | "IOS" + | "LoadTest" + | "Android" + | "PSN" + | "GameCenter" + | "CustomId" + | "XboxLive" + | "Parse" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo + */ + export interface UserPrivateAccountInfo { + /** + / user email address + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo + */ + export interface UserPsnInfo { + /** + / PSN account ID + */ + PsnAccountId?: string; + /** + / PSN online ID + */ + PsnOnlineId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo + */ + export interface UserSteamInfo { + /** + / Steam identifier + */ + SteamId?: string; + /** + / the country in which the player resides, from Steam data + */ + SteamCountry?: string; + /** + / currency type set in the user Steam account + */ + SteamCurrency?: string; + /** + / what stage of game ownership the user is listed as being in, from Steam + */ + SteamActivationStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo + */ + export interface UserTitleInfo { + /** + / name of the user, as it is displayed in-game + */ + DisplayName?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; + /** + / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + */ + Created: string; + /** + / timestamp for the last user login for this title + */ + LastLogin?: string; + /** + / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + */ + FirstLogin?: string; + /** + / boolean indicating whether or not the user is currently banned for a title + */ + isBanned?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo + */ + export interface UserTwitchInfo { + /** + / Twitch ID + */ + TwitchId?: string; + /** + / Twitch Username + */ + TwitchUserName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo + */ + export interface UserXboxInfo { + /** + / XBox user ID + */ + XboxUserId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData + */ + export interface VirtualCurrencyData { + /** + / unique two-character identifier for this currency type (e.g.: "CC") + */ + CurrencyCode: string; + /** + / friendly name to show in the developer portal, reports, etc. + */ + DisplayName?: string; + /** + / amount to automatically grant users upon first login to the title + */ + InitialDeposit?: number; + /** + / rate at which the currency automatically be added to over time, in units per day (24 hours) + */ + RechargeRate?: number; + /** + / maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) + */ + RechargeMax?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts new file mode 100644 index 00000000..92975762 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -0,0 +1,5464 @@ +declare module PlayFabClientModule { + export interface IPlayFabClient { + IsClientLoggedIn(): boolean; + + /** + / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken + */ + GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID + */ + LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + */ + LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress + */ + LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook + */ + LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + */ + LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Google account access token(https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods), returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + */ + LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + */ + LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Kongregate player account. + / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + */ + LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email accounts must be created using the RegisterPlayFabUser API or added to existing accounts using AddUsernamePassword. + / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + */ + LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithSteam + */ + LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Twitch access token. + / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + */ + LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. + / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + */ + RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. + / https://api.playfab.com/Documentation/Client/method/AddGenericID + */ + AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. + / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + */ + AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the user's PlayFab account details + / https://api.playfab.com/Documentation/Client/method/GetAccountInfo + */ + GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves all of the user's different kinds of info. + / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + */ + GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + */ + GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + */ + GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + */ + GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + */ + GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + */ + GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + */ + GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + */ + GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Android device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + */ + LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the custom identifier, generated by the title, to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkCustomID + */ + LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + */ + LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + */ + LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the currently signed-in user account to the Google account specified by the Google account access token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + */ + LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the vendor-specific iOS device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + */ + LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Kongregate identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkKongregate + */ + LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + */ + LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Twitch account associated with the token to the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/LinkTwitch + */ + LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes the specified generic service identifier from the player's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/RemoveGenericID + */ + RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Client/method/ReportPlayer + */ + ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + */ + SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Android device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + */ + UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related custom identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + */ + UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Facebook account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + */ + UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Game Center account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + */ + UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + */ + UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related iOS device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + */ + UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Kongregate identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + */ + UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Steam account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + */ + UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Twitch account from the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + */ + UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title specific display name for the user + / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + */ + UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + */ + GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + */ + GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetLeaderboard + */ + GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + */ + GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + */ + GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetUserData + */ + GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetUserPublisherData + */ + GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData + */ + GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData + */ + GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + */ + UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserData + */ + UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + */ + UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Client/method/GetCatalogItems + */ + GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Client/method/GetPublisherData + */ + GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Client/method/GetStoreItems + */ + GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current server time + / https://api.playfab.com/Documentation/Client/method/GetTime + */ + GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings + / https://api.playfab.com/Documentation/Client/method/GetTitleData + */ + GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title news feed, as configured in the developer portal + / https://api.playfab.com/Documentation/Client/method/GetTitleNews + */ + GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate + / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + */ + ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Client/method/ConsumeItem + */ + ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + */ + GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a completed purchase along with its current PlayFab status. + / https://api.playfab.com/Documentation/Client/method/GetPurchase + */ + GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetUserInventory + */ + GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Selects a payment option for purchase order created via StartPurchase + / https://api.playfab.com/Documentation/Client/method/PayForPurchase + */ + PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. + / https://api.playfab.com/Documentation/Client/method/PurchaseItem + */ + PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Client/method/RedeemCoupon + */ + RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates an order for a list of items from the title catalog + / https://api.playfab.com/Documentation/Client/method/StartPurchase + */ + StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + */ + SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + */ + UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + */ + UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Client/method/AddFriend + */ + AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Client/method/GetFriendsList + */ + GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes a specified user from the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/RemoveFriend + */ + RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the tag list for a specified user in the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/SetFriendTags + */ + SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the iOS device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + */ + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Restores all in-app purchases based on the given refresh receipt. + / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + */ + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + */ + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get details about all current running game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetCurrentGames + */ + GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get details about the regions hosting game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + */ + GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. Note that EnableQueue is deprecated at this time. + / https://api.playfab.com/Documentation/Client/method/Matchmake + */ + Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Start a new game server with a given configuration, add the current player and return the connection information. + / https://api.playfab.com/Documentation/Client/method/StartGame + */ + StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the Android device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + */ + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates a Google Play purchase and gives the corresponding item to the player. + / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + */ + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + */ + WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + */ + WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + */ + WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + */ + AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + */ + CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + */ + GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + */ + RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + */ + UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + */ + ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + */ + GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + */ + GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + */ + GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details of all title-specific statistics for the user + / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + */ + GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + */ + GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + */ + GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + */ + GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + */ + UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterData + */ + GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the character which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + */ + GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + */ + UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + */ + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Accepts an open trade. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. + / https://api.playfab.com/Documentation/Client/method/AcceptTrade + */ + AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Cancels an open trade. + / https://api.playfab.com/Documentation/Client/method/CancelTrade + */ + CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets all trades the player has either opened or accepted, optionally filtered by trade status. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + */ + GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets the current status of an existing trade. + / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + */ + GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Opens a new outstanding trade. + / https://api.playfab.com/Documentation/Client/method/OpenTrade + */ + OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attributes an install for advertisment. + / https://api.playfab.com/Documentation/Client/method/AttributeInstall + */ + AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + */ + GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabClientModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest + */ + export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player who opened the trade. + */ + OfferingPlayerId: string; + /** + / Trade identifier. + */ + TradeId: string; + /** + / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. + */ + AcceptedInventoryInstanceIds?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse + */ + export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Details about trade which was just accepted. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest + */ + export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the user to attempt to add to the local user's friend list. + */ + FriendPlayFabId?: string; + /** + / PlayFab username of the user to attempt to add to the local user's friend list. + */ + FriendUsername?: string; + /** + / Email address of the user to attempt to add to the local user's friend list. + */ + FriendEmail?: string; + /** + / Title-specific display name of the user to attempt to add to the local user's friend list. + */ + FriendTitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult + */ + export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { + /** + / True if the friend request was processed successfully. + */ + Created: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest + */ + export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generic service identifier to add to the player account. + */ + GenericId: GenericServiceId; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult + */ + export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest + */ + export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult + */ + export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest + */ + export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab username for the account (3-20 characters) + */ + Username: string; + /** + / User email address attached to their account + */ + Email: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult + */ + export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique user name. + */ + Username?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest + */ + export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the user balance of the specified virtual currency. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest + */ + export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). + */ + DeviceToken: string; + /** + / If true, send a test push message immediately after sucessful registration. Defaults to false. + */ + SendPushNotificationConfirmation?: boolean; + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult + */ + export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest + */ + export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The IdentifierForAdvertisers for iOS Devices. + */ + Idfa?: string; + /** + / The android advertising id. This field is deprecated in favor of Adid for clarity. + */ + Android_Id?: string; + /** + / The adid for this device. + */ + Adid?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult + */ + export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest + */ + export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Trade identifier. + */ + TradeId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse + */ + export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Details about trade which was just canceled. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem + */ + export interface CartItem { + /** + / Unique identifier for the catalog item. + */ + ItemId?: string; + /** + / Class name to which catalog item belongs. + */ + ItemClass?: string; + /** + / Unique instance identifier for this catalog item. + */ + ItemInstanceId?: string; + /** + / Display name for the catalog item. + */ + DisplayName?: string; + /** + / Description of the catalog item. + */ + Description?: string; + /** + / Cost of the catalog item for each applicable virtual currency. + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / Cost of the catalog item for each applicable real world currency. + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. + */ + VCAmount?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem + */ + export interface CatalogItem { + /** + / unique identifier for this item + */ + ItemId: string; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / catalog version for this item + */ + CatalogVersion?: string; + /** + / text name for the item, to show in-game + */ + DisplayName?: string; + /** + / text description of item, to show in-game + */ + Description?: string; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / list of item tags + */ + Tags?: string[]; + /** + / game specific custom data + */ + CustomData?: string; + /** + / defines the consumable properties (number of uses, timeout) for the item + */ + Consumable?: CatalogItemConsumableInfo; + /** + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + */ + Container?: CatalogItemContainerInfo; + /** + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + */ + Bundle?: CatalogItemBundleInfo; + /** + / if true, then an item instance of this type can be used to grant a character to a user. + */ + CanBecomeCharacter: boolean; + /** + / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + */ + IsStackable: boolean; + /** + / if true, then an item instance of this type can be traded between players using the trading APIs + */ + IsTradable: boolean; + /** + / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + */ + ItemImageUrl?: string; + /** + / BETA: If true, then only a fixed number can ever be granted. + */ + IsLimitedEdition: boolean; + /** + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + */ + InitialLimitedEditionCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo + */ + export interface CatalogItemBundleInfo { + /** + / unique ItemId values for all items which will be added to the player inventory when the bundle is added + */ + BundledItems?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + */ + BundledResultTables?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the bundle is added + */ + BundledVirtualCurrencies?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo + */ + export interface CatalogItemConsumableInfo { + /** + / number of times this object can be used, after which it will be removed from the player inventory + */ + UsageCount?: number; + /** + / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + */ + UsagePeriod?: number; + /** + / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + */ + UsagePeriodGroup?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo + */ + export interface CatalogItemContainerInfo { + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; + /** + / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked + */ + ItemContents?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + */ + ResultTableContents?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the container is unlocked + */ + VirtualCurrencyContents?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory + */ + export interface CharacterInventory { + /** + / The id of this character. + */ + CharacterId?: string; + /** + / The inventory of this character. + */ + Inventory?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry + */ + export interface CharacterLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. + */ + CharacterId?: string; + /** + / Title-specific display name of the character for this leaderboard entry. + */ + CharacterName?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Name of the character class for this entry. + */ + CharacterType?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult + */ + export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The id for this character on this player. + */ + CharacterId?: string; + /** + / The name of this character. + */ + CharacterName?: string; + /** + / The type-string that was given to this character on creation. + */ + CharacterType?: string; + + } + + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter + */ + export interface CollectionFilter { + /** + / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule + */ + Includes?: Container_Dictionary_String_String[]; + /** + / List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. + */ + Excludes?: Container_Dictionary_String_String[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest + */ + export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Purchase order identifier returned from StartPurchase. + */ + OrderId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult + */ + export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Date and time of the purchase. + */ + PurchaseDate: string; + /** + / Array of items purchased. + */ + Items?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest + */ + export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique instance identifier of the item to be consumed. + */ + ItemInstanceId: string; + /** + / Number of uses to consume from the item. + */ + ConsumeCount: number; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult + */ + export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the item with uses consumed. + */ + ItemInstanceId?: string; + /** + / Number of uses remaining on the item. + */ + RemainingUses: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String + */ + export interface Container_Dictionary_String_String { + /** + / Content of data + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest + */ + export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). + */ + SharedGroupId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult + */ + export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId?: string; + + } + + type Currency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest + */ + export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Region to check for Game Server Instances. + */ + Region?: string; + /** + / Build to match against. + */ + BuildVersion?: string; + /** + / Game mode to look for. + */ + GameMode?: string; + /** + / Statistic name to find statistic-based matches. + */ + StatisticName?: string; + /** + / Filter to include and/or exclude Game Server Instances associated with certain tags. + */ + TagFilter?: CollectionFilter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult + */ + export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of games found + */ + Games?: GameInfo[]; + /** + / total number of players across all servers + */ + PlayerCount: number; + /** + / number of games running + */ + GameCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult + */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest + */ + export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the CloudScript function to execute + */ + FunctionName: string; + /** + / Object that is passed in to the function as the first argument + */ + FunctionParameter?: any; + /** + / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** + / The specivic revision to execute, when RevisionSelection is set to 'Specific' + */ + SpecificRevision?: number; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult + */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the function that executed + */ + FunctionName?: string; + /** + / The revision of the CloudScript that executed + */ + Revision: number; + /** + / The object returned from the CloudScript function, if any + */ + FunctionResult?: any; + /** + / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + ExecutionTimeSeconds: number; + /** + / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + */ + ProcessorTimeSeconds: number; + MemoryConsumedBytes: number; + /** + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; + /** + / Information about the error, if any, that occured during execution + */ + Error?: ScriptExecutionError; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair + */ + export interface FacebookPlayFabIdPair { + /** + / Unique Facebook identifier for a user. + */ + FacebookId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo + */ + export interface FriendInfo { + /** + / PlayFab unique identifier for this friend. + */ + FriendPlayFabId?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Unique lobby identifier of the Game Server Instance to which this player is currently connected. + */ + CurrentMatchmakerLobbyId?: string; + /** + / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). + */ + FacebookInfo?: UserFacebookInfo; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). + */ + GameCenterInfo?: UserGameCenterInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair + */ + export interface GameCenterPlayFabIdPair { + /** + / Unique Game Center identifier for a user. + */ + GameCenterId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Game Center identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo + */ + export interface GameInfo { + /** + / region to which this server is associated + */ + Region?: string; + /** + / unique lobby identifier for this game server + */ + LobbyID?: string; + /** + / build version this server is running + */ + BuildVersion?: string; + /** + / game mode this server is running + */ + GameMode?: string; + /** + / stastic used to match this game in player statistic matchmaking + */ + StatisticName?: string; + /** + / maximum players this server can support + */ + MaxPlayers?: number; + /** + / array of current player IDs on this server + */ + PlayerUserIds?: string[]; + /** + / duration in seconds this server has been running + */ + RunTime: number; + /** + / game specific string denoting server configuration + */ + GameServerState?: string; + /** + / game session custom data + */ + GameServerData?: string; + /** + / game session tags + */ + Tags?: { [key: string]: string }; + /** + / last heartbeat of the game server instance, used in external game server provider mode + */ + LastHeartbeat?: string; + /** + / IP address of the server + */ + ServerHostname?: string; + /** + / port number to use for non-http communications with the server + */ + ServerPort?: number; + + } + + type GameInstanceState = "Open" + | "Closed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest + */ + export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / version of game server for which stats are being requested + */ + BuildVersion: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult + */ + export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of regions found matching the request parameters + */ + Regions?: RegionInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair + */ + export interface GenericPlayFabIdPair { + /** + / Unique generic service identifier for a user. + */ + GenericId?: GenericServiceId; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId + */ + export interface GenericServiceId { + /** + / Name of the service for which the player has a unique identifier. + */ + ServiceName: string; + /** + / Unique identifier of the player in that service. + */ + UserId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest + */ + export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. + */ + PlayFabId?: string; + /** + / PlayFab Username for the account to find (if no PlayFabId is specified). + */ + Username?: string; + /** + / User email address for the account to find (if no Username is specified). + */ + Email?: string; + /** + / Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. + */ + TitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult + */ + export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Account information for the local user. + */ + AccountInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest + */ + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being requested. If null, uses the default catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult + */ + export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest + */ + export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. + */ + PlayFabId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult + */ + export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest + */ + export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Used to limit results to only those from a specific catalog version. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult + */ + export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier of the character for this inventory. + */ + CharacterId?: string; + /** + / Array of inventory items belonging to the character. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the character. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest + */ + export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult + */ + export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest + */ + export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult + */ + export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The requested character statistics. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest + */ + export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; + /** + / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. + */ + HttpMethod?: string; + /** + / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + */ + ThruCDN?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult + */ + export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { + /** + / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest + */ + export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistic used to rank players for this leaderboard. + */ + StatisticName: string; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + /** + / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. + */ + PlayFabId?: string; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult + */ + export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered listing of users and their positions in the requested leaderboard. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest + */ + export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistic used to rank friends for this leaderboard. + */ + StatisticName: string; + /** + / Position in the leaderboard to start this listing (defaults to the first entry). + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest + */ + export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult + */ + export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of friends found. + */ + Friends?: FriendInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest + */ + export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID for a specific character on which to center the leaderboard. + */ + CharacterId: string; + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult + */ + export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest + */ + export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. + */ + PlayFabId?: string; + /** + / Statistic used to rank players for this leaderboard. + */ + StatisticName: string; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult + */ + export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered listing of users and their positions in the requested leaderboard. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest + */ + export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult + */ + export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest + */ + export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistic used to rank players for this leaderboard. + */ + StatisticName: string; + /** + / Position in the leaderboard to start this listing (defaults to the first entry). + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult + */ + export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered listing of users and their positions in the requested leaderboard. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest + */ + export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The Photon applicationId for the game you wish to log into. + */ + PhotonApplicationId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult + */ + export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The Photon authentication token for this game-session. + */ + PhotonCustomAuthenticationToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest + */ + export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. + */ + PlayFabId?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams + */ + export interface GetPlayerCombinedInfoRequestParams { + /** + / Whether to get the player's account Info. Defaults to false + */ + GetUserAccountInfo: boolean; + /** + / Whether to get the player's inventory. Defaults to false + */ + GetUserInventory: boolean; + /** + / Whether to get the player's virtual currency balances. Defaults to false + */ + GetUserVirtualCurrency: boolean; + /** + / Whether to get the player's custom data. Defaults to false + */ + GetUserData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + */ + UserDataKeys?: string[]; + /** + / Whether to get the player's read only data. Defaults to false + */ + GetUserReadOnlyData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + */ + UserReadOnlyDataKeys?: string[]; + /** + / Whether to get character inventories. Defaults to false. + */ + GetCharacterInventories: boolean; + /** + / Whether to get the list of characters. Defaults to false. + */ + GetCharacterList: boolean; + /** + / Whether to get title data. Defaults to false. + */ + GetTitleData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + */ + TitleDataKeys?: string[]; + /** + / Whether to get player statistics. Defaults to false. + */ + GetPlayerStatistics: boolean; + /** + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + */ + PlayerStatisticNames?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult + */ + export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Results for requested info. + */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload + */ + export interface GetPlayerCombinedInfoResultPayload { + /** + / Account information for the user. This is always retrieved. + */ + AccountInfo?: UserAccountInfo; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; + /** + / Dictionary of virtual currency balance(s) belonging to the user. + */ + UserVirtualCurrency?: { [key: string]: number }; + /** + / Dictionary of remaining times and timestamps for virtual currencies. + */ + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + /** + / User specific custom data. + */ + UserData?: { [key: string]: UserDataRecord }; + /** + / The version of the UserData that was returned. + */ + UserDataVersion: number; + /** + / User specific read-only data. + */ + UserReadOnlyData?: { [key: string]: UserDataRecord }; + /** + / The version of the Read-Only UserData that was returned. + */ + UserReadOnlyDataVersion: number; + /** + / List of characters for the user. + */ + CharacterList?: CharacterResult[]; + /** + / Inventories for each character for the user. + */ + CharacterInventories?: CharacterInventory[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest + */ + export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult + */ + export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments the requested player currently belongs to. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest + */ + export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / statistics to return (current version will be returned for each) + */ + StatisticNames?: string[]; + /** + / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + */ + StatisticNameVersions?: StatisticNameVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult + */ + export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User statistics for the requested user. + */ + Statistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest + */ + export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult + */ + export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersions?: PlayerStatisticVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest + */ + export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Optional namespace to filter results by + */ + Namespace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult + */ + export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Canonical tags (including namespace and tag's name) for the requested user + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest + */ + export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Returns only trades with the given status. If null, returns all trades. + */ + StatusFilter?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse + */ + export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The trades for this player which are currently available to be accepted. + */ + OpenedTrades?: TradeInfo[]; + /** + / History of trades which this player has accepted. + */ + AcceptedTrades?: TradeInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest + */ + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. + */ + FacebookIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult + */ + export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Facebook identifiers to PlayFab identifiers. + */ + Data?: FacebookPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest + */ + export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. + */ + GameCenterIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult + */ + export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Game Center identifiers to PlayFab identifiers. + */ + Data?: GameCenterPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest + */ + export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a maximum of 10 in a single request. + */ + GenericIDs: GenericServiceId[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult + */ + export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of generic service identifiers to PlayFab identifiers. + */ + Data?: GenericPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest + */ + export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. + */ + GoogleIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult + */ + export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Google identifiers to PlayFab identifiers. + */ + Data?: GooglePlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest + */ + export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. + */ + KongregateIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult + */ + export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Kongregate identifiers to PlayFab identifiers. + */ + Data?: KongregatePlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest + */ + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. + */ + SteamStringIDs?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult + */ + export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Steam identifiers to PlayFab identifiers. + */ + Data?: SteamPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest + */ + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. + */ + TwitchIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult + */ + export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Twitch identifiers to PlayFab identifiers. + */ + Data?: TwitchPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest + */ + export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / array of keys to get back data from the Publisher data blob, set by the admin tools + */ + Keys: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult + */ + export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest + */ + export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Purchase order identifier. + */ + OrderId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult + */ + export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Payment provider used for transaction (If not VC) + */ + PaymentProvider?: string; + /** + / Provider transaction ID (If not VC) + */ + TransactionId?: string; + /** + / PlayFab transaction status + */ + TransactionStatus?: string; + /** + / Date and time of the purchase. + */ + PurchaseDate: string; + /** + / Array of items purchased. + */ + Items?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult + */ + export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for this segment. + */ + Id: string; + /** + / Segment name. + */ + Name?: string; + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest + */ + export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + */ + Keys?: string[]; + /** + / If true, return the list of all members of the shared group. + */ + GetMembers?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult + */ + export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Data for the requested keys. + */ + Data?: { [key: string]: SharedGroupDataRecord }; + /** + / List of PlayFabId identifiers for the members of this group, if requested. + */ + Members?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest + */ + export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version to store items from. Use default catalog version if null + */ + CatalogVersion?: string; + /** + / Unqiue identifier for the store which is being requested. + */ + StoreId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult + */ + export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased from this store. + */ + Store?: StoreItem[]; + /** + / How the store was last updated (Admin or a third party). + */ + Source?: string; + /** + / The base catalog that this store is a part of. + */ + CatalogVersion?: string; + /** + / The ID of this store. + */ + StoreId?: string; + /** + / Additional data about the store. + */ + MarketingData?: StoreMarketingModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest + */ + export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult + */ + export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Current server time when the request was received, in UTC + */ + Time: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest + */ + export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the title data (leave null to get all keys) + */ + Keys?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult + */ + export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest + */ + export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Limits the results to the last n entries. Defaults to 10 if not set. + */ + Count?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult + */ + export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of news items. + */ + News?: TitleNewsItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest + */ + export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player who opened trade. + */ + OfferingPlayerId: string; + /** + / Trade identifier as returned by OpenTradeOffer. + */ + TradeId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse + */ + export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Information about the requested trade. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest + */ + export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the custom data. Leave null to get all keys. + */ + Keys?: string[]; + /** + / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a PlayFab id of another player, then this will only return public keys for that account. + */ + PlayFabId?: string; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult + */ + export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest + */ + export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult + */ + export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of inventory items belonging to the user. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair + */ + export interface GooglePlayFabIdPair { + /** + / Unique Google identifier for a user. + */ + GoogleId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest + */ + export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. + */ + ItemId: string; + /** + / Non-unique display name of the character being granted. + */ + CharacterName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult + */ + export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier tagged to this character. + */ + CharacterId?: string; + /** + / Type of character that was created. + */ + CharacterType?: string; + /** + / Indicates whether this character was created successfully. + */ + Result: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest + */ + export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique ItemId of the item to purchase. + */ + ItemId: string; + /** + / How many of this item to purchase. + */ + Quantity: number; + /** + / Title-specific text concerning this purchase. + */ + Annotation?: string; + /** + / Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). + */ + UpgradeFromItems?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair + */ + export interface KongregatePlayFabIdPair { + /** + / Unique Kongregate identifier for a user. + */ + KongregateId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Kongregate identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest + */ + export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Android device identifier for the user's device. + */ + AndroidDeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + AndroidDevice?: string; + /** + / If another user is already linked to the device, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult + */ + export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest + */ + export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom unique identifier for the user, generated by the title. + */ + CustomId: string; + /** + / If another user is already linked to the custom ID, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult + */ + export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest + */ + export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier from Facebook for the user. + */ + AccessToken: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult + */ + export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest + */ + export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Game Center identifier for the player account to be linked. + */ + GameCenterId: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult + */ + export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest + */ + export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + */ + AccessToken: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult + */ + export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest + */ + export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Vendor-specific iOS identifier for the user's device. + */ + DeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + DeviceModel?: string; + /** + / If another user is already linked to the device, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult + */ + export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest + */ + export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Numeric user ID assigned by Kongregate + */ + KongregateId: string; + /** + / Valid session auth ticket issued by Kongregate + */ + AuthTicket: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult + */ + export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest + */ + export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult + */ + export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest + */ + export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Valid token issued by Twitch + */ + AccessToken: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult + */ + export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest + */ + export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult + */ + export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The requested list of characters. + */ + Characters?: CharacterResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult + */ + export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique token authorizing the user and game at the server level, for the current session. + */ + SessionTicket?: string; + /** + / Player's unique PlayFabId. + */ + PlayFabId?: string; + /** + / True if the account was newly created on this login. + */ + NewlyCreated: boolean; + /** + / Settings specific to this user. + */ + SettingsForUser?: UserSettings; + /** + / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue + */ + LastLoginTime?: string; + /** + / Results for requested info. + */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest + */ + export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Android device identifier for the user's device. + */ + AndroidDeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + AndroidDevice?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Android device. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest + */ + export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Custom unique identifier for the user, generated by the title. + */ + CustomId: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Custom ID. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest + */ + export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Email address for the account. + */ + Email: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest + */ + export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Unique identifier from Facebook for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Facebook account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest + */ + export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Unique Game Center player id. + */ + PlayerId: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Game Center id. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest + */ + export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Google account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest + */ + export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Vendor-specific iOS identifier for the user's device. + */ + DeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + DeviceModel?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / Automatically create a PlayFab account if one is not currently linked to this iOS device. + */ + CreateAccount?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest + */ + export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Numeric user ID assigned by Kongregate + */ + KongregateId: string; + /** + / Token issued by Kongregate's client API for the user. + */ + AuthTicket: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Kongregate account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest + */ + export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / PlayFab username for the account. + */ + Username: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest + */ + export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Steam account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest + */ + export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Token issued by Twitch's API for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Twitch account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement + */ + export interface LogStatement { + /** + / 'Debug', 'Info', or 'Error' + */ + Level?: string; + Message?: string; + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest + */ + export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Build version to match against. [Note: Required if LobbyId is not specified] + */ + BuildVersion?: string; + /** + / Region to match make against. [Note: Required if LobbyId is not specified] + */ + Region?: string; + /** + / Game mode to match make against. [Note: Required if LobbyId is not specified] + */ + GameMode?: string; + /** + / Lobby identifier to match make against. This is used to select a specific Game Server Instance. + */ + LobbyId?: string; + /** + / Player statistic to use in finding a match. May be null for no stat-based matching. + */ + StatisticName?: string; + /** + / Character to use for stats based matching. Leave null to use account stats. + */ + CharacterId?: string; + /** + / Start a game session if one with an open slot is not found. Defaults to true. + */ + StartNewIfNoneFound?: boolean; + /** + / Filter to include and/or exclude Game Server Instances associated with certain Tags + */ + TagFilter?: CollectionFilter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult + */ + export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique lobby identifier of the server matched + */ + LobbyID?: string; + /** + / IP address of the server + */ + ServerHostname?: string; + /** + / port number to use for non-http communications with the server + */ + ServerPort?: number; + /** + / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) + */ + Ticket?: string; + /** + / timestamp for when the server will expire, if applicable + */ + Expires?: string; + /** + / time in milliseconds the application is configured to wait on matchmaking results + */ + PollWaitTimeMS?: number; + /** + / result of match making process + */ + Status?: string; + + } + + type MatchmakeStatus = "Complete" + | "Waiting" + | "GameNotFound" + | "NoAvailableSlots" + | "SessionClosed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest + */ + export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player inventory items offered for trade. If not set, the trade is effectively a gift request + */ + OfferedInventoryInstanceIds?: string[]; + /** + / Catalog items accepted for the trade. If not set, the trade is effectively a gift. + */ + RequestedCatalogItemIds?: string[]; + /** + / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. + */ + AllowedPlayerIds?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse + */ + export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The information about the trade that was just opened. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest + */ + export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Purchase order identifier returned from StartPurchase. + */ + OrderId: string; + /** + / Payment provider to use to fund the purchase. + */ + ProviderName: string; + /** + / Currency to use to fund the purchase. + */ + Currency: string; + /** + / Payment provider transaction identifier. Required for Facebook Payments. + */ + ProviderTransactionId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult + */ + export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Status of the transaction. + */ + Status?: string; + /** + / Virtual currency cost of the transaction. + */ + VCAmount?: { [key: string]: number }; + /** + / Real world currency for the transaction. + */ + PurchaseCurrency?: string; + /** + / Real world cost of the transaction. + */ + PurchasePrice: number; + /** + / Local credit applied to the transaction (provider specific). + */ + CreditApplied: number; + /** + / Provider used for the transaction. + */ + ProviderData?: string; + /** + / URL to the purchase provider page that details the purchase. + */ + PurchaseConfirmationPageURL?: string; + /** + / Current virtual currency totals for the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / A token generated by the provider to authenticate the request (provider-specific). + */ + ProviderToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption + */ + export interface PaymentOption { + /** + / Specific currency to use to fund the purchase. + */ + Currency?: string; + /** + / Name of the purchase provider for this option. + */ + ProviderName?: string; + /** + / Amount of the specified currency needed for the purchase. + */ + Price: number; + /** + / Amount of existing credit the user has with the provider. + */ + StoreCredit: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry + */ + export interface PlayerLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion + */ + export interface PlayerStatisticVersion { + /** + / name of the statistic when the version became active + */ + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; + /** + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + */ + ScheduledActivationTime?: string; + /** + / time when the statistic version became active + */ + ActivationTime: string; + /** + / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval + */ + ScheduledDeactivationTime?: string; + /** + / time when the statistic version became inactive due to statistic version incrementing + */ + DeactivationTime?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest + */ + export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the item to purchase. + */ + ItemId: string; + /** + / Virtual currency to use to purchase the item. + */ + VirtualCurrency: string; + /** + / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). + */ + Price: number; + /** + / Catalog version for the items to be purchased (defaults to most recent version. + */ + CatalogVersion?: string; + /** + / Store to buy this item through. If not set, prices default to those in the catalog. + */ + StoreId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult + */ + export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Details for the items purchased. + */ + Items?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest + */ + export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generated coupon code to redeem. + */ + CouponCode: string; + /** + / Catalog version of the coupon. If null, uses the default catalog + */ + CatalogVersion?: string; + /** + / Optional identifier for the Character that should receive the item. If null, item is added to the player + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult + */ + export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of redeeming the coupon. + */ + GrantedItems?: ItemInstance[]; + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo + */ + export interface RegionInfo { + /** + / unique identifier for the region + */ + Region?: string; + /** + / name of the region + */ + Name?: string; + /** + / indicates whether the server specified is available in this region + */ + Available: boolean; + /** + / url to ping to get roundtrip time + */ + PingUrl?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest + */ + export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. + */ + DeviceToken: string; + /** + / If true, send a test push message immediately after sucessful registration. Defaults to false. + */ + SendPushNotificationConfirmation?: boolean; + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult + */ + export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest + */ + export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / PlayFab username for the account (3-20 characters) + */ + Username?: string; + /** + / User email address attached to their account + */ + Email?: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + /** + / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. + */ + RequireBothUsernameAndEmail?: boolean; + /** + / An optional parameter for setting the display name for this title. + */ + DisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult + */ + export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier for this newly created account. + */ + PlayFabId?: string; + /** + / Unique token identifying the user and game at the server level, for the current session. + */ + SessionTicket?: string; + /** + / PlayFab unique user name. + */ + Username?: string; + /** + / Settings specific to this user. + */ + SettingsForUser?: UserSettings; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest + */ + export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the friend account which is to be removed. + */ + FriendPlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult + */ + export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest + */ + export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generic service identifier to be removed from the player. + */ + GenericId: GenericServiceId; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult + */ + export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest + */ + export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult + */ + export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest + */ + export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab identifier of the reported player. + */ + ReporteeId: string; + /** + / Optional additional comment by reporting player. + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult + */ + export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates whether this action completed successfully. + */ + Updated: boolean; + /** + / The number of remaining reports which may be filed today. + */ + SubmissionsRemaining: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest + */ + export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. + */ + ReceiptData: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult + */ + export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError + */ + export interface ScriptExecutionError { + /** + / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** + / Details about the error + */ + Message?: string; + /** + / Point during the execution of the script at which the error occurred, if any + */ + StackTrace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest + */ + export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / User email address attached to their account + */ + Email: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult + */ + export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest + */ + export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the friend account to which the tag(s) should be applied. + */ + FriendPlayFabId: string; + /** + / Array of tags to set on the friend account. + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult + */ + export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord + */ + export interface SharedGroupDataRecord { + /** + / Data stored for the specified group data key. + */ + Value?: string; + /** + / Unique PlayFab identifier of the user to last update this value. + */ + LastUpdatedBy?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only members of the group (private). + */ + Permission?: string; + + } + + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest + */ + export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / version information for the build of the game server which is to be started + */ + BuildVersion: string; + /** + / the region to associate this server with for match filtering + */ + Region: string; + /** + / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) + */ + GameMode: string; + /** + / player statistic for others to use in finding this game. May be null for no stat-based matching + */ + StatisticName?: string; + /** + / character to use for stats based matching. Leave null to use account stats + */ + CharacterId?: string; + /** + / custom command line argument when starting game server process + */ + CustomCommandLineData?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult + */ + export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for the lobby of the server started + */ + LobbyID?: string; + /** + / server IP address + */ + ServerHostname?: string; + /** + / port on the server to be used for communication + */ + ServerPort?: number; + /** + / unique identifier for the server + */ + Ticket?: string; + /** + / timestamp for when the server should expire, if applicable + */ + Expires?: string; + /** + / password required to log into the server + */ + Password?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest + */ + export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version for the items to be purchased. Defaults to most recent catalog. + */ + CatalogVersion?: string; + /** + / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. + */ + StoreId?: string; + /** + / Array of items to purchase. + */ + Items: ItemPurchaseRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult + */ + export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Cart items to be purchased. + */ + Contents?: CartItem[]; + /** + / Available methods by which the user can pay. + */ + PaymentOptions?: PaymentOption[]; + /** + / Current virtual currency totals for the user. + */ + VirtualCurrencyBalances?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion + */ + export interface StatisticNameVersion { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / the version of the statistic to be returned + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate + */ + export interface StatisticUpdate { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; + /** + / statistic value for the player + */ + Value: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue + */ + export interface StatisticValue { + /** + / unique name of the statistic + */ + StatisticName?: string; + /** + / statistic value for the player + */ + Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair + */ + export interface SteamPlayFabIdPair { + /** + / Unique Steam identifier for a user. + */ + SteamStringId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem + */ + export interface StoreItem { + /** + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + */ + ItemId: string; + /** + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / Override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + */ + CustomData?: any; + /** + / Intended display position for this item. Note that 0 is the first position + */ + DisplayPosition?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel + */ + export interface StoreMarketingModel { + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; + /** + / Tagline for a store. + */ + Description?: string; + /** + / Custom data about a store. + */ + Metadata?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + type TitleActivationStatus = "None" + | "ActivatedTitleKey" + | "PendingSteam" + | "ActivatedSteam" + | "RevokedSteam"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem + */ + export interface TitleNewsItem { + /** + / Date and time when the news items was posted. + */ + Timestamp: string; + /** + / Unique identifier of news item. + */ + NewsId?: string; + /** + / Title of the news item. + */ + Title?: string; + /** + / News item text. + */ + Body?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo + */ + export interface TradeInfo { + /** + / Describes the current state of this trade. + */ + Status?: string; + /** + / The identifier for this trade. + */ + TradeId?: string; + /** + / The PlayFabId for the offering player. + */ + OfferingPlayerId?: string; + /** + / The itemInstance Ids that are being offered. + */ + OfferedInventoryInstanceIds?: string[]; + /** + / The catalogItem Ids of the item instances being offered. + */ + OfferedCatalogItemIds?: string[]; + /** + / The catalogItem Ids requested in exchange. + */ + RequestedCatalogItemIds?: string[]; + /** + / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. + */ + AllowedPlayerIds?: string[]; + /** + / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. + */ + AcceptedPlayerId?: string; + /** + / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. + */ + AcceptedInventoryInstanceIds?: string[]; + /** + / The UTC time when this trade was created. + */ + OpenedAt?: string; + /** + / If set, The UTC time when this trade was fulfilled. + */ + FilledAt?: string; + /** + / If set, The UTC time when this trade was canceled. + */ + CancelledAt?: string; + /** + / If set, The UTC time when this trade was made invalid. + */ + InvalidatedAt?: string; + + } + + type TradeStatus = "Invalid" + | "Opening" + | "Open" + | "Accepting" + | "Accepted" + | "Filled" + | "Cancelled"; + + type TransactionStatus = "CreateCart" + | "Init" + | "Approved" + | "Succeeded" + | "FailedByProvider" + | "DisputePending" + | "RefundPending" + | "Refunded" + | "RefundFailed" + | "ChargedBack" + | "FailedByUber" + | "FailedByPlayFab" + | "Revoked" + | "TradePending" + | "Traded" + | "Upgraded" + | "StackPending" + | "Stacked" + | "Other" + | "Failed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair + */ + export interface TwitchPlayFabIdPair { + /** + / Unique Twitch identifier for a user. + */ + TwitchId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest + */ + export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be used. + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult + */ + export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest + */ + export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID will be used. + */ + CustomId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult + */ + export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest + */ + export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult + */ + export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest + */ + export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult + */ + export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest + */ + export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult + */ + export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest + */ + export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will be used. + */ + DeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult + */ + export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest + */ + export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult + */ + export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest + */ + export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult + */ + export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest + */ + export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult + */ + export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest + */ + export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / ItemInstanceId of the container to unlock. + */ + ContainerItemInstanceId: string; + /** + / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + */ + KeyItemInstanceId?: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest + */ + export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog ItemId of the container type to unlock. + */ + ContainerItemId: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult + */ + export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the container unlocked. + */ + UnlockedItemInstanceId?: string; + /** + / Unique instance identifier of the key used to unlock the container, if applicable. + */ + UnlockedWithItemInstanceId?: string; + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; + /** + / Virtual currency granted to the player as a result of unlocking the container. + */ + VirtualCurrency?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest + */ + export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult + */ + export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest + */ + export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Statistics to be updated with the provided values. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult + */ + export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest + */ + export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistics to be updated with the provided values + */ + Statistics: StatisticUpdate[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult + */ + export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest + */ + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys in this request. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult + */ + export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest + */ + export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. This is used for requests by one player for information about another player; those requests will only return Public keys. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult + */ + export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest + */ + export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / New title display name for the user - must be between 3 and 25 characters. + */ + DisplayName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult + */ + export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Current title display name for the user (this will be the original display name if the rename attempt failed). + */ + DisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo + */ + export interface UserAccountInfo { + /** + / Unique identifier for the user account + */ + PlayFabId?: string; + /** + / Timestamp indicating when the user account was created + */ + Created: string; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / Title-specific information for the user account + */ + TitleInfo?: UserTitleInfo; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; + /** + / User Facebook information, if a Facebook account has been linked + */ + FacebookInfo?: UserFacebookInfo; + /** + / User Steam information, if a Steam account has been linked + */ + SteamInfo?: UserSteamInfo; + /** + / User Gamecenter information, if a Gamecenter account has been linked + */ + GameCenterInfo?: UserGameCenterInfo; + /** + / User iOS device information, if an iOS device has been linked + */ + IosDeviceInfo?: UserIosDeviceInfo; + /** + / User Android device information, if an Android device has been linked + */ + AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** + / User Kongregate account information, if a Kongregate account has been linked + */ + KongregateInfo?: UserKongregateInfo; + /** + / User Twitch account information, if a Twitch account has been linked + */ + TwitchInfo?: UserTwitchInfo; + /** + / User PSN account information, if a PSN account has been linked + */ + PsnInfo?: UserPsnInfo; + /** + / User Google account information, if a Google account has been linked + */ + GoogleInfo?: UserGoogleInfo; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; + /** + / Custom ID information, if a custom ID has been assigned + */ + CustomIdInfo?: UserCustomIdInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo + */ + export interface UserAndroidDeviceInfo { + /** + / Android device ID + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo + */ + export interface UserCustomIdInfo { + /** + / Custom ID + */ + CustomId?: string; + + } + + type UserDataPermission = "Private" + | "Public"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord + */ + export interface UserDataRecord { + /** + / Data stored for the specified user data key. + */ + Value?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo + */ + export interface UserFacebookInfo { + /** + / Facebook identifier + */ + FacebookId?: string; + /** + / Facebook full name + */ + FullName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo + */ + export interface UserGameCenterInfo { + /** + / Gamecenter identifier + */ + GameCenterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo + */ + export interface UserGoogleInfo { + /** + / Google ID + */ + GoogleId?: string; + /** + / Email address of the Google account + */ + GoogleEmail?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; + /** + / Gender information of the Google account + */ + GoogleGender?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo + */ + export interface UserIosDeviceInfo { + /** + / iOS device ID + */ + IosDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo + */ + export interface UserKongregateInfo { + /** + / Kongregate ID + */ + KongregateId?: string; + /** + / Kongregate Username + */ + KongregateName?: string; + + } + + type UserOrigination = "Organic" + | "Steam" + | "Google" + | "Amazon" + | "Facebook" + | "Kongregate" + | "GamersFirst" + | "Unknown" + | "IOS" + | "LoadTest" + | "Android" + | "PSN" + | "GameCenter" + | "CustomId" + | "XboxLive" + | "Parse" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo + */ + export interface UserPrivateAccountInfo { + /** + / user email address + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo + */ + export interface UserPsnInfo { + /** + / PSN account ID + */ + PsnAccountId?: string; + /** + / PSN online ID + */ + PsnOnlineId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings + */ + export interface UserSettings { + /** + / Boolean for whether this player is eligible for ad tracking. + */ + NeedsAttribution: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo + */ + export interface UserSteamInfo { + /** + / Steam identifier + */ + SteamId?: string; + /** + / the country in which the player resides, from Steam data + */ + SteamCountry?: string; + /** + / currency type set in the user Steam account + */ + SteamCurrency?: string; + /** + / what stage of game ownership the user is listed as being in, from Steam + */ + SteamActivationStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo + */ + export interface UserTitleInfo { + /** + / name of the user, as it is displayed in-game + */ + DisplayName?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; + /** + / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + */ + Created: string; + /** + / timestamp for the last user login for this title + */ + LastLogin?: string; + /** + / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + */ + FirstLogin?: string; + /** + / boolean indicating whether or not the user is currently banned for a title + */ + isBanned?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo + */ + export interface UserTwitchInfo { + /** + / Twitch ID + */ + TwitchId?: string; + /** + / Twitch Username + */ + TwitchUserName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo + */ + export interface UserXboxInfo { + /** + / XBox user ID + */ + XboxUserId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest + */ + export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / ReceiptId returned by the Amazon App Store in-app purchase API + */ + ReceiptId: string; + /** + / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API + */ + UserId: string; + /** + / Catalog version to use when granting receipt item. If null, defaults to primary catalog. + */ + CatalogVersion?: string; + /** + / Currency used for the purchase. + */ + CurrencyCode: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult + */ + export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest + */ + export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Original JSON string returned by the Google Play IAB API. + */ + ReceiptJson: string; + /** + / Signature returned by the Google Play IAB API. + */ + Signature: string; + /** + / Currency used for the purchase. + */ + CurrencyCode?: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult + */ + export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest + */ + export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. + */ + ReceiptData: string; + /** + / Currency used for the purchase. + */ + CurrencyCode: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult + */ + export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest + */ + export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest + */ + export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse + */ + export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + */ + EventId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest + */ + export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts new file mode 100644 index 00000000..b2736a32 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -0,0 +1,358 @@ +declare module PlayFabMatchmakerModule { + export interface IPlayFabMatchmaker { + /** + / Validates a user with the PlayFab service + / https://api.playfab.com/Documentation/Matchmaker/method/AuthUser + */ + AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified + / https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined + */ + PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified + / https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft + */ + PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance + / https://api.playfab.com/Documentation/Matchmaker/method/StartGame + */ + StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches + / https://api.playfab.com/Documentation/Matchmaker/method/UserInfo + */ + UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabMatchmakerModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest + */ + export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Session Ticket provided by the client. + */ + AuthorizationTicket: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse + */ + export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Boolean indicating if the user has been authorized to use the external match-making service. + */ + Authorized: boolean; + /** + / PlayFab unique identifier of the account that has been authorized. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest + */ + export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the Game Server Instance that is being deregistered. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse + */ + export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest + */ + export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance the user is joining. + */ + LobbyId: string; + /** + / PlayFab unique identifier for the user joining. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse + */ + export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest + */ + export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance the user is leaving. + */ + LobbyId: string; + /** + / PlayFab unique identifier for the user leaving. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse + */ + export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest + */ + export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / IP address of the Game Server Instance. + */ + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; + /** + / Unique identifier of the build running on the Game Server Instance. + */ + Build: string; + /** + / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + */ + Region: string; + /** + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + */ + GameMode: string; + /** + / Tags for the Game Server Instance + */ + Tags?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse + */ + export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier generated for the Game Server Instance that is registered. + */ + LobbyId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest + */ + export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the previously uploaded build executable which is to be started. + */ + Build: string; + /** + / Region with which to associate the server, for filtering. + */ + Region: string; + /** + / Game mode for this Game Server Instance. + */ + GameMode: string; + /** + / Custom command line argument when starting game server process. + */ + CustomCommandLineData?: string; + /** + / HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an application/json body of { "EventName": "game_ended", "GameID": "" }. + */ + ExternalMatchmakerEventEndpoint: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse + */ + export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the game/lobby in the new Game Server Instance. + */ + GameID?: string; + /** + / IP address of the new Game Server Instance. + */ + ServerHostname?: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest + */ + export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose information is being requested. + */ + PlayFabId: string; + /** + / Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a catalog version of this or higher). + */ + MinCatalogVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse + */ + export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose information was requested. + */ + PlayFabId?: string; + /** + / PlayFab unique user name. + */ + Username?: string; + /** + / Title specific display name, if set. + */ + TitleDisplayName?: string; + /** + / Array of inventory items in the user's current inventory. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + /** + / Boolean indicating whether the user is a developer. + */ + IsDeveloper: boolean; + /** + / Steam unique identifier, if the user has an associated Steam account. + */ + SteamId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts new file mode 100644 index 00000000..813760b9 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -0,0 +1,5064 @@ +declare module PlayFabServerModule { + export interface IPlayFabServer { + /** + / Validated a client's session ticket, and if successful, returns details for that user + / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket + */ + AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + / https://api.playfab.com/Documentation/Server/method/BanUsers + */ + BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + */ + GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + */ + GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the relevant details for a specified user + / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + */ + GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Server/method/GetUserBans + */ + GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + */ + RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Server/method/RevokeBans + */ + RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + / https://api.playfab.com/Documentation/Server/method/SendPushNotification + */ + SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Server/method/UpdateBans + */ + UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + / https://api.playfab.com/Documentation/Server/method/DeleteUsers + */ + DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + */ + GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetLeaderboard + */ + GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + */ + GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. + / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + */ + GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current version and values for the indicated statistics, for the local player. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + */ + GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserData + */ + GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserInternalData + */ + GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + */ + GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + */ + GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + */ + GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + */ + GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the user + / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + */ + UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserData + */ + UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + */ + UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + */ + UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + */ + UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + */ + UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + */ + UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Server/method/GetCatalogItems + */ + GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Server/method/GetPublisherData + */ + GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current server time + / https://api.playfab.com/Documentation/Server/method/GetTime + */ + GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/GetTitleData + */ + GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom internal title settings + / https://api.playfab.com/Documentation/Server/method/GetTitleInternalData + */ + GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title news feed, as configured in the developer portal + / https://api.playfab.com/Documentation/Server/method/GetTitleNews + */ + GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Server/method/SetPublisherData + */ + SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleData + */ + SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + */ + SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + */ + AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Server/method/ConsumeItem + */ + ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + */ + EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + */ + GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights + / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + */ + GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetUserInventory + */ + GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified character's inventory + / https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter + */ + GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified user's inventory + / https://api.playfab.com/Documentation/Server/method/GrantItemsToUser + */ + GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified user inventories + / https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers + */ + GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Modifies the number of remaining uses of a player's inventory item + / https://api.playfab.com/Documentation/Server/method/ModifyItemUses + */ + ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Moves an item from a character's inventory into another of the users's character's inventory. + / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter + */ + MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Moves an item from a user's inventory into their character's inventory. + / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser + */ + MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Moves an item from a character's inventory into the owning user's inventory. + / https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter + */ + MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Server/method/RedeemCoupon + */ + RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Server/method/ReportPlayer + */ + ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem + */ + RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency + */ + SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency + */ + SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance + */ + UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem + */ + UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value pair data tagged to the specified item, which is read-only from the client. + / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData + */ + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Server/method/AddFriend + */ + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Server/method/GetFriendsList + */ + GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes the specified friend from the the user's friend list + / https://api.playfab.com/Documentation/Server/method/RemoveFriend + */ + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Inform the matchmaker that a Game Server Instance is removed. + / https://api.playfab.com/Documentation/Server/method/DeregisterGame + */ + DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Informs the PlayFab match-making service that the user specified has left the Game Server Instance + / https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft + */ + NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates a Game Server session ticket and returns details about the user + / https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket + */ + RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. + / https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat + */ + RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Inform the matchmaker that a new Game Server Instance is added. + / https://api.playfab.com/Documentation/Server/method/RegisterGame + */ + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the custom data of the indicated Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData + */ + SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Set the state of the indicated Game Server Instance. + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState + */ + SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Set custom tags for the specified Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags + */ + SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Awards the specified users the specified Steam achievements + / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + */ + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent + */ + WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent + */ + WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent + */ + WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + */ + AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup + */ + CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes a shared group, freeing up the shared group ID to be reused for a new group + / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + */ + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + */ + GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers + */ + RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData + */ + UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript + */ + ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + */ + GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes the specific character ID from the specified user. + / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + */ + DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + */ + GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + */ + GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details of all title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + */ + GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, centered on the requested user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + */ + GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + */ + GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + */ + GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + */ + UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterData + */ + GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + */ + GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + */ + GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user's chjaracter which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + */ + UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + */ + UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + */ + UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + */ + AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups + */ + GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Server/method/GetAllSegments + */ + GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + */ + GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + */ + GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + */ + RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabServerModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ActionsOnPlayersInSegmentTaskSummary + */ + export interface ActionsOnPlayersInSegmentTaskSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Error message for last processing attempt, if an error occured. + */ + ErrorMessage?: string; + /** + / Flag indicating if the error was fatal, if false job will be retried. + */ + ErrorWasFatal?: boolean; + /** + / Total players in segment when task was started. + */ + TotalPlayersInSegment?: number; + /** + / Total number of players that have had the actions applied to. + */ + TotalPlayersProcessed?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution + */ + export interface AdCampaignAttribution { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest + */ + export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest + */ + export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the player to add a new friend. + */ + PlayFabId: string; + /** + / The PlayFab identifier of the user being added. + */ + FriendPlayFabId?: string; + /** + / The PlayFab username of the user being added + */ + FriendUsername?: string; + /** + / Email address of the user being added. + */ + FriendEmail?: string; + /** + / Title-specific display name of the user to being added. + */ + FriendTitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest + */ + export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult + */ + export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest + */ + export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult + */ + export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest + */ + export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be increased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest + */ + export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Session ticket as issued by a PlayFab client login API. + */ + SessionTicket: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult + */ + export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Account info for the user whose session ticket was supplied. + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem + */ + export interface AwardSteamAchievementItem { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique Steam achievement name. + */ + AchievementName: string; + /** + / Result of the award attempt (only valid on response, not on request). + */ + Result: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest + */ + export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of achievements to grant and the users to whom they are to be granted. + */ + Achievements: AwardSteamAchievementItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult + */ + export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of achievements granted. + */ + AchievementResults?: AwardSteamAchievementItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo + */ + export interface BanInfo { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / The unique Ban Id associated with this ban. + */ + BanId?: string; + /** + / The IP address on which the ban was applied. May affect multiple players. + */ + IPAddress?: string; + /** + / The MAC address on which the ban was applied. May affect multiple players. + */ + MACAddress?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; + /** + / The reason why this ban was applied. + */ + Reason?: string; + /** + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. + */ + Active: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest + */ + export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / IP address to be banned. May affect multiple players. + */ + IPAddress?: string; + /** + / MAC address to be banned. May affect multiple players. + */ + MACAddress?: string; + /** + / The reason for this ban. Maximum 140 characters. + */ + Reason?: string; + /** + / The duration in hours for the ban. Leave this blank for a permanent ban. + */ + DurationInHours?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest + */ + export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of ban requests to be applied. Maximum 100. + */ + Bans: BanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult + */ + export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were applied + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem + */ + export interface CatalogItem { + /** + / unique identifier for this item + */ + ItemId: string; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / catalog version for this item + */ + CatalogVersion?: string; + /** + / text name for the item, to show in-game + */ + DisplayName?: string; + /** + / text description of item, to show in-game + */ + Description?: string; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / list of item tags + */ + Tags?: string[]; + /** + / game specific custom data + */ + CustomData?: string; + /** + / defines the consumable properties (number of uses, timeout) for the item + */ + Consumable?: CatalogItemConsumableInfo; + /** + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + */ + Container?: CatalogItemContainerInfo; + /** + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + */ + Bundle?: CatalogItemBundleInfo; + /** + / if true, then an item instance of this type can be used to grant a character to a user. + */ + CanBecomeCharacter: boolean; + /** + / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + */ + IsStackable: boolean; + /** + / if true, then an item instance of this type can be traded between players using the trading APIs + */ + IsTradable: boolean; + /** + / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + */ + ItemImageUrl?: string; + /** + / BETA: If true, then only a fixed number can ever be granted. + */ + IsLimitedEdition: boolean; + /** + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + */ + InitialLimitedEditionCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo + */ + export interface CatalogItemBundleInfo { + /** + / unique ItemId values for all items which will be added to the player inventory when the bundle is added + */ + BundledItems?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + */ + BundledResultTables?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the bundle is added + */ + BundledVirtualCurrencies?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo + */ + export interface CatalogItemConsumableInfo { + /** + / number of times this object can be used, after which it will be removed from the player inventory + */ + UsageCount?: number; + /** + / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + */ + UsagePeriod?: number; + /** + / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + */ + UsagePeriodGroup?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo + */ + export interface CatalogItemContainerInfo { + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; + /** + / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked + */ + ItemContents?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + */ + ResultTableContents?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the container is unlocked + */ + VirtualCurrencyContents?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory + */ + export interface CharacterInventory { + /** + / The id of this character. + */ + CharacterId?: string; + /** + / The inventory of this character. + */ + Inventory?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry + */ + export interface CharacterLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. + */ + CharacterId?: string; + /** + / Title-specific display name of the character for this leaderboard entry. + */ + CharacterName?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Name of the character class for this entry. + */ + CharacterType?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult + */ + export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The id for this character on this player. + */ + CharacterId?: string; + /** + / The name of this character. + */ + CharacterName?: string; + /** + / The type-string that was given to this character on creation. + */ + CharacterType?: string; + + } + + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest + */ + export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique instance identifier of the item to be consumed. + */ + ItemInstanceId: string; + /** + / Number of uses to consume from the item. + */ + ConsumeCount: number; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult + */ + export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the item with uses consumed. + */ + ItemInstanceId?: string; + /** + / Number of uses remaining on the item. + */ + RemainingUses: number; + + } + + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest + */ + export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). + */ + SharedGroupId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult + */ + export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId?: string; + + } + + type Currency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest + */ + export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those items. + */ + SaveCharacterInventory: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult + */ + export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest + */ + export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest + */ + export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult + */ + export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest + */ + export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the Game Server Instance that is being deregistered. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse + */ + export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult + */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest + */ + export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The unique identifier of the Random Result Table to use. + */ + TableId: string; + /** + / Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult + */ + export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. + */ + ResultItemId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult + */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the function that executed + */ + FunctionName?: string; + /** + / The revision of the CloudScript that executed + */ + Revision: number; + /** + / The object returned from the CloudScript function, if any + */ + FunctionResult?: any; + /** + / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + ExecutionTimeSeconds: number; + /** + / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + */ + ProcessorTimeSeconds: number; + MemoryConsumedBytes: number; + /** + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; + /** + / Information about the error, if any, that occured during execution + */ + Error?: ScriptExecutionError; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest + */ + export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The unique user identifier for the player on whose behalf the script is being run + */ + PlayFabId: string; + /** + / The name of the CloudScript function to execute + */ + FunctionName: string; + /** + / Object that is passed in to the function as the first argument + */ + FunctionParameter?: any; + /** + / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** + / The specivic revision to execute, when RevisionSelection is set to 'Specific' + */ + SpecificRevision?: number; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair + */ + export interface FacebookPlayFabIdPair { + /** + / Unique Facebook identifier for a user. + */ + FacebookId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo + */ + export interface FriendInfo { + /** + / PlayFab unique identifier for this friend. + */ + FriendPlayFabId?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Unique lobby identifier of the Game Server Instance to which this player is currently connected. + */ + CurrentMatchmakerLobbyId?: string; + /** + / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). + */ + FacebookInfo?: UserFacebookInfo; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). + */ + GameCenterInfo?: UserGameCenterInfo; + + } + + type GameInstanceState = "Open" + | "Closed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetActionGroupResult + */ + export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Action Group name + */ + Name: string; + /** + / Action Group ID + */ + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsRequest + */ + export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsResult + */ + export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of Action Groups. + */ + ActionGroups: GetActionGroupResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest + */ + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult + */ + export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments for this title. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest + */ + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being requested. If null, uses the default catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult + */ + export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest + */ + export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult + */ + export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest + */ + export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Used to limit results to only those from a specific catalog version. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult + */ + export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Unique identifier of the character for this inventory. + */ + CharacterId?: string; + /** + / Array of inventory items belonging to the character. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the character. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest + */ + export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult + */ + export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest + */ + export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult + */ + export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose character statistics are being returned. + */ + PlayFabId?: string; + /** + / Unique identifier of the character for the statistics. + */ + CharacterId?: string; + /** + / Character statistics for the requested user. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest + */ + export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; + /** + / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. + */ + HttpMethod?: string; + /** + / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + */ + ThruCDN?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult + */ + export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { + /** + / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest + */ + export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The player whose friend leaderboard to get + */ + PlayFabId: string; + /** + / Statistic used to rank friends for this leaderboard. + */ + StatisticName: string; + /** + / Position in the leaderboard to start this listing (defaults to the first entry). + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest + */ + export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the player whose friend list to get. + */ + PlayFabId: string; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult + */ + export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of friends found. + */ + Friends?: FriendInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest + */ + export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult + */ + export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest + */ + export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult + */ + export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest + */ + export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult + */ + export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest + */ + export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult + */ + export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest + */ + export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the user whose data will be returned + */ + PlayFabId: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams + */ + export interface GetPlayerCombinedInfoRequestParams { + /** + / Whether to get the player's account Info. Defaults to false + */ + GetUserAccountInfo: boolean; + /** + / Whether to get the player's inventory. Defaults to false + */ + GetUserInventory: boolean; + /** + / Whether to get the player's virtual currency balances. Defaults to false + */ + GetUserVirtualCurrency: boolean; + /** + / Whether to get the player's custom data. Defaults to false + */ + GetUserData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + */ + UserDataKeys?: string[]; + /** + / Whether to get the player's read only data. Defaults to false + */ + GetUserReadOnlyData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + */ + UserReadOnlyDataKeys?: string[]; + /** + / Whether to get character inventories. Defaults to false. + */ + GetCharacterInventories: boolean; + /** + / Whether to get the list of characters. Defaults to false. + */ + GetCharacterList: boolean; + /** + / Whether to get title data. Defaults to false. + */ + GetTitleData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + */ + TitleDataKeys?: string[]; + /** + / Whether to get player statistics. Defaults to false. + */ + GetPlayerStatistics: boolean; + /** + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + */ + PlayerStatisticNames?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult + */ + export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Results for requested info. + */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload + */ + export interface GetPlayerCombinedInfoResultPayload { + /** + / Account information for the user. This is always retrieved. + */ + AccountInfo?: UserAccountInfo; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; + /** + / Dictionary of virtual currency balance(s) belonging to the user. + */ + UserVirtualCurrency?: { [key: string]: number }; + /** + / Dictionary of remaining times and timestamps for virtual currencies. + */ + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + /** + / User specific custom data. + */ + UserData?: { [key: string]: UserDataRecord }; + /** + / The version of the UserData that was returned. + */ + UserDataVersion: number; + /** + / User specific read-only data. + */ + UserReadOnlyData?: { [key: string]: UserDataRecord }; + /** + / The version of the Read-Only UserData that was returned. + */ + UserReadOnlyDataVersion: number; + /** + / List of characters for the user. + */ + CharacterList?: CharacterResult[]; + /** + / Inventories for each character for the user. + */ + CharacterInventories?: CharacterInventory[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult + */ + export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments the requested player currently belongs to. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest + */ + export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for this segment. + */ + SegmentId: string; + /** + / 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; + /** + / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. + */ + MaxBatchSize?: number; + /** + / Continuation token if retrieving subsequent pages of results. + */ + ContinuationToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult + */ + export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; + /** + / 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[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest + */ + export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest + */ + export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / user for whom statistics are being requested + */ + PlayFabId: string; + /** + / statistics to return + */ + StatisticNames?: string[]; + /** + / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + */ + StatisticNameVersions?: StatisticNameVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult + */ + export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose statistics are being returned + */ + PlayFabId?: string; + /** + / User statistics for the requested user. + */ + Statistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest + */ + export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult + */ + export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersions?: PlayerStatisticVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest + */ + export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Optional namespace to filter results by + */ + Namespace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult + */ + export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Canonical tags (including namespace and tag's name) for the requested user + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest + */ + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. + */ + FacebookIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult + */ + export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Facebook identifiers to PlayFab identifiers. + */ + Data?: FacebookPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest + */ + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. + */ + SteamStringIDs?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult + */ + export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Steam identifiers to PlayFab identifiers. + */ + Data?: SteamPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest + */ + export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / array of keys to get back data from the Publisher data blob, set by the admin tools + */ + Keys: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult + */ + export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest + */ + export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + /** + / The unique identifier of the Random Result Table to use. + */ + TableIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult + */ + export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of random result tables currently available + */ + Tables?: { [key: string]: RandomResultTableListing }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult + */ + export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for this segment. + */ + Id: string; + /** + / Segment name. + */ + Name?: string; + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest + */ + export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + */ + Keys?: string[]; + /** + / If true, return the list of all members of the shared group. + */ + GetMembers?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult + */ + export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Data for the requested keys. + */ + Data?: { [key: string]: SharedGroupDataRecord }; + /** + / List of PlayFabId identifiers for the members of this group, if requested. + */ + Members?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest + */ + export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult + */ + export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Current server time when the request was received, in UTC + */ + Time: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest + */ + export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the title data (leave null to get all keys) + */ + Keys?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult + */ + export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest + */ + export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Limits the results to the last n entries. Defaults to 10 if not set. + */ + Count?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult + */ + export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of news items. + */ + News?: TitleNewsItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest + */ + export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult + */ + export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Account details for the user whose information was requested. + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest + */ + export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult + */ + export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information about the bans + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest + */ + export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult + */ + export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose custom data is being returned. + */ + PlayFabId?: string; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest + */ + export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult + */ + export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Array of inventory items belonging to the user. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest + */ + export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Non-unique display name of the character being granted. + */ + CharacterName: string; + /** + / Type of the character being granted; statistics can be sliced based on this value. + */ + CharacterType: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult + */ + export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier tagged to this character. + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance + */ + export interface GrantedItemInstance { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Result of this operation. + */ + Result: boolean; + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest + */ + export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Array of itemIds to grant to the user. + */ + ItemIds?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult + */ + export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest + */ + export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Array of itemIds to grant to the user. + */ + ItemIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult + */ + export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest + */ + export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Array of items to grant and the users to whom the items are to be granted. + */ + ItemGrants: ItemGrant[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult + */ + export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant + */ + export interface ItemGrant { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest + */ + export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult + */ + export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The requested list of characters. + */ + Characters?: CharacterResult[]; + + } + + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement + */ + export interface LogStatement { + /** + / 'Debug', 'Info', or 'Error' + */ + Level?: string; + Message?: string; + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult + */ + export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest + */ + export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose item is being modified. + */ + PlayFabId: string; + /** + / Unique instance identifier of the item to be modified. + */ + ItemInstanceId: string; + /** + / Number of uses to add to the item. Can be negative to remove uses. + */ + UsesToAdd: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult + */ + export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the item with uses consumed. + */ + ItemInstanceId?: string; + /** + / Number of uses remaining on the item. + */ + RemainingUses: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest + */ + export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the character that currently has the item. + */ + GivingCharacterId: string; + /** + / Unique identifier of the character that will be receiving the item. + */ + ReceivingCharacterId: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult + */ + export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest + */ + export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult + */ + export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest + */ + export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult + */ + export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NameIdentifier + */ + export interface NameIdentifier { + Name?: string; + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest + */ + export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Instance the user is leaving. + */ + LobbyId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult + */ + export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { + /** + / State of user leaving the Game Server Instance. + */ + PlayerState?: string; + + } + + type PlayerConnectionState = "Unassigned" + | "Connecting" + | "Participating" + | "Participated"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry + */ + export interface PlayerLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount + */ + export interface PlayerLinkedAccount { + /** + / Authentication platform + */ + Platform?: string; + /** + / Platform user identifier + */ + PlatformUserId?: string; + /** + / Linked account's username + */ + Username?: string; + /** + / Linked account's email + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation + */ + export interface PlayerLocation { + /** + / 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; + /** + / City of the player's geographic location. + */ + City?: string; + /** + / Latitude coordinate of the player's geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the player's geographic location. + */ + Longitude?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile + */ + export interface PlayerProfile { + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Player record created + */ + Created?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + */ + BannedUntil?: string; + /** + / Dictionary of player's statistics using only the latest version's value + */ + Statistics?: { [key: string]: number }; + /** + / 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 }; + /** + / List of player's tags for segmentation. + */ + Tags?: string[]; + /** + / Dictionary of player's locations by type. + */ + Locations?: { [key: string]: PlayerLocation }; + /** + / Dictionary of player's virtual currency balances + */ + VirtualCurrencyBalances?: { [key: string]: number }; + /** + / Array of ad campaigns player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttribution[]; + /** + / Array of configured push notification end points + */ + PushNotificationRegistrations?: PushNotificationRegistration[]; + /** + / Array of third party accounts linked to this player + */ + LinkedAccounts?: PlayerLinkedAccount[]; + /** + / Array of player statistics + */ + PlayerStatistics?: PlayerStatistic[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic + */ + export interface PlayerStatistic { + /** + / Statistic ID + */ + Id?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + StatisticVersion: number; + /** + / Current statistic value + */ + StatisticValue: number; + /** + / Statistic name + */ + Name?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion + */ + export interface PlayerStatisticVersion { + /** + / name of the statistic when the version became active + */ + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; + /** + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + */ + ScheduledActivationTime?: string; + /** + / time when the statistic version became active + */ + ActivationTime: string; + /** + / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval + */ + ScheduledDeactivationTime?: string; + /** + / time when the statistic version became inactive due to statistic version incrementing + */ + DeactivationTime?: string; + + } + + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration + */ + export interface PushNotificationRegistration { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing + */ + export interface RandomResultTableListing { + /** + / Catalog version this table is associated with + */ + CatalogVersion?: string; + /** + / Unique name for this drop table + */ + TableId: string; + /** + / Child nodes that indicate what kind of drop table item this actually is. + */ + Nodes: ResultTableNode[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest + */ + export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generated coupon code to redeem. + */ + CouponCode: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Catalog version of the coupon. + */ + CatalogVersion?: string; + /** + / Optional identifier for the Character that should receive the item. If null, item is added to the player + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult + */ + export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of redeeming the coupon. + */ + GrantedItems?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest + */ + export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Server authorization ticket passed back from a call to Matchmake or StartGame. + */ + Ticket: string; + /** + / Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult + */ + export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Boolean indicating whether the ticket was validated by the PlayFab service. + */ + TicketIsValid: boolean; + /** + / Error value if the ticket was not validated. + */ + Error?: string; + /** + / User account information for the user validated. + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest + */ + export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance for which the heartbeat is updated. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult + */ + export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest + */ + export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / IP address of the Game Server Instance. + */ + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; + /** + / Unique identifier of the build running on the Game Server Instance. + */ + Build: string; + /** + / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + */ + Region: string; + /** + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + */ + GameMode: string; + /** + / Tags for the Game Server Instance + */ + Tags?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse + */ + export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier generated for the Game Server Instance that is registered. + */ + LobbyId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest + */ + export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the friend account which is to be removed. + */ + FriendPlayFabId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest + */ + export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult + */ + export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest + */ + export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult + */ + export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest + */ + export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the reporting player. + */ + ReporterId: string; + /** + / PlayFabId of the reported player. + */ + ReporteeId: string; + /** + / Title player was reported in, optional if report not for specific title. + */ + TitleId?: string; + /** + / Optional additional comment by reporting player. + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult + */ + export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates whether this action completed successfully. + */ + Updated: boolean; + /** + / The number of remaining reports which may be filed today by this reporting player. + */ + SubmissionsRemaining: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode + */ + export interface ResultTableNode { + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; + /** + / Either an ItemId, or the TableId of another random result table + */ + ResultItem: string; + /** + / How likely this is to be rolled - larger numbers add more weight + */ + Weight: number; + + } + + type ResultTableNodeType = "ItemId" + | "TableId"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest + */ + export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult + */ + export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked. + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest + */ + export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Ids of the bans to be revoked. Maximum 100. + */ + BanIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult + */ + export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest + */ + export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult + */ + export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError + */ + export interface ScriptExecutionError { + /** + / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** + / Details about the error + */ + Message?: string; + /** + / Point during the execution of the script at which the error occurred, if any + */ + StackTrace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest + */ + export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the recipient of the push notification. + */ + Recipient: string; + /** + / Text of message to send. + */ + Message: string; + /** + / Subject of message to send (may not be displayed in all platforms. + */ + Subject?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult + */ + export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest + */ + export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Instance to be updated. + */ + LobbyId: string; + /** + / Custom data to set for the specified game server instance. + */ + GameServerData: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult + */ + export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest + */ + export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Instance to be updated. + */ + LobbyId: string; + /** + / State to set for the specified game server instance. + */ + State: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult + */ + export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest + */ + export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance to be updated. + */ + LobbyId: string; + /** + / Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with the Game Server Instance. + */ + Tags: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult + */ + export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest + */ + export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult + */ + export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest + */ + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult + */ + export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord + */ + export interface SharedGroupDataRecord { + /** + / Data stored for the specified group data key. + */ + Value?: string; + /** + / PlayFabId of the user to last update this value. + */ + LastUpdatedBy?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only members of the group (private). + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion + */ + export interface StatisticNameVersion { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / the version of the statistic to be returned + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate + */ + export interface StatisticUpdate { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; + /** + / statistic value for the player + */ + Value: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue + */ + export interface StatisticValue { + /** + / unique name of the statistic + */ + StatisticName?: string; + /** + / statistic value for the player + */ + Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair + */ + export interface SteamPlayFabIdPair { + /** + / Unique Steam identifier for a user. + */ + SteamStringId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest + */ + export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + type TaskInstanceStatus = "Succeeded" + | "Starting" + | "InProgress" + | "Failed" + | "Aborted" + | "Pending"; + + type TitleActivationStatus = "None" + | "ActivatedTitleKey" + | "PendingSteam" + | "ActivatedSteam" + | "RevokedSteam"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem + */ + export interface TitleNewsItem { + /** + / Date and time when the news items was posted. + */ + Timestamp: string; + /** + / Unique identifier of news item. + */ + NewsId?: string; + /** + / Title of the news item. + */ + Title?: string; + /** + / News item text. + */ + Body?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest + */ + export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / ItemInstanceId of the container to unlock. + */ + ContainerItemInstanceId: string; + /** + / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + */ + KeyItemInstanceId?: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest + */ + export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Catalog ItemId of the container type to unlock. + */ + ContainerItemId: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult + */ + export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the container unlocked. + */ + UnlockedItemInstanceId?: string; + /** + / Unique instance identifier of the key used to unlock the container, if applicable. + */ + UnlockedWithItemInstanceId?: string; + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; + /** + / Virtual currency granted to the player as a result of unlocking the container. + */ + VirtualCurrency?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest + */ + export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The id of the ban to be updated. + */ + BanId: string; + /** + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + */ + Reason?: string; + /** + / The updated expiration date for the ban. Null for no change. + */ + Expires?: string; + /** + / The updated IP address for the ban. Null for no change. + */ + IPAddress?: string; + /** + / The updated MAC address for the ban. Null for no change. + */ + MACAddress?: string; + /** + / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. + */ + Permanent?: boolean; + /** + / The updated active state for the ban. Null for no change. + */ + Active?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest + */ + export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of bans to be updated. Maximum 100. + */ + Bans: UpdateBanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult + */ + export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were updated + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest + */ + export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult + */ + export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest + */ + export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Statistics to be updated with the provided values. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult + */ + export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest + */ + export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Statistics to be updated with the provided values + */ + Statistics: StatisticUpdate[]; + /** + / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. + */ + ForceUpdate?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult + */ + export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest + */ + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys in this request. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult + */ + export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest + */ + export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult + */ + export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest + */ + export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest + */ + export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo + */ + export interface UserAccountInfo { + /** + / Unique identifier for the user account + */ + PlayFabId?: string; + /** + / Timestamp indicating when the user account was created + */ + Created: string; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / Title-specific information for the user account + */ + TitleInfo?: UserTitleInfo; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; + /** + / User Facebook information, if a Facebook account has been linked + */ + FacebookInfo?: UserFacebookInfo; + /** + / User Steam information, if a Steam account has been linked + */ + SteamInfo?: UserSteamInfo; + /** + / User Gamecenter information, if a Gamecenter account has been linked + */ + GameCenterInfo?: UserGameCenterInfo; + /** + / User iOS device information, if an iOS device has been linked + */ + IosDeviceInfo?: UserIosDeviceInfo; + /** + / User Android device information, if an Android device has been linked + */ + AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** + / User Kongregate account information, if a Kongregate account has been linked + */ + KongregateInfo?: UserKongregateInfo; + /** + / User Twitch account information, if a Twitch account has been linked + */ + TwitchInfo?: UserTwitchInfo; + /** + / User PSN account information, if a PSN account has been linked + */ + PsnInfo?: UserPsnInfo; + /** + / User Google account information, if a Google account has been linked + */ + GoogleInfo?: UserGoogleInfo; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; + /** + / Custom ID information, if a custom ID has been assigned + */ + CustomIdInfo?: UserCustomIdInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo + */ + export interface UserAndroidDeviceInfo { + /** + / Android device ID + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo + */ + export interface UserCustomIdInfo { + /** + / Custom ID + */ + CustomId?: string; + + } + + type UserDataPermission = "Private" + | "Public"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord + */ + export interface UserDataRecord { + /** + / Data stored for the specified user data key. + */ + Value?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo + */ + export interface UserFacebookInfo { + /** + / Facebook identifier + */ + FacebookId?: string; + /** + / Facebook full name + */ + FullName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo + */ + export interface UserGameCenterInfo { + /** + / Gamecenter identifier + */ + GameCenterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo + */ + export interface UserGoogleInfo { + /** + / Google ID + */ + GoogleId?: string; + /** + / Email address of the Google account + */ + GoogleEmail?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; + /** + / Gender information of the Google account + */ + GoogleGender?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo + */ + export interface UserIosDeviceInfo { + /** + / iOS device ID + */ + IosDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo + */ + export interface UserKongregateInfo { + /** + / Kongregate ID + */ + KongregateId?: string; + /** + / Kongregate Username + */ + KongregateName?: string; + + } + + type UserOrigination = "Organic" + | "Steam" + | "Google" + | "Amazon" + | "Facebook" + | "Kongregate" + | "GamersFirst" + | "Unknown" + | "IOS" + | "LoadTest" + | "Android" + | "PSN" + | "GameCenter" + | "CustomId" + | "XboxLive" + | "Parse" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo + */ + export interface UserPrivateAccountInfo { + /** + / user email address + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo + */ + export interface UserPsnInfo { + /** + / PSN account ID + */ + PsnAccountId?: string; + /** + / PSN online ID + */ + PsnOnlineId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo + */ + export interface UserSteamInfo { + /** + / Steam identifier + */ + SteamId?: string; + /** + / the country in which the player resides, from Steam data + */ + SteamCountry?: string; + /** + / currency type set in the user Steam account + */ + SteamCurrency?: string; + /** + / what stage of game ownership the user is listed as being in, from Steam + */ + SteamActivationStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo + */ + export interface UserTitleInfo { + /** + / name of the user, as it is displayed in-game + */ + DisplayName?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; + /** + / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + */ + Created: string; + /** + / timestamp for the last user login for this title + */ + LastLogin?: string; + /** + / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + */ + FirstLogin?: string; + /** + / boolean indicating whether or not the user is currently banned for a title + */ + isBanned?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo + */ + export interface UserTwitchInfo { + /** + / Twitch ID + */ + TwitchId?: string; + /** + / Twitch Username + */ + TwitchUserName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo + */ + export interface UserXboxInfo { + /** + / XBox user ID + */ + XboxUserId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse + */ + export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + */ + EventId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest + */ + export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest + */ + export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest + */ + export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts new file mode 100644 index 00000000..61874d1d --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -0,0 +1,43 @@ +declare module PlayFabModule { + export interface ISettings { + titleId: string; + developerSecretKey: string; + advertisingIdType: string; + advertisingIdValue: string; + disableAdvertising: boolean; + AD_TYPE_IDFA: string; + AD_TYPE_ANDROID_ID: string; + } + export interface IPlayFabRequestCommon { } + export interface IPlayFabError { + code: number; + status: string; + error: string; + errorCode: number; + errorMessage: string; + errorDetails?: { [key: string]: string[] }; + } + export interface SuccessContainer extends IPlayFabError { + data: TResult; + } + export interface IPlayFabResultCommon extends IPlayFabError { } + + export interface ApiCallback { (result: SuccessContainer, error: IPlayFabError): void } +} + +declare var PlayFab: { + buildIdentifier: string; + sdkVersion: string; + settings: PlayFabModule.ISettings; + AdminApi: PlayFabAdminModule.IPlayFabAdmin; + MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; + ServerApi: PlayFabServerModule.IPlayFabServer; + ClientApi: PlayFabClientModule.IPlayFabClient; + +}; +// Continue to support older usage +declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; +declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; +declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; +declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; + diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj new file mode 100644 index 00000000..b645d439 --- /dev/null +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -0,0 +1,95 @@ + + + + + Debug + {7B267741-5636-49E5-92D0-81C814A1CE35} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + bin + v4.6.1 + full + true + 2.1 + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + web.config + + + web.config + + + + + 12.0 + + + JavaScriptWithTypeScript + + + + + + + + True + True + 14332 + / + http://localhost:14332/ + False + False + + + False + + + + + + false + true + ES5 + None + True + False + CommonJS + + + False + False + + + + + true + false + + + diff --git a/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js similarity index 81% rename from PlayFabApiTest.js rename to PlayFabTestingExample/PlayFabApiTest.js index 378bdd25..7e11946b 100644 --- a/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -1,27 +1,14 @@ -if (typeof PlayFabClientSDK == "undefined") { - console.log("PlayFabApiTest requires PlayFabClientApi.js to be pre-loaded."); - PlayFabClientSDK = {}; // This is just here to hide resharper warnings -} -if (typeof PlayFabServerSDK == "undefined") { - console.log("PlayFabApiTest requires PlayFabServerApi.js to be pre-loaded."); - PlayFabServerSDK = {}; // This is just here to hide resharper warnings -} -if (typeof QUnit == "undefined") { - console.log("PlayFabApiTest requires QUnit to be pre-loaded."); - QUnit = {}; // This is just here to hide resharper warnings -} - var PlayFabApiTests = { - testTitleDataFilename: "testTitleData.json", // Since you never want this to be public, a web page can ONLY load this if it's a local file in the same directory (Also can't convert to environment variable) + testTitleDataFilename: "testTitleData.json", titleData: { - titleId: null, // put titleId here - developerSecretKey: null, // put secretKey here + titleId: null, + developerSecretKey: null, userEmail: "put valid email associated with an existing account here", characterName: "put any character name here" }, testData: { - playFabId: null, // Filled during login - characterId: null, // Filled during character-access + playFabId: null, + characterId: null, testNumber: null // Used by several tests }, testConstants: { @@ -29,7 +16,6 @@ var PlayFabApiTests = { TEST_STAT_NAME: "str", CHAR_TEST_TYPE: "Fighter" }, - ManualExecution: function () { $.getJSON(PlayFabApiTests.testTitleDataFilename, function (json) { if (PlayFabApiTests.SetUp(json)) @@ -39,29 +25,25 @@ var PlayFabApiTests = { PlayFabApiTests.LoginTests(); }); }, - LoginTests: function () { // All tests run in parallel, which is a bit tricky. // Some test rely on data loaded from other tests, and there's no super easy to force tests to be sequential/dependent // In fact, most of the tests return here before they're done, and report back success/fail in some arbitrary future - QUnit.module("PlayFab Api Test"); QUnit.test("InvalidLogin", PlayFabApiTests.InvalidLogin); QUnit.test("InvalidRegistration", PlayFabApiTests.InvalidRegistration); QUnit.test("LoginOrRegister", PlayFabApiTests.LoginOrRegister); QUnit.test("LoginWithAdvertisingId", PlayFabApiTests.LoginWithAdvertisingId); - setTimeout(function () { PlayFabApiTests.PostLoginTests(0); }, 200); }, - PostLoginTests: function (count) { if (count > 5) return; - if (!PlayFabClientSDK.IsClientLoggedIn()) { // Wait for login setTimeout(function () { PlayFabApiTests.PostLoginTests(count + 1); }, 200); - } else { + } + else { // Continue with other tests that require login QUnit.test("UserDataApi", PlayFabApiTests.UserDataApi); QUnit.test("PlayerStatisticsApi", PlayFabApiTests.PlayerStatisticsApi); @@ -73,56 +55,51 @@ var PlayFabApiTests = { QUnit.test("WriteEvent", PlayFabApiTests.WriteEvent); } }, - SetUp: function (inputTitleData) { // All of these must exist for the titleData load to be successful - var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null - && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null - && inputTitleData.hasOwnProperty("userEmail") - && inputTitleData.hasOwnProperty("characterName"); - + var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null + && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null + && inputTitleData.hasOwnProperty("userEmail") + && inputTitleData.hasOwnProperty("characterName"); if (titleDataValid) PlayFabApiTests.titleData = inputTitleData; else console.log("testTitleData input file did not parse correctly"); - PlayFab.settings.titleId = PlayFabApiTests.titleData.titleId; PlayFab.settings.developerSecretKey = PlayFabApiTests.titleData.developerSecretKey; - return titleDataValid; }, - CallbackWrapper: function (callbackName, callback, assert) { return function (result, error) { try { callback(result, error); - } catch (e) { + } + catch (e) { console.log("Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); // Very irritatingly, qunit doesn't report failure results until all async callbacks return, which doesn't always happen when there's an exception assert.ok(false, "Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); } }; }, - SimpleCallbackWrapper: function (callbackName, callback, assert) { return function () { try { callback(); - } catch (e) { + } + catch (e) { console.log("Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); // Very irritatingly, qunit doesn't report failure results until all async callbacks return, which doesn't always happen when there's an exception assert.ok(false, "Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); } }; }, - VerifyNullError: function (result, error, assert, message) { var success = (result !== null && error == null); if (error != null) { assert.ok(false, "PlayFab error message: " + PlayFabApiTests.CompileErrorReport(error)); - } else { + } + else { assert.ok(success, message); } }, - CompileErrorReport: function (error) { if (error == null) return ""; @@ -132,7 +109,6 @@ var PlayFabApiTests = { fullErrors += "\n" + paramName + ": " + error.errorDetails[paramName][msgIdx]; return fullErrors; }, - /// /// CLIENT API /// Try to deliberately log in with an inappropriate password, @@ -140,15 +116,10 @@ var PlayFabApiTests = { /// InvalidLogin: function (assert) { var invalidDone = assert.async(); - var invalidRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress - TitleId: PlayFab.settings.titleId, Email: PlayFabApiTests.titleData.userEmail, Password: "INVALID" }; - var invalidLoginCallback = function (result, error) { assert.ok(result == null, "Login should have failed"); assert.ok(error != null, "Login should have failed"); @@ -156,10 +127,8 @@ var PlayFabApiTests = { assert.ok(error.errorMessage.toLowerCase().indexOf("password") > -1, "Expect errorMessage about invalid password: " + error.errorMessage); invalidDone(); }; - PlayFabClientSDK.LoginWithEmailAddress(invalidRequest, PlayFabApiTests.CallbackWrapper("invalidLoginCallback", invalidLoginCallback, assert)); }, - /// /// CLIENT API /// Try to deliberately register a user with an invalid email and password @@ -167,16 +136,11 @@ var PlayFabApiTests = { /// InvalidRegistration: function (assert) { var invalidDone = assert.async(); - var invalidRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser - TitleId: PlayFab.settings.titleId, Username: "x", Email: "x", Password: "x" }; - var registerCallback = function (result, error) { assert.ok(result == null, "InvalidRegistration should have failed"); assert.ok(error != null, "InvalidRegistration should have failed"); @@ -187,23 +151,17 @@ var PlayFabApiTests = { assert.ok(errorReport.toLowerCase().indexOf(expectedPasswordMsg) > -1, "Expect errorMessage about invalid password: " + errorReport); invalidDone(); }; - PlayFabClientSDK.RegisterPlayFabUser(invalidRequest, PlayFabApiTests.CallbackWrapper("registerCallback", registerCallback, assert)); }, - /// /// CLIENT API /// Log in or create a user, track their PlayFabId /// LoginOrRegister: function (assert) { var loginRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/LoginWithCustomID - TitleId: PlayFab.settings.titleId, - CustomId: PlayFab._internalSettings.buildIdentifier, + CustomId: PlayFab.buildIdentifier, CreateAccount: true }; - var loginDone = assert.async(); var loginCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Valid login result"); @@ -212,10 +170,8 @@ var PlayFabApiTests = { PlayFabApiTests.testData.playFabId = result.data.PlayFabId; // Save the PlayFabId, it will be used in other tests loginDone(); }; - PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert)); }, - /// /// CLIENT API /// Test that the login call sequence sends the AdvertisingId when set @@ -223,14 +179,14 @@ var PlayFabApiTests = { LoginWithAdvertisingId: function (assert) { PlayFab.settings.advertisingIdType = PlayFab.settings.AD_TYPE_ANDROID_ID; PlayFab.settings.advertisingIdValue = "PlayFabTestId"; - var loginDone = assert.async(); var count = -1; var finishAdvertId = function () { count += 1; if (count <= 10 && PlayFab.settings.advertisingIdType !== PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful") { setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); - } else { + } + else { assert.ok(PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful", "Testing whether advertisingId submitted properly"); loginDone(); } @@ -240,15 +196,11 @@ var PlayFabApiTests = { setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); }; var loginRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/LoginWithCustomID - TitleId: PlayFab.settings.titleId, - CustomId: PlayFab._internalSettings.buildIdentifier, + CustomId: PlayFab.buildIdentifier, CreateAccount: true }; PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert)); }, - /// /// CLIENT API /// Test a sequence of calls that modifies saved data, @@ -258,20 +210,16 @@ var PlayFabApiTests = { /// UserDataApi: function (assert) { var getDataRequest = {}; // null also works - // This test is always exactly 3 async calls var get1Done = assert.async(); var updateDone = assert.async(); var get2Done = assert.async(); - var getDataCallback2 = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserData result"); assert.ok(result.data.Data != null, "Testing GetUserData Data"); assert.ok(result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY), "Testing GetUserData DataKey"); - var actualtestNumber = parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].Value, 10); - var timeUpdated = new Date(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].LastUpdated); - + var timeUpdated = new Date(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].LastUpdated).getTime(); var now = Date.now(); var testMin = now - (1000 * 60 * 5); var testMax = now + (1000 * 60 * 5); @@ -281,32 +229,24 @@ var PlayFabApiTests = { }; var updateDataCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing UpdateUserData result"); - PlayFabClientSDK.GetUserData(getDataRequest, PlayFabApiTests.CallbackWrapper("getDataCallback2", getDataCallback2, assert)); updateDone(); }; var getDataCallback1 = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserData result"); assert.ok(result.data.Data != null, "Testing GetUserData Data"); - var hasData = result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY); PlayFabApiTests.testData.testNumber = !hasData ? 1 : parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].Value, 10); PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds - - var updateDataRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/UpdateUserData - Data: {} // Can't pre-define properties because the param-name is in a string - }; + var updateDataRequest = {}; + updateDataRequest.Data = {}; updateDataRequest.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY] = PlayFabApiTests.testData.testNumber; PlayFabClientSDK.UpdateUserData(updateDataRequest, PlayFabApiTests.CallbackWrapper("updateDataCallback", updateDataCallback, assert)); get1Done(); }; - // Kick off this test process PlayFabClientSDK.GetUserData(getDataRequest, PlayFabApiTests.CallbackWrapper("getDataCallback1", getDataCallback1, assert)); }, - /// /// CLIENT API /// Test a sequence of calls that modifies saved data, @@ -316,21 +256,17 @@ var PlayFabApiTests = { /// PlayerStatisticsApi: function (assert) { var getStatsRequest = {}; // null also works - // This test is always exactly 3 async calls var get1Done = assert.async(); var updateDone = assert.async(); var get2Done = assert.async(); - var getStatsCallback2 = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetPlayerStats result"); assert.ok(result.data.Statistics != null, "Testing GetUserData Stats"); - var actualtestNumber = -1000; for (var i = 0; i < result.data.Statistics.length; i++) if (result.data.Statistics[i].StatisticName === PlayFabApiTests.testConstants.TEST_STAT_NAME) actualtestNumber = result.data.Statistics[i].Value; - assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing stat: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); get2Done(); }; @@ -342,26 +278,20 @@ var PlayFabApiTests = { var getStatsCallback1 = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetPlayerStats result"); assert.ok(result.data.Statistics != null, "Testing GetUserData Stats"); - PlayFabApiTests.testData.testNumber = 0; for (var i = 0; i < result.data.Statistics.length; i++) if (result.data.Statistics[i].StatisticName === PlayFabApiTests.testConstants.TEST_STAT_NAME) PlayFabApiTests.testData.testNumber = result.data.Statistics[i].Value; PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds - var updateStatsRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics Statistics: [{ StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME, Value: PlayFabApiTests.testData.testNumber }] }; PlayFabClientSDK.UpdatePlayerStatistics(updateStatsRequest, PlayFabApiTests.CallbackWrapper("updateStatsCallback", updateStatsCallback, assert)); get1Done(); }; - // Kick off this test process PlayFabClientSDK.GetPlayerStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback1", getStatsCallback1, assert)); }, - /// /// SERVER API /// Get or create the given test character for the given user @@ -370,33 +300,26 @@ var PlayFabApiTests = { UserCharacter: function (assert) { var getCharsRequest = {}; var grantCharRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser TitleId: PlayFabApiTests.titleData.titleId, PlayFabId: PlayFabApiTests.testData.playFabId, CharacterName: PlayFabApiTests.titleData.characterName, CharacterType: PlayFabApiTests.testConstants.CHAR_TEST_TYPE }; - // We don't know at this point how many async calls we'll make var getDone = null; var grantDone = null; - var mandatoryGetCharsCallback = function (result, error) { // GetChars MUST succeed at some point during this test PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetChars result"); - for (var i in result.data.Characters) if (result.data.Characters[i].CharacterName === PlayFabApiTests.titleData.characterName) PlayFabApiTests.testData.characterId = result.data.Characters[i].CharacterId; // Save the characterId, it will be used in other tests - assert.ok(PlayFabApiTests.testData.characterId != null, "Searching for " + PlayFabApiTests.titleData.characterName + " on this account."); getDone(); }; var grantCharCallback = function (result, error) { // Second character callback MUST succeed PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GrantCharacter result"); - // Get chars again, this time with the newly granted character getDone = assert.async(); PlayFabClientSDK.GetAllUsersCharacters(grantCharRequest, PlayFabApiTests.CallbackWrapper("mandatoryGetCharsCallback", mandatoryGetCharsCallback, assert)); @@ -418,7 +341,6 @@ var PlayFabApiTests = { getDone = assert.async(); PlayFabClientSDK.GetAllUsersCharacters(getCharsRequest, PlayFabApiTests.CallbackWrapper("optionalGetCharsCallback", optionalGetCharsCallback, assert)); }, - /// /// CLIENT AND SERVER API /// Test that leaderboard results can be requested @@ -426,27 +348,23 @@ var PlayFabApiTests = { /// LeaderBoard: function (assert) { var clientRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/GetLeaderboard MaxResultsCount: 3, + StartPosition: 0, StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME }; var serverRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Server/method/GetLeaderboard MaxResultsCount: 3, + StartPosition: 0, StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME }; var lbDoneC = assert.async(); var lbDoneS = assert.async(); - var getLeaderboardCallbackC = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetLeaderboard result"); if (result != null) { assert.ok(result.data.Leaderboard != null, "Testing GetLeaderboard content"); assert.ok(result.data.Leaderboard.length > 0, "Testing GetLeaderboard content-length"); } - lbDoneC(); }; var getLeaderboardCallbackS = function (result, error) { @@ -455,14 +373,11 @@ var PlayFabApiTests = { assert.ok(result.data.Leaderboard != null, "Testing GetLeaderboard content"); assert.ok(result.data.Leaderboard.length > 0, "Testing GetLeaderboard content-length"); } - lbDoneS(); }; - PlayFabClientSDK.GetLeaderboard(clientRequest, PlayFabApiTests.CallbackWrapper("getLeaderboardCallbackC", getLeaderboardCallbackC, assert)); PlayFabServerSDK.GetLeaderboard(serverRequest, PlayFabApiTests.CallbackWrapper("getLeaderboardCallbackS", getLeaderboardCallbackS, assert)); }, - /// /// CLIENT API /// Test that AccountInfo can be requested @@ -470,7 +385,6 @@ var PlayFabApiTests = { /// AccountInfo: function (assert) { var getDone = assert.async(); - var getAccountInfoCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetAccountInfo result"); assert.ok(result.data.AccountInfo != null, "Testing GetAccountInfo"); @@ -479,23 +393,17 @@ var PlayFabApiTests = { assert.ok(result.data.AccountInfo.TitleInfo.Origination.length > 0, "Testing Origination string-Enum"); getDone(); }; - PlayFabClientSDK.GetAccountInfo({}, PlayFabApiTests.CallbackWrapper("getAccountInfoCallback", getAccountInfoCallback, assert)); }, - /// /// CLIENT API /// Test that CloudScript can be properly set up and invoked /// CloudScript: function (assert) { var hwDone = assert.async(); - var helloWorldRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript FunctionName: "helloWorld" }; - var helloWorldCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing HelloWorld result"); if (result != null) { @@ -505,23 +413,17 @@ var PlayFabApiTests = { } hwDone(); }; - PlayFabClientSDK.ExecuteCloudScript(helloWorldRequest, PlayFabApiTests.CallbackWrapper("helloWorldCallback", helloWorldCallback, assert)); }, - /// /// CLIENT API /// Test that CloudScript errors can be deciphered /// CloudScriptError: function (assert) { var errDone = assert.async(); - var errRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript FunctionName: "throwError" }; - var errCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Cloud Script Error result"); if (result != null) { @@ -531,39 +433,30 @@ var PlayFabApiTests = { } errDone(); }; - PlayFabClientSDK.ExecuteCloudScript(errRequest, PlayFabApiTests.CallbackWrapper("errCallback", errCallback, assert)); }, - /// /// CLIENT API /// Test that the client can publish custom PlayStream events /// WriteEvent: function (assert) { var writeEventDone = assert.async(); - var writeEventRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/WritePlayerEvent - "EventName": "ForumPostEvent", - "Body": { - "Subject": "My First Post", - "Body": "This is my awesome post." - } + EventName: "ForumPostEvent" }; - + writeEventRequest.Body = {}; + writeEventRequest.Body["Subject"] = "My First Post"; + writeEventRequest.Body["Body"] = "This is my awesome post."; var writeEventCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing WriteEvent result"); writeEventDone(); }; - PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); }, }; - // The test report that will ultimately be relayed back to Cloud Script when the suite finishes var PfTestReport = [{ - name: PlayFab._internalSettings.buildIdentifier, + name: null, tests: 0, failures: 0, errors: 0, @@ -572,55 +465,53 @@ var PfTestReport = [{ timestamp: "", testResults: [] }]; - QUnit.begin(function (details) { + PfTestReport[0].name = PlayFab.buildIdentifier; PfTestReport[0].timestamp = (new Date()).toISOString(); }); - QUnit.testDone(function (details) { PfTestReport[0].tests += 1; var isFail = details.failed > 0 || details.passed !== details.total; if (isFail) { PfTestReport[0].failures += 1; PfTestReport[0].testResults.push({ - classname: PlayFab._internalSettings.buildIdentifier, + classname: PlayFab.buildIdentifier, name: details.name, time: details.runtime / 1000.0, - message: "Test failure message", // TODO: Can we get the real test message here? + message: "Test failure message", failureText: "FAILED" }); - } else { + } + else { PfTestReport[0].testResults.push({ - classname: PlayFab._internalSettings.buildIdentifier, + classname: PlayFab.buildIdentifier, name: details.name, time: details.runtime / 1000.0 }); } }); - // Register for all the QUnit hooks so we can track all the tests that are complete QUnit.done(function (details) { PfTestReport[0].time = details.runtime / 1000.0; - var saveResultsRequest = { - // Currently, you need to look up the correct format for this object in the API-docs: - // https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript FunctionName: "SaveTestData", - FunctionParameter: { customId: PlayFab._internalSettings.buildIdentifier, testReport: PfTestReport }, + FunctionParameter: { customId: PlayFab.buildIdentifier, testReport: PfTestReport }, GeneratePlayStreamEvent: true }; var onSaveResultsFinal = function (result, error) { if (result && !error) { - console.log(PlayFabApiTests.testData.playFabId, ", Test report saved to CloudScript: ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); - } else { - console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (CS Error): ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + console.log(PlayFabApiTests.testData.playFabId, ", Test report saved to CloudScript: ", PlayFab.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + } + else { + console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (CS Error): ", PlayFab.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); } }; if (PlayFabClientSDK.IsClientLoggedIn()) { PlayFabClientSDK.ExecuteCloudScript(saveResultsRequest, onSaveResultsFinal); - } else { - console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (Login): ", PlayFab._internalSettings.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + } + else { + console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (Login): ", PlayFab.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); } }); - PlayFabApiTests.ManualExecution(); +//# sourceMappingURL=PlayFabApiTest.js.map \ No newline at end of file diff --git a/PlayFabTestingExample/PlayFabApiTest.sln b/PlayFabTestingExample/PlayFabApiTest.sln new file mode 100644 index 00000000..0885ee70 --- /dev/null +++ b/PlayFabTestingExample/PlayFabApiTest.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PlayFabApiTest", "PlayFabApiTest.csproj", "{7B267741-5636-49E5-92D0-81C814A1CE35}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7B267741-5636-49E5-92D0-81C814A1CE35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B267741-5636-49E5-92D0-81C814A1CE35}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B267741-5636-49E5-92D0-81C814A1CE35}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B267741-5636-49E5-92D0-81C814A1CE35}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts new file mode 100644 index 00000000..c0af202d --- /dev/null +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -0,0 +1,588 @@ +declare var QUnit: any; +declare var $: any; +interface IAction { (): void } + +var PlayFabApiTests = { + testTitleDataFilename: "testTitleData.json", // Since you never want this to be public, a web page can ONLY load this if it's a local file in the same directory (Also can't convert to environment variable) + titleData: { + titleId: null, // put titleId here + developerSecretKey: null, // put secretKey here + userEmail: "put valid email associated with an existing account here", + characterName: "put any character name here" + }, + testData: { + playFabId: null, // Filled during login + characterId: null, // Filled during character-access + testNumber: null // Used by several tests + }, + testConstants: { + TEST_DATA_KEY: "testCounter", + TEST_STAT_NAME: "str", + CHAR_TEST_TYPE: "Fighter" + }, + + ManualExecution: function (): void { + $.getJSON(PlayFabApiTests.testTitleDataFilename, function (json): void { + if (PlayFabApiTests.SetUp(json)) + PlayFabApiTests.LoginTests(); + }).fail(function (): void { + if (PlayFabApiTests.SetUp(PlayFabApiTests.titleData)) + PlayFabApiTests.LoginTests(); + }); + }, + + LoginTests: function (): void { + // All tests run in parallel, which is a bit tricky. + // Some test rely on data loaded from other tests, and there's no super easy to force tests to be sequential/dependent + // In fact, most of the tests return here before they're done, and report back success/fail in some arbitrary future + + QUnit.module("PlayFab Api Test"); + QUnit.test("InvalidLogin", PlayFabApiTests.InvalidLogin); + QUnit.test("InvalidRegistration", PlayFabApiTests.InvalidRegistration); + QUnit.test("LoginOrRegister", PlayFabApiTests.LoginOrRegister); + QUnit.test("LoginWithAdvertisingId", PlayFabApiTests.LoginWithAdvertisingId); + + setTimeout(function (): void { PlayFabApiTests.PostLoginTests(0); }, 200); + }, + + PostLoginTests: function (count): void { + if (count > 5) + return; + + if (!PlayFabClientSDK.IsClientLoggedIn()) { + // Wait for login + setTimeout(function (): void { PlayFabApiTests.PostLoginTests(count + 1); }, 200); + } else { + // Continue with other tests that require login + QUnit.test("UserDataApi", PlayFabApiTests.UserDataApi); + QUnit.test("PlayerStatisticsApi", PlayFabApiTests.PlayerStatisticsApi); + QUnit.test("UserCharacter", PlayFabApiTests.UserCharacter); + QUnit.test("LeaderBoard", PlayFabApiTests.LeaderBoard); + QUnit.test("AccountInfo", PlayFabApiTests.AccountInfo); + QUnit.test("CloudScript", PlayFabApiTests.CloudScript); + QUnit.test("CloudScriptError", PlayFabApiTests.CloudScriptError); + QUnit.test("WriteEvent", PlayFabApiTests.WriteEvent); + } + }, + + SetUp: function (inputTitleData): void { + // All of these must exist for the titleData load to be successful + var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null + && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null + && inputTitleData.hasOwnProperty("userEmail") + && inputTitleData.hasOwnProperty("characterName"); + + if (titleDataValid) + PlayFabApiTests.titleData = inputTitleData; + else + console.log("testTitleData input file did not parse correctly"); + + PlayFab.settings.titleId = PlayFabApiTests.titleData.titleId; + PlayFab.settings.developerSecretKey = PlayFabApiTests.titleData.developerSecretKey; + + return titleDataValid; + }, + + CallbackWrapper: function (callbackName: string, callback: PlayFabModule.ApiCallback, assert): PlayFabModule.ApiCallback { + return function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + try { + callback(result, error); + } catch (e) { + console.log("Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); // Very irritatingly, qunit doesn't report failure results until all async callbacks return, which doesn't always happen when there's an exception + assert.ok(false, "Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); + } + }; + }, + + SimpleCallbackWrapper: function (callbackName: string, callback: IAction, assert): IAction { + return function (): void { + try { + callback(); + } catch (e) { + console.log("Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); // Very irritatingly, qunit doesn't report failure results until all async callbacks return, which doesn't always happen when there's an exception + assert.ok(false, "Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); + } + }; + }, + + VerifyNullError: function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError, assert, message: string): void { + var success = (result !== null && error == null); + if (error != null) { + assert.ok(false, "PlayFab error message: " + PlayFabApiTests.CompileErrorReport(error)); + } else { + assert.ok(success, message); + } + }, + + CompileErrorReport: function (error: PlayFabModule.IPlayFabError): string { + 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; + }, + + /// + /// CLIENT API + /// Try to deliberately log in with an inappropriate password, + /// and verify that the error displays as expected. + /// + InvalidLogin: function (assert): void { + var invalidDone = assert.async(); + + var invalidRequest = { + Email: PlayFabApiTests.titleData.userEmail, + Password: "INVALID" + }; + + var invalidLoginCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + assert.ok(result == null, "Login should have failed"); + assert.ok(error != null, "Login should have failed"); + if (error != null) + assert.ok(error.errorMessage.toLowerCase().indexOf("password") > -1, "Expect errorMessage about invalid password: " + error.errorMessage); + invalidDone(); + }; + + PlayFabClientSDK.LoginWithEmailAddress(invalidRequest, PlayFabApiTests.CallbackWrapper("invalidLoginCallback", invalidLoginCallback, assert)); + }, + + /// + /// CLIENT API + /// Try to deliberately register a user with an invalid email and password + /// Verify that errorDetails are populated correctly. + /// + InvalidRegistration: function (assert): void { + var invalidDone = assert.async(); + + var invalidRequest = { + Username: "x", + Email: "x", + Password: "x" + }; + + var registerCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + assert.ok(result == null, "InvalidRegistration should have failed"); + assert.ok(error != null, "InvalidRegistration should have failed"); + var expectedEmailMsg = "email address is not valid."; + var expectedPasswordMsg = "password must be between"; + var errorReport = PlayFabApiTests.CompileErrorReport(error); + assert.ok(errorReport.toLowerCase().indexOf(expectedEmailMsg) > -1, "Expect errorMessage about invalid email: " + errorReport); + assert.ok(errorReport.toLowerCase().indexOf(expectedPasswordMsg) > -1, "Expect errorMessage about invalid password: " + errorReport); + invalidDone(); + }; + + PlayFabClientSDK.RegisterPlayFabUser(invalidRequest, PlayFabApiTests.CallbackWrapper("registerCallback", registerCallback, assert)); + }, + + /// + /// CLIENT API + /// Log in or create a user, track their PlayFabId + /// + LoginOrRegister: function (assert): void { + var loginRequest = { + CustomId: PlayFab.buildIdentifier, + CreateAccount: true + }; + + var loginDone = assert.async(); + var loginCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Valid login result"); + assert.ok(PlayFabClientSDK.IsClientLoggedIn(), "Testing Login credentials cache"); + if (result != null) + PlayFabApiTests.testData.playFabId = result.data.PlayFabId; // Save the PlayFabId, it will be used in other tests + loginDone(); + }; + + PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert)); + }, + + /// + /// CLIENT API + /// Test that the login call sequence sends the AdvertisingId when set + /// + LoginWithAdvertisingId: function (assert): void { + PlayFab.settings.advertisingIdType = PlayFab.settings.AD_TYPE_ANDROID_ID; + PlayFab.settings.advertisingIdValue = "PlayFabTestId"; + + var loginDone = assert.async(); + var count = -1; + var finishAdvertId = function (): void { + count += 1; + if (count <= 10 && PlayFab.settings.advertisingIdType !== PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful") { + setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); + } else { + assert.ok(PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful", "Testing whether advertisingId submitted properly"); + loginDone(); + } + }; + var advertLoginCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Advert-Login result"); + setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); + }; + var loginRequest = { + CustomId: PlayFab.buildIdentifier, + CreateAccount: true + }; + PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert)); + }, + + /// + /// CLIENT API + /// Test a sequence of calls that modifies saved data, + /// and verifies that the next sequential API call contains updated data. + /// Verify that the data is correctly modified on the next call. + /// Parameter types tested: string, Dictionary, DateTime + /// + UserDataApi: function (assert): void { + var getDataRequest = {}; // null also works + + // This test is always exactly 3 async calls + var get1Done = assert.async(); + var updateDone = assert.async(); + var get2Done = assert.async(); + + var getDataCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserData result"); + assert.ok(result.data.Data != null, "Testing GetUserData Data"); + assert.ok(result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY), "Testing GetUserData DataKey"); + + var actualtestNumber = parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].Value, 10); + var timeUpdated: number = new Date(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].LastUpdated).getTime(); + + var now: number = Date.now(); + var testMin: number = now - (1000 * 60 * 5); + var testMax: number = now + (1000 * 60 * 5); + assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); + assert.ok(testMin <= timeUpdated && timeUpdated <= testMax, "Testing incrementing timestamp: " + timeUpdated + " vs " + now); + get2Done(); + }; + var updateDataCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing UpdateUserData result"); + + PlayFabClientSDK.GetUserData(getDataRequest, PlayFabApiTests.CallbackWrapper("getDataCallback2", getDataCallback2, assert)); + updateDone(); + }; + var getDataCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetUserData result"); + assert.ok(result.data.Data != null, "Testing GetUserData Data"); + + var hasData = result.data.Data.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY); + PlayFabApiTests.testData.testNumber = !hasData ? 1 : parseInt(result.data.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY].Value, 10); + PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds + + var updateDataRequest = {}; + updateDataRequest.Data = {}; + updateDataRequest.Data[PlayFabApiTests.testConstants.TEST_DATA_KEY] = PlayFabApiTests.testData.testNumber; + PlayFabClientSDK.UpdateUserData(updateDataRequest, PlayFabApiTests.CallbackWrapper("updateDataCallback", updateDataCallback, assert)); + get1Done(); + }; + + // Kick off this test process + PlayFabClientSDK.GetUserData(getDataRequest, PlayFabApiTests.CallbackWrapper("getDataCallback1", getDataCallback1, assert)); + }, + + /// + /// CLIENT API + /// Test a sequence of calls that modifies saved data, + /// and verifies that the next sequential API call contains updated data. + /// Verify that the data is saved correctly, and that specific types are tested + /// Parameter types tested: Dictionary + /// + PlayerStatisticsApi: function (assert): void { + var getStatsRequest = {}; // null also works + + // This test is always exactly 3 async calls + var get1Done = assert.async(); + var updateDone = assert.async(); + var get2Done = assert.async(); + + var getStatsCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetPlayerStats result"); + assert.ok(result.data.Statistics != null, "Testing GetUserData Stats"); + + var actualtestNumber = -1000; + for (var i = 0; i < result.data.Statistics.length; i++) + if (result.data.Statistics[i].StatisticName === PlayFabApiTests.testConstants.TEST_STAT_NAME) + actualtestNumber = result.data.Statistics[i].Value; + + assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing stat: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); + get2Done(); + }; + var updateStatsCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing UpdatePlayerStats result"); + PlayFabClientSDK.GetPlayerStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback2", getStatsCallback2, assert)); + updateDone(); + }; + var getStatsCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetPlayerStats result"); + assert.ok(result.data.Statistics != null, "Testing GetUserData Stats"); + + PlayFabApiTests.testData.testNumber = 0; + for (var i = 0; i < result.data.Statistics.length; i++) + if (result.data.Statistics[i].StatisticName === PlayFabApiTests.testConstants.TEST_STAT_NAME) + PlayFabApiTests.testData.testNumber = result.data.Statistics[i].Value; + PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds + + var updateStatsRequest = { + Statistics: [{ StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME, Value: PlayFabApiTests.testData.testNumber }] + }; + PlayFabClientSDK.UpdatePlayerStatistics(updateStatsRequest, PlayFabApiTests.CallbackWrapper("updateStatsCallback", updateStatsCallback, assert)); + get1Done(); + }; + + // Kick off this test process + PlayFabClientSDK.GetPlayerStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback1", getStatsCallback1, assert)); + }, + + /// + /// SERVER API + /// Get or create the given test character for the given user + /// Parameter types tested: Contained-Classes, string + /// + UserCharacter: function (assert): void { + var getCharsRequest = {}; + var grantCharRequest = { + TitleId: PlayFabApiTests.titleData.titleId, + PlayFabId: PlayFabApiTests.testData.playFabId, + CharacterName: PlayFabApiTests.titleData.characterName, + CharacterType: PlayFabApiTests.testConstants.CHAR_TEST_TYPE + }; + + // We don't know at this point how many async calls we'll make + var getDone = null; + var grantDone = null; + + var mandatoryGetCharsCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // GetChars MUST succeed at some point during this test + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetChars result"); + + for (var i in result.data.Characters) + if (result.data.Characters[i].CharacterName === PlayFabApiTests.titleData.characterName) + PlayFabApiTests.testData.characterId = result.data.Characters[i].CharacterId; // Save the characterId, it will be used in other tests + + assert.ok(PlayFabApiTests.testData.characterId != null, "Searching for " + PlayFabApiTests.titleData.characterName + " on this account."); + getDone(); + }; + var grantCharCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // Second character callback MUST succeed + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GrantCharacter result"); + + // Get chars again, this time with the newly granted character + getDone = assert.async(); + PlayFabClientSDK.GetAllUsersCharacters(grantCharRequest, PlayFabApiTests.CallbackWrapper("mandatoryGetCharsCallback", mandatoryGetCharsCallback, assert)); + grantDone(); + }; + var optionalGetCharsCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // First get chars falls back upon grant-char if target character not present + if (result.data.Characters.length === 0) { + // Register the character and try again + grantDone = assert.async(); + PlayFabServerSDK.GrantCharacterToUser(grantCharRequest, PlayFabApiTests.CallbackWrapper("grantCharCallback", grantCharCallback, assert)); + getDone(); + } + else { + // Confirm the successful login + mandatoryGetCharsCallback(result, error); + } + }; + getDone = assert.async(); + PlayFabClientSDK.GetAllUsersCharacters(getCharsRequest, PlayFabApiTests.CallbackWrapper("optionalGetCharsCallback", optionalGetCharsCallback, assert)); + }, + + /// + /// CLIENT AND SERVER API + /// Test that leaderboard results can be requested + /// Parameter types tested: List of contained-classes + /// + LeaderBoard: function (assert): void { + var clientRequest = { + MaxResultsCount: 3, + StartPosition: 0, + StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME + }; + var serverRequest = { + MaxResultsCount: 3, + StartPosition: 0, + StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME + }; + var lbDoneC = assert.async(); + var lbDoneS = assert.async(); + + var getLeaderboardCallbackC = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetLeaderboard result"); + if (result != null) { + assert.ok(result.data.Leaderboard != null, "Testing GetLeaderboard content"); + assert.ok(result.data.Leaderboard.length > 0, "Testing GetLeaderboard content-length"); + } + + lbDoneC(); + }; + var getLeaderboardCallbackS = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetLeaderboard result"); + if (result != null) { + assert.ok(result.data.Leaderboard != null, "Testing GetLeaderboard content"); + assert.ok(result.data.Leaderboard.length > 0, "Testing GetLeaderboard content-length"); + } + + lbDoneS(); + }; + + PlayFabClientSDK.GetLeaderboard(clientRequest, PlayFabApiTests.CallbackWrapper("getLeaderboardCallbackC", getLeaderboardCallbackC, assert)); + PlayFabServerSDK.GetLeaderboard(serverRequest, PlayFabApiTests.CallbackWrapper("getLeaderboardCallbackS", getLeaderboardCallbackS, assert)); + }, + + /// + /// CLIENT API + /// Test that AccountInfo can be requested + /// Parameter types tested: List of enum-as-strings converted to list of enums + /// + AccountInfo: function (assert): void { + var getDone = assert.async(); + + var getAccountInfoCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetAccountInfo result"); + assert.ok(result.data.AccountInfo != null, "Testing GetAccountInfo"); + assert.ok(result.data.AccountInfo.TitleInfo != null, "Testing TitleInfo"); + assert.ok(result.data.AccountInfo.TitleInfo.Origination != null, "Testing Origination"); + assert.ok(result.data.AccountInfo.TitleInfo.Origination.length > 0, "Testing Origination string-Enum"); + getDone(); + }; + + PlayFabClientSDK.GetAccountInfo({}, PlayFabApiTests.CallbackWrapper("getAccountInfoCallback", getAccountInfoCallback, assert)); + }, + + /// + /// CLIENT API + /// Test that CloudScript can be properly set up and invoked + /// + CloudScript: function (assert): void { + var hwDone = assert.async(); + + var helloWorldRequest = { + FunctionName: "helloWorld" + }; + + var helloWorldCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing HelloWorld result"); + if (result != null) { + assert.ok(result.data.FunctionResult != null, "Testing HelloWorld result"); + assert.ok(result.data.FunctionResult.messageValue != null, "Testing HelloWorld result message"); + assert.equal(result.data.FunctionResult.messageValue, "Hello " + PlayFabApiTests.testData.playFabId + "!", "HelloWorld cloudscript result: " + result.data.FunctionResult.messageValue); + } + hwDone(); + }; + + PlayFabClientSDK.ExecuteCloudScript(helloWorldRequest, PlayFabApiTests.CallbackWrapper("helloWorldCallback", helloWorldCallback, assert)); + }, + + /// + /// CLIENT API + /// Test that CloudScript errors can be deciphered + /// + CloudScriptError: function (assert): void { + var errDone = assert.async(); + + var errRequest = { + FunctionName: "throwError" + }; + + var errCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Cloud Script Error result"); + if (result != null) { + assert.ok(result.data.FunctionResult == null, "Testing Cloud Script Error result"); + assert.ok(result.data.Error != null, "Testing Cloud Script Error result message"); + assert.equal(result.data.Error.Error, "JavascriptException", "Testing Cloud Script Error result message"); + } + errDone(); + }; + + PlayFabClientSDK.ExecuteCloudScript(errRequest, PlayFabApiTests.CallbackWrapper("errCallback", errCallback, assert)); + }, + + /// + /// CLIENT API + /// Test that the client can publish custom PlayStream events + /// + WriteEvent: function (assert): void { + var writeEventDone = assert.async(); + + var writeEventRequest = { + EventName: "ForumPostEvent" + }; + writeEventRequest.Body = {}; + writeEventRequest.Body["Subject"] = "My First Post"; + writeEventRequest.Body["Body"] = "This is my awesome post."; + + var writeEventCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing WriteEvent result"); + writeEventDone(); + }; + + PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); + }, +}; + +// The test report that will ultimately be relayed back to Cloud Script when the suite finishes +var PfTestReport = [{ + name: null, + tests: 0, + failures: 0, + errors: 0, + skipped: 0, + time: 0.0, + timestamp: "", + testResults: [] +}]; + +QUnit.begin(function (details): void { + PfTestReport[0].name = PlayFab.buildIdentifier; + PfTestReport[0].timestamp = (new Date()).toISOString(); +}); + +QUnit.testDone(function (details): void { + PfTestReport[0].tests += 1; + var isFail = details.failed > 0 || details.passed !== details.total; + if (isFail) { + PfTestReport[0].failures += 1; + PfTestReport[0].testResults.push({ + classname: PlayFab.buildIdentifier, + name: details.name, + time: details.runtime / 1000.0, + message: "Test failure message", // TODO: Can we get the real test message here? + failureText: "FAILED" + }); + } else { + PfTestReport[0].testResults.push({ + classname: PlayFab.buildIdentifier, + name: details.name, + time: details.runtime / 1000.0 + }); + } +}); + +// Register for all the QUnit hooks so we can track all the tests that are complete +QUnit.done(function (details): void { + PfTestReport[0].time = details.runtime / 1000.0; + + var saveResultsRequest = { + FunctionName: "SaveTestData", + FunctionParameter: { customId: PlayFab.buildIdentifier, testReport: PfTestReport }, + GeneratePlayStreamEvent: true + }; + var onSaveResultsFinal = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + if (result && !error) { + console.log(PlayFabApiTests.testData.playFabId, ", Test report saved to CloudScript: ", PlayFab.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + } else { + console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (CS Error): ", PlayFab.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + } + }; + if (PlayFabClientSDK.IsClientLoggedIn()) { + PlayFabClientSDK.ExecuteCloudScript(saveResultsRequest, onSaveResultsFinal); + } else { + console.log(PlayFabApiTests.testData.playFabId, ", Failed to save test report to CloudScript (Login): ", PlayFab.buildIdentifier, "\n", JSON.stringify(PfTestReport, null, 4)); + } +}); + +PlayFabApiTests.ManualExecution(); diff --git a/code.jquery.com/qunit/qunit-1.19.0.css b/PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.css similarity index 100% rename from code.jquery.com/qunit/qunit-1.19.0.css rename to PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.css diff --git a/code.jquery.com/qunit/qunit-1.19.0.js b/PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.js similarity index 100% rename from code.jquery.com/qunit/qunit-1.19.0.js rename to PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.js diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html new file mode 100644 index 00000000..1e983a09 --- /dev/null +++ b/PlayFabTestingExample/index.html @@ -0,0 +1,19 @@ + + + + + PlayFab JavaScript Unit Tests + + + +
+
+ + + + + + + + + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js new file mode 100644 index 00000000..74495260 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -0,0 +1,660 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + + GetServerUrl: function () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + }, + + ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (data == null) + data = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(data); + + var xhr = new XMLHttpRequest(); + // window.console.log("URL: " + completeUrl); + xhr.open("POST", completeUrl, true); + + xhr.setRequestHeader('Content-Type', 'application/json'); + + if (authkey != null) + xhr.setRequestHeader(authkey, authValue); + + xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + + xhr.onloadend = function () { + if (callback == null) + return; + + var result; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + +PlayFab.AdminApi = { + + GetPolicy: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdatePolicy: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + BanUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserAccountInfo: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ResetUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeAllBansForUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SendAccountRecoveryEmail: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserTitleDisplayName: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + CreatePlayerStatisticDefinition: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetDataReport: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerStatisticDefinitions: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerStatisticVersions: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserPublisherInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserPublisherReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + IncrementPlayerStatisticVersion: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RefundPurchase: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ResetUserStatistics: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ResolvePurchaseDispute: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdatePlayerStatisticDefinition: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserPublisherInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserPublisherReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddNews: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddVirtualCurrencyTypes: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteStore: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCatalogItems: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetRandomResultTables: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetStoreItems: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTitleData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTitleInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ListVirtualCurrencyTypes: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemoveVirtualCurrencyTypes: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetCatalogItems: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetStoreItems: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetTitleData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetTitleInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetupPushNotification: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateCatalogItems: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateRandomResultTables: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateStoreItems: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddUserVirtualCurrency: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserInventory: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GrantItemsToUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeInventoryItem: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SubtractUserVirtualCurrency: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetMatchmakerGameInfo: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetMatchmakerGameModes: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ModifyMatchmakerGameModes: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddServerBuild: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetServerBuildInfo: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetServerBuildUploadUrl: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ListServerBuilds: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ModifyServerBuild: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemoveServerBuild: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCloudScriptRevision: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCloudScriptVersions: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetPublishedRevision: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateCloudScript: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteContent: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetContentList: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetContentUploadUrl: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ResetCharacterStatistics: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddPlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetAllActionGroups: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetAllSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayersInSegment: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemovePlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AbortTaskInstance: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + CreateActionsOnPlayersInSegmentTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + CreateCloudScriptTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCloudScriptTaskInstance: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTaskInstances: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTasks: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RunTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateTask: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, +}; + +var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js new file mode 100644 index 00000000..3755e17f --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -0,0 +1,947 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + + GetServerUrl: function () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + }, + + ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (data == null) + data = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(data); + + var xhr = new XMLHttpRequest(); + // window.console.log("URL: " + completeUrl); + xhr.open("POST", completeUrl, true); + + xhr.setRequestHeader('Content-Type', 'application/json'); + + if (authkey != null) + xhr.setRequestHeader(authkey, authValue); + + xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + + xhr.onloadend = function () { + if (callback == null) + return; + + var result; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + +PlayFab.ClientApi = { + + IsClientLoggedIn: function () { + return PlayFab._internalSettings.sessionTicket != null && PlayFab._internalSettings.sessionTicket.length > 0; + }, + + GetPhotonAuthenticationToken: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LoginWithAndroidDeviceID: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback); + }, + + LoginWithCustomID: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback); + }, + + LoginWithEmailAddress: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback); + }, + + LoginWithFacebook: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback); + }, + + LoginWithGameCenter: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback); + }, + + LoginWithGoogleAccount: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback); + }, + + LoginWithIOSDeviceID: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback); + }, + + LoginWithKongregate: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback); + }, + + LoginWithPlayFab: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback); + }, + + LoginWithSteam: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback); + }, + + LoginWithTwitch: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); + }, + + RegisterPlayFabUser: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); + }, + + AddGenericID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + AddUsernamePassword: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetAccountInfo: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayerCombinedInfo: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayFabIDsFromFacebookIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayFabIDsFromGameCenterIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayFabIDsFromGenericIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayFabIDsFromGoogleIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayFabIDsFromKongregateIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayFabIDsFromSteamIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayFabIDsFromTwitchIDs: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkAndroidDeviceID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkCustomID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkFacebookAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkGameCenterAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkGoogleAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkIOSDeviceID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkKongregate: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkSteamAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + LinkTwitch: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RemoveGenericID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ReportPlayer: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + SendAccountRecoveryEmail: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback); + }, + + UnlinkAndroidDeviceID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkCustomID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkFacebookAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkGameCenterAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkGoogleAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkIOSDeviceID: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkKongregate: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkSteamAccount: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlinkTwitch: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UpdateUserTitleDisplayName: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetFriendLeaderboard: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetFriendLeaderboardAroundPlayer: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetLeaderboard: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetLeaderboardAroundPlayer: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayerStatistics: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayerStatisticVersions: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetUserData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetUserPublisherData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetUserPublisherReadOnlyData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetUserReadOnlyData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UpdatePlayerStatistics: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UpdateUserData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UpdateUserPublisherData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetCatalogItems: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPublisherData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetStoreItems: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetTime: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetTitleData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetTitleNews: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + AddUserVirtualCurrency: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ConfirmPurchase: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ConsumeItem: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetCharacterInventory: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPurchase: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetUserInventory: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + PayForPurchase: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + PurchaseItem: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RedeemCoupon: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + StartPurchase: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + SubtractUserVirtualCurrency: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlockContainerInstance: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UnlockContainerItem: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + AddFriend: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetFriendsList: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RemoveFriend: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + SetFriendTags: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RegisterForIOSPushNotification: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RestoreIOSPurchases: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateIOSReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetCurrentGames: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetGameServerRegions: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + Matchmake: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + StartGame: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + AndroidDevicePushNotificationRegistration: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateGooglePlayPurchase: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + WriteCharacterEvent: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + WritePlayerEvent: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + WriteTitleEvent: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + AddSharedGroupMembers: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + CreateSharedGroup: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetSharedGroupData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RemoveSharedGroupMembers: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UpdateSharedGroupData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ExecuteCloudScript: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetContentDownloadUrl: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetAllUsersCharacters: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetCharacterLeaderboard: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetCharacterStatistics: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetLeaderboardAroundCharacter: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetLeaderboardForUserCharacters: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GrantCharacterToUser: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UpdateCharacterStatistics: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetCharacterData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetCharacterReadOnlyData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + UpdateCharacterData: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateAmazonIAPReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + AcceptTrade: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + CancelTrade: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayerTrades: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetTradeStatus: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + OpenTrade: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + AttributeInstall: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + var overloadCallback = function (result, error) { + // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully + PlayFab.settings.advertisingIdType += "_Successful"; + + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); + }, + + GetPlayerSegments: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + GetPlayerTags: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + _MultiStepClientLogin: function (needsAttribution) { + if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { + var request = {}; + if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) + request.Idfa = PlayFab.settings.advertisingIdValue; + else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) + request.Adid = PlayFab.settings.advertisingIdValue; + else + return; + PlayFab.ClientApi.AttributeInstall(request, null); + } + } +}; + +var PlayFabClientSDK = PlayFab.ClientApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js new file mode 100644 index 00000000..a6c99444 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -0,0 +1,138 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + + GetServerUrl: function () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + }, + + ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (data == null) + data = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(data); + + var xhr = new XMLHttpRequest(); + // window.console.log("URL: " + completeUrl); + xhr.open("POST", completeUrl, true); + + xhr.setRequestHeader('Content-Type', 'application/json'); + + if (authkey != null) + xhr.setRequestHeader(authkey, authValue); + + xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + + xhr.onloadend = function () { + if (callback == null) + return; + + var result; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + +PlayFab.MatchmakerApi = { + + AuthUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + PlayerJoined: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + PlayerLeft: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + StartGame: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UserInfo: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, +}; + +var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js new file mode 100644 index 00000000..bea32970 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -0,0 +1,738 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + + GetServerUrl: function () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + }, + + ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (data == null) + data = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(data); + + var xhr = new XMLHttpRequest(); + // window.console.log("URL: " + completeUrl); + xhr.open("POST", completeUrl, true); + + xhr.setRequestHeader('Content-Type', 'application/json'); + + if (authkey != null) + xhr.setRequestHeader(authkey, authValue); + + xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + + xhr.onloadend = function () { + if (callback == null) + return; + + var result; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "javascriptsdk_manual"; +PlayFab.sdkVersion = "1.-1.170109"; + +PlayFab.ServerApi = { + + AuthenticateSessionTicket: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + BanUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayFabIDsFromFacebookIDs: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayFabIDsFromSteamIDs: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserAccountInfo: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeAllBansForUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SendPushNotification: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateBans: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetFriendLeaderboard: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetLeaderboard: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetLeaderboardAroundUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerCombinedInfo: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerStatistics: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerStatisticVersions: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserPublisherInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserPublisherReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdatePlayerStatistics: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserPublisherInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserPublisherReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCatalogItems: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTime: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTitleData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTitleInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetTitleNews: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetPublisherData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetTitleData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetTitleInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddCharacterVirtualCurrency: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddUserVirtualCurrency: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ConsumeItem: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + EvaluateRandomResultTable: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCharacterInventory: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetRandomResultTables: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetUserInventory: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GrantItemsToCharacter: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GrantItemsToUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GrantItemsToUsers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ModifyItemUses: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + MoveItemToCharacterFromCharacter: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + MoveItemToCharacterFromUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + MoveItemToUserFromCharacter: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RedeemCoupon: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ReportPlayer: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RevokeInventoryItem: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SubtractCharacterVirtualCurrency: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SubtractUserVirtualCurrency: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UnlockContainerInstance: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UnlockContainerItem: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateUserInventoryItemCustomData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddFriend: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetFriendsList: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemoveFriend: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeregisterGame: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + NotifyMatchmakerPlayerLeft: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RedeemMatchmakerTicket: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RefreshGameServerInstanceHeartbeat: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RegisterGame: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetGameServerInstanceData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetGameServerInstanceState: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + SetGameServerInstanceTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AwardSteamAchievement: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + WriteCharacterEvent: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + WritePlayerEvent: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + WriteTitleEvent: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddSharedGroupMembers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + CreateSharedGroup: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteSharedGroup: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetSharedGroupData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemoveSharedGroupMembers: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateSharedGroupData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + ExecuteCloudScript: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetContentDownloadUrl: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeleteCharacterFromUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetAllUsersCharacters: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCharacterLeaderboard: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCharacterStatistics: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetLeaderboardAroundCharacter: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetLeaderboardForUserCharacters: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GrantCharacterToUser: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateCharacterStatistics: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCharacterData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCharacterInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetCharacterReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateCharacterData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateCharacterInternalData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdateCharacterReadOnlyData: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + AddPlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetAllActionGroups: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetAllSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerSegments: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayersInSegment: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + RemovePlayerTag: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, +}; + +var PlayFabServerSDK = PlayFab.ServerApi; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts new file mode 100644 index 00000000..61874d1d --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -0,0 +1,43 @@ +declare module PlayFabModule { + export interface ISettings { + titleId: string; + developerSecretKey: string; + advertisingIdType: string; + advertisingIdValue: string; + disableAdvertising: boolean; + AD_TYPE_IDFA: string; + AD_TYPE_ANDROID_ID: string; + } + export interface IPlayFabRequestCommon { } + export interface IPlayFabError { + code: number; + status: string; + error: string; + errorCode: number; + errorMessage: string; + errorDetails?: { [key: string]: string[] }; + } + export interface SuccessContainer extends IPlayFabError { + data: TResult; + } + export interface IPlayFabResultCommon extends IPlayFabError { } + + export interface ApiCallback { (result: SuccessContainer, error: IPlayFabError): void } +} + +declare var PlayFab: { + buildIdentifier: string; + sdkVersion: string; + settings: PlayFabModule.ISettings; + AdminApi: PlayFabAdminModule.IPlayFabAdmin; + MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; + ServerApi: PlayFabServerModule.IPlayFabServer; + ClientApi: PlayFabClientModule.IPlayFabClient; + +}; +// Continue to support older usage +declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; +declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; +declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; +declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; + diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts new file mode 100644 index 00000000..37c84149 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -0,0 +1,4696 @@ +declare module PlayFabAdminModule { + export interface IPlayFabAdmin { + /** + / Gets the requested policy. + / https://api.playfab.com/Documentation/Admin/method/GetPolicy + */ + GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Changes a policy for a title + / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + */ + UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + / https://api.playfab.com/Documentation/Admin/method/BanUsers + */ + BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier + / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + */ + GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Admin/method/GetUserBans + */ + GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics + / https://api.playfab.com/Documentation/Admin/method/ResetUsers + */ + ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + */ + RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Admin/method/RevokeBans + */ + RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + */ + SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Admin/method/UpdateBans + */ + UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title specific display name for a user + / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + */ + UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + */ + CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. This method does not remove the player's event history, login history, inventory items, nor virtual currencies. + / https://api.playfab.com/Documentation/Admin/method/DeleteUsers + */ + DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a download URL for the requested report + / https://api.playfab.com/Documentation/Admin/method/GetDataReport + */ + GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + */ + GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserData + */ + GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + */ + GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + */ + GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + */ + GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + */ + GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + */ + GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Resets the indicated statistic, removing all player entries for it and backing up the old values. + / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + */ + IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attempts to process an order refund through the original real money payment provider. + / https://api.playfab.com/Documentation/Admin/method/RefundPurchase + */ + RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Completely removes all statistics for the specified user, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + */ + ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attempts to resolve a dispute with the original order's payment provider. + / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + */ + ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + */ + UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserData + */ + UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + */ + UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + */ + UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + */ + UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + */ + UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + */ + UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a new news item to the title's news feed + / https://api.playfab.com/Documentation/Admin/method/AddNews + */ + AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + */ + AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes an existing virtual item store + / https://api.playfab.com/Documentation/Admin/method/DeleteStore + */ + DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + */ + GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/GetPublisherData + */ + GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + */ + GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Admin/method/GetStoreItems + */ + GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings which can be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetTitleData + */ + GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings which cannot be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData + */ + GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retuns the list of all defined virtual currencies for the title + / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + */ + ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes one or more virtual currencies from the set defined for the title. + / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + */ + RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates the catalog configuration of all virtual goods for the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + */ + SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets all the items in one virtual store + / https://api.playfab.com/Documentation/Admin/method/SetStoreItems + */ + SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the key-value store of custom title settings which can be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleData + */ + SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom title settings which cannot be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + */ + SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. + / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + */ + SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the catalog configuration for virtual goods in the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + */ + UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + */ + UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates an existing virtual item store with new or modified items + / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + */ + UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Admin/method/GetUserInventory + */ + GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified user inventories + / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + */ + GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + */ + RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + */ + SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details for a specific completed session, including links to standard out and standard error logs + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + */ + GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details of defined game modes for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + */ + GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the game server mode details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + */ + ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/AddServerBuild + */ + AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + */ + GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + */ + GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the build details for all game server executables which are currently defined for the title + / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + */ + ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + */ + ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + */ + RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/SetPublisherData + */ + SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets the contents and information of a specific Cloud Script revision. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + */ + GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + */ + GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the currently published revision of a title Cloud Script + / https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision + */ + SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. + / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + */ + UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Delete a content file from the title + / https://api.playfab.com/Documentation/Admin/method/DeleteContent + */ + DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all contents of the title and get statistics such as size + / https://api.playfab.com/Documentation/Admin/method/GetContentList + */ + GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. + / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + */ + GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Completely removes all statistics for the specified character, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + */ + ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + */ + AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups + */ + GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetAllSegments + */ + GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + */ + GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + */ + GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + */ + RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Abort an ongoing task instance. + / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + */ + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. + / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + */ + CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Create a CloudScript task, which can run a CloudScript on a schedule. + / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + */ + CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Delete a task. + / https://api.playfab.com/Documentation/Admin/method/DeleteTask + */ + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get information about a ActionsOnPlayersInSegment task instance. + / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + */ + GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get detail information about a CloudScript task instance. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + */ + GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Query for task instances by task, status, or time range. + / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + */ + GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get definition information on a specified task or all tasks within a title. + / https://api.playfab.com/Documentation/Admin/method/GetTasks + */ + GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Run a task immediately regardless of its schedule. + / https://api.playfab.com/Documentation/Admin/method/RunTask + */ + RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Update an existing task. + / https://api.playfab.com/Documentation/Admin/method/UpdateTask + */ + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabAdminModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest + */ + export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / ID of a task instance that is being aborted. + */ + TaskInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter + */ + export interface ActionsOnPlayersInSegmentTaskParameter { + /** + / ID of the segment to perform actions on. + */ + SegmentId: string; + /** + / ID of the action to perform on each player in segment. + */ + ActionId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary + */ + export interface ActionsOnPlayersInSegmentTaskSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Error message for last processing attempt, if an error occured. + */ + ErrorMessage?: string; + /** + / Flag indicating if the error was fatal, if false job will be retried. + */ + ErrorWasFatal?: boolean; + /** + / Total players in segment when task was started. + */ + TotalPlayersInSegment?: number; + /** + / Total number of players that have had the actions applied to. + */ + TotalPlayersProcessed?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution + */ + export interface AdCampaignAttribution { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest + */ + export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Time this news was published. If not set, defaults to now. + */ + Timestamp?: string; + /** + / Title (headline) of the news item + */ + Title: string; + /** + / Body text of the news + */ + Body: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult + */ + export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique id of the new news item + */ + NewsId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest + */ + export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult + */ + export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest + */ + export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier for the build executable + */ + BuildId: string; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / server host regions in which this build should be running and available + */ + ActiveRegions?: string[]; + /** + / developer comment(s) for this build + */ + Comment?: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult + */ + export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for this build executable + */ + BuildId?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / developer comment(s) for this build + */ + Comment?: 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; + /** + / the current status of the build validation and processing steps + */ + Status?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest + */ + export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be increased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest + */ + export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) to the title + */ + VirtualCurrencies: VirtualCurrencyData[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo + */ + export interface BanInfo { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / The unique Ban Id associated with this ban. + */ + BanId?: string; + /** + / The IP address on which the ban was applied. May affect multiple players. + */ + IPAddress?: string; + /** + / The MAC address on which the ban was applied. May affect multiple players. + */ + MACAddress?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; + /** + / The reason why this ban was applied. + */ + Reason?: string; + /** + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. + */ + Active: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest + */ + export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / IP address to be banned. May affect multiple players. + */ + IPAddress?: string; + /** + / MAC address to be banned. May affect multiple players. + */ + MACAddress?: string; + /** + / The reason for this ban. Maximum 140 characters. + */ + Reason?: string; + /** + / The duration in hours for the ban. Leave this blank for a permanent ban. + */ + DurationInHours?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest + */ + export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of ban requests to be applied. Maximum 100. + */ + Bans: BanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult + */ + export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were applied + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult + */ + export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem + */ + export interface CatalogItem { + /** + / unique identifier for this item + */ + ItemId: string; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / catalog version for this item + */ + CatalogVersion?: string; + /** + / text name for the item, to show in-game + */ + DisplayName?: string; + /** + / text description of item, to show in-game + */ + Description?: string; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / list of item tags + */ + Tags?: string[]; + /** + / game specific custom data + */ + CustomData?: string; + /** + / defines the consumable properties (number of uses, timeout) for the item + */ + Consumable?: CatalogItemConsumableInfo; + /** + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + */ + Container?: CatalogItemContainerInfo; + /** + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + */ + Bundle?: CatalogItemBundleInfo; + /** + / if true, then an item instance of this type can be used to grant a character to a user. + */ + CanBecomeCharacter: boolean; + /** + / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + */ + IsStackable: boolean; + /** + / if true, then an item instance of this type can be traded between players using the trading APIs + */ + IsTradable: boolean; + /** + / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + */ + ItemImageUrl?: string; + /** + / BETA: If true, then only a fixed number can ever be granted. + */ + IsLimitedEdition: boolean; + /** + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + */ + InitialLimitedEditionCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo + */ + export interface CatalogItemBundleInfo { + /** + / unique ItemId values for all items which will be added to the player inventory when the bundle is added + */ + BundledItems?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + */ + BundledResultTables?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the bundle is added + */ + BundledVirtualCurrencies?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo + */ + export interface CatalogItemConsumableInfo { + /** + / number of times this object can be used, after which it will be removed from the player inventory + */ + UsageCount?: number; + /** + / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + */ + UsagePeriod?: number; + /** + / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + */ + UsagePeriodGroup?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo + */ + export interface CatalogItemContainerInfo { + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; + /** + / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked + */ + ItemContents?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + */ + ResultTableContents?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the container is unlocked + */ + VirtualCurrencyContents?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile + */ + export interface CloudScriptFile { + /** + / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. + */ + Filename: string; + /** + / Contents of the Cloud Script javascript. Must be string-escaped javascript. + */ + FileContents: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter + */ + export interface CloudScriptTaskParameter { + /** + / Name of the CloudScript function to execute. + */ + FunctionName?: string; + /** + / Argument to pass to the CloudScript function. + */ + Argument?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary + */ + export interface CloudScriptTaskSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Result of CloudScript execution + */ + Result?: ExecuteCloudScriptResult; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus + */ + export interface CloudScriptVersionStatus { + /** + / Version number + */ + Version: number; + /** + / Published code revision for this Cloud Script version + */ + PublishedRevision: number; + /** + / Most recent revision for this Cloud Script version + */ + LatestRevision: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo + */ + export interface ContentInfo { + /** + / Key of the content + */ + Key?: string; + /** + / Size of the content in bytes + */ + Size: number; + /** + / Last modified time + */ + LastModified: string; + + } + + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest + */ + export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task details related to segment and action + */ + Parameter: ActionsOnPlayersInSegmentTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest + */ + export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task details related to CloudScript + */ + Parameter: CloudScriptTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest + */ + export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) + */ + VersionChangeInterval?: string; + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult + */ + export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / created statistic definition + */ + Statistic?: PlayerStatisticDefinition; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult + */ + export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { + /** + / ID of the task + */ + TaskId?: string; + + } + + type Currency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest + */ + export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to be deleted + */ + Key: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest + */ + export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version of the store to delete. If null, uses the default catalog. + */ + CatalogVersion?: string; + /** + / unqiue identifier for the store which is to be deleted + */ + StoreId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult + */ + export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest + */ + export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specify either the task ID or the name of task to be deleted. + */ + Identifier?: NameIdentifier; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest + */ + export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult + */ + export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type EffectType = "Allow" + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult + */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult + */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the function that executed + */ + FunctionName?: string; + /** + / The revision of the CloudScript that executed + */ + Revision: number; + /** + / The object returned from the CloudScript function, if any + */ + FunctionResult?: any; + /** + / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + ExecutionTimeSeconds: number; + /** + / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + */ + ProcessorTimeSeconds: number; + MemoryConsumedBytes: number; + /** + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; + /** + / Information about the error, if any, that occured during execution + */ + Error?: ScriptExecutionError; + + } + + type GameBuildStatus = "Available" + | "Validating" + | "InvalidBuildPackage" + | "Processing" + | "FailedToProcess"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo + */ + export interface GameModeInfo { + /** + / specific game mode type + */ + Gamemode: string; + /** + / minimum user count required for this Game Server Instance to continue (usually 1) + */ + MinPlayerCount: number; + /** + / maximum user count a specific Game Server Instance can support + */ + MaxPlayerCount: number; + /** + / whether to start as an open session, meaning that players can matchmake into it (defaults to true) + */ + StartOpen?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionGroupResult + */ + export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Action Group name + */ + Name: string; + /** + / Action Group ID + */ + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult + */ + export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Status summary of the actions-on-players-in-segment task instance + */ + Summary?: ActionsOnPlayersInSegmentTaskSummary; + /** + / Parameter of this task instance + */ + Parameter?: ActionsOnPlayersInSegmentTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsRequest + */ + export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsResult + */ + export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of Action Groups. + */ + ActionGroups: GetActionGroupResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest + */ + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult + */ + export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments for this title. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest + */ + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being requested. If null, uses the default catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult + */ + export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest + */ + export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Version number. If left null, defaults to the latest version + */ + Version?: number; + /** + / Revision number. If left null, defaults to the latest revision + */ + Revision?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult + */ + export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Version number. + */ + Version: number; + /** + / Revision number. + */ + Revision: number; + /** + / Time this revision was created + */ + CreatedAt: string; + /** + / List of Cloud Script files in this revision. + */ + Files?: CloudScriptFile[]; + /** + / True if this is the currently published revision + */ + IsPublished: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult + */ + export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Status summary of the CloudScript task instance + */ + Summary?: CloudScriptTaskSummary; + /** + / Parameter of this task instance + */ + Parameter?: CloudScriptTaskParameter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest + */ + export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult + */ + export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of versions + */ + Versions?: CloudScriptVersionStatus[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest + */ + export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, or for a specified version, etc. + */ + Prefix?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult + */ + export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Number of content items returned. We currently have a maximum of 1000 items limit. + */ + ItemCount: number; + /** + / The total size of listed contents in bytes. + */ + TotalSize: number; + /** + / List of content items. + */ + Contents?: ContentInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest + */ + export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to upload, usually formatted as a path, e.g. images/a.png + */ + Key: string; + /** + / A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. + */ + ContentType?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult + */ + export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { + /** + / URL for uploading content via HTTP PUT method. The URL will expire in 1 hour. + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest + */ + export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Report name + */ + ReportName: string; + /** + / Reporting year (UTC) + */ + Year: number; + /** + / Reporting month (UTC) + */ + Month: number; + /** + / Reporting year (UTC) + */ + Day: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult + */ + export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The URL where the requested report can be downloaded. + */ + DownloadUrl?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest + */ + export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the lobby for which info is being requested + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult + */ + export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier of the lobby + */ + LobbyId?: string; + /** + / unique identifier of the Game Server Instance for this lobby + */ + TitleId?: string; + /** + / time when the Game Server Instance was created + */ + StartTime: string; + /** + / time when Game Server Instance is currently scheduled to end + */ + EndTime?: string; + /** + / game mode for this Game Server Instance + */ + Mode?: string; + /** + / version identifier of the game server executable binary being run + */ + BuildVersion?: string; + /** + / region in which the Game Server Instance is running + */ + Region?: string; + /** + / array of unique PlayFab identifiers for users currently connected to this Game Server Instance + */ + Players?: string[]; + /** + / IP address for this Game Server Instance + */ + ServerAddress?: string; + /** + / communication port for this Game Server Instance + */ + ServerPort: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest + */ + export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / previously uploaded build version for which game modes are being requested + */ + BuildVersion: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult + */ + export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of game modes available for the specified build + */ + GameModes?: GameModeInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult + */ + export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments the requested player currently belongs to. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest + */ + export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for this segment. + */ + SegmentId: string; + /** + / 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; + /** + / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. + */ + MaxBatchSize?: number; + /** + / Continuation token if retrieving subsequent pages of results. + */ + ContinuationToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult + */ + export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; + /** + / 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[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest + */ + export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest + */ + export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult + */ + export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / the player statistic definitions for the title + */ + Statistics?: PlayerStatisticDefinition[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest + */ + export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult + */ + export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersions?: PlayerStatisticVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest + */ + export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Optional namespace to filter results by + */ + Namespace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult + */ + export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Canonical tags (including namespace and tag's name) for the requested user + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest + */ + export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the policy to read. Only supported name is 'ApiPolicy'. + */ + PolicyName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse + */ + export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the policy read. + */ + PolicyName?: string; + /** + / The statements in the requested policy. + */ + Statements?: PermissionStatement[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest + */ + export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / array of keys to get back data from the Publisher data blob, set by the admin tools + */ + Keys: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult + */ + export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest + */ + export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version to fetch tables from. Use default catalog version if null + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult + */ + export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of random result tables currently available + */ + Tables?: { [key: string]: RandomResultTableListing }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult + */ + export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for this segment. + */ + Id: string; + /** + / Segment name. + */ + Name?: string; + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest + */ + export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the previously uploaded build executable for which information is being requested + */ + BuildId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult + */ + export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for this build executable + */ + BuildId?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / developer comment(s) for this build + */ + Comment?: 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; + /** + / the current status of the build validation and processing steps + */ + Status?: string; + /** + / error message, if any, about this build + */ + ErrorMessage?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest + */ + export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the game server build to upload + */ + BuildId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult + */ + export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { + /** + / pre-authorized URL for uploading the game server build package + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest + */ + export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version to store items from. Use default catalog version if null + */ + CatalogVersion?: string; + /** + / Unqiue identifier for the store which is being requested. + */ + StoreId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult + */ + export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased from this store. + */ + Store?: StoreItem[]; + /** + / How the store was last updated (Admin or a third party). + */ + Source?: string; + /** + / The base catalog that this store is a part of. + */ + CatalogVersion?: string; + /** + / The ID of this store. + */ + StoreId?: string; + /** + / Additional data about the store. + */ + MarketingData?: StoreMarketingModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest + */ + export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / ID of the requested task instance. + */ + TaskInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest + */ + export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. + */ + TaskIdentifier?: NameIdentifier; + /** + / Optional filter for task instances that are of a specific status. + */ + StatusFilter?: string; + /** + / Optional range-from filter for task instances' StartedAt timestamp. + */ + StartedAtRangeFrom?: string; + /** + / Optional range-to filter for task instances' StartedAt timestamp. + */ + StartedAtRangeTo?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult + */ + export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get detailed status summary, use Get*TaskInstance API according to task type (e.g. GetActionsOnPlayersInSegmentTaskInstance). + */ + Summaries?: TaskInstanceBasicSummary[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest + */ + export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. + */ + Identifier?: NameIdentifier; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult + */ + export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Result tasks. Empty if there is no task found. + */ + Tasks?: ScheduledTask[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest + */ + export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the title data (leave null to get all keys) + */ + Keys?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult + */ + export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest + */ + export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult + */ + export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information about the bans + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest + */ + export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult + */ + export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose custom data is being returned. + */ + PlayFabId?: string; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest + */ + export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult + */ + export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Array of inventory items belonging to the user. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance + */ + export interface GrantedItemInstance { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Result of this operation. + */ + Result: boolean; + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest + */ + export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Array of items to grant and the users to whom the items are to be granted. + */ + ItemGrants: ItemGrant[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult + */ + export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest + */ + export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult + */ + export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersion?: PlayerStatisticVersion; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant + */ + export interface ItemGrant { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest + */ + export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult + */ + export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of uploaded game server builds + */ + Builds?: GetServerBuildInfoResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest + */ + export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult + */ + export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of virtual currency names defined for this title + */ + VirtualCurrencies?: VirtualCurrencyData[]; + + } + + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement + */ + export interface LogStatement { + /** + / 'Debug', 'Info', or 'Error' + */ + Level?: string; + Message?: string; + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest + */ + export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / User email address attached to their account + */ + Email?: string; + /** + / PlayFab username for the account (3-20 characters) + */ + Username?: string; + /** + / Title specific username to match against existing user accounts + */ + TitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult + */ + export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User info for the user matching the request + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest + */ + export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / previously uploaded build version for which game modes are being specified + */ + BuildVersion: string; + /** + / array of game modes (Note: this will replace all game modes for the indicated build version) + */ + GameModes: GameModeInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult + */ + export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest + */ + export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the previously uploaded build executable to be updated + */ + BuildId: string; + /** + / new timestamp + */ + Timestamp?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / developer comment(s) for this build + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult + */ + export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for this build executable + */ + BuildId?: string; + /** + / array of regions where this build can used, when it is active + */ + ActiveRegions?: 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; + /** + / appended to the end of the command line when starting game servers + */ + CommandLineTemplate?: string; + /** + / path to the game server executable. Defaults to gameserver.exe + */ + ExecutablePath?: string; + /** + / developer comment(s) for this build + */ + Comment?: 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; + /** + / the current status of the build validation and processing steps + */ + Status?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier + */ + export interface NameIdentifier { + Name?: string; + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement + */ + export interface PermissionStatement { + /** + / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. + */ + Resource: string; + /** + / The action this statement effects. The only supported action is 'Execute'. + */ + Action: string; + /** + / The effect this statement will have. The only supported effect is 'Allow'. + */ + Effect: string; + /** + / The principal this statement will effect. The only supported principal is '*'. + */ + Principal: string; + /** + / A comment about the statement. Intended solely for bookeeping and debugging. + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount + */ + export interface PlayerLinkedAccount { + /** + / Authentication platform + */ + Platform?: string; + /** + / Platform user identifier + */ + PlatformUserId?: string; + /** + / Linked account's username + */ + Username?: string; + /** + / Linked account's email + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation + */ + export interface PlayerLocation { + /** + / 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; + /** + / City of the player's geographic location. + */ + City?: string; + /** + / Latitude coordinate of the player's geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the player's geographic location. + */ + Longitude?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile + */ + export interface PlayerProfile { + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Player record created + */ + Created?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + */ + BannedUntil?: string; + /** + / Dictionary of player's statistics using only the latest version's value + */ + Statistics?: { [key: string]: number }; + /** + / 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 }; + /** + / List of player's tags for segmentation. + */ + Tags?: string[]; + /** + / Dictionary of player's locations by type. + */ + Locations?: { [key: string]: PlayerLocation }; + /** + / Dictionary of player's virtual currency balances + */ + VirtualCurrencyBalances?: { [key: string]: number }; + /** + / Array of ad campaigns player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttribution[]; + /** + / Array of configured push notification end points + */ + PushNotificationRegistrations?: PushNotificationRegistration[]; + /** + / Array of third party accounts linked to this player + */ + LinkedAccounts?: PlayerLinkedAccount[]; + /** + / Array of player statistics + */ + PlayerStatistics?: PlayerStatistic[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic + */ + export interface PlayerStatistic { + /** + / Statistic ID + */ + Id?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + StatisticVersion: number; + /** + / Current statistic value + */ + StatisticValue: number; + /** + / Statistic name + */ + Name?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition + */ + export interface PlayerStatisticDefinition { + /** + / unique name of the statistic + */ + StatisticName?: string; + /** + / current active version of the statistic, incremented each time the statistic resets + */ + CurrentVersion: number; + /** + / interval at which the values of the statistic for all players are reset automatically + */ + VersionChangeInterval?: string; + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion + */ + export interface PlayerStatisticVersion { + /** + / name of the statistic when the version became active + */ + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; + /** + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + */ + ScheduledActivationTime?: string; + /** + / time when the statistic version became active + */ + ActivationTime: string; + /** + / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval + */ + ScheduledDeactivationTime?: string; + /** + / time when the statistic version became inactive due to statistic version incrementing + */ + DeactivationTime?: string; + /** + / status of the process of saving player statistic values of the previous version to a downloadable archive + */ + ArchivalStatus?: string; + /** + / URL for the downloadable archive of player statistic values, if available + */ + ArchiveDownloadUrl?: string; + + } + + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration + */ + export interface PushNotificationRegistration { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable + */ + export interface RandomResultTable { + /** + / Unique name for this drop table + */ + TableId: string; + /** + / Child nodes that indicate what kind of drop table item this actually is. + */ + Nodes: ResultTableNode[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing + */ + export interface RandomResultTableListing { + /** + / Catalog version this table is associated with + */ + CatalogVersion?: string; + /** + / Unique name for this drop table + */ + TableId: string; + /** + / Child nodes that indicate what kind of drop table item this actually is. + */ + Nodes: ResultTableNode[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest + */ + export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique order ID for the purchase in question. + */ + OrderId: string; + /** + / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + */ + Reason?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse + */ + export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The order's updated purchase status. + */ + PurchaseStatus?: string; + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest + */ + export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult + */ + export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest + */ + export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique identifier of the previously uploaded build executable to be removed + */ + BuildId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult + */ + export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest + */ + export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of virtual currencies to delete + */ + VirtualCurrencies: VirtualCurrencyData[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest + */ + export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult + */ + export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUsersRequest + */ + export interface ResetUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of users to reset + */ + Users: UserCredentials[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest + */ + export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult + */ + export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type ResolutionOutcome = "Revoke" + | "Reinstate" + | "Manual"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest + */ + export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique order ID for the purchase in question. + */ + OrderId: string; + /** + / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + */ + Reason?: string; + /** + / Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and Manual. Manual will cause no change to the order state. + */ + Outcome: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse + */ + export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The order's updated purchase status. + */ + PurchaseStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode + */ + export interface ResultTableNode { + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; + /** + / Either an ItemId, or the TableId of another random result table + */ + ResultItem: string; + /** + / How likely this is to be rolled - larger numbers add more weight + */ + Weight: number; + + } + + type ResultTableNodeType = "ItemId" + | "TableId"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest + */ + export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult + */ + export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked. + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest + */ + export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Ids of the bans to be revoked. Maximum 100. + */ + BanIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult + */ + export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest + */ + export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult + */ + export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest + */ + export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Provide either the task ID or the task name to run a task. + */ + Identifier?: NameIdentifier; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult + */ + export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { + /** + / ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call to retrieve status for the task instance. + */ + TaskInstanceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask + */ + export interface ScheduledTask { + /** + / ID of the task + */ + TaskId?: string; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name?: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task type. + */ + Type?: string; + /** + / Task parameter. Different types of task have different parameter structure. See each task type's create API documentation for the details. + */ + Parameter?: any; + /** + / UTC time of last run + */ + LastRunTime?: string; + /** + / UTC time of next run + */ + NextRunTime?: string; + + } + + type ScheduledTaskType = "CloudScript" + | "ActionsOnPlayerSegment"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError + */ + export interface ScriptExecutionError { + /** + / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** + / Details about the error + */ + Message?: string; + /** + / Point during the execution of the script at which the error occurred, if any + */ + StackTrace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest + */ + export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / User email address attached to their account + */ + Email: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult + */ + export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest + */ + export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Version number + */ + Version: number; + /** + / Revision to make the current published revision + */ + Revision: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult + */ + export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest + */ + export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult + */ + export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest + */ + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult + */ + export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest + */ + export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + */ + Name: string; + /** + / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + */ + Platform: string; + /** + / for APNS, this is the PlatformPrincipal (SSL Certificate) + */ + Key?: string; + /** + / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM + */ + Credential: string; + /** + / replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if notifications have already setup for this platform. + */ + OverwriteOldARN: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult + */ + export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Amazon Resource Name for the created notification topic. + */ + ARN?: string; + + } + + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner"; + + type StatisticAggregationMethod = "Last" + | "Min" + | "Max" + | "Sum"; + + type StatisticResetIntervalOption = "Never" + | "Hour" + | "Day" + | "Week" + | "Month"; + + type StatisticVersionArchivalStatus = "NotScheduled" + | "Scheduled" + | "Queued" + | "InProgress" + | "Complete"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem + */ + export interface StoreItem { + /** + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + */ + ItemId: string; + /** + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / Override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + */ + CustomData?: any; + /** + / Intended display position for this item. Note that 0 is the first position + */ + DisplayPosition?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel + */ + export interface StoreMarketingModel { + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; + /** + / Tagline for a store. + */ + Description?: string; + /** + / Custom data about a store. + */ + Metadata?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary + */ + export interface TaskInstanceBasicSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Type of the task. + */ + Type?: string; + + } + + type TaskInstanceStatus = "Succeeded" + | "Starting" + | "InProgress" + | "Failed" + | "Aborted" + | "Pending"; + + type TitleActivationStatus = "None" + | "ActivatedTitleKey" + | "PendingSteam" + | "ActivatedSteam" + | "RevokedSteam"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest + */ + export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The id of the ban to be updated. + */ + BanId: string; + /** + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + */ + Reason?: string; + /** + / The updated expiration date for the ban. Null for no change. + */ + Expires?: string; + /** + / The updated IP address for the ban. Null for no change. + */ + IPAddress?: string; + /** + / The updated MAC address for the ban. Null for no change. + */ + MACAddress?: string; + /** + / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. + */ + Permanent?: boolean; + /** + / The updated active state for the ban. Null for no change. + */ + Active?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest + */ + export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of bans to be updated. Maximum 100. + */ + Bans: UpdateBanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult + */ + export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were updated + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest + */ + export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being updated. If null, uses the default catalog. + */ + CatalogVersion?: string; + /** + / Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will always set it. + */ + SetAsDefaultCatalog?: boolean; + /** + / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult + */ + export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest + */ + export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of Cloud Script files to upload to create the new revision. Must have at least one file. + */ + Files: CloudScriptFile[]; + /** + / Immediately publish the new revision + */ + Publish: boolean; + /** + / PlayFab user ID of the developer initiating the request. + */ + DeveloperPlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult + */ + export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Cloud Script version updated + */ + Version: number; + /** + / New revision number created + */ + Revision: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest + */ + export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of the new interval boundary) + */ + VersionChangeInterval?: string; + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult + */ + export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { + /** + / updated statistic definition + */ + Statistic?: PlayerStatisticDefinition; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest + */ + export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the policy being updated. Only supported name is 'ApiPolicy' + */ + PolicyName: string; + /** + / The new statements to include in the policy. + */ + Statements: PermissionStatement[]; + /** + / Whether to overwrite or append to the existing policy. + */ + OverwritePolicy: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse + */ + export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the policy that was updated. + */ + PolicyName?: string; + /** + / The statements included in the new version of the policy. + */ + Statements?: PermissionStatement[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest + */ + export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / which catalog is being updated. If null, update the current default catalog version + */ + CatalogVersion?: string; + /** + / array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that table, while any others will be added to the available set) + */ + Tables?: RandomResultTable[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult + */ + export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest + */ + export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version of the store to update. If null, uses the default catalog. + */ + CatalogVersion?: string; + /** + / Unique identifier for the store which is to be updated + */ + StoreId: string; + /** + / Additional data about the store + */ + MarketingData?: StoreMarketingModel; + /** + / Array of store items - references to catalog items, with specific pricing - to be added + */ + Store?: StoreItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult + */ + export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest + */ + export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specify either the task ID or the name of the task to be updated. + */ + Identifier?: NameIdentifier; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / Description the task + */ + Description?: string; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; + /** + / Task type. + */ + Type: string; + /** + / Parameter object specific to the task type. See each task type's create API documentation for details. + */ + Parameter?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest + */ + export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult + */ + export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest + */ + export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest + */ + export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose title specific display name is to be changed + */ + PlayFabId: string; + /** + / new title display name for the user - must be between 3 and 25 characters + */ + DisplayName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult + */ + export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / current title display name for the user (this will be the original display name if the rename attempt failed) + */ + DisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo + */ + export interface UserAccountInfo { + /** + / Unique identifier for the user account + */ + PlayFabId?: string; + /** + / Timestamp indicating when the user account was created + */ + Created: string; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / Title-specific information for the user account + */ + TitleInfo?: UserTitleInfo; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; + /** + / User Facebook information, if a Facebook account has been linked + */ + FacebookInfo?: UserFacebookInfo; + /** + / User Steam information, if a Steam account has been linked + */ + SteamInfo?: UserSteamInfo; + /** + / User Gamecenter information, if a Gamecenter account has been linked + */ + GameCenterInfo?: UserGameCenterInfo; + /** + / User iOS device information, if an iOS device has been linked + */ + IosDeviceInfo?: UserIosDeviceInfo; + /** + / User Android device information, if an Android device has been linked + */ + AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** + / User Kongregate account information, if a Kongregate account has been linked + */ + KongregateInfo?: UserKongregateInfo; + /** + / User Twitch account information, if a Twitch account has been linked + */ + TwitchInfo?: UserTwitchInfo; + /** + / User PSN account information, if a PSN account has been linked + */ + PsnInfo?: UserPsnInfo; + /** + / User Google account information, if a Google account has been linked + */ + GoogleInfo?: UserGoogleInfo; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; + /** + / Custom ID information, if a custom ID has been assigned + */ + CustomIdInfo?: UserCustomIdInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo + */ + export interface UserAndroidDeviceInfo { + /** + / Android device ID + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCredentials + */ + export interface UserCredentials { + /** + / Username of user to reset + */ + Username: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo + */ + export interface UserCustomIdInfo { + /** + / Custom ID + */ + CustomId?: string; + + } + + type UserDataPermission = "Private" + | "Public"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord + */ + export interface UserDataRecord { + /** + / Data stored for the specified user data key. + */ + Value?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo + */ + export interface UserFacebookInfo { + /** + / Facebook identifier + */ + FacebookId?: string; + /** + / Facebook full name + */ + FullName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo + */ + export interface UserGameCenterInfo { + /** + / Gamecenter identifier + */ + GameCenterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo + */ + export interface UserGoogleInfo { + /** + / Google ID + */ + GoogleId?: string; + /** + / Email address of the Google account + */ + GoogleEmail?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; + /** + / Gender information of the Google account + */ + GoogleGender?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo + */ + export interface UserIosDeviceInfo { + /** + / iOS device ID + */ + IosDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo + */ + export interface UserKongregateInfo { + /** + / Kongregate ID + */ + KongregateId?: string; + /** + / Kongregate Username + */ + KongregateName?: string; + + } + + type UserOrigination = "Organic" + | "Steam" + | "Google" + | "Amazon" + | "Facebook" + | "Kongregate" + | "GamersFirst" + | "Unknown" + | "IOS" + | "LoadTest" + | "Android" + | "PSN" + | "GameCenter" + | "CustomId" + | "XboxLive" + | "Parse" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo + */ + export interface UserPrivateAccountInfo { + /** + / user email address + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo + */ + export interface UserPsnInfo { + /** + / PSN account ID + */ + PsnAccountId?: string; + /** + / PSN online ID + */ + PsnOnlineId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo + */ + export interface UserSteamInfo { + /** + / Steam identifier + */ + SteamId?: string; + /** + / the country in which the player resides, from Steam data + */ + SteamCountry?: string; + /** + / currency type set in the user Steam account + */ + SteamCurrency?: string; + /** + / what stage of game ownership the user is listed as being in, from Steam + */ + SteamActivationStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo + */ + export interface UserTitleInfo { + /** + / name of the user, as it is displayed in-game + */ + DisplayName?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; + /** + / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + */ + Created: string; + /** + / timestamp for the last user login for this title + */ + LastLogin?: string; + /** + / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + */ + FirstLogin?: string; + /** + / boolean indicating whether or not the user is currently banned for a title + */ + isBanned?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo + */ + export interface UserTwitchInfo { + /** + / Twitch ID + */ + TwitchId?: string; + /** + / Twitch Username + */ + TwitchUserName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo + */ + export interface UserXboxInfo { + /** + / XBox user ID + */ + XboxUserId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData + */ + export interface VirtualCurrencyData { + /** + / unique two-character identifier for this currency type (e.g.: "CC") + */ + CurrencyCode: string; + /** + / friendly name to show in the developer portal, reports, etc. + */ + DisplayName?: string; + /** + / amount to automatically grant users upon first login to the title + */ + InitialDeposit?: number; + /** + / rate at which the currency automatically be added to over time, in units per day (24 hours) + */ + RechargeRate?: number; + /** + / maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) + */ + RechargeMax?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts new file mode 100644 index 00000000..92975762 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -0,0 +1,5464 @@ +declare module PlayFabClientModule { + export interface IPlayFabClient { + IsClientLoggedIn(): boolean; + + /** + / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken + */ + GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID + */ + LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + */ + LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress + */ + LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook + */ + LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + */ + LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Google account access token(https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods), returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + */ + LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + */ + LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Kongregate player account. + / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + */ + LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email accounts must be created using the RegisterPlayFabUser API or added to existing accounts using AddUsernamePassword. + / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + */ + LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithSteam + */ + LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Signs the user in using a Twitch access token. + / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + */ + LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. + / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + */ + RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. + / https://api.playfab.com/Documentation/Client/method/AddGenericID + */ + AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. + / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + */ + AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the user's PlayFab account details + / https://api.playfab.com/Documentation/Client/method/GetAccountInfo + */ + GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves all of the user's different kinds of info. + / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + */ + GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + */ + GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + */ + GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + */ + GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + */ + GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + */ + GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + */ + GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + */ + GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Android device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + */ + LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the custom identifier, generated by the title, to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkCustomID + */ + LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + */ + LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + */ + LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the currently signed-in user account to the Google account specified by the Google account access token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + */ + LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the vendor-specific iOS device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + */ + LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Kongregate identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkKongregate + */ + LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + */ + LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Links the Twitch account associated with the token to the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/LinkTwitch + */ + LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes the specified generic service identifier from the player's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/RemoveGenericID + */ + RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Client/method/ReportPlayer + */ + ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + */ + SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Android device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + */ + UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related custom identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + */ + UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Facebook account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + */ + UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Game Center account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + */ + UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + */ + UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related iOS device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + */ + UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Kongregate identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + */ + UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Steam account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + */ + UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlinks the related Twitch account from the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + */ + UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title specific display name for the user + / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + */ + UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + */ + GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + */ + GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetLeaderboard + */ + GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + */ + GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + */ + GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetUserData + */ + GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetUserPublisherData + */ + GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData + */ + GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData + */ + GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + */ + UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserData + */ + UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + */ + UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Client/method/GetCatalogItems + */ + GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Client/method/GetPublisherData + */ + GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Client/method/GetStoreItems + */ + GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current server time + / https://api.playfab.com/Documentation/Client/method/GetTime + */ + GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings + / https://api.playfab.com/Documentation/Client/method/GetTitleData + */ + GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title news feed, as configured in the developer portal + / https://api.playfab.com/Documentation/Client/method/GetTitleNews + */ + GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate + / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + */ + ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Client/method/ConsumeItem + */ + ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + */ + GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a completed purchase along with its current PlayFab status. + / https://api.playfab.com/Documentation/Client/method/GetPurchase + */ + GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetUserInventory + */ + GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Selects a payment option for purchase order created via StartPurchase + / https://api.playfab.com/Documentation/Client/method/PayForPurchase + */ + PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. + / https://api.playfab.com/Documentation/Client/method/PurchaseItem + */ + PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Client/method/RedeemCoupon + */ + RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates an order for a list of items from the title catalog + / https://api.playfab.com/Documentation/Client/method/StartPurchase + */ + StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + */ + SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + */ + UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + */ + UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Client/method/AddFriend + */ + AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Client/method/GetFriendsList + */ + GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes a specified user from the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/RemoveFriend + */ + RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the tag list for a specified user in the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/SetFriendTags + */ + SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the iOS device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + */ + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Restores all in-app purchases based on the given refresh receipt. + / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + */ + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + */ + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get details about all current running game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetCurrentGames + */ + GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get details about the regions hosting game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + */ + GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. Note that EnableQueue is deprecated at this time. + / https://api.playfab.com/Documentation/Client/method/Matchmake + */ + Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Start a new game server with a given configuration, add the current player and return the connection information. + / https://api.playfab.com/Documentation/Client/method/StartGame + */ + StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the Android device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + */ + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates a Google Play purchase and gives the corresponding item to the player. + / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + */ + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + */ + WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + */ + WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + */ + WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + */ + AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + */ + CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + */ + GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + */ + RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + */ + UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + */ + ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + */ + GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + */ + GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + */ + GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details of all title-specific statistics for the user + / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + */ + GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + */ + GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + */ + GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + */ + GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + */ + UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterData + */ + GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the character which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + */ + GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + */ + UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + */ + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Accepts an open trade. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. + / https://api.playfab.com/Documentation/Client/method/AcceptTrade + */ + AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Cancels an open trade. + / https://api.playfab.com/Documentation/Client/method/CancelTrade + */ + CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets all trades the player has either opened or accepted, optionally filtered by trade status. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + */ + GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets the current status of an existing trade. + / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + */ + GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Opens a new outstanding trade. + / https://api.playfab.com/Documentation/Client/method/OpenTrade + */ + OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Attributes an install for advertisment. + / https://api.playfab.com/Documentation/Client/method/AttributeInstall + */ + AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + */ + GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabClientModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest + */ + export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player who opened the trade. + */ + OfferingPlayerId: string; + /** + / Trade identifier. + */ + TradeId: string; + /** + / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. + */ + AcceptedInventoryInstanceIds?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse + */ + export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Details about trade which was just accepted. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest + */ + export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the user to attempt to add to the local user's friend list. + */ + FriendPlayFabId?: string; + /** + / PlayFab username of the user to attempt to add to the local user's friend list. + */ + FriendUsername?: string; + /** + / Email address of the user to attempt to add to the local user's friend list. + */ + FriendEmail?: string; + /** + / Title-specific display name of the user to attempt to add to the local user's friend list. + */ + FriendTitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult + */ + export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { + /** + / True if the friend request was processed successfully. + */ + Created: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest + */ + export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generic service identifier to add to the player account. + */ + GenericId: GenericServiceId; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult + */ + export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest + */ + export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult + */ + export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest + */ + export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab username for the account (3-20 characters) + */ + Username: string; + /** + / User email address attached to their account + */ + Email: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult + */ + export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique user name. + */ + Username?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest + */ + export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the user balance of the specified virtual currency. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest + */ + export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). + */ + DeviceToken: string; + /** + / If true, send a test push message immediately after sucessful registration. Defaults to false. + */ + SendPushNotificationConfirmation?: boolean; + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult + */ + export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest + */ + export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The IdentifierForAdvertisers for iOS Devices. + */ + Idfa?: string; + /** + / The android advertising id. This field is deprecated in favor of Adid for clarity. + */ + Android_Id?: string; + /** + / The adid for this device. + */ + Adid?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult + */ + export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest + */ + export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Trade identifier. + */ + TradeId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse + */ + export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Details about trade which was just canceled. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem + */ + export interface CartItem { + /** + / Unique identifier for the catalog item. + */ + ItemId?: string; + /** + / Class name to which catalog item belongs. + */ + ItemClass?: string; + /** + / Unique instance identifier for this catalog item. + */ + ItemInstanceId?: string; + /** + / Display name for the catalog item. + */ + DisplayName?: string; + /** + / Description of the catalog item. + */ + Description?: string; + /** + / Cost of the catalog item for each applicable virtual currency. + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / Cost of the catalog item for each applicable real world currency. + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. + */ + VCAmount?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem + */ + export interface CatalogItem { + /** + / unique identifier for this item + */ + ItemId: string; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / catalog version for this item + */ + CatalogVersion?: string; + /** + / text name for the item, to show in-game + */ + DisplayName?: string; + /** + / text description of item, to show in-game + */ + Description?: string; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / list of item tags + */ + Tags?: string[]; + /** + / game specific custom data + */ + CustomData?: string; + /** + / defines the consumable properties (number of uses, timeout) for the item + */ + Consumable?: CatalogItemConsumableInfo; + /** + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + */ + Container?: CatalogItemContainerInfo; + /** + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + */ + Bundle?: CatalogItemBundleInfo; + /** + / if true, then an item instance of this type can be used to grant a character to a user. + */ + CanBecomeCharacter: boolean; + /** + / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + */ + IsStackable: boolean; + /** + / if true, then an item instance of this type can be traded between players using the trading APIs + */ + IsTradable: boolean; + /** + / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + */ + ItemImageUrl?: string; + /** + / BETA: If true, then only a fixed number can ever be granted. + */ + IsLimitedEdition: boolean; + /** + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + */ + InitialLimitedEditionCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo + */ + export interface CatalogItemBundleInfo { + /** + / unique ItemId values for all items which will be added to the player inventory when the bundle is added + */ + BundledItems?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + */ + BundledResultTables?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the bundle is added + */ + BundledVirtualCurrencies?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo + */ + export interface CatalogItemConsumableInfo { + /** + / number of times this object can be used, after which it will be removed from the player inventory + */ + UsageCount?: number; + /** + / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + */ + UsagePeriod?: number; + /** + / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + */ + UsagePeriodGroup?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo + */ + export interface CatalogItemContainerInfo { + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; + /** + / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked + */ + ItemContents?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + */ + ResultTableContents?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the container is unlocked + */ + VirtualCurrencyContents?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory + */ + export interface CharacterInventory { + /** + / The id of this character. + */ + CharacterId?: string; + /** + / The inventory of this character. + */ + Inventory?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry + */ + export interface CharacterLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. + */ + CharacterId?: string; + /** + / Title-specific display name of the character for this leaderboard entry. + */ + CharacterName?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Name of the character class for this entry. + */ + CharacterType?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult + */ + export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The id for this character on this player. + */ + CharacterId?: string; + /** + / The name of this character. + */ + CharacterName?: string; + /** + / The type-string that was given to this character on creation. + */ + CharacterType?: string; + + } + + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter + */ + export interface CollectionFilter { + /** + / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule + */ + Includes?: Container_Dictionary_String_String[]; + /** + / List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. + */ + Excludes?: Container_Dictionary_String_String[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest + */ + export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Purchase order identifier returned from StartPurchase. + */ + OrderId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult + */ + export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Date and time of the purchase. + */ + PurchaseDate: string; + /** + / Array of items purchased. + */ + Items?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest + */ + export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique instance identifier of the item to be consumed. + */ + ItemInstanceId: string; + /** + / Number of uses to consume from the item. + */ + ConsumeCount: number; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult + */ + export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the item with uses consumed. + */ + ItemInstanceId?: string; + /** + / Number of uses remaining on the item. + */ + RemainingUses: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String + */ + export interface Container_Dictionary_String_String { + /** + / Content of data + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest + */ + export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). + */ + SharedGroupId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult + */ + export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId?: string; + + } + + type Currency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest + */ + export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Region to check for Game Server Instances. + */ + Region?: string; + /** + / Build to match against. + */ + BuildVersion?: string; + /** + / Game mode to look for. + */ + GameMode?: string; + /** + / Statistic name to find statistic-based matches. + */ + StatisticName?: string; + /** + / Filter to include and/or exclude Game Server Instances associated with certain tags. + */ + TagFilter?: CollectionFilter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult + */ + export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of games found + */ + Games?: GameInfo[]; + /** + / total number of players across all servers + */ + PlayerCount: number; + /** + / number of games running + */ + GameCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult + */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest + */ + export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the CloudScript function to execute + */ + FunctionName: string; + /** + / Object that is passed in to the function as the first argument + */ + FunctionParameter?: any; + /** + / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** + / The specivic revision to execute, when RevisionSelection is set to 'Specific' + */ + SpecificRevision?: number; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult + */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the function that executed + */ + FunctionName?: string; + /** + / The revision of the CloudScript that executed + */ + Revision: number; + /** + / The object returned from the CloudScript function, if any + */ + FunctionResult?: any; + /** + / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + ExecutionTimeSeconds: number; + /** + / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + */ + ProcessorTimeSeconds: number; + MemoryConsumedBytes: number; + /** + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; + /** + / Information about the error, if any, that occured during execution + */ + Error?: ScriptExecutionError; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair + */ + export interface FacebookPlayFabIdPair { + /** + / Unique Facebook identifier for a user. + */ + FacebookId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo + */ + export interface FriendInfo { + /** + / PlayFab unique identifier for this friend. + */ + FriendPlayFabId?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Unique lobby identifier of the Game Server Instance to which this player is currently connected. + */ + CurrentMatchmakerLobbyId?: string; + /** + / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). + */ + FacebookInfo?: UserFacebookInfo; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). + */ + GameCenterInfo?: UserGameCenterInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair + */ + export interface GameCenterPlayFabIdPair { + /** + / Unique Game Center identifier for a user. + */ + GameCenterId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Game Center identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo + */ + export interface GameInfo { + /** + / region to which this server is associated + */ + Region?: string; + /** + / unique lobby identifier for this game server + */ + LobbyID?: string; + /** + / build version this server is running + */ + BuildVersion?: string; + /** + / game mode this server is running + */ + GameMode?: string; + /** + / stastic used to match this game in player statistic matchmaking + */ + StatisticName?: string; + /** + / maximum players this server can support + */ + MaxPlayers?: number; + /** + / array of current player IDs on this server + */ + PlayerUserIds?: string[]; + /** + / duration in seconds this server has been running + */ + RunTime: number; + /** + / game specific string denoting server configuration + */ + GameServerState?: string; + /** + / game session custom data + */ + GameServerData?: string; + /** + / game session tags + */ + Tags?: { [key: string]: string }; + /** + / last heartbeat of the game server instance, used in external game server provider mode + */ + LastHeartbeat?: string; + /** + / IP address of the server + */ + ServerHostname?: string; + /** + / port number to use for non-http communications with the server + */ + ServerPort?: number; + + } + + type GameInstanceState = "Open" + | "Closed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest + */ + export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / version of game server for which stats are being requested + */ + BuildVersion: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult + */ + export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of regions found matching the request parameters + */ + Regions?: RegionInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair + */ + export interface GenericPlayFabIdPair { + /** + / Unique generic service identifier for a user. + */ + GenericId?: GenericServiceId; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId + */ + export interface GenericServiceId { + /** + / Name of the service for which the player has a unique identifier. + */ + ServiceName: string; + /** + / Unique identifier of the player in that service. + */ + UserId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest + */ + export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. + */ + PlayFabId?: string; + /** + / PlayFab Username for the account to find (if no PlayFabId is specified). + */ + Username?: string; + /** + / User email address for the account to find (if no Username is specified). + */ + Email?: string; + /** + / Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. + */ + TitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult + */ + export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Account information for the local user. + */ + AccountInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest + */ + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being requested. If null, uses the default catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult + */ + export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest + */ + export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. + */ + PlayFabId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult + */ + export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest + */ + export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Used to limit results to only those from a specific catalog version. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult + */ + export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier of the character for this inventory. + */ + CharacterId?: string; + /** + / Array of inventory items belonging to the character. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the character. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest + */ + export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult + */ + export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest + */ + export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult + */ + export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The requested character statistics. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest + */ + export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; + /** + / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. + */ + HttpMethod?: string; + /** + / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + */ + ThruCDN?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult + */ + export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { + /** + / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest + */ + export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistic used to rank players for this leaderboard. + */ + StatisticName: string; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + /** + / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. + */ + PlayFabId?: string; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult + */ + export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered listing of users and their positions in the requested leaderboard. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest + */ + export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistic used to rank friends for this leaderboard. + */ + StatisticName: string; + /** + / Position in the leaderboard to start this listing (defaults to the first entry). + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest + */ + export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult + */ + export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of friends found. + */ + Friends?: FriendInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest + */ + export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID for a specific character on which to center the leaderboard. + */ + CharacterId: string; + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult + */ + export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest + */ + export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. + */ + PlayFabId?: string; + /** + / Statistic used to rank players for this leaderboard. + */ + StatisticName: string; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult + */ + export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered listing of users and their positions in the requested leaderboard. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest + */ + export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult + */ + export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest + */ + export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistic used to rank players for this leaderboard. + */ + StatisticName: string; + /** + / Position in the leaderboard to start this listing (defaults to the first entry). + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult + */ + export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered listing of users and their positions in the requested leaderboard. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest + */ + export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The Photon applicationId for the game you wish to log into. + */ + PhotonApplicationId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult + */ + export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The Photon authentication token for this game-session. + */ + PhotonCustomAuthenticationToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest + */ + export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. + */ + PlayFabId?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams + */ + export interface GetPlayerCombinedInfoRequestParams { + /** + / Whether to get the player's account Info. Defaults to false + */ + GetUserAccountInfo: boolean; + /** + / Whether to get the player's inventory. Defaults to false + */ + GetUserInventory: boolean; + /** + / Whether to get the player's virtual currency balances. Defaults to false + */ + GetUserVirtualCurrency: boolean; + /** + / Whether to get the player's custom data. Defaults to false + */ + GetUserData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + */ + UserDataKeys?: string[]; + /** + / Whether to get the player's read only data. Defaults to false + */ + GetUserReadOnlyData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + */ + UserReadOnlyDataKeys?: string[]; + /** + / Whether to get character inventories. Defaults to false. + */ + GetCharacterInventories: boolean; + /** + / Whether to get the list of characters. Defaults to false. + */ + GetCharacterList: boolean; + /** + / Whether to get title data. Defaults to false. + */ + GetTitleData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + */ + TitleDataKeys?: string[]; + /** + / Whether to get player statistics. Defaults to false. + */ + GetPlayerStatistics: boolean; + /** + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + */ + PlayerStatisticNames?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult + */ + export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Results for requested info. + */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload + */ + export interface GetPlayerCombinedInfoResultPayload { + /** + / Account information for the user. This is always retrieved. + */ + AccountInfo?: UserAccountInfo; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; + /** + / Dictionary of virtual currency balance(s) belonging to the user. + */ + UserVirtualCurrency?: { [key: string]: number }; + /** + / Dictionary of remaining times and timestamps for virtual currencies. + */ + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + /** + / User specific custom data. + */ + UserData?: { [key: string]: UserDataRecord }; + /** + / The version of the UserData that was returned. + */ + UserDataVersion: number; + /** + / User specific read-only data. + */ + UserReadOnlyData?: { [key: string]: UserDataRecord }; + /** + / The version of the Read-Only UserData that was returned. + */ + UserReadOnlyDataVersion: number; + /** + / List of characters for the user. + */ + CharacterList?: CharacterResult[]; + /** + / Inventories for each character for the user. + */ + CharacterInventories?: CharacterInventory[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest + */ + export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult + */ + export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments the requested player currently belongs to. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest + */ + export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / statistics to return (current version will be returned for each) + */ + StatisticNames?: string[]; + /** + / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + */ + StatisticNameVersions?: StatisticNameVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult + */ + export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User statistics for the requested user. + */ + Statistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest + */ + export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult + */ + export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersions?: PlayerStatisticVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest + */ + export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Optional namespace to filter results by + */ + Namespace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult + */ + export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Canonical tags (including namespace and tag's name) for the requested user + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest + */ + export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Returns only trades with the given status. If null, returns all trades. + */ + StatusFilter?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse + */ + export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The trades for this player which are currently available to be accepted. + */ + OpenedTrades?: TradeInfo[]; + /** + / History of trades which this player has accepted. + */ + AcceptedTrades?: TradeInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest + */ + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. + */ + FacebookIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult + */ + export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Facebook identifiers to PlayFab identifiers. + */ + Data?: FacebookPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest + */ + export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. + */ + GameCenterIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult + */ + export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Game Center identifiers to PlayFab identifiers. + */ + Data?: GameCenterPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest + */ + export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a maximum of 10 in a single request. + */ + GenericIDs: GenericServiceId[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult + */ + export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of generic service identifiers to PlayFab identifiers. + */ + Data?: GenericPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest + */ + export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. + */ + GoogleIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult + */ + export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Google identifiers to PlayFab identifiers. + */ + Data?: GooglePlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest + */ + export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. + */ + KongregateIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult + */ + export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Kongregate identifiers to PlayFab identifiers. + */ + Data?: KongregatePlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest + */ + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. + */ + SteamStringIDs?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult + */ + export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Steam identifiers to PlayFab identifiers. + */ + Data?: SteamPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest + */ + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. + */ + TwitchIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult + */ + export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Twitch identifiers to PlayFab identifiers. + */ + Data?: TwitchPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest + */ + export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / array of keys to get back data from the Publisher data blob, set by the admin tools + */ + Keys: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult + */ + export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest + */ + export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Purchase order identifier. + */ + OrderId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult + */ + export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Payment provider used for transaction (If not VC) + */ + PaymentProvider?: string; + /** + / Provider transaction ID (If not VC) + */ + TransactionId?: string; + /** + / PlayFab transaction status + */ + TransactionStatus?: string; + /** + / Date and time of the purchase. + */ + PurchaseDate: string; + /** + / Array of items purchased. + */ + Items?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult + */ + export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for this segment. + */ + Id: string; + /** + / Segment name. + */ + Name?: string; + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest + */ + export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + */ + Keys?: string[]; + /** + / If true, return the list of all members of the shared group. + */ + GetMembers?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult + */ + export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Data for the requested keys. + */ + Data?: { [key: string]: SharedGroupDataRecord }; + /** + / List of PlayFabId identifiers for the members of this group, if requested. + */ + Members?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest + */ + export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / catalog version to store items from. Use default catalog version if null + */ + CatalogVersion?: string; + /** + / Unqiue identifier for the store which is being requested. + */ + StoreId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult + */ + export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased from this store. + */ + Store?: StoreItem[]; + /** + / How the store was last updated (Admin or a third party). + */ + Source?: string; + /** + / The base catalog that this store is a part of. + */ + CatalogVersion?: string; + /** + / The ID of this store. + */ + StoreId?: string; + /** + / Additional data about the store. + */ + MarketingData?: StoreMarketingModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest + */ + export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult + */ + export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Current server time when the request was received, in UTC + */ + Time: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest + */ + export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the title data (leave null to get all keys) + */ + Keys?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult + */ + export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest + */ + export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Limits the results to the last n entries. Defaults to 10 if not set. + */ + Count?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult + */ + export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of news items. + */ + News?: TitleNewsItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest + */ + export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player who opened trade. + */ + OfferingPlayerId: string; + /** + / Trade identifier as returned by OpenTradeOffer. + */ + TradeId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse + */ + export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Information about the requested trade. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest + */ + export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the custom data. Leave null to get all keys. + */ + Keys?: string[]; + /** + / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a PlayFab id of another player, then this will only return public keys for that account. + */ + PlayFabId?: string; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult + */ + export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest + */ + export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult + */ + export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of inventory items belonging to the user. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair + */ + export interface GooglePlayFabIdPair { + /** + / Unique Google identifier for a user. + */ + GoogleId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest + */ + export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. + */ + ItemId: string; + /** + / Non-unique display name of the character being granted. + */ + CharacterName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult + */ + export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier tagged to this character. + */ + CharacterId?: string; + /** + / Type of character that was created. + */ + CharacterType?: string; + /** + / Indicates whether this character was created successfully. + */ + Result: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest + */ + export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique ItemId of the item to purchase. + */ + ItemId: string; + /** + / How many of this item to purchase. + */ + Quantity: number; + /** + / Title-specific text concerning this purchase. + */ + Annotation?: string; + /** + / Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). + */ + UpgradeFromItems?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair + */ + export interface KongregatePlayFabIdPair { + /** + / Unique Kongregate identifier for a user. + */ + KongregateId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Kongregate identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest + */ + export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Android device identifier for the user's device. + */ + AndroidDeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + AndroidDevice?: string; + /** + / If another user is already linked to the device, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult + */ + export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest + */ + export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom unique identifier for the user, generated by the title. + */ + CustomId: string; + /** + / If another user is already linked to the custom ID, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult + */ + export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest + */ + export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier from Facebook for the user. + */ + AccessToken: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult + */ + export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest + */ + export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Game Center identifier for the player account to be linked. + */ + GameCenterId: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult + */ + export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest + */ + export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + */ + AccessToken: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult + */ + export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest + */ + export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Vendor-specific iOS identifier for the user's device. + */ + DeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + DeviceModel?: string; + /** + / If another user is already linked to the device, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult + */ + export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest + */ + export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Numeric user ID assigned by Kongregate + */ + KongregateId: string; + /** + / Valid session auth ticket issued by Kongregate + */ + AuthTicket: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult + */ + export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest + */ + export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult + */ + export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest + */ + export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Valid token issued by Twitch + */ + AccessToken: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult + */ + export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest + */ + export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult + */ + export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The requested list of characters. + */ + Characters?: CharacterResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult + */ + export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique token authorizing the user and game at the server level, for the current session. + */ + SessionTicket?: string; + /** + / Player's unique PlayFabId. + */ + PlayFabId?: string; + /** + / True if the account was newly created on this login. + */ + NewlyCreated: boolean; + /** + / Settings specific to this user. + */ + SettingsForUser?: UserSettings; + /** + / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue + */ + LastLoginTime?: string; + /** + / Results for requested info. + */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest + */ + export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Android device identifier for the user's device. + */ + AndroidDeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + AndroidDevice?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Android device. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest + */ + export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Custom unique identifier for the user, generated by the title. + */ + CustomId: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Custom ID. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest + */ + export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Email address for the account. + */ + Email: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest + */ + export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Unique identifier from Facebook for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Facebook account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest + */ + export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Unique Game Center player id. + */ + PlayerId: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Game Center id. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest + */ + export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Google account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest + */ + export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Vendor-specific iOS identifier for the user's device. + */ + DeviceId: string; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; + /** + / Specific model of the user's device. + */ + DeviceModel?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / Automatically create a PlayFab account if one is not currently linked to this iOS device. + */ + CreateAccount?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest + */ + export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Numeric user ID assigned by Kongregate + */ + KongregateId: string; + /** + / Token issued by Kongregate's client API for the user. + */ + AuthTicket: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Kongregate account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest + */ + export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / PlayFab username for the account. + */ + Username: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest + */ + export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Steam account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest + */ + export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Token issued by Twitch's API for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this Twitch account. + */ + CreateAccount?: boolean; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement + */ + export interface LogStatement { + /** + / 'Debug', 'Info', or 'Error' + */ + Level?: string; + Message?: string; + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest + */ + export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Build version to match against. [Note: Required if LobbyId is not specified] + */ + BuildVersion?: string; + /** + / Region to match make against. [Note: Required if LobbyId is not specified] + */ + Region?: string; + /** + / Game mode to match make against. [Note: Required if LobbyId is not specified] + */ + GameMode?: string; + /** + / Lobby identifier to match make against. This is used to select a specific Game Server Instance. + */ + LobbyId?: string; + /** + / Player statistic to use in finding a match. May be null for no stat-based matching. + */ + StatisticName?: string; + /** + / Character to use for stats based matching. Leave null to use account stats. + */ + CharacterId?: string; + /** + / Start a game session if one with an open slot is not found. Defaults to true. + */ + StartNewIfNoneFound?: boolean; + /** + / Filter to include and/or exclude Game Server Instances associated with certain Tags + */ + TagFilter?: CollectionFilter; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult + */ + export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique lobby identifier of the server matched + */ + LobbyID?: string; + /** + / IP address of the server + */ + ServerHostname?: string; + /** + / port number to use for non-http communications with the server + */ + ServerPort?: number; + /** + / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) + */ + Ticket?: string; + /** + / timestamp for when the server will expire, if applicable + */ + Expires?: string; + /** + / time in milliseconds the application is configured to wait on matchmaking results + */ + PollWaitTimeMS?: number; + /** + / result of match making process + */ + Status?: string; + + } + + type MatchmakeStatus = "Complete" + | "Waiting" + | "GameNotFound" + | "NoAvailableSlots" + | "SessionClosed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest + */ + export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player inventory items offered for trade. If not set, the trade is effectively a gift request + */ + OfferedInventoryInstanceIds?: string[]; + /** + / Catalog items accepted for the trade. If not set, the trade is effectively a gift. + */ + RequestedCatalogItemIds?: string[]; + /** + / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. + */ + AllowedPlayerIds?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse + */ + export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The information about the trade that was just opened. + */ + Trade?: TradeInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest + */ + export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Purchase order identifier returned from StartPurchase. + */ + OrderId: string; + /** + / Payment provider to use to fund the purchase. + */ + ProviderName: string; + /** + / Currency to use to fund the purchase. + */ + Currency: string; + /** + / Payment provider transaction identifier. Required for Facebook Payments. + */ + ProviderTransactionId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult + */ + export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Status of the transaction. + */ + Status?: string; + /** + / Virtual currency cost of the transaction. + */ + VCAmount?: { [key: string]: number }; + /** + / Real world currency for the transaction. + */ + PurchaseCurrency?: string; + /** + / Real world cost of the transaction. + */ + PurchasePrice: number; + /** + / Local credit applied to the transaction (provider specific). + */ + CreditApplied: number; + /** + / Provider used for the transaction. + */ + ProviderData?: string; + /** + / URL to the purchase provider page that details the purchase. + */ + PurchaseConfirmationPageURL?: string; + /** + / Current virtual currency totals for the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / A token generated by the provider to authenticate the request (provider-specific). + */ + ProviderToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption + */ + export interface PaymentOption { + /** + / Specific currency to use to fund the purchase. + */ + Currency?: string; + /** + / Name of the purchase provider for this option. + */ + ProviderName?: string; + /** + / Amount of the specified currency needed for the purchase. + */ + Price: number; + /** + / Amount of existing credit the user has with the provider. + */ + StoreCredit: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry + */ + export interface PlayerLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion + */ + export interface PlayerStatisticVersion { + /** + / name of the statistic when the version became active + */ + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; + /** + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + */ + ScheduledActivationTime?: string; + /** + / time when the statistic version became active + */ + ActivationTime: string; + /** + / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval + */ + ScheduledDeactivationTime?: string; + /** + / time when the statistic version became inactive due to statistic version incrementing + */ + DeactivationTime?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest + */ + export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the item to purchase. + */ + ItemId: string; + /** + / Virtual currency to use to purchase the item. + */ + VirtualCurrency: string; + /** + / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). + */ + Price: number; + /** + / Catalog version for the items to be purchased (defaults to most recent version. + */ + CatalogVersion?: string; + /** + / Store to buy this item through. If not set, prices default to those in the catalog. + */ + StoreId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult + */ + export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Details for the items purchased. + */ + Items?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest + */ + export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generated coupon code to redeem. + */ + CouponCode: string; + /** + / Catalog version of the coupon. If null, uses the default catalog + */ + CatalogVersion?: string; + /** + / Optional identifier for the Character that should receive the item. If null, item is added to the player + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult + */ + export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of redeeming the coupon. + */ + GrantedItems?: ItemInstance[]; + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo + */ + export interface RegionInfo { + /** + / unique identifier for the region + */ + Region?: string; + /** + / name of the region + */ + Name?: string; + /** + / indicates whether the server specified is available in this region + */ + Available: boolean; + /** + / url to ping to get roundtrip time + */ + PingUrl?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest + */ + export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. + */ + DeviceToken: string; + /** + / If true, send a test push message immediately after sucessful registration. Defaults to false. + */ + SendPushNotificationConfirmation?: boolean; + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult + */ + export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest + */ + export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / PlayFab username for the account (3-20 characters) + */ + Username?: string; + /** + / User email address attached to their account + */ + Email?: string; + /** + / Password for the PlayFab account (6-100 characters) + */ + Password: string; + /** + / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. + */ + RequireBothUsernameAndEmail?: boolean; + /** + / An optional parameter for setting the display name for this title. + */ + DisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult + */ + export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier for this newly created account. + */ + PlayFabId?: string; + /** + / Unique token identifying the user and game at the server level, for the current session. + */ + SessionTicket?: string; + /** + / PlayFab unique user name. + */ + Username?: string; + /** + / Settings specific to this user. + */ + SettingsForUser?: UserSettings; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest + */ + export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the friend account which is to be removed. + */ + FriendPlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult + */ + export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest + */ + export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generic service identifier to be removed from the player. + */ + GenericId: GenericServiceId; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult + */ + export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest + */ + export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult + */ + export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest + */ + export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab identifier of the reported player. + */ + ReporteeId: string; + /** + / Optional additional comment by reporting player. + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult + */ + export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates whether this action completed successfully. + */ + Updated: boolean; + /** + / The number of remaining reports which may be filed today. + */ + SubmissionsRemaining: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest + */ + export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. + */ + ReceiptData: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult + */ + export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError + */ + export interface ScriptExecutionError { + /** + / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** + / Details about the error + */ + Message?: string; + /** + / Point during the execution of the script at which the error occurred, if any + */ + StackTrace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest + */ + export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / User email address attached to their account + */ + Email: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult + */ + export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest + */ + export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the friend account to which the tag(s) should be applied. + */ + FriendPlayFabId: string; + /** + / Array of tags to set on the friend account. + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult + */ + export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord + */ + export interface SharedGroupDataRecord { + /** + / Data stored for the specified group data key. + */ + Value?: string; + /** + / Unique PlayFab identifier of the user to last update this value. + */ + LastUpdatedBy?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only members of the group (private). + */ + Permission?: string; + + } + + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest + */ + export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / version information for the build of the game server which is to be started + */ + BuildVersion: string; + /** + / the region to associate this server with for match filtering + */ + Region: string; + /** + / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) + */ + GameMode: string; + /** + / player statistic for others to use in finding this game. May be null for no stat-based matching + */ + StatisticName?: string; + /** + / character to use for stats based matching. Leave null to use account stats + */ + CharacterId?: string; + /** + / custom command line argument when starting game server process + */ + CustomCommandLineData?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult + */ + export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / unique identifier for the lobby of the server started + */ + LobbyID?: string; + /** + / server IP address + */ + ServerHostname?: string; + /** + / port on the server to be used for communication + */ + ServerPort?: number; + /** + / unique identifier for the server + */ + Ticket?: string; + /** + / timestamp for when the server should expire, if applicable + */ + Expires?: string; + /** + / password required to log into the server + */ + Password?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest + */ + export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version for the items to be purchased. Defaults to most recent catalog. + */ + CatalogVersion?: string; + /** + / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. + */ + StoreId?: string; + /** + / Array of items to purchase. + */ + Items: ItemPurchaseRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult + */ + export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Purchase order identifier. + */ + OrderId?: string; + /** + / Cart items to be purchased. + */ + Contents?: CartItem[]; + /** + / Available methods by which the user can pay. + */ + PaymentOptions?: PaymentOption[]; + /** + / Current virtual currency totals for the user. + */ + VirtualCurrencyBalances?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion + */ + export interface StatisticNameVersion { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / the version of the statistic to be returned + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate + */ + export interface StatisticUpdate { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; + /** + / statistic value for the player + */ + Value: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue + */ + export interface StatisticValue { + /** + / unique name of the statistic + */ + StatisticName?: string; + /** + / statistic value for the player + */ + Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair + */ + export interface SteamPlayFabIdPair { + /** + / Unique Steam identifier for a user. + */ + SteamStringId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem + */ + export interface StoreItem { + /** + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + */ + ItemId: string; + /** + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / Override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + */ + CustomData?: any; + /** + / Intended display position for this item. Note that 0 is the first position + */ + DisplayPosition?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel + */ + export interface StoreMarketingModel { + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; + /** + / Tagline for a store. + */ + Description?: string; + /** + / Custom data about a store. + */ + Metadata?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + type TitleActivationStatus = "None" + | "ActivatedTitleKey" + | "PendingSteam" + | "ActivatedSteam" + | "RevokedSteam"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem + */ + export interface TitleNewsItem { + /** + / Date and time when the news items was posted. + */ + Timestamp: string; + /** + / Unique identifier of news item. + */ + NewsId?: string; + /** + / Title of the news item. + */ + Title?: string; + /** + / News item text. + */ + Body?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo + */ + export interface TradeInfo { + /** + / Describes the current state of this trade. + */ + Status?: string; + /** + / The identifier for this trade. + */ + TradeId?: string; + /** + / The PlayFabId for the offering player. + */ + OfferingPlayerId?: string; + /** + / The itemInstance Ids that are being offered. + */ + OfferedInventoryInstanceIds?: string[]; + /** + / The catalogItem Ids of the item instances being offered. + */ + OfferedCatalogItemIds?: string[]; + /** + / The catalogItem Ids requested in exchange. + */ + RequestedCatalogItemIds?: string[]; + /** + / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. + */ + AllowedPlayerIds?: string[]; + /** + / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. + */ + AcceptedPlayerId?: string; + /** + / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. + */ + AcceptedInventoryInstanceIds?: string[]; + /** + / The UTC time when this trade was created. + */ + OpenedAt?: string; + /** + / If set, The UTC time when this trade was fulfilled. + */ + FilledAt?: string; + /** + / If set, The UTC time when this trade was canceled. + */ + CancelledAt?: string; + /** + / If set, The UTC time when this trade was made invalid. + */ + InvalidatedAt?: string; + + } + + type TradeStatus = "Invalid" + | "Opening" + | "Open" + | "Accepting" + | "Accepted" + | "Filled" + | "Cancelled"; + + type TransactionStatus = "CreateCart" + | "Init" + | "Approved" + | "Succeeded" + | "FailedByProvider" + | "DisputePending" + | "RefundPending" + | "Refunded" + | "RefundFailed" + | "ChargedBack" + | "FailedByUber" + | "FailedByPlayFab" + | "Revoked" + | "TradePending" + | "Traded" + | "Upgraded" + | "StackPending" + | "Stacked" + | "Other" + | "Failed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair + */ + export interface TwitchPlayFabIdPair { + /** + / Unique Twitch identifier for a user. + */ + TwitchId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest + */ + export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be used. + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult + */ + export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest + */ + export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID will be used. + */ + CustomId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult + */ + export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest + */ + export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult + */ + export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest + */ + export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult + */ + export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest + */ + export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult + */ + export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest + */ + export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will be used. + */ + DeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult + */ + export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest + */ + export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult + */ + export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest + */ + export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult + */ + export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest + */ + export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult + */ + export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest + */ + export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / ItemInstanceId of the container to unlock. + */ + ContainerItemInstanceId: string; + /** + / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + */ + KeyItemInstanceId?: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest + */ + export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog ItemId of the container type to unlock. + */ + ContainerItemId: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult + */ + export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the container unlocked. + */ + UnlockedItemInstanceId?: string; + /** + / Unique instance identifier of the key used to unlock the container, if applicable. + */ + UnlockedWithItemInstanceId?: string; + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; + /** + / Virtual currency granted to the player as a result of unlocking the container. + */ + VirtualCurrency?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest + */ + export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult + */ + export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest + */ + export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Statistics to be updated with the provided values. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult + */ + export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest + */ + export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Statistics to be updated with the provided values + */ + Statistics: StatisticUpdate[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult + */ + export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest + */ + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys in this request. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult + */ + export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest + */ + export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. This is used for requests by one player for information about another player; those requests will only return Public keys. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult + */ + export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest + */ + export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / New title display name for the user - must be between 3 and 25 characters. + */ + DisplayName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult + */ + export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Current title display name for the user (this will be the original display name if the rename attempt failed). + */ + DisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo + */ + export interface UserAccountInfo { + /** + / Unique identifier for the user account + */ + PlayFabId?: string; + /** + / Timestamp indicating when the user account was created + */ + Created: string; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / Title-specific information for the user account + */ + TitleInfo?: UserTitleInfo; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; + /** + / User Facebook information, if a Facebook account has been linked + */ + FacebookInfo?: UserFacebookInfo; + /** + / User Steam information, if a Steam account has been linked + */ + SteamInfo?: UserSteamInfo; + /** + / User Gamecenter information, if a Gamecenter account has been linked + */ + GameCenterInfo?: UserGameCenterInfo; + /** + / User iOS device information, if an iOS device has been linked + */ + IosDeviceInfo?: UserIosDeviceInfo; + /** + / User Android device information, if an Android device has been linked + */ + AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** + / User Kongregate account information, if a Kongregate account has been linked + */ + KongregateInfo?: UserKongregateInfo; + /** + / User Twitch account information, if a Twitch account has been linked + */ + TwitchInfo?: UserTwitchInfo; + /** + / User PSN account information, if a PSN account has been linked + */ + PsnInfo?: UserPsnInfo; + /** + / User Google account information, if a Google account has been linked + */ + GoogleInfo?: UserGoogleInfo; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; + /** + / Custom ID information, if a custom ID has been assigned + */ + CustomIdInfo?: UserCustomIdInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo + */ + export interface UserAndroidDeviceInfo { + /** + / Android device ID + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo + */ + export interface UserCustomIdInfo { + /** + / Custom ID + */ + CustomId?: string; + + } + + type UserDataPermission = "Private" + | "Public"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord + */ + export interface UserDataRecord { + /** + / Data stored for the specified user data key. + */ + Value?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo + */ + export interface UserFacebookInfo { + /** + / Facebook identifier + */ + FacebookId?: string; + /** + / Facebook full name + */ + FullName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo + */ + export interface UserGameCenterInfo { + /** + / Gamecenter identifier + */ + GameCenterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo + */ + export interface UserGoogleInfo { + /** + / Google ID + */ + GoogleId?: string; + /** + / Email address of the Google account + */ + GoogleEmail?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; + /** + / Gender information of the Google account + */ + GoogleGender?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo + */ + export interface UserIosDeviceInfo { + /** + / iOS device ID + */ + IosDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo + */ + export interface UserKongregateInfo { + /** + / Kongregate ID + */ + KongregateId?: string; + /** + / Kongregate Username + */ + KongregateName?: string; + + } + + type UserOrigination = "Organic" + | "Steam" + | "Google" + | "Amazon" + | "Facebook" + | "Kongregate" + | "GamersFirst" + | "Unknown" + | "IOS" + | "LoadTest" + | "Android" + | "PSN" + | "GameCenter" + | "CustomId" + | "XboxLive" + | "Parse" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo + */ + export interface UserPrivateAccountInfo { + /** + / user email address + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo + */ + export interface UserPsnInfo { + /** + / PSN account ID + */ + PsnAccountId?: string; + /** + / PSN online ID + */ + PsnOnlineId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings + */ + export interface UserSettings { + /** + / Boolean for whether this player is eligible for ad tracking. + */ + NeedsAttribution: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo + */ + export interface UserSteamInfo { + /** + / Steam identifier + */ + SteamId?: string; + /** + / the country in which the player resides, from Steam data + */ + SteamCountry?: string; + /** + / currency type set in the user Steam account + */ + SteamCurrency?: string; + /** + / what stage of game ownership the user is listed as being in, from Steam + */ + SteamActivationStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo + */ + export interface UserTitleInfo { + /** + / name of the user, as it is displayed in-game + */ + DisplayName?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; + /** + / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + */ + Created: string; + /** + / timestamp for the last user login for this title + */ + LastLogin?: string; + /** + / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + */ + FirstLogin?: string; + /** + / boolean indicating whether or not the user is currently banned for a title + */ + isBanned?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo + */ + export interface UserTwitchInfo { + /** + / Twitch ID + */ + TwitchId?: string; + /** + / Twitch Username + */ + TwitchUserName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo + */ + export interface UserXboxInfo { + /** + / XBox user ID + */ + XboxUserId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest + */ + export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / ReceiptId returned by the Amazon App Store in-app purchase API + */ + ReceiptId: string; + /** + / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API + */ + UserId: string; + /** + / Catalog version to use when granting receipt item. If null, defaults to primary catalog. + */ + CatalogVersion?: string; + /** + / Currency used for the purchase. + */ + CurrencyCode: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult + */ + export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest + */ + export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Original JSON string returned by the Google Play IAB API. + */ + ReceiptJson: string; + /** + / Signature returned by the Google Play IAB API. + */ + Signature: string; + /** + / Currency used for the purchase. + */ + CurrencyCode?: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult + */ + export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest + */ + export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. + */ + ReceiptData: string; + /** + / Currency used for the purchase. + */ + CurrencyCode: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult + */ + export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest + */ + export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest + */ + export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse + */ + export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + */ + EventId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest + */ + export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts new file mode 100644 index 00000000..b2736a32 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -0,0 +1,358 @@ +declare module PlayFabMatchmakerModule { + export interface IPlayFabMatchmaker { + /** + / Validates a user with the PlayFab service + / https://api.playfab.com/Documentation/Matchmaker/method/AuthUser + */ + AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified + / https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined + */ + PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified + / https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft + */ + PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance + / https://api.playfab.com/Documentation/Matchmaker/method/StartGame + */ + StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches + / https://api.playfab.com/Documentation/Matchmaker/method/UserInfo + */ + UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabMatchmakerModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest + */ + export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Session Ticket provided by the client. + */ + AuthorizationTicket: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse + */ + export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Boolean indicating if the user has been authorized to use the external match-making service. + */ + Authorized: boolean; + /** + / PlayFab unique identifier of the account that has been authorized. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest + */ + export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the Game Server Instance that is being deregistered. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse + */ + export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest + */ + export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance the user is joining. + */ + LobbyId: string; + /** + / PlayFab unique identifier for the user joining. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse + */ + export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest + */ + export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance the user is leaving. + */ + LobbyId: string; + /** + / PlayFab unique identifier for the user leaving. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse + */ + export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest + */ + export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / IP address of the Game Server Instance. + */ + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; + /** + / Unique identifier of the build running on the Game Server Instance. + */ + Build: string; + /** + / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + */ + Region: string; + /** + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + */ + GameMode: string; + /** + / Tags for the Game Server Instance + */ + Tags?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse + */ + export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier generated for the Game Server Instance that is registered. + */ + LobbyId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest + */ + export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the previously uploaded build executable which is to be started. + */ + Build: string; + /** + / Region with which to associate the server, for filtering. + */ + Region: string; + /** + / Game mode for this Game Server Instance. + */ + GameMode: string; + /** + / Custom command line argument when starting game server process. + */ + CustomCommandLineData?: string; + /** + / HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an application/json body of { "EventName": "game_ended", "GameID": "" }. + */ + ExternalMatchmakerEventEndpoint: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse + */ + export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the game/lobby in the new Game Server Instance. + */ + GameID?: string; + /** + / IP address of the new Game Server Instance. + */ + ServerHostname?: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest + */ + export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose information is being requested. + */ + PlayFabId: string; + /** + / Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a catalog version of this or higher). + */ + MinCatalogVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse + */ + export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose information was requested. + */ + PlayFabId?: string; + /** + / PlayFab unique user name. + */ + Username?: string; + /** + / Title specific display name, if set. + */ + TitleDisplayName?: string; + /** + / Array of inventory items in the user's current inventory. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + /** + / Boolean indicating whether the user is a developer. + */ + IsDeveloper: boolean; + /** + / Steam unique identifier, if the user has an associated Steam account. + */ + SteamId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts new file mode 100644 index 00000000..813760b9 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -0,0 +1,5064 @@ +declare module PlayFabServerModule { + export interface IPlayFabServer { + /** + / Validated a client's session ticket, and if successful, returns details for that user + / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket + */ + AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + / https://api.playfab.com/Documentation/Server/method/BanUsers + */ + BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + */ + GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + */ + GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the relevant details for a specified user + / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + */ + GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Server/method/GetUserBans + */ + GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + */ + RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Server/method/RevokeBans + */ + RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + / https://api.playfab.com/Documentation/Server/method/SendPushNotification + */ + SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Server/method/UpdateBans + */ + UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + / https://api.playfab.com/Documentation/Server/method/DeleteUsers + */ + DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + */ + GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetLeaderboard + */ + GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + */ + GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. + / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + */ + GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current version and values for the indicated statistics, for the local player. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + */ + GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserData + */ + GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserInternalData + */ + GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + */ + GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + */ + GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + */ + GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + */ + GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the user + / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + */ + UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserData + */ + UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + */ + UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + */ + UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + */ + UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + */ + UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + */ + UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Server/method/GetCatalogItems + */ + GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Server/method/GetPublisherData + */ + GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current server time + / https://api.playfab.com/Documentation/Server/method/GetTime + */ + GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/GetTitleData + */ + GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the key-value store of custom internal title settings + / https://api.playfab.com/Documentation/Server/method/GetTitleInternalData + */ + GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title news feed, as configured in the developer portal + / https://api.playfab.com/Documentation/Server/method/GetTitleNews + */ + GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Server/method/SetPublisherData + */ + SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleData + */ + SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + */ + SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + */ + AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Server/method/ConsumeItem + */ + ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + */ + EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + */ + GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights + / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + */ + GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetUserInventory + */ + GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified character's inventory + / https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter + */ + GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified user's inventory + / https://api.playfab.com/Documentation/Server/method/GrantItemsToUser + */ + GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the specified items to the specified user inventories + / https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers + */ + GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Modifies the number of remaining uses of a player's inventory item + / https://api.playfab.com/Documentation/Server/method/ModifyItemUses + */ + ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Moves an item from a character's inventory into another of the users's character's inventory. + / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter + */ + MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Moves an item from a user's inventory into their character's inventory. + / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser + */ + MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Moves an item from a character's inventory into the owning user's inventory. + / https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter + */ + MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Server/method/RedeemCoupon + */ + RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Server/method/ReportPlayer + */ + ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem + */ + RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency + */ + SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency + */ + SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance + */ + UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem + */ + UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the key-value pair data tagged to the specified item, which is read-only from the client. + / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData + */ + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Server/method/AddFriend + */ + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Server/method/GetFriendsList + */ + GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes the specified friend from the the user's friend list + / https://api.playfab.com/Documentation/Server/method/RemoveFriend + */ + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Inform the matchmaker that a Game Server Instance is removed. + / https://api.playfab.com/Documentation/Server/method/DeregisterGame + */ + DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Informs the PlayFab match-making service that the user specified has left the Game Server Instance + / https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft + */ + NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates a Game Server session ticket and returns details about the user + / https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket + */ + RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. + / https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat + */ + RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Inform the matchmaker that a new Game Server Instance is added. + / https://api.playfab.com/Documentation/Server/method/RegisterGame + */ + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the custom data of the indicated Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData + */ + SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Set the state of the indicated Game Server Instance. + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState + */ + SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Set custom tags for the specified Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags + */ + SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Awards the specified users the specified Steam achievements + / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + */ + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent + */ + WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent + */ + WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent + */ + WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + */ + AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup + */ + CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes a shared group, freeing up the shared group ID to be reused for a new group + / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + */ + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + */ + GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers + */ + RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData + */ + UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript + */ + ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback): void; + /** + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + */ + GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes the specific character ID from the specified user. + / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + */ + DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + */ + GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + */ + GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the details of all title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + */ + GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of ranked characters for the given statistic, centered on the requested user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + */ + GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + */ + GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + */ + GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the values of the specified title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + */ + UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterData + */ + GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + */ + GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + */ + GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user's chjaracter which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + */ + UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + */ + UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + */ + UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + */ + AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups + */ + GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Server/method/GetAllSegments + */ + GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + */ + GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + */ + GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + */ + RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + + } +} + +declare module PlayFabServerModels { + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ActionsOnPlayersInSegmentTaskSummary + */ + export interface ActionsOnPlayersInSegmentTaskSummary { + /** + / ID of the task instance. + */ + TaskInstanceId?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / UTC timestamp when the task started. + */ + StartedAt: string; + /** + / UTC timestamp when the task completed. + */ + CompletedAt?: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / If manually scheduled, ID of user who scheduled the task. + */ + ScheduledByUserId?: string; + /** + / Error message for last processing attempt, if an error occured. + */ + ErrorMessage?: string; + /** + / Flag indicating if the error was fatal, if false job will be retried. + */ + ErrorWasFatal?: boolean; + /** + / Total players in segment when task was started. + */ + TotalPlayersInSegment?: number; + /** + / Total number of players that have had the actions applied to. + */ + TotalPlayersProcessed?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution + */ + export interface AdCampaignAttribution { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest + */ + export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest + */ + export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the player to add a new friend. + */ + PlayFabId: string; + /** + / The PlayFab identifier of the user being added. + */ + FriendPlayFabId?: string; + /** + / The PlayFab username of the user being added + */ + FriendUsername?: string; + /** + / Email address of the user being added. + */ + FriendEmail?: string; + /** + / Title-specific display name of the user to being added. + */ + FriendTitleDisplayName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest + */ + export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult + */ + export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest + */ + export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult + */ + export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest + */ + export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be increased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest + */ + export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Session ticket as issued by a PlayFab client login API. + */ + SessionTicket: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult + */ + export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Account info for the user whose session ticket was supplied. + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem + */ + export interface AwardSteamAchievementItem { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique Steam achievement name. + */ + AchievementName: string; + /** + / Result of the award attempt (only valid on response, not on request). + */ + Result: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest + */ + export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of achievements to grant and the users to whom they are to be granted. + */ + Achievements: AwardSteamAchievementItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult + */ + export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of achievements granted. + */ + AchievementResults?: AwardSteamAchievementItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo + */ + export interface BanInfo { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / The unique Ban Id associated with this ban. + */ + BanId?: string; + /** + / The IP address on which the ban was applied. May affect multiple players. + */ + IPAddress?: string; + /** + / The MAC address on which the ban was applied. May affect multiple players. + */ + MACAddress?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; + /** + / The reason why this ban was applied. + */ + Reason?: string; + /** + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. + */ + Active: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest + */ + export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / IP address to be banned. May affect multiple players. + */ + IPAddress?: string; + /** + / MAC address to be banned. May affect multiple players. + */ + MACAddress?: string; + /** + / The reason for this ban. Maximum 140 characters. + */ + Reason?: string; + /** + / The duration in hours for the ban. Leave this blank for a permanent ban. + */ + DurationInHours?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest + */ + export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of ban requests to be applied. Maximum 100. + */ + Bans: BanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult + */ + export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were applied + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem + */ + export interface CatalogItem { + /** + / unique identifier for this item + */ + ItemId: string; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / catalog version for this item + */ + CatalogVersion?: string; + /** + / text name for the item, to show in-game + */ + DisplayName?: string; + /** + / text description of item, to show in-game + */ + Description?: string; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; + /** + / override prices for this item for specific currencies + */ + RealCurrencyPrices?: { [key: string]: number }; + /** + / list of item tags + */ + Tags?: string[]; + /** + / game specific custom data + */ + CustomData?: string; + /** + / defines the consumable properties (number of uses, timeout) for the item + */ + Consumable?: CatalogItemConsumableInfo; + /** + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + */ + Container?: CatalogItemContainerInfo; + /** + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + */ + Bundle?: CatalogItemBundleInfo; + /** + / if true, then an item instance of this type can be used to grant a character to a user. + */ + CanBecomeCharacter: boolean; + /** + / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + */ + IsStackable: boolean; + /** + / if true, then an item instance of this type can be traded between players using the trading APIs + */ + IsTradable: boolean; + /** + / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + */ + ItemImageUrl?: string; + /** + / BETA: If true, then only a fixed number can ever be granted. + */ + IsLimitedEdition: boolean; + /** + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + */ + InitialLimitedEditionCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo + */ + export interface CatalogItemBundleInfo { + /** + / unique ItemId values for all items which will be added to the player inventory when the bundle is added + */ + BundledItems?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + */ + BundledResultTables?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the bundle is added + */ + BundledVirtualCurrencies?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo + */ + export interface CatalogItemConsumableInfo { + /** + / number of times this object can be used, after which it will be removed from the player inventory + */ + UsageCount?: number; + /** + / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + */ + UsagePeriod?: number; + /** + / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + */ + UsagePeriodGroup?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo + */ + export interface CatalogItemContainerInfo { + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; + /** + / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked + */ + ItemContents?: string[]; + /** + / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + */ + ResultTableContents?: string[]; + /** + / virtual currency types and balances which will be added to the player inventory when the container is unlocked + */ + VirtualCurrencyContents?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory + */ + export interface CharacterInventory { + /** + / The id of this character. + */ + CharacterId?: string; + /** + / The inventory of this character. + */ + Inventory?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry + */ + export interface CharacterLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. + */ + CharacterId?: string; + /** + / Title-specific display name of the character for this leaderboard entry. + */ + CharacterName?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Name of the character class for this entry. + */ + CharacterType?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult + */ + export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The id for this character on this player. + */ + CharacterId?: string; + /** + / The name of this character. + */ + CharacterName?: string; + /** + / The type-string that was given to this character on creation. + */ + CharacterType?: string; + + } + + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest + */ + export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique instance identifier of the item to be consumed. + */ + ItemInstanceId: string; + /** + / Number of uses to consume from the item. + */ + ConsumeCount: number; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult + */ + export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the item with uses consumed. + */ + ItemInstanceId?: string; + /** + / Number of uses remaining on the item. + */ + RemainingUses: number; + + } + + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest + */ + export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). + */ + SharedGroupId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult + */ + export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId?: string; + + } + + type Currency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest + */ + export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those items. + */ + SaveCharacterInventory: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult + */ + export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest + */ + export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest + */ + export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: 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; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult + */ + export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest + */ + export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the Game Server Instance that is being deregistered. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse + */ + export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult + */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest + */ + export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The unique identifier of the Random Result Table to use. + */ + TableId: string; + /** + / Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult + */ + export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. + */ + ResultItemId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult + */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The name of the function that executed + */ + FunctionName?: string; + /** + / The revision of the CloudScript that executed + */ + Revision: number; + /** + / The object returned from the CloudScript function, if any + */ + FunctionResult?: any; + /** + / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + ExecutionTimeSeconds: number; + /** + / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + */ + ProcessorTimeSeconds: number; + MemoryConsumedBytes: number; + /** + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; + /** + / Information about the error, if any, that occured during execution + */ + Error?: ScriptExecutionError; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest + */ + export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The unique user identifier for the player on whose behalf the script is being run + */ + PlayFabId: string; + /** + / The name of the CloudScript function to execute + */ + FunctionName: string; + /** + / Object that is passed in to the function as the first argument + */ + FunctionParameter?: any; + /** + / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** + / The specivic revision to execute, when RevisionSelection is set to 'Specific' + */ + SpecificRevision?: number; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair + */ + export interface FacebookPlayFabIdPair { + /** + / Unique Facebook identifier for a user. + */ + FacebookId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo + */ + export interface FriendInfo { + /** + / PlayFab unique identifier for this friend. + */ + FriendPlayFabId?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Unique lobby identifier of the Game Server Instance to which this player is currently connected. + */ + CurrentMatchmakerLobbyId?: string; + /** + / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). + */ + FacebookInfo?: UserFacebookInfo; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). + */ + GameCenterInfo?: UserGameCenterInfo; + + } + + type GameInstanceState = "Open" + | "Closed"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetActionGroupResult + */ + export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Action Group name + */ + Name: string; + /** + / Action Group ID + */ + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsRequest + */ + export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsResult + */ + export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of Action Groups. + */ + ActionGroups: GetActionGroupResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest + */ + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult + */ + export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments for this title. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest + */ + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Which catalog is being requested. If null, uses the default catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult + */ + export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items which can be purchased. + */ + Catalog?: CatalogItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest + */ + export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult + */ + export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest + */ + export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Used to limit results to only those from a specific catalog version. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult + */ + export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Unique identifier of the character for this inventory. + */ + CharacterId?: string; + /** + / Array of inventory items belonging to the character. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the character. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest + */ + export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult + */ + export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest + */ + export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult + */ + export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose character statistics are being returned. + */ + PlayFabId?: string; + /** + / Unique identifier of the character for the statistics. + */ + CharacterId?: string; + /** + / Character statistics for the requested user. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest + */ + export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; + /** + / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. + */ + HttpMethod?: string; + /** + / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + */ + ThruCDN?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult + */ + export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { + /** + / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. + */ + URL?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest + */ + export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The player whose friend leaderboard to get + */ + PlayFabId: string; + /** + / Statistic used to rank friends for this leaderboard. + */ + StatisticName: string; + /** + / Position in the leaderboard to start this listing (defaults to the first entry). + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest + */ + export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the player whose friend list to get. + */ + PlayFabId: string; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; + /** + / Indicates whether Facebook friends should be included in the response. Default is true. + */ + IncludeFacebookFriends?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult + */ + export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of friends found. + */ + Friends?: FriendInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest + */ + export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Optional character type on which to filter the leaderboard entries. + */ + CharacterType?: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult + */ + export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest + */ + export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult + */ + export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest + */ + export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult + */ + export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: CharacterLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest + */ + export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Maximum number of entries to retrieve. + */ + MaxResultsCount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult + */ + export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Ordered list of leaderboard entries. + */ + Leaderboard?: PlayerLeaderboardEntry[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest + */ + export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the user whose data will be returned + */ + PlayFabId: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams + */ + export interface GetPlayerCombinedInfoRequestParams { + /** + / Whether to get the player's account Info. Defaults to false + */ + GetUserAccountInfo: boolean; + /** + / Whether to get the player's inventory. Defaults to false + */ + GetUserInventory: boolean; + /** + / Whether to get the player's virtual currency balances. Defaults to false + */ + GetUserVirtualCurrency: boolean; + /** + / Whether to get the player's custom data. Defaults to false + */ + GetUserData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + */ + UserDataKeys?: string[]; + /** + / Whether to get the player's read only data. Defaults to false + */ + GetUserReadOnlyData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + */ + UserReadOnlyDataKeys?: string[]; + /** + / Whether to get character inventories. Defaults to false. + */ + GetCharacterInventories: boolean; + /** + / Whether to get the list of characters. Defaults to false. + */ + GetCharacterList: boolean; + /** + / Whether to get title data. Defaults to false. + */ + GetTitleData: boolean; + /** + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + */ + TitleDataKeys?: string[]; + /** + / Whether to get player statistics. Defaults to false. + */ + GetPlayerStatistics: boolean; + /** + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + */ + PlayerStatisticNames?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult + */ + export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Results for requested info. + */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload + */ + export interface GetPlayerCombinedInfoResultPayload { + /** + / Account information for the user. This is always retrieved. + */ + AccountInfo?: UserAccountInfo; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; + /** + / Dictionary of virtual currency balance(s) belonging to the user. + */ + UserVirtualCurrency?: { [key: string]: number }; + /** + / Dictionary of remaining times and timestamps for virtual currencies. + */ + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + /** + / User specific custom data. + */ + UserData?: { [key: string]: UserDataRecord }; + /** + / The version of the UserData that was returned. + */ + UserDataVersion: number; + /** + / User specific read-only data. + */ + UserReadOnlyData?: { [key: string]: UserDataRecord }; + /** + / The version of the Read-Only UserData that was returned. + */ + UserReadOnlyDataVersion: number; + /** + / List of characters for the user. + */ + CharacterList?: CharacterResult[]; + /** + / Inventories for each character for the user. + */ + CharacterInventories?: CharacterInventory[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult + */ + export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of segments the requested player currently belongs to. + */ + Segments?: GetSegmentResult[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest + */ + export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for this segment. + */ + SegmentId: string; + /** + / 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; + /** + / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. + */ + MaxBatchSize?: number; + /** + / Continuation token if retrieving subsequent pages of results. + */ + ContinuationToken?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult + */ + export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; + /** + / 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[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest + */ + export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest + */ + export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / user for whom statistics are being requested + */ + PlayFabId: string; + /** + / statistics to return + */ + StatisticNames?: string[]; + /** + / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + */ + StatisticNameVersions?: StatisticNameVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult + */ + export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose statistics are being returned + */ + PlayFabId?: string; + /** + / User statistics for the requested user. + */ + Statistics?: StatisticValue[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest + */ + export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / unique name of the statistic + */ + StatisticName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult + */ + export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / version change history of the statistic + */ + StatisticVersions?: PlayerStatisticVersion[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest + */ + export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Optional namespace to filter results by + */ + Namespace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult + */ + export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Canonical tags (including namespace and tag's name) for the requested user + */ + Tags: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest + */ + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. + */ + FacebookIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult + */ + export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Facebook identifiers to PlayFab identifiers. + */ + Data?: FacebookPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest + */ + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. + */ + SteamStringIDs?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult + */ + export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Mapping of Steam identifiers to PlayFab identifiers. + */ + Data?: SteamPlayFabIdPair[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest + */ + export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / array of keys to get back data from the Publisher data blob, set by the admin tools + */ + Keys: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult + */ + export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest + */ + export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + /** + / The unique identifier of the Random Result Table to use. + */ + TableIDs: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult + */ + export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / array of random result tables currently available + */ + Tables?: { [key: string]: RandomResultTableListing }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult + */ + export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier for this segment. + */ + Id: string; + /** + / Segment name. + */ + Name?: string; + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest + */ + export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + */ + Keys?: string[]; + /** + / If true, return the list of all members of the shared group. + */ + GetMembers?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult + */ + export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Data for the requested keys. + */ + Data?: { [key: string]: SharedGroupDataRecord }; + /** + / List of PlayFabId identifiers for the members of this group, if requested. + */ + Members?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest + */ + export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult + */ + export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Current server time when the request was received, in UTC + */ + Time: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest + */ + export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specific keys to search for in the title data (leave null to get all keys) + */ + Keys?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult + */ + export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / a dictionary object of key / value pairs + */ + Data?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest + */ + export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Limits the results to the last n entries. Defaults to 10 if not set. + */ + Count?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult + */ + export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of news items. + */ + News?: TitleNewsItem[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest + */ + export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult + */ + export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Account details for the user whose information was requested. + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest + */ + export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult + */ + export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information about the bans + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest + */ + export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Specific keys to search for in the custom user data. + */ + Keys?: string[]; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult + */ + export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / PlayFab unique identifier of the user whose custom data is being returned. + */ + PlayFabId?: string; + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + /** + / User specific data for this title. + */ + Data?: { [key: string]: UserDataRecord }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest + */ + export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult + */ + export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Array of inventory items belonging to the user. + */ + Inventory?: ItemInstance[]; + /** + / Array of virtual currency balance(s) belonging to the user. + */ + VirtualCurrency?: { [key: string]: number }; + /** + / Array of remaining times and timestamps for virtual currencies. + */ + VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest + */ + export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Non-unique display name of the character being granted. + */ + CharacterName: string; + /** + / Type of the character being granted; statistics can be sliced based on this value. + */ + CharacterType: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult + */ + export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier tagged to this character. + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance + */ + export interface GrantedItemInstance { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Result of this operation. + */ + Result: boolean; + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest + */ + export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Array of itemIds to grant to the user. + */ + ItemIds?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult + */ + export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest + */ + export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Array of itemIds to grant to the user. + */ + ItemIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult + */ + export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest + */ + export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; + /** + / Array of items to grant and the users to whom the items are to be granted. + */ + ItemGrants: ItemGrant[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult + */ + export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items granted to users. + */ + ItemGrantResults?: GrantedItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant + */ + export interface ItemGrant { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance + */ + export interface ItemInstance { + /** + / Unique identifier for the inventory item, as defined in the catalog. + */ + ItemId?: string; + /** + / Unique item identifier for this specific instance of the item. + */ + ItemInstanceId?: string; + /** + / Class name for the inventory item, as defined in the catalog. + */ + ItemClass?: string; + /** + / Timestamp for when this instance was purchased. + */ + PurchaseDate?: string; + /** + / Timestamp for when this instance will expire. + */ + Expiration?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; + /** + / The number of uses that were added or removed to this item in this call. + */ + UsesIncrementedBy?: number; + /** + / Game specific comment associated with this instance when it was added to the user inventory. + */ + Annotation?: string; + /** + / Catalog version for the inventory item, when this instance was created. + */ + CatalogVersion?: string; + /** + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + */ + BundleParent?: string; + /** + / CatalogItem.DisplayName at the time this item was purchased. + */ + DisplayName?: string; + /** + / Currency type for the cost of the catalog item. + */ + UnitCurrency?: string; + /** + / Cost of the catalog item in the given currency. + */ + UnitPrice: number; + /** + / Array of unique items that were awarded when this catalog item was purchased. + */ + BundleContents?: string[]; + /** + / A set of custom key-value pairs on the inventory item. + */ + CustomData?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest + */ + export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult + */ + export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The requested list of characters. + */ + Characters?: CharacterResult[]; + + } + + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement + */ + export interface LogStatement { + /** + / 'Debug', 'Info', or 'Error' + */ + Level?: string; + Message?: string; + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult + */ + export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest + */ + export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose item is being modified. + */ + PlayFabId: string; + /** + / Unique instance identifier of the item to be modified. + */ + ItemInstanceId: string; + /** + / Number of uses to add to the item. Can be negative to remove uses. + */ + UsesToAdd: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult + */ + export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the item with uses consumed. + */ + ItemInstanceId?: string; + /** + / Number of uses remaining on the item. + */ + RemainingUses: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / Balance of the virtual currency after modification. + */ + Balance: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest + */ + export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the character that currently has the item. + */ + GivingCharacterId: string; + /** + / Unique identifier of the character that will be receiving the item. + */ + ReceivingCharacterId: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult + */ + export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest + */ + export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult + */ + export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest + */ + export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult + */ + export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NameIdentifier + */ + export interface NameIdentifier { + Name?: string; + Id?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest + */ + export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Instance the user is leaving. + */ + LobbyId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult + */ + export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { + /** + / State of user leaving the Game Server Instance. + */ + PlayerState?: string; + + } + + type PlayerConnectionState = "Unassigned" + | "Connecting" + | "Participating" + | "Participated"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry + */ + export interface PlayerLeaderboardEntry { + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; + /** + / Title-specific display name of the user for this leaderboard entry. + */ + DisplayName?: string; + /** + / Specific value of the user's statistic. + */ + StatValue: number; + /** + / User's overall position in the leaderboard. + */ + Position: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount + */ + export interface PlayerLinkedAccount { + /** + / Authentication platform + */ + Platform?: string; + /** + / Platform user identifier + */ + PlatformUserId?: string; + /** + / Linked account's username + */ + Username?: string; + /** + / Linked account's email + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation + */ + export interface PlayerLocation { + /** + / 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; + /** + / City of the player's geographic location. + */ + City?: string; + /** + / Latitude coordinate of the player's geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the player's geographic location. + */ + Longitude?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile + */ + export interface PlayerProfile { + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Player record created + */ + Created?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + */ + BannedUntil?: string; + /** + / Dictionary of player's statistics using only the latest version's value + */ + Statistics?: { [key: string]: number }; + /** + / 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 }; + /** + / List of player's tags for segmentation. + */ + Tags?: string[]; + /** + / Dictionary of player's locations by type. + */ + Locations?: { [key: string]: PlayerLocation }; + /** + / Dictionary of player's virtual currency balances + */ + VirtualCurrencyBalances?: { [key: string]: number }; + /** + / Array of ad campaigns player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttribution[]; + /** + / Array of configured push notification end points + */ + PushNotificationRegistrations?: PushNotificationRegistration[]; + /** + / Array of third party accounts linked to this player + */ + LinkedAccounts?: PlayerLinkedAccount[]; + /** + / Array of player statistics + */ + PlayerStatistics?: PlayerStatistic[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic + */ + export interface PlayerStatistic { + /** + / Statistic ID + */ + Id?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + StatisticVersion: number; + /** + / Current statistic value + */ + StatisticValue: number; + /** + / Statistic name + */ + Name?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion + */ + export interface PlayerStatisticVersion { + /** + / name of the statistic when the version became active + */ + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; + /** + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + */ + ScheduledActivationTime?: string; + /** + / time when the statistic version became active + */ + ActivationTime: string; + /** + / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval + */ + ScheduledDeactivationTime?: string; + /** + / time when the statistic version became inactive due to statistic version incrementing + */ + DeactivationTime?: string; + + } + + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration + */ + export interface PushNotificationRegistration { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing + */ + export interface RandomResultTableListing { + /** + / Catalog version this table is associated with + */ + CatalogVersion?: string; + /** + / Unique name for this drop table + */ + TableId: string; + /** + / Child nodes that indicate what kind of drop table item this actually is. + */ + Nodes: ResultTableNode[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest + */ + export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Generated coupon code to redeem. + */ + CouponCode: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Catalog version of the coupon. + */ + CatalogVersion?: string; + /** + / Optional identifier for the Character that should receive the item. If null, item is added to the player + */ + CharacterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult + */ + export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of redeeming the coupon. + */ + GrantedItems?: ItemInstance[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest + */ + export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Server authorization ticket passed back from a call to Matchmake or StartGame. + */ + Ticket: string; + /** + / Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult + */ + export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Boolean indicating whether the ticket was validated by the PlayFab service. + */ + TicketIsValid: boolean; + /** + / Error value if the ticket was not validated. + */ + Error?: string; + /** + / User account information for the user validated. + */ + UserInfo?: UserAccountInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest + */ + export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance for which the heartbeat is updated. + */ + LobbyId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult + */ + export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest + */ + export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / IP address of the Game Server Instance. + */ + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; + /** + / Unique identifier of the build running on the Game Server Instance. + */ + Build: string; + /** + / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + */ + Region: string; + /** + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + */ + GameMode: string; + /** + / Tags for the Game Server Instance + */ + Tags?: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse + */ + export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique identifier generated for the Game Server Instance that is registered. + */ + LobbyId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest + */ + export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the friend account which is to be removed. + */ + FriendPlayFabId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest + */ + export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique tag for player profile. + */ + TagName: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult + */ + export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest + */ + export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult + */ + export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest + */ + export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the reporting player. + */ + ReporterId: string; + /** + / PlayFabId of the reported player. + */ + ReporteeId: string; + /** + / Title player was reported in, optional if report not for specific title. + */ + TitleId?: string; + /** + / Optional additional comment by reporting player. + */ + Comment?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult + */ + export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates whether this action completed successfully. + */ + Updated: boolean; + /** + / The number of remaining reports which may be filed today by this reporting player. + */ + SubmissionsRemaining: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode + */ + export interface ResultTableNode { + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; + /** + / Either an ItemId, or the TableId of another random result table + */ + ResultItem: string; + /** + / How likely this is to be rolled - larger numbers add more weight + */ + Weight: number; + + } + + type ResultTableNodeType = "ItemId" + | "TableId"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest + */ + export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult + */ + export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked. + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest + */ + export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Ids of the bans to be revoked. Maximum 100. + */ + BanIds: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult + */ + export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were revoked + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest + */ + export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult + */ + export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError + */ + export interface ScriptExecutionError { + /** + / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** + / Details about the error + */ + Message?: string; + /** + / Point during the execution of the script at which the error occurred, if any + */ + StackTrace?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest + */ + export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFabId of the recipient of the push notification. + */ + Recipient: string; + /** + / Text of message to send. + */ + Message: string; + /** + / Subject of message to send (may not be displayed in all platforms. + */ + Subject?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult + */ + export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest + */ + export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Instance to be updated. + */ + LobbyId: string; + /** + / Custom data to set for the specified game server instance. + */ + GameServerData: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult + */ + export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest + */ + export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Instance to be updated. + */ + LobbyId: string; + /** + / State to set for the specified game server instance. + */ + State: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult + */ + export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest + */ + export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier of the Game Server Instance to be updated. + */ + LobbyId: string; + /** + / Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with the Game Server Instance. + */ + Tags: { [key: string]: string }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult + */ + export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest + */ + export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult + */ + export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest + */ + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** + / new value to set. Set to null to remove a value + */ + Value?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult + */ + export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord + */ + export interface SharedGroupDataRecord { + /** + / Data stored for the specified group data key. + */ + Value?: string; + /** + / PlayFabId of the user to last update this value. + */ + LastUpdatedBy?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only members of the group (private). + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion + */ + export interface StatisticNameVersion { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / the version of the statistic to be returned + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate + */ + export interface StatisticUpdate { + /** + / unique name of the statistic + */ + StatisticName: string; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; + /** + / statistic value for the player + */ + Value: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue + */ + export interface StatisticValue { + /** + / unique name of the statistic + */ + StatisticName?: string; + /** + / statistic value for the player + */ + Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded + */ + Version: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair + */ + export interface SteamPlayFabIdPair { + /** + / Unique Steam identifier for a user. + */ + SteamStringId?: string; + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + */ + PlayFabId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest + */ + export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. + */ + PlayFabId: string; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; + + } + + type TaskInstanceStatus = "Succeeded" + | "Starting" + | "InProgress" + | "Failed" + | "Aborted" + | "Pending"; + + type TitleActivationStatus = "None" + | "ActivatedTitleKey" + | "PendingSteam" + | "ActivatedSteam" + | "RevokedSteam"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem + */ + export interface TitleNewsItem { + /** + / Date and time when the news items was posted. + */ + Timestamp: string; + /** + / Unique identifier of news item. + */ + NewsId?: string; + /** + / Title of the news item. + */ + Title?: string; + /** + / News item text. + */ + Body?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest + */ + export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / ItemInstanceId of the container to unlock. + */ + ContainerItemInstanceId: string; + /** + / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + */ + KeyItemInstanceId?: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest + */ + export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Catalog ItemId of the container type to unlock. + */ + ContainerItemId: string; + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + */ + CatalogVersion?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult + */ + export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Unique instance identifier of the container unlocked. + */ + UnlockedItemInstanceId?: string; + /** + / Unique instance identifier of the key used to unlock the container, if applicable. + */ + UnlockedWithItemInstanceId?: string; + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; + /** + / Virtual currency granted to the player as a result of unlocking the container. + */ + VirtualCurrency?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest + */ + export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The id of the ban to be updated. + */ + BanId: string; + /** + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + */ + Reason?: string; + /** + / The updated expiration date for the ban. Null for no change. + */ + Expires?: string; + /** + / The updated IP address for the ban. Null for no change. + */ + IPAddress?: string; + /** + / The updated MAC address for the ban. Null for no change. + */ + MACAddress?: string; + /** + / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. + */ + Permanent?: boolean; + /** + / The updated active state for the ban. Null for no change. + */ + Active?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest + */ + export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / List of bans to be updated. Maximum 100. + */ + Bans: UpdateBanRequest[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult + */ + export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Information on the bans that were updated + */ + BanData?: BanInfo[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest + */ + export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult + */ + export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest + */ + export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / Statistics to be updated with the provided values. + */ + CharacterStatistics?: { [key: string]: number }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult + */ + export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest + */ + export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Statistics to be updated with the provided values + */ + Statistics: StatisticUpdate[]; + /** + / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. + */ + ForceUpdate?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult + */ + export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest + */ + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys in this request. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult + */ + export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest + */ + export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + /** + / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult + */ + export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + */ + DataVersion: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest + */ + export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest + */ + export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId?: string; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; + /** + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + */ + Data?: { [key: string]: string }; + /** + / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + */ + KeysToRemove?: string[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo + */ + export interface UserAccountInfo { + /** + / Unique identifier for the user account + */ + PlayFabId?: string; + /** + / Timestamp indicating when the user account was created + */ + Created: string; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / Title-specific information for the user account + */ + TitleInfo?: UserTitleInfo; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; + /** + / User Facebook information, if a Facebook account has been linked + */ + FacebookInfo?: UserFacebookInfo; + /** + / User Steam information, if a Steam account has been linked + */ + SteamInfo?: UserSteamInfo; + /** + / User Gamecenter information, if a Gamecenter account has been linked + */ + GameCenterInfo?: UserGameCenterInfo; + /** + / User iOS device information, if an iOS device has been linked + */ + IosDeviceInfo?: UserIosDeviceInfo; + /** + / User Android device information, if an Android device has been linked + */ + AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** + / User Kongregate account information, if a Kongregate account has been linked + */ + KongregateInfo?: UserKongregateInfo; + /** + / User Twitch account information, if a Twitch account has been linked + */ + TwitchInfo?: UserTwitchInfo; + /** + / User PSN account information, if a PSN account has been linked + */ + PsnInfo?: UserPsnInfo; + /** + / User Google account information, if a Google account has been linked + */ + GoogleInfo?: UserGoogleInfo; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; + /** + / Custom ID information, if a custom ID has been assigned + */ + CustomIdInfo?: UserCustomIdInfo; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo + */ + export interface UserAndroidDeviceInfo { + /** + / Android device ID + */ + AndroidDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo + */ + export interface UserCustomIdInfo { + /** + / Custom ID + */ + CustomId?: string; + + } + + type UserDataPermission = "Private" + | "Public"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord + */ + export interface UserDataRecord { + /** + / Data stored for the specified user data key. + */ + Value?: string; + /** + / Timestamp for when this data was last updated. + */ + LastUpdated: string; + /** + / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + */ + Permission?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo + */ + export interface UserFacebookInfo { + /** + / Facebook identifier + */ + FacebookId?: string; + /** + / Facebook full name + */ + FullName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo + */ + export interface UserGameCenterInfo { + /** + / Gamecenter identifier + */ + GameCenterId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo + */ + export interface UserGoogleInfo { + /** + / Google ID + */ + GoogleId?: string; + /** + / Email address of the Google account + */ + GoogleEmail?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; + /** + / Gender information of the Google account + */ + GoogleGender?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo + */ + export interface UserIosDeviceInfo { + /** + / iOS device ID + */ + IosDeviceId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo + */ + export interface UserKongregateInfo { + /** + / Kongregate ID + */ + KongregateId?: string; + /** + / Kongregate Username + */ + KongregateName?: string; + + } + + type UserOrigination = "Organic" + | "Steam" + | "Google" + | "Amazon" + | "Facebook" + | "Kongregate" + | "GamersFirst" + | "Unknown" + | "IOS" + | "LoadTest" + | "Android" + | "PSN" + | "GameCenter" + | "CustomId" + | "XboxLive" + | "Parse" + | "Twitch"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo + */ + export interface UserPrivateAccountInfo { + /** + / user email address + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo + */ + export interface UserPsnInfo { + /** + / PSN account ID + */ + PsnAccountId?: string; + /** + / PSN online ID + */ + PsnOnlineId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo + */ + export interface UserSteamInfo { + /** + / Steam identifier + */ + SteamId?: string; + /** + / the country in which the player resides, from Steam data + */ + SteamCountry?: string; + /** + / currency type set in the user Steam account + */ + SteamCurrency?: string; + /** + / what stage of game ownership the user is listed as being in, from Steam + */ + SteamActivationStatus?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo + */ + export interface UserTitleInfo { + /** + / name of the user, as it is displayed in-game + */ + DisplayName?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; + /** + / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + */ + Created: string; + /** + / timestamp for the last user login for this title + */ + LastLogin?: string; + /** + / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + */ + FirstLogin?: string; + /** + / boolean indicating whether or not the user is currently banned for a title + */ + isBanned?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo + */ + export interface UserTwitchInfo { + /** + / Twitch ID + */ + TwitchId?: string; + /** + / Twitch Username + */ + TwitchUserName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo + */ + export interface UserXboxInfo { + /** + / XBox user ID + */ + XboxUserId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime + */ + export interface VirtualCurrencyRechargeTime { + /** + / Time remaining (in seconds) before the next recharge increment of the virtual currency. + */ + SecondsToRecharge: number; + /** + / Server timestamp in UTC indicating the next time the virtual currency will be incremented. + */ + RechargeTime: string; + /** + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + */ + RechargeMax: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse + */ + export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + */ + EventId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest + */ + export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest + */ + export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest + */ + export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + */ + EventName: string; + /** + / The time (in UTC) associated with this event. The value dafaults to the current time. + */ + Timestamp?: string; + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; + + } + + +} diff --git a/PlayFabTestingExample/web.Debug.config b/PlayFabTestingExample/web.Debug.config new file mode 100644 index 00000000..2e302f9f --- /dev/null +++ b/PlayFabTestingExample/web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/PlayFabTestingExample/web.Release.config b/PlayFabTestingExample/web.Release.config new file mode 100644 index 00000000..c3584446 --- /dev/null +++ b/PlayFabTestingExample/web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/PlayFabTestingExample/web.config b/PlayFabTestingExample/web.config new file mode 100644 index 00000000..bfb640da --- /dev/null +++ b/PlayFabTestingExample/web.config @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file From a1d841f74f0a69d275f730a6120eec2019998b03 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Tue, 31 Jan 2017 00:52:26 +0000 Subject: [PATCH 022/253] https://api.playfab.com/releaseNotes/#170130 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 31 ++++++++++++++----- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 ++-- .../src/PlayFab/PlayFabAdminApi.js | 4 +-- .../src/PlayFab/PlayFabClientApi.js | 4 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +-- .../src/PlayFab/PlayFabServerApi.js | 4 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 31 ++++++++++++++----- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 ++-- 14 files changed, 72 insertions(+), 38 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 74495260..9d74cc6e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 3755e17f..e16c863b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.ClientApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index a6c99444..ef49c2d1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index bea32970..a9d6d51e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.ServerApi = { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 37c84149..c1fca287 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -366,7 +366,7 @@ declare module PlayFabAdminModule { */ GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. + / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl */ GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback): void; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 92975762..0cf8ea49 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -33,7 +33,7 @@ declare module PlayFabClientModule { */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback): void; /** - / Signs the user in using a Google account access token(https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods), returning a session identifier that can subsequently be used for API calls which require an authenticated user + / Signs the user in using their Google account credentials / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; @@ -143,7 +143,7 @@ declare module PlayFabClientModule { */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; /** - / Links the currently signed-in user account to the Google account specified by the Google account access token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / Links the currently signed-in user account to their Google account, using their Google account credentials / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; @@ -503,7 +503,7 @@ declare module PlayFabClientModule { */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; @@ -3110,9 +3110,13 @@ declare module PlayFabClientModels { */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. */ - AccessToken: string; + ServerAuthCode?: string; + /** + / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. + */ + AccessToken?: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ @@ -3412,9 +3416,13 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ - AccessToken: string; + ServerAuthCode?: string; + /** + / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. + */ + AccessToken?: string; /** / Automatically create a PlayFab account if one is not currently linked to this Google account. */ @@ -3672,6 +3680,15 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier + */ + export interface NameIdentifier { + Name?: string; + Id?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 813760b9..d2dafbe4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -416,7 +416,7 @@ declare module PlayFabServerModule { */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; @@ -4043,7 +4043,7 @@ declare module PlayFabServerModels { */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Instance to be updated. + / Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; /** @@ -4065,7 +4065,7 @@ declare module PlayFabServerModels { */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Instance to be updated. + / Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 74495260..9d74cc6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 3755e17f..e16c863b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.ClientApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index a6c99444..ef49c2d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index bea32970..a9d6d51e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "javascriptsdk_manual"; -PlayFab.sdkVersion = "1.-1.170109"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.0.170130"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 37c84149..c1fca287 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -366,7 +366,7 @@ declare module PlayFabAdminModule { */ GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. + / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl */ GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback): void; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 92975762..0cf8ea49 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -33,7 +33,7 @@ declare module PlayFabClientModule { */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback): void; /** - / Signs the user in using a Google account access token(https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods), returning a session identifier that can subsequently be used for API calls which require an authenticated user + / Signs the user in using their Google account credentials / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; @@ -143,7 +143,7 @@ declare module PlayFabClientModule { */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; /** - / Links the currently signed-in user account to the Google account specified by the Google account access token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / Links the currently signed-in user account to their Google account, using their Google account credentials / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; @@ -503,7 +503,7 @@ declare module PlayFabClientModule { */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; @@ -3110,9 +3110,13 @@ declare module PlayFabClientModels { */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. */ - AccessToken: string; + ServerAuthCode?: string; + /** + / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. + */ + AccessToken?: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ @@ -3412,9 +3416,13 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Unique token (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods) from Google Play for the user. + / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ - AccessToken: string; + ServerAuthCode?: string; + /** + / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. + */ + AccessToken?: string; /** / Automatically create a PlayFab account if one is not currently linked to this Google account. */ @@ -3672,6 +3680,15 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier + */ + export interface NameIdentifier { + Name?: string; + Id?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 813760b9..d2dafbe4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -416,7 +416,7 @@ declare module PlayFabServerModule { */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; @@ -4043,7 +4043,7 @@ declare module PlayFabServerModels { */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Instance to be updated. + / Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; /** @@ -4065,7 +4065,7 @@ declare module PlayFabServerModels { */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Instance to be updated. + / Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; /** From 465641459b0039785b6afa465efd718cbb197a4a Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Mon, 30 Jan 2017 19:09:19 -0800 Subject: [PATCH 023/253] TypeScript Specific Getting Started Guide --- TypeScriptGettingStarted.md | 110 ++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 TypeScriptGettingStarted.md diff --git a/TypeScriptGettingStarted.md b/TypeScriptGettingStarted.md new file mode 100644 index 00000000..26314965 --- /dev/null +++ b/TypeScriptGettingStarted.md @@ -0,0 +1,110 @@ + +JavaScript with TypeScript Getting Started Guide +---- + +This guide will help you make your first API call using a Web TypeScript environment. + +TypeScript Project Setup +---- + +* OS: This guide is written for Windows 10 and Visual Studio + * The "Project Setup" section of this guide will not be very useful for other operating systems and environments (sorry!) +* Installation + * Download and install Visual Studio 2015 + * Update TypeScript within VS to the [latest version](https://www.microsoft.com/en-us/download/details.aspx?id=48593) (2.1.5 when this document was written) + * [OPTIONAL] Install the [Node.js tools](https://www.visualstudio.com/vs/node-js/) into Visual Studio + * Download and extract the [PlayFab JavaScriptSDK](https://github.com/PlayFab/JavaScriptSDK/archive/master.zip) to a local folder of your choosing {playFabSdkLocation} +* New Project Setup + * Open Visual Studio and create a new "Blank Node.js Web Application" + * ![TS image](/images/TypeScript/NewProj.png) + * This creates a project with several setup files + * [OPTIONAL] delete app.cs (We won't be using it) +* In Windows Explorer, navigate to {playFabSdkLocation}/PlayFabSdk and find the "src" folder +* In another Windows Explorer window, navigate to your new Visual Studio project + * Copy the "src" folder from {playFabSdkLocation}/PlayFabSdk, into your project folder +* Close the explorer windows, and return to Visual Studio +* Toggle the "Show All Files" button a few times, until you can see the PlayFab source files +* RClick "src" and "Include in Project" + * ![TS image](/images/TypeScript/IncludeSdk.png) +* At this point, running the project will open a browser, and display the default Microsoft example +* Project setup complete! + + +Set up your first API call +---- + +This guide will provide the minimum steps to make your first PlayFab API call. Confirmation will be visible on the webpage. + +In your favorite text-editor, update the contents of index.html as follows: +```HTML + + + + + PlayFab JavaScript Unit Tests + + + + + PlayFab Getting Started Guide
+ TitleID:
+ CustomID:
+
+ Result:
+
+ + +``` + +In your favorite text-editor, update the contents of app.ts as follows: +```TypeScript +function DoExampleLoginWithCustomID() { + PlayFab.settings.titleId = (document.getElementById("titleId")).value; + var loginRequest = { + CustomId: (document.getElementById("customId")).value, + CreateAccount: true + }; + + PlayFabClientSDK.LoginWithCustomID(loginRequest, LoginCallback); +} + +var LoginCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError) { + if (result !== null) { + document.getElementById("resultOutput").innerHTML = "Congratulations, you made your first successful API call!"; + } else if (error !== null) { + document.getElementById("resultOutput").innerHTML = + "Something went wrong with your first API call.\n" + + "Here's some debug information:\n" + + CompileErrorReport(error); + } +} + +// This is a utility function we haven't put into the core SDK yet. Feel free to use it. +function CompileErrorReport(error: PlayFabModule.IPlayFabError) { + 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; +} +``` + +Finish and Execute +---- + +* Run the program: Drop Down -> Debug -> Start Debugging +* In the new browser window, click the "Call LoginWithCustomID" button +* You should see the following text in the Result section: +```text +Congratulations, you made your first successful API call! +``` + +* At this point, you can start making other api calls, and building your game +* For a list of all available client API calls, see our documentation: + * https://api.playfab.com/ +* Happy coding! + +Deconstruct the code +---- From 05e0524a5d8f952de4b5a20dbbeb9f9aaf56d834 Mon Sep 17 00:00:00 2001 From: pgilmorepf Date: Mon, 30 Jan 2017 19:09:51 -0800 Subject: [PATCH 024/253] Images for TypeScriptGettingStarted --- images/TypeScript/IncludeSdk.png | Bin 0 -> 41779 bytes images/TypeScript/NewProj.png | Bin 0 -> 66237 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 images/TypeScript/IncludeSdk.png create mode 100644 images/TypeScript/NewProj.png diff --git a/images/TypeScript/IncludeSdk.png b/images/TypeScript/IncludeSdk.png new file mode 100644 index 0000000000000000000000000000000000000000..7d679372a78f85c5f339b4af71fde510da1c4385 GIT binary patch literal 41779 zcmagF1yo$!vNhVc1b2dl1h<6X9-KgcK!D(ZKyY`r;2zuw?(WtQ+}+(h(6}`8zd7f8 z_uTRR_r_z;V|VY~tCv)*Syi)Yg(xXVW1_!A2Z2DCvN96NAP~YL2n2VG3J=`L9uNxw zE^zkB(qf?UQSt-e1ETSVPai;_s;C!GeI(#BnvINxJqU!=_56bCvo16Q+V#syeE8y` zd$RK48^KJQ$Qc^k=UkH+rgl`+kQBAoj#CL*2yq`x@EN#I9_8Ren~TP-KgtGNGkv15 zW382i)HCI2prfO;)#0LRFhlHo=aq-l!smU^P~oUI;uuqU6fU4US}xkHrr?C7d`y5M)mAi5M6#2!w|?$)Hjl5^yjA;GD9nd$T3W6E+s($w1aCAuqYB- z+o0t7C3&3(L2U1quAvbA-jrfyS-9KFH=y1c(H}kdDm3?fK+?_XbedyRnq?W8Lvjd!m z4>u8gqdHKYmtineKE{k{A+Tyoos;6eVo(HX+>yt3eIvdID+-f&l_+nol7~DD^gnMFk{ypT*Z- zpTVVxYWP;u*ym15*B_Lm9s3a_(qY#NSvxS%5^e@g_fOuF-8cpW*HZiaHFoL3b`@1l z)#9rhYP7ffn$&n%Vd5snNLBsSRV?i12Ii1UfASdXEiNqEr$sne}f8(}2@ zHBC07d~B@O5g$}wag#DxxG#|VHk|G;tG4jf8SX7eA*)nWBZg0T@AZ;4#hz3GH*C&k zEYqoff%9y)Tt=Z@!izQ_-{%Lv=r%)fIwCi&-Z;_P#B71TDeU6K(Ja(+Gq8wOs)cMaUq$t+D_M)cn`s@P zG<^2^!T5ghB_BK$2v|V4b@@g>tQB?{YqUZ7kH#Z}HT9k_L8qgjwOE5>3!Hc-1Q}lI z>o!`-s!PRCtslCdZC``IUF~_ltJW0XE>^yEhEzCnMrtkJ>8-J-lqWstp$slGaQ2^N z>&V>+d+Tk3`DlL%(rA6SQ{+aD`~+wGBHE7OSJA6-r222kq}=~|M@-$T^ErRP)=+5_ zN|8>0&;7|KqHX0p#*9b$P?Cn~;WIz5t+ykg0cVRF6?IJgy$_Ds*FcXL00ST1;67>Y z;;m;`0LjMA`m2Jd8^b9|;Xzfg1Hgw#WVb%J=kI!(+N@saqk!$`r{h+d%`B8a)X+S!coFdW41eXnpw9~RY(p5Y$kphOXb zqr3mq@%Ciiem`f6e#ZdC3U>F%fdn$$?0G~AJjkqwyx-sQwR;Bw88a}Lh-u*Zj?X~S z$Z4hdlBb;ih)h^SY9C5mx{uegcn8zPw3pnkNzy3uS(brw(t{5|RHKw4wSS${v74;8 zo_X@&doSwA$}vp*Fnu%qev#h}d0h=^5pSswVJNBPQpXXR z(s!%#*~cl0@YzDsomctnw)+QSOYh@TQ{C?m3Nr0S`I;UTKik>$m~m&X`3D*tFBoU$ zb#u*WtGG_BTq-`^tk5ZXdi8yFsaa5(m3!Z@+j{6j04?TwYH5 zOq}kuC<+7T-!d5+Izkqy);CFr4Ju3kCd8MD`GDkh^GJjJFFPv5?W1tp_A)|2 zx}EkYikHw(r-%dy(Mwt4PE`Sro?kW1&=C64q08DpRFwDSVM#?O>O_u7(|&dsat43l zSi85-y-;CyyxY_#9u>E{^R)>u+=vu~DTaGFF^hk~R8rA{cLAh642o^EGy&b?)btE^E41dNZ+**ExvJOSz zr^1GYIr2B~0UvdBbzv$BM@O-I$P=d@asn3iOX$asue~jDzvW1f)09PJ$}1>fJ<@Yy z>f4^%^>#n8nmAE0|P_T(9(J+r4JG2c{%nriGOPLziAB6E+Y>Y5%Lj zT^;om(F;#fn?f3Zba*343?yrZ>-5~4QltUbz4XM)OvMU=gmIc{>4Ta`8af;7?#kG4 z_jL??DTY^?9knvs68`0HaeuH|x$hFc*d1-oF`K1`kIT}i5}W)SdsDAxjib+fFqHWD zyZW{Yf9c!Tmp?FLwbwBM(!4ZR&TXtj?rdo8dGNjuGFldfu{Z4%a1e%~z88z3!@E>$ z{W0<~#);BR!w=o2`n*|oI}hp>l?Vf4Nz*dCRlNJAK2STVi4 zp%AHOj=9>SbWc($*e&F1CmK3N^5k!s9FG&#UAu&~Et*$q)Y)wUW#?>VcX9&nqKKWJ zuz!olF1~M@T#L|6PegT?addVbN)|;zLgH4}+zqL8Cil&}^0od8!9%Npufl*b2URtO zmG;Sb|3ZZ#hP67A1HJ${uou4bypf~&5tpTIR&Q2IXc0`fjht4`yjWH*_Lf^;O5!3> zEo;V5Ew?a2PX9XA-P;y|)J0jEDMVdBMQf74;m_rr>J97OKK){bKQf4+cd^rI^f zGba5|Pj6YgVvSU<8ywsDHEd$kH(Q+95CZMaLM~5|=vEfo#xRVjw}NRIAYsmonl?Y~ z-DKX>RfN_)UOwnNn9v6vIFC7#s?{X3WjLJ7dD|51NQ8CspKnvwy*itsJwUY z8YE4>&lF-(q2nuZ2qXQ4^}OWC9PbDSI0ul5`pWq;Qis}OZ+26yDfu0O@h%s0a>~Am zms0bruX<;4OGb5YzrC^JuAJkAbjQ%*5w?I zY1!IQn*Au6tHBDL9o!q7XKhGOQj?%|aTF|A1JIuB7tMTas`SfxvB(@D)Y`jbiXnj37KC``Fkh*UvgV>XEZBI)W01{hbZ&j> z#Y99aJ33e182xmibhH+kff~#Vc-p&^rjd61;-0bg2Rwe)u0p1uBl>w#GUt7bPA{TjQBVesNv ziiCrq`$%PxH&=|0C>X7P-MIXn{aapBf_YvLlk;Ba&BxL15PWq`R$*5T>TF=2n11di zuF7cqdZl7&%D5xYSbyJsgL%E&fi1!hfe}64MU9;jHvt;^&LF%3=l-gy{9-*`NP|HyDaK|0E-vC|=gy9{Vw~{BzQj;=q98 z>bHm=*v=Y4s8iJQA~s*62xtMg&u?qwK`oIdV)rQPZP#E z==EMYjNKf*yc&majmw46PPHz>a`Fqzg8r)lSn z`Xrh&IiKh`^_hP*_UBaDa>Qs>B{f7N26Bv8Z8SeoNAgWnF1u%+(LGt4f<5)tahd)T z|8)PWPMq6k$1-};CL|vfDjqFQDS$P>d!xfw$ZP<(@!1st-*H?G3{U25gQYAGsFd}% zqbPz*{_Wwu`cV6luXroO_mCI#^XDP2C{xG0tqe|aK$z?(0??ID_IB$mL?{{22g9zD zOU`I;uov9QpaP2Sq4T)f)Jp z3S)qw=cXhiB*5-6VGB+6^qz({mzSj)HGxb!8(xNcv&(i@#(|$=>_O2M-mr(YrKKfB zfs@+7!9i=!BQ3yS60D+NQw{@0oX_q}+1bXEqyHFKtdx9s!(ZTd%k9*cCrHnsJPlV@ z+i{GYvOv6{0W4H|Ie1}c#c2}7yw-ZYCWV!7Ar%=(Vn(0he}Z{s9?7dQ1vynhoPR`0Igk~lAE3> zvz@>91}Q6l?G$50Hrp94=?$jYLP znE9&`i9ii^K8d*RZ*Uo8r&V|y*wueP^j95KS@k*}C<_!wL#a#6JWn_d>lNsYtFr4` z(xUSAV9(^SINOc9R#%{MG#p|7ngO{s4SsFr?0cv16ftYir)-@Tdbtjs5qa{na~V^s zx=wu}WV!C*8CYmBL~}>TcW+w!+|9D2yE>c@BvhU7^nUtG*Fg)3FB=y1{dS22=J2Pp z%-ku>*^+T>W0vbAlhoe7UM8z7+*)I0z}1>`?a$(CSpJfBJ8paH=?H~Zly-L63k{az zPNsjYx`MOwP0ML}39Mh(;RyUzKNnhAl^U+enGOuhd$D^?@h6+Ow{M4c(fhI=lcv? zC1(4&rsF6*1h*~K7P~OjL&*A`yk6m1h@kMaIwB3#@{-!wAP5lK@&nqp+#wL4t9{jI z=igdZ)}EN6Y~;UzY&HJ6*qb~|B;Tqi&=Db{U`2e+4e@cl%}s6;^b_gX z=$_$IEhq{?x}P2&7(X~d`l!6q@bqr~5YHQ=hv3r#da3rWX|ZMjU?IkBy$WprKSto4 zf?-eM*g~A{*A`5%Yi>tn_G3Z~wY6VLb9hesRKMUBgy3;7+gXUx!hWu2x}vNJ7J42E zKKZdk>uJ;O-61b4U3ncu5@YLfP4H6Mn;bY~IPMUtLxhkys3676-NrrRA@~)cm*Uj> zUV#Z->3hh0q>h4xw~ftq_n3oQH{&R!*9Up+#1~CSBH8zSzX|2N;H1cIxH5dcL34kAbJ|Y4%NX1-Xnp?kQmRC zy17ut%Y6A{F+y80wB$T7M{;UaB^{5G#X1_#1*1eAmyLip-n}&Y_UpQe$Fm?2a$cLP zuZE(8kgwA{s^att>=gI#Fv{p`ZCZX?lKZUR)mmP^i}R8@#IB%dMEzU zttUR_QPrg_07f?OT9bmc(j1c-o`G3RTq9 z^7MLMnp?Gd#L;$A?}@m>x5<8Q@JqdBqs?#mp2ev&8O2Qr{tvnq)*|W->QxyfztuBJ zF!ErQCf2a~cun?@>j0+uPy?2R1!*zyj{9pra@)SJsft`3Dhq4xjpC50o?`f;TzwtU z+JP_uT_u9BR3!L^&DnDxBvSTXTV&~zuUGkF@XL*en#6c`pQz0J&fyH!Z> z*@AV}(P<2jifsRw%;JUCyZb;Q3d8*-y~OvR4N(pKpVc&Ebqx*H^OYZR<>cfrUn|o1 z9P<9$TYWe*VtQb4$x_QVU>$I@wcByEUIFxo#&ZT!#5faCykIVlo0D_-H9GlV+SApf zld#BTaS4ksW1vE5(?*&5_PvGU1GaybG(obsoVgjiGqs4_eA{VBdGp8ZD))gX5rsa( zzF3W8wUQMtKYgCy9(M{&x2|}0VXw;CAI%(>+SeIN=4PWg$G@%1n)fJY7bK-$EF1T~ z4kf(wmd|*b?G{@7(IXn)Y3NqlvB98^W$utQbwWgXeUn&yWy;Gcq7h}pOzxTo4CnVR zs`aR+l}*7;_vm&NX^th{9#p?Onx48d1L3`jtk7w3y4W3wBjK@Ho-R_6{PDIz#QkV| z;+0eZ`SPj-)f^e@e6z8_Lw8iv#eG)Lixa&x$~j2%lu=_Nf?8X7Ixs6nG(9#ncz%Ys zwl_GLJVNcRm7qzk?Fad^gExt4E!(XyhTX2uqZJG6Mz+K{4eJFtnPBkssk&ChF@b6y zvvsr9Xl`o>TZ4NL`>}^kK8QMOftUdC*`4}Ui7s(+<#;1fy!^DZBWGF+UXR!_atd#2 zw|X@H-VR+{`u0+Q-;5uT^FN0t{UaZ4rfw3ma$bK#z+E|vJf#m<6W;6XH?=>l5Y7ET?z?&FR+ zY<~L3%PR+)mB+P~gW1y+2XOtqW3qT`kaM=k+8g}V1VP1Xk14ZH!WomT^(zJ1Lic}O zNO{Xbgs3LUR92q2o-Xb%MZ)G54-piwfnTOx1!&Iwre&~>P2K5ghvuE42{;t3Udt9ZES-Kcp~^&o^8%)8sP=Q{Fm=iTZQa~^e4y7_c}4QAfU9OK}s z5P@Ou$mOsr#l2{EsXMA5AkA>R22 z3<6{uaLC);9k5fE{i|%olRe{JNZ4a1Ox;_<^$N3C6#Ud{KA1F-o#NgZH=rkMbC#8j z(YBsFH~(iZ)BEa>F?&zT>F34O8?_J4o-t8uO*XZ18b@50>00Me6btj-#wR zuOfKn2Lx}-z4e5FE=8fg`LU|(JL3+I*b>@Sum)DG)~@H;Iq$>bydJY=asTeQn~nIY z&sDBEryS0bD`h-Lhxh&pk69DVD_ZOU|7~j3)WB;Mr+8k&-ZZs7dVV?{pJND=-%fB7E&CCVNappy+tR59>b5069G_fc5!d z^A2T);lzDT_tx{Oiv9;157o$@SwsJN>)0(dK<2KhkqW;r&BxlzNQ%y(7h3G-g;^?P zLc_u?=EoicbyJVCbX4vV;m1B;6T5NeXBEYf3n`9tFR{-xs~G0Ui4P@vPTpno8U&eZ zo~a%27_}$|v<&qtbWLQ^e7pzeUg^zv6ERJF^z~*CU~8ClWcAJova6*>JDl|3MAcKd zN&E1K-&vM{_0(hbv~H9BVsP&Q!PI@0N}+O~N|4HHSFiO`{sKGc2NvGu#WMEKFHoU4 zm)^2R;9?ldm;Crrgv>V6lkNpwgG)A=N1i$__vm(LBHc6hp~lfxikidUz6#e=4EKmT z6kjh~-eRNv6UNajV)}G!>ACb{@4|s|zZ+eXsii0Rs*cbR>5g~`W-jIYlE@oX#9U(YU>0tPziNXg@60ib`N@s-hM_$LzN+2|DeUnqFXCJ( ztf=Vg>>IzZ@|T${f6g^;PGg;lL>wHWr%>%A97Q}x$GD#uF9nQ^6)%2yytf#enK9sj zGe^#NvnR657K7X0>g%hIbcMZRd@Cn5`(Yg=Ln``p@xwq;$Bp-&#SL%F3MY=u5i{$b zr%T=pCx*9b20CHyXN)IOe7!@VV(NQrC)VhUNJf(Drigsm%~WxO%{+f@PDJ9II6RoE z%6pOzYfMHuL?rp+2o*}UZkFw_0}^CZ3>LhFHDGnHCvZK5W`0?9e*51+qWiA>r&6Tp z{cUHlW-|VvM`B}~T9m6uS$BSqYK_3!kY z_w%U>J`77=W@^<;Zf-CqKN0la?0|)~i)L2kjP+}VFDp!WWi@BcZTMFM4)q2d{)+Vz zDp8CHqk13;Kc+W(NG1kAe;Rpk)u9U<{6+53%fYe!c};Pw_vtN|>;7h<+QfaTC)!&h zhJAh=PKGm%5IX+s?@RQXI=0?;V}Ew|tR3>!eFK}l{oxS&^reQIhey2}7anZc`BVx; zKU$b6DvTI~E?oVUfhl~r*)mHSvM>5wglLUlRB{oU<1H9@63bI8)6@q^PL7m$_0`!+?a=_QLt?H zh?%soj(`(&r5aAguNE%H=&m3OIRlC%?dk)+?IxzGay}kEzY;l|cLJPwvARU8+Ic-_;7en)+*Kj-0r;rLoRy(6+yALVqqUAPo^8n+cXmmgSAA6U{C6p8l+jssDfKnXjL4ex^&t8}E9%ZD?!}@P zjJz$hyXt$NL<-SoP5Wm@{|cd~!6kS$7s7LLdrK)rarF9^-%^>;pkO`9O3L*EnvB*2 zR_>B;*1~||S7#GX&84O%hUQxB_+2sw^WtfdfMJ80Lth=MhM`vD#}p!ZQ~tCho{Vr< zN4OPimKibY`~6tpZ_8ok8qY~G)aAs#qTNq=BhXoSdiuRO(hChy7V5LI$;Htt>506Z zV$P_JIf~$USV{6)%E9(_EBANd7czJNcA8r5-RJC2+Nq{UYy1|#se-A$2Xjpg47ghM zdJr+v1wD-^^8IXKyJKwAy*gE&ENR51ec6r;wgYeQSOa{F5jy9wIkL{x=-;ATPPf;p zA8Q~()5xobX^VgU;xH$VtCbPPKtssW@gp0CyRw15lq8ceMaD|mB)&JUN!x*BMKQ_gcH## zAIPg=#u5HD^3dpf=sg6A#&H>9d~@fFZj3L3_b&q580VH0 z(ipwmLxKNz}K~(`A z^gxC`T1gEk|H1KnTMRI{0KoL>oq>F1IOmFFJ{YIRv8RIRkz=K&Q0E6+jYps*i`|_SG}TNF zp<$9jy(J65xn$y+x?w_%r*v%Z(!HS83bShzK^=0cf+OcxV5tp9{SnoJwGiIv|L-vf zVBu{^Dzzf&QJNy^oAo_~3)Tek9L-6bC>uk)GyT363s`QUNAr_MP^{HkE?pi>71c5A zQJ61Z4xL6gDUv=?@KrDXE2w9sk(QduTw~$**I-Qurz@*lwckZc=<<+p>=hE1a13ce z_E7DIFAk_xA~A`2`%!GR+O{7a%!*6FD6iT%K963n?-i#R@O>OQ9G1*z$qv`OlAhbT zYftgZ((6TSf){PXxs8)rNB9XW=_CU)^~>KSTev}_3$4~$?67*5KRL8HNEb|SV zh+XkHb)-EbuVjZ*=MuJx9clyzX7OD;kgBk&s+`CnkC>X2Ha~rOi)|YuEPB)?Prpo- zDVC0E3pB4=O{sBItgqGW+>u3MM!N)ln^Q#fP$(~;&=Fl1uYVVZeUD~@L_aqb$(B{x zF9<1%gl!KrdCxb88ia_+x#y7&&WQ~7vrXbDXt&cafT-dBfe9S9V;9aJQLqi`2KQM@ zSWcQc!ABLWotx7&@9K|ia%igoT*7AjqY+zg-}_(${ksMUgv$4YHgVwAW$%%PjOWqr zqCLXEY55F|;KyE?Yev#1(p9q)^Re*8N|s%n7f+T1iqCaeR9yurBQwll<7uomM|(=izBhn){5CWa_vAgO7bEi&b<=%BLzXC9O@*?fwvPU``-Q2*DJ$#v!GjC>ciCj{zQHr3k6tZ<6s{QS( z|LHSXX5S-wzu|u&-UnyxkeACfkyT4-WbKuBV1MaZoxNQzE|Hk$3MQLkiG}X<@!|BJ zish{%you~;-D2)!e-_K6q3@C{Gcz^iJ$vQEwya4!!|V>OgN~R+KEpr%yU|c>OCwd1 zKF22h2~PoYFvmQ*Z4SjJUp5myDHu!~hW{vv=)k-%wmv#CS1V??w4p-hApEbn$O`%H zD7g6+pH=6>56L&)PM)7X5r)-4he8RW*bd<(Yre#asSW&Z z=eGktG)i@VtcIoKlbRm<07MsFXUZ-z?@KA)%SufGIZRVoZWm0llmrAr5=3GD4ir>? z|Mjni{{nIQ+cx&`*mC*N&?@U2 zZhs}2Vz}FdYztoxe#DH&E2~d%xj?4=Ulpbt@*i&^mtM3-R^+Rh{yjQ6vQjcDmY>)z zIVjEw@U*nj8xgA*M)cVh|4+wVxmKr*@<_xU6zbydsR$E9T2@bvIHXca^sPuAtTh6( z4weJ**+mCM|9Rff@U$`CSiL|VPW149e&qRPg%O4I*mbEnq>0&unHZ!@^`A0BQo7gf zeL9jls>fO+NI)q136;~w!S~-_BN`~XvKNW+P+m*d|5_4`I^xwCTnAblVYIArgL4|Z z>G}2mcZI^sK2WsOe{iDzt?5}w+Ou3h$xM>&|E}(FwRj82m&F3L zelP#QM_u6Fd*jh?%gPXx;1s=dh}s?j&-q&S)sZO+w=ujZ!GFO?$XSq`-MT;e)ldQ} zGaFliM$G?6m82Kj>T~W4k&|_5I{O|RHRb=b;*F%xYqZ&5ZCJ+BxKLlKwY0Y0bCoh+ z1mzO^ql*6nG*T0e&|6!x(@Ex-CSN~EYH;TpRd*xGoZS+h%u*`_xc_49Cy&fhu}-NN zDJ%;9H#KRtlZBYokqymR`GsXs2Uhzma|Q$IDkYp3@_G5_aL70!|IGIPi482qe%xk` zrE>>BOxVag=)&*q)V4H7>pwU%J}e!8WC$;M{2y_E#K=nkzifIt?`_U*#jqVqXrQ$W z3lSW(!aq~}1Uvv3`jFO*R3J3nG$qXGbbDzoWcKm4HS+WU%-6&$QViD{suCvXo>LvRG{X1&i*RBZA9|1 z$qEJqm!vtfzod-~sk>2B9Qbli0x7c&mEg}1G)yg#UJ9r;FOo+k+eLAJiy!UkV-;09 zTVcZQ46cTkL^MR}%FB2Qc_ht}&z|Xlef|RvCMp3|q*QZ8BU@UI& z7iv#co(=LnD2JQT`F~ytlpEg$b9sR1J7$O(8oXlK7AyI@K{k=aW!J-1370f~)(=Pr zt0=$%kck#M-FSg-XMB3?ZHCEdNH#PY5%K_H=M|>{l$ElM$7XlP$;nBl?v^Hnv<~^C zdiRX&ujQzvHTfTowhtZBKst$zrZ6&gn+R8hUB&CtdeHQ7=Xk^Un!>YXFI=v7&~@f0 zl{kVSJ*XO9IrddB-WLk*lR5-qU6-mfG)cXPtfDEx5YGKpn_1rQG(Ug2B(2{#Nny0_xw?31tNjf{2=DuSHz}!GsX9XIPoHq?*LSzYrJ&W z7bqgC>YXyZ=rqSRoX_0=v z@@Ap*)`Rtciw(&qH!Q0Zm9Lo&5kTW#oAUx}hnw^Y9xOj7t|P-Ltd(j0tU~6zU^y)b zOz#t6n@a|T{6`ev{SDeV9R{M4%-+MD4|#I*v@g*}>0;gbdiIVO56iyaf3X+y@Qjt1 z7kJ{^8L(y^#M)WXGU^p?U}{rjim)D%9J(`R1#H66Dx`lfRAfv^*llA%5exi!@6+f* zLyJ91rShNV=Q_k(Wbw1!5`L?~F#MnyNQrb*iphfnlA8|LOQ?*`_1rL}4$8D=uDJT- zPbjqbjqpp~s~3_$A+G@g3(a#As;YJ^jRxn+XyS_dj)rB+4U(NIW++b<1os7wa<|^j z8(ae1l;ELI0qwztvHJ&<6~!UfSl`SMfrr5(M*WNDir{F65R%gKMROFQVX(R$vGd=q zE~*J*R$2>P`@2N$?$W#$;I?h`_ZK&9Zla?vh@Y0YUc*}N2Rh_Im3W;fCui^Dd)82I zJskg1RcN8KJaHMWJ6oz+E&s-NC{2rBRpZBE?=(ik%lG`XO?6WmgCL}6@l z-5w!GcwCZ3B7l|rDrFU7B5d;deV(YR6WkF};)U9!ueBg-h#>QRTp!}e;vGdSU8A>y z<{`xV&Weg=P+!JzW~%*_%7?EBgdyxSmroC=gZQ50 z^;#|epeG|lD`VKk1@A=$9j!QHheU0MKylF%Dw>*_Xeh7)@12`57*K+B@kC7K+E`Gs zzXrCtM3}E5h|0)TgvEY(i2GikE12z&F>=`itt!xST*?Obe*zGd={hpgZqSEWIFsI3 zEJXUW(MQ-$#vJ!DlK#g3+HZ`(yEyJ3dR!o56L_)x0Srk%Gq326w-PE$YJDmwX4}#2 zf65}a{D}-uXCMw6K&3VfJar%jTzsg%sxpdHnP@@>%6|Y}y>}H-gGJpNzS_c@Me-*T zl_TnjrjHP7!dx?A6>^DF?X3N52ebm4Y2Et7-xCN0f~iI6I{#^oT^K3g2an1@rn3Q5 zO@bh^d*A%xe1YD|-+raV&;;{70ckC6F>JL1mGV@#GI=eHnrl*88yj@wl5YR5PA1ZW zx;-!F%^c^Qa3<%D^)RqoOB!5oss(AO!QHsQ$xOFadJdyiT)gGr^klf@jgJ?$Z|WVX zGb*TxFsh>=phFQ&Yd5MybAj1drq6HULLhEcRrUKav%|uMZL_QNN|J5POi{V`E}i7* zM;`Yr--7NZj?Yhw920<9z$CGoxclz)ElHR!`$^ash>~#h754?Kz63PS9#$55tZTV1C6v{%rP1#?+K%$3*^9s=`;VUqucS4XLkqX_%IImyk zyxdM62cvBdI~X&gJeEoP?Ggj2tF1Hdrw*dNCjG3sE7U0Av0iI-eK^!=*<+cfd5>T2 zJfoPAT=_#6E%URY>Cx^ksq4fOqp~Vs1xmD1uPyHbl2%<0LdLd3GP|5njgY!OAF4e^ zuiTD@U--7dXECLy2Iv(t2$GRM@DD)GjptfCS&zmAkz|k&z0~$q5@3Jl=03Hl$uq07 zl8%e0vxN>glCg4*5>NFwlF9IRJ1Bj>C-sg~@H9m>5h(jb4t225 z(BgJtQJgV-%{gy^`Od}vO4mBMB7zA`J1F9E+$7A!U^^%l<#$mwYUvGvDw&s-o2=3O*$Qe=6oZ~0xZ1cTDLq)&(4O5n~6-36m4 zhOm)vNdIV>X(W!g=Y-8C{Ab4)k>_9vmw7wPABJb2DfAtb$5;Ske3Vp>IPcXHC~ird z;n|Ui2T?dqaVy~Y^AIu0sa*r!c(W6J#i5hMLHifiW`E0mw?t`-@5w|??5hF^*1F9X z8}ZE_D=Xb0oVq$0If8HcLZeq!UVAlr9<_a6m`EgInUt!jG^<)cb12moJcoNXnj3jC z>~e0w3>)QoxM}woK=roN7NQN?IKIbUVz`+6*li>!pY<%cro%?mnrHg*&W85@1cYbd zv3`Jqdr`=?5XgEHyikqKHQid4j%h#Sl5h3(Yi$2Ji=M`pDR-lHC*^DsFF`@TxuY*H zh(k=L+FkoB*YFNZw&UfMGFQG~`tC`7bwp2lDFj-l;!N zreMxrK?c~ot!}~GRAy4Ebc_@Y8#5O4>a&}t=LOBs!FEWr!1HmeIL#Trl>CxBodX;< z6fAO+yJEeOP$GH`d8pgVu%USF`ofk@+UmhwZU^P>37P}xy;9YK2Fz_4I_Vrp(K|S| z8vA-wY0-=n#VJ5NX%H=-kAuCRfLvIaJc;#Z6;{vSxlaq66%yskOI5aGKOwYnt8+_a z7F{-#@7}l8Q~Vl1tE|wm@=|Kjo2#O5Ij{P{1WTpMW@J_XubU-TpFfRqaS##!+LuF6 z9C^A>vj^18N3skD?>|<%j_l|y;?!&$9Go|yYw%tHVQUBrt@p>g$!Z(@Fg%uVmWJ%z zIw(Bqkb^qO_m|X1)Mqsck#;MNbB|UFe$w6-1v4d?*>hvw8!zI-~X^>W}VZ*!i(yW^U| zp^xV2s@Y`|hW2i5vtp9jnkKE$?6@Z!IN%s*K$2gS4I@S$TPCGi z2~CMt{Kc6&%IY<1;(ImZC=%!6^mO8=rca~NC`L&0{lKw70;+**vf*-)fUVmCY0g^N%fb*o+QiMfu*e_ViHcCw0o=@=v^j2l_<03Y zjaj{WX8XOTW^jhUaXk|9tH>ar76uZn+O`z}lnjZzzl;RxjX|Jyfrl>5KqWRcBZq6{ zzs~Q8y8U15=gTjBq(cSoDv?0ZP0#UjH+^5ESL1DhxU-k=yu)SDTE8kBjbDWwJV-Qr zqa^JBI8)#Nlw^9Yj144H2MV4mCd1o+^mb~${l&ANRoyN70ZykS;28|WFfu!czH~>e zPhP=VxSrAF`@VfE59~vVQd4)9cvtmNC#+}}R46a9uqZOFBLoin$!MKDb57B~)aG7h z4!+y=C&#@I;?l5HP(9@6R$fUqSOgg9h2nh(`9tRY)_+a#vE46sYJHL4agT#OODh^= zCyr?%?ppo+0)h#y>Iy(F82|32_rUqklq2u`c8qtZ>?j$K!~FSC45u*i{dKzG@8-cI zAPa4!H`L5far+k7fS;N6M$5k7*{n-YzMy`GbNdPi)(rrHe_q@%t?KlR{kZCn5%1WL zm3IA`@6ZNYzqQxs%O88{e>jjq!n{9vJ;iklt$}yhl3!!(#^2SdI}%!2FD{%(J?w1Wqy$1O{5p1H7CP5@A65|3{j-VCSXP>bNGK1loAYM-3|JIc3ZY_& z1krVrwQkOc~ zcRSk8sM)pg!^$oheo6Rg#t4@UXe({0)N(r>^YJA(8FW@vm@C=0hC2NUxcN+^-?>VtmrU-VE@zyn$PMn{kUJs$&?%Cxz6 zTSZjCq*&*xNTx#WK0mBv$IERwbMC8Lv2hWp^Yx`qLfM92eVt$E>BCkN*-1A} z2@2*OW|>-u70LRfDp4PHgiF-2#{~02j0-S0W5Qkotadyi#h1Qh2L1uR9JTU4T4Aa> zlA8G30I43+r}9Snr$*)SM_WS2s%x4${;4eY1PDG2QSAs&d z&%Wbsg)GF}%*{7C^!%6c0?GM$T&yF}+7}wtQ${M^KrZJKgJ>j$N?q6vY z_kigd{kd)Zg=W-hol%G08%bF5mex^=Dv3#Ix_@e^Z9Ye^-|6eK|Aj`TgP{KodY_*Z z3BI9Y#jA)B*U*n%iARJo8D~#i&1&kmo5x4)mrWBn1$k(jAh&%7xH_$MdZ;>|z+o>7 zRaFZ1#9tlNp5oCsZo|JV=`%ygtQUQjDoz9&p_q~>z$jmcN)yPD>nuGj@ zc(*b6fLXob<*Tn37{ZG`E!!RF*Af`rMaz`!DPBlfzijb@5?%9GF#c%r8^Cjl$HkR z?oOq7Pc4()ahcg+eq^zTy|X7(aG!W>(oC%ApOmeD#O* z*lV|r9rH${DGldy;gF3xru4Up7qXpcwd(P-(K5oG)HjXR-iL4iWS#dFd!y7e4$MWq z7JULrr-!=RulVJ3w*L%!vO)BQP7t7OBgTtYG6)b6QD_5wF--p*pN5bTH8-c5-t&#$fX7w@ zOZ=U1sR#Nm_L7NYCov3akdGOO$0dGYbFdj%^eyvYC8ojleINpXucvgd0iQ}Ji$lCW zul?Zm(D{ZU@-eVLcT`H-#_va97&P(Mg5{PE}BzmK%iMx@Alv25d?_$8`=nZAV zCa&rPYe6plh{5Sxg#k188aNU6hi*q-iXL6VqbNC>_)4dfJkqXdrIg2*PUhy5E?C{& zU*fy|xr2-4?q;%4_;aMAGjb~_^!p~tM@5j;Zc$J8!M>ZEzBS5;JT;aRv#BU5FY>=r z{%*E$MuK2T$)bU3QOZU>hBh4?R4zD^FwyBV{)yT2yYB-1MR3+`MEQdF@STm4@lU?* zsVlhXDBm9+kJaA)CcQCto!ri{W7qGn6_|J?1m_JF&YS%U()!$WCmzJ6o(`xRg)Drcg))?lb-PxZ?QXY^^uLsqtam{4?Y z;)cd36Ue-bk_tbi0OE)>RXd|eheK9C7;JTVx1(9@A~)^|(F=8@XKW;fr2D9PxaTaW-**6L>MQ1hmc1nLG~Pfh?njIRn4_#bvN|)V&ZY-PDvS*@;xw@CT_S4eOm`4TygJDqZv{+=YsLe2ncfCW3BKw0%zt zj)Dl5Plf?bI~}H&u+wi|MzmkxK3BMp)s>2G^F&VY-{oRW6n{t_&3;)j>G!PaPzeLn zXN5YtsM69^yN`BF%u8!yj+p7?t~p8xz|`kD&-%@ag3mD*5-*2!D&DWiRSukD2by^q z2+kvZHJOJqz&zLv_olM3Hjq*JkV)|nWK*(sp$PBtG(K|>Qe~GxemxsNhnvUP0NNf=C*;V#^pDP?)H z)E3B^$a`&d>X?zWWfbL9NyATm(rIJ$LR zTRYODn=oWFV*E_o1S6O z6a-{eu++KX3pOD%xYn-S=70@RiUTa20i_g(<>GW;} znyIjZF5iWK;gVX2aXivJS;un#rVx-f&X~dw=OY>??Jkr74wI+RRTyG#<^}nd7#P; zwH%@PsFurCOrH5QQX)~T{l=F-LcdUs-1(KXh9`t8^if^bwBX_V`c{4Jg?PuZAJw-- zUG(ymd#V`>rc&Yh8HPD)7vUkQtf)w$7;N@ZK$Up6wQ_V$a!qhy;*UJPZEcNR?@t#5 zQc*c2?EBxLcu;gHMvjUf+-Vb{WyQhH4?qMOos&n~LI?!sjRP2C*)^EnWj}OYDj+O# zcrsEczKI=?AKz5n?fFwerY%jy2=-I|eOv*`qr0bJ(8%%_SycvF1%Q$cc|@^wxi8=G zN^O+#l#7W@4i;_0;-qrMk~2)oWweYY!gfvRK|P_@E9hqx9kFxtJ#?~hnnek|evuUF zDiq~>6tH2hKC;g1bX^`2A73b7FzR-1+BbE4rf7*&_UF46dR zJz7d0w=BsE1yV5mIn>qEumC38VE=q{q=);Dwxnf?P`}DYP+(t9RV-;{;QLwH*Il@9KhR?M_saT3j3-Q*GX`a0JdLXbt)H zA2p=7V^2hn1;)p$@dzqGWy2z3EX`?Nw!xd>lzwNr_?l(e<7iXWpW44RX&4n5%9p30 zgu!jZd&ZOPo0ic0uR6)A!3XnulW#ndyW}n3KZP3?oVPtda)ao|D1D-%ml2%@x!2Ei zilN2kW4zSz8-0M$LU3OceNf)BN>B*6r9BDFCIy zJPdPb?wjAk#Aja>bS|Fe**5ka=lA?8%$Uyl`aA_B@An~qp8yd6^yHNxTmv74oS)IP zMrW|ltQJis-rVy0^A~Pm7bW$9GJ31N{Rd`3jb&nazkkLYK3gKnJ4^X_^Z{X-!|(fv ztVTr7)a27Lycj?|U|y>LR;*z~nntforo?${c)I*g$WenQ4N8^S{`aN{2vqmCdZz583SdR(`&v85ul!oXvM4vC9%PwS-^RaFUEs$L3dSU=?e zw9rC$aO{}PxQ%vEDRa$9`r2SBVzTtIZ%jIx!dP#4oSKsbq3EcJ)c}@(F#E#qaKP6_ zID&hXyGp;_-DWF{T6_F?>Vg#uhwy&Zs>Gx+CKz(f4-atnezkmlH8!q8{u{QP+UQHq#i{~M;!$VrNNj~w+D4IR-!yJN`}2o;xw&-5 z-89aXBNYyPs)a&EZ))9aw%2|AtzPiBYw!`eZ*tfudVK|dp5*`^tOLi|^zJj(7@#qtC zudJeBzdrnP_NyvKE8liLNx31QH&nZRX@&vq|1q?q-NXvtepDqb`uJ(uU0T0r0i}l% zl7;9^jKVGAg5Uu<7fdsSvM5vQ8qtIrj>UY9R z4k6W$2jHvd*3=8C>4Y{aKi&K`Q#6Q*1a;8T#1A{#D0&OMlHK2$){oduUEwVqjV-=% zMDn@DE=>QqH7iC&I6kZEGEl{;63PcDAoa^~SS(SzsMZfDHZa^9KS(p^VH>sq5p7B2mT8WL?eR<}l%{Be<)S!aP!RSmc_>hEH@h6X4LoU2{YssSh z0e)ir=?mU`uirVhH@tT|`&Yh47g1 zqyCN5YsqvwXxsNihckINRwl(OkooA(iDGBx1au^7?wyw9`qK=P4GgUedAz6dJl#IO z_E83SbDGWWv>2tg6$*(p#(Cu6%l#uUDw;l?shs288P-mftlgQpoq`5Sos{lBZL{p} zmJ`RF6cy7S{tWT-tKaohhm5(1w@R_0qd7Y#l71Xj?$aI4z1%R*a2~Q^9@<=wyU2BV zceTUn6aO&*3|`MM^K#VjDEkt3RCfx;g7B9a1@!>7d*7vuH$bcI%te@`)jKn~uCVi& z)*u@_iy9vdn9j`oy~A2oI$}S}IPoGohqj<{{IFkO45x&rKYe*kdcgPD+&I1y%k67Z zA0jvsdy;)P@ZXA%++HNgIFCulv0H9BothZ_cJhB@u_0L76)kxrw%iH6pfd?v?Kd0l zbqZMJv(KO2yu$My$!5mWoyIDAVjxDnpG(#lM5NM%PSvg+DNc$0Ldps8ml znWXdF?J%k3)D(ZV$kO@+`oNK5*5WymvK7bn*nQmX>m|utmVKaIvUq>)(hg1(@+~=LY{B|&_#&0}hP=8pL z6WPvOuGU~!kJ(Jv`N%AjBJ8}f zvVl)KlpjV7)bo1k{pXhSpyMPB{KCgcpoue6FY8t&>&6(0YU!*Bw4rttXA$${if?GE z9Iwb$EQ^j_oYDHTb6g?D1<;MV@^u-1tlCrDTKBogJv3tSOyciZn5$)omN5cAk9{~Y zzPqJ|IoXu$8G!|Y^R!C6;fF_tpW9JDj}+@)CF-R8>q#8iYJ3f{9CJ&!t4_G9!;cO^ z_$uaUZHwgmx7(`^qEN_M7^i+TJ8?z&ma8VJqb+g^hrQJWybM!|=hvcE$sCkV}DF`AmCl57wA|tmo**;Yc#W zYKdMf{I>Bn&yC!#hTc;h>eaatQu+8Yk1h;b8hX&0OM3IC(tWk#|8)4%@izu*apQ$I zd7>spWms$lEAAwb8~I5|`|R0)qLD4-?VuffFjvVUkFH5!I8V?U!i-UOoM zef~0Y$$pz5~so`u%L%AEHox*Rl7 zf&L@<5t^)E=;P*wG8H=)cAE9w>^8sK>%>#s_4ov-%GU8YYKXT$%=#+SaAy8t7(_qy7#Kwt6QYCDf9lh#zCB}Y}6J^9CfttVGw3DH%vmd^IwxW(gmQGC2b=c7&8ob8Kn_iuE^y$FbK#9 zQ=%!Kn<%-@Owv^ihA7aF#TopH%JYY^T<)GPi$K zGEtRG?z_o5P9^uU!9 zZ%A=;c=a^AgfTl@%$c~8zM(_ls(e0wa_?8({lgSMiYy&?f@_FiAgf%%jM{ZL|M;mVmRugV&eShv_cq_|nTDB@d{unW-vK5 zwZms^f>2#=!QIgra~aV0gzcpj@|q>`wa@4BZyxHJF`?7tv|<@@c6f%_oadnr_>VEp zlR9IoG!*=u18dJFGPIfMH2E}Y96c-KxC9hzkJ9I~%3b$764E#AZ|uqwB0ENxHRttP z0~1PgGpZA0`w1uI(Un;ovJX48+}&-)_q*!OE?n11N2MCp{aFmt_QLdiPx;2~Sl2q8 zkuRO1z$2G1kg|{aDy?xaVSW(<6o`XCg^zV7&scx1XsRsPVm%Ok0cnQ75?>#t^Er)W zmc^3cZw}Nr220S2WnJshNam9Bkd8ZYaqwkM2mhk8W;xIGe;3|c63rXMce?nZqN7ak zjVer0nCytPfE&Ad{a{A1i0|*jOVxfk+IliV&buMOuGhQl`YF#KdaW$WE%dN_NA|gL zhn(CRuIw(J~H6(ZLss2A|!})N(JIQmaf~ed5LrQ9IBvvqYlasIffK zXZJasGb@kT?z0iX-sdPHufTz-PkTdt0pzIo}jdkz{l#gNY*r{R8)zk?yW_dNg2 zNUt?BS!y-J+V$v4=oF-k6q{m zFsgty4U?T80n`Kx=g9uSO0ISy0AD7UQE#}pon_)`@^PnlV$8Q; zyxh>Cu!F@{-*QV2-%$0mGD7TTgK0Vh_W8ZcDI@~x08H6mM#~dsJdfpdzXa;~zmwMcETl80`6i9MBBQ*>w=D2=9*ficyr*(!Ifr)sMXIpUzq)x^Pb+F5 zESRu-fhU|lAbJ#w#bi{#7q1Q_E6D#jx5ss59J+59TH*Xw`zu-ydsu@vLoLQ_f`2gP z$OwY=(!}$M0OQRspV__FCX4uSvstS{T_`f20K?ZOB z-zR>_&z5f}PZ|cF8s!(R7p~`6zVa%K)?X0?DN)_{J`DAH~=to#c|7eUhCj|b6fSHx4k@zVx?-k z8*#n<$gwN|@Gvi_N#(Y8K?E1TGwkF+XcxglPWI#2xofJrFB(0tWj0tIVcFR^B4)o= zfp^KFli%{!=YP`Hd^!g!zZq!b45kRw@0=g1&kFwWRC)JUtE=6) zuWdiqWf2plen!3dWP~T*>SOY1&5oCKvlU7cbxtw3LQk9+mORb}BW#=`A}$!=*EOxf zs-cM%hb;0Zt65S?&s2rwY`utTak1m}`CwVBQ+%nu_*q)#5TW@FfP^}~ z>N3dFWlddi9iP1-)if zROrDh@^Szn|HOaGwfSUYKVq1%+TcLH_(9L{?%wETu`T=dbd5G1`}N`Lt1RJa!y)>x z=_ldF2|J1|98iks1xj(cT0v&R;WN%D=?!?c?z)RVmKGy*%A=Go%F7O z_U>AF8JDHFy}h&PHfKMs!iDrA17Z~WwpLbckv-lHsXy>qzOPC!CGEV;G?y-kteeco z#f-WqZMElhLI-_Sgd(Mn#QvJ7oj90Jv+BAbrJbFe@?Mp)=++vJytKOf=olDUx3Q7z zxJMKX3k03eX&gn&I_y|=>&fdyvr%4hDo*0^+UOI|*sQY3i^Eq+GFQQT9>)c`Y@I`8 zT{Q)DRKaQ56X)Z+pVREQl(NXVz-^XX9X@Vq_5k76`9AzMs6Jy~lq(yn()Z^nO~bgd z{)#R?ap}eK&h_Dv<%><>b-7j=7W08KAE* zQ1~@_b-^2jeg3ZSVF=-42qt15u$S|~E%Dr~tY_8;rd#=99Jn>X>&Vk(|MuF;md6pW zqWjYaKVCR~o6($?J5!2sowhh|BEi%{CxM6e2ro@uhy+f- zBt3)|2TnJ3?Y4d2Qhd>SW3N{$9{7FRT(?m~27g~*upd(LAG0|j8^fAM2k+&)4EX2Y z3E@ArWEB_(DX;LI{56L7O-A3{@-;AXq)(H+xkDMD6TPC?Dm2?^K?7CesiUU6|lgTRBB_*SPqocqd;>eMsksy(=kIF93@ zd7#Ng-~)Jof9~@^iDoB$6es6)3aigqqN@>@QgNgdasZJ5EVV1ut)s;h;N|zT|IAc^EtoRPxO5KY9*Xwmma5NFJJvliQdod;9xhJ zLrI3kfy6AvV~YL1{s$A&u0^s>of15SK)pbic`_x|p+gquCHaZ_uW9w*g7MoBCo8 z-uijvhi+$2E?&D^mlv+1%Tw=_B*Hm$`gKBxi4-tdo_a*EzV0`iQ}ebGhZsa1qq^-V zb7nnbwE2B0V%lk~;`1c{LduoP&>f@($NDKV-JT`#RXwx*z|FX+FIFmH2 zAmo75@%npVB3q{iGZdN&Je}-GtYcjMMM%`ukq>L|W?LYp^R!VK?uuyI_GC66%axec zc>~9yc2dlKl(>NY3a@Kh?ck_i`gF=e`eKjS^;6#U_rvKYx7};$`^i+U#Io3kd8V&f_Z|rBR&&o9$wxpU0pBy3K&W^1oI`&-VMQYe#8l+wS_x3nz~IYTWpW zzmHVX*PWQ+I2U_^qD~2(PEe(%Abxi}zhq{zbosfB8O`a|Id)!EBpB`{Sc)wi-g9|c zpP-e1-A#?Ld*uVa$>)9x4lx-YEn4@ zX6OIhk>titcpq+zv8e)6!?q*VwiphtRyCahrZm@{WCC}iFpCu8u%3fCHGLlTXK{1K zwO387v;sq^#4deY{kEgtzN@t^tA~N6i@r;+QG?5xyvN<6iFc-r`Ia%gAX?x`9TF(6 z#=W99S-j~t_ba?o1-bv(=XWHRPrTqcuPy;jQWuU{wYFMxe7+^*F&A=nh041Wr;d&C z%%iFuNjWupJZ~g_48=X*9;4|A!W?*5^-Mso7M(I~C&mdF^5Y=@y(B7cii@589efNDT3TQ7 zaDf@g9B0GKNDK4(okg6e1{6Qg8D*+6E@!$bNZR%86_E9ZkKCO$L_xQAosrwpe}N5d z?l@fH5Lq+9Mm`6RL<`6%1mF_W^ym(&U)kQ~Nq1Lo$bam3(KDR;3A)byP3(F#r#KQGUALI?CKfYCH`EiGN=5om%vBg zUTx3IK6ZB-4*@CTs|Ft16hJrACh^4cA7Vd8nk<_~=beZ60v^K>AGCa18}5_lSzr^|u>jksTOX z?esi`J=OwMw&dlaVq_`@V7hm#y?zMJPss*T8tao*dmJ2BY!FL7)zZmr5`5Olc@q$3 z=5a6pCvVF&1#&5m(K;EXhsbnDcxr$TeK zF<2kE;iu~h(dTR}F48VJ5}kMSl^GZEbKz;cTCL?HB57;(vvu#oC2WidMP||k*;Bf*pfx@n;edJ;fMm8{enM2~+~FEbP7(_eS-xRr z(8mf%!57zQ^N?P~=igP+q|$@5rq>k*u~zUn=$(|^$BBkkVQKxmyDL1%cZpL{W-Wd4 z8aQHmYe05TwtI70psi2J>5ma|3H( zr>>U_q&B4tUZwVxW;q^Q)m9lA7%_nKXe>ptV1@P|jYdC9ukEn%FiZN88N{Sq<|X!KRPn#W zRBId=X?;aW+1Oo2yCdVipp8AJe~Z~J@*$W=-d5PE^LxM=aU@&u1|(mJm2d8Md*YJB zpCt0$g&j?l9Bo7lX1L#c5!@o`*f8hg+!W84sbD{=CO*NpOII0s(CN4B4Lv-$I|%F| zR8y!Dns-+VzhvL#OYN^}-z&YzIexy{ucF_6Bkl;X2PC7LYzhyG_BWf(*M0@*{MfsPVtXhATq1qYl z4>LG1G1kYqw3`;*{+c5=txcQx@G7Ww&T1cTZMs;ef4@sesuDJZ7q0VBz3!;;pQpp| zBTT9os_gd9m$>I0)!+VucSKkLgy&Yv48F(2Mt=Ffxrv({CgtRkSiV2ZL=Ipk&enlv z)jTKEv5J}7C{}&?@e@fCy!XQi>~0L|@!uX3hOl*t0*PHn^qYBaXl=Hs3j-eZ-mCo` z8C17bM!uv^>m)duOE1;kucS>LYg5A3(OW*_a6w75R2!jZg^~OHo!0RbOLF^8_zZmO ze6OqyK|Q?U10~Np_MvzzsDnWnN4NAzQ*HH^>~Ob!W>#B-VrKHH#g6$8`T|C93kB@| zXvv2DBD=$X0|g^~05C$B$=QjEGR-#1?wiY%O1}oT7A)njXf^|EQYAt{2&E$VPa~nG3YODbv$gK@iJK9Ugf`zq z-^~CvZFrQl=mE+z9=qGiA zqIxWJ=3I22=e0>7E8_}03_VZBN6>sP4l*malMIBKqTp|Mvza_JfbkpLL?sIv1Bx>28d%rtoHGN)#E zwrH{>+=o8tiH2dznUQF1)5FZ`qGKv$?5aJ`+*gg$iJ&V$=^d}|KnePaYup19^vVl? ze}D;b7`f$xryY-Vu^B4lpff}Jb}Pp$$+2RpN8Y_Qkv$5u^04`?lB!See^aU#{lfnN z4M?MTr^WopG)TvJ<~gh{=*&#@(;!)LbdqPu*NAd^l|}Igcm9xOWLRzD;Bs%`H;F$9 zc&|Ia!V)6j;PC!uGi{YD&+`7@0%;9FRcLh{x`g5%WhT#Yq96e(6M^k)Vi04??UYV>h4XkwgpyJeqebYJs7h5R^1y~b$h z%<@n^szaBWwprrHVv^e6w!9jRDeL>{)~di-ai!P`-pHZTnfjC2A{(tCSq`I%uOkW3 zx!L(?C(#pVK&*fVq8B$%YX5jVqjOqN^h@}Y$y^`A%b@sPgAo1f+`Tg>9x+2%vd(g| zOaUhYCHpH_cifr$4SV2`TEt8UAo(?`b;(;3_#NI*lHMe95pli{8NOvReZ74U4XhFu z#epH5IW%6TL@s#Wm0VQZtW!6r)m>&yB1R5u7q=z+{D%2bJokY=?*ZzWfr z@NA7Kf;c+9^~P@9m9tb^WZ88C1P?yq6ACz7{g&o1(2h7Ps)G9(+8eoDBwJ&?C&v3YVa1QsyLO z1yu|wbg_ijCoZt4%5m4@Bj&N##$z1x^p5Wx$|&-)$3_R>7e-1)kvC<IOBvUNC#H5( z2NlFC7vLx0M~g7(mL3c2If32-XiD~T6S4lSS@33&4;mB`>-c@72*F}iG zPY$L@=P)8ZL5f_ENkK1*^9b$>A)nLuNdL^cap`U)q0<6}GydOhyx+SJF$fd6j}%%?@9l+wx%9w-hFc3TOY=tpp17f(K1tw8sDnS z6hV5GS~0TZP_rVzwE?xn?~PZ-J9mIALcQup|3qkH8i9gv-kmKD0<|*{ko9-SYIE(> zmsO43WX>hAw#2Xl19tMdzdzw#ePHS!x{Zch^KG$V2(wlcyE4LWPM7R5@X^{R&Iq^! zOujsI(zSrAeWcj{T=#1Q7Rl&)h49uABXinW}Sz`(Pgq*EreJewCnj^ z|Bm8IJNda@Vy*c#XhTz={z@724f>DuObxT*J80#Yv?+j=^4-p^@Ls} zo-z3b3g?aiTUi+kzv|F}lJ5>J!MX9yI++NbV=kpfF=Sja+S-2wdi7JL@U4qEW&>_` zUL3N0Ltzp3@+bTc@K{!Q>wkW`nOo;QTslBpljOBNF4VvvphK!Ip^VnJuP6T2$$MHJ zc~Q=ucIoyo_Y&jGDw(EqdRl?|D1iJUln-j!0^|2)9Xbcnj($be?RP>r71Durd?z$^ z31VwZ&QIOb)gsrG3%SI^vHTe?9DsvywkM^U_-j|sqEvb^mCOr$p7Wa16d;Ds4$W)% ztFfD|#A*O6X2FHG)II^GK%+LH{xB>p|HqRe|JC9bU07_lezo)H|`e(D=*{ zr$R4p@U2p%vj0PyNS`TvwZqB|-mFgE!%C&BI%NfUE&b_~6AuMDqI|C_;m5_iemTX? z>ajn|S)di84{;YLAuFztgmSS>+4o{%rrgd-ZBHU`Yp~j*F8&mbrNXc88~$%e){a@F z@-JH6p-c2^nD5cYoU5L_sUl&R0J=wF%BH`c&HpB!@DKbi@`*`zyNh+-YXiBhR|VdwuRsNNY&;Q?Oofx%EsM zOTD)6Vn1Lb8?9MPw@zu>-$+-iV|hZt`2Z(~b5FVrv;%2 zLT++j{({saqU4?`0V=n#i1rDrtBk&h@C2Mzsl-L92J1h_fQQAYla-a~rbahS?@^sj{wG`T6>x0fgp&?xjk1Z!bxw5P~ zv`D^Ay}VEeK;Y9ZtPiRo{IFop4g`_~eTIV+#&KOWMuTbi?4~J_zxx4ZBoaRDHbxID zqE7QQX5Dw#)}JAIy#+hcKr6ikn)!(Ka<{yT?H&jOH(%y62&5HH%VIz_@l6?DyZ&ke zZ8ka|-!4I!MZno;WiLUNDk6y;4HUSbWcydhJ?|Wl)TOP83Pw{-tae+6x39sWjRvCRy5Me|J;60vilLR?3w|?ECt|Iy7qRjX!>J_Q*f5dMW>?kZ% zrTg=A6%mEoW54iTJgDsi#Dn*)Fgzu`OuIH|lIEkDmGn}{tscRD#OAHzL(#uoW@XY_ zh*D|c>)Cw0`%K`P!7lDN`0KHg42w7lq6%1yGIBnmf#t*b089o45uQ?PSAQL=P|tOd}*@Xjh*`Uv>?7hcT*^XiYt_shWKQ=Tk* z*n$ms9K}|-9XaSz@h@LWC*E~jAb>^IVjy9{N6T}i$SAp4&SZ{vn46s5@))-2kJgjK z2TTPzbi_I*x|)>Jtu`M|=1|eCK%o4sUoOEl$JHk7py--ffJdIshH#US@KL2?>L9b8z^N9J(MvQR8 zB(Cx9H*u`HT4LX(ZI4u3u20As_S&y*9wb`#G9o`fZO~Z$ME`t~H6?c*-`EjI9sgs_ zxn3Mz@g6Y!}$}fxV@Mqq6@Z5s#33U)rB(jen7)Mb3t2wYE zhey3#%@Q2&lbuL#hbKra=g{Ts-m3;D5~?#C{-@4RYx)||z6LDdaV|Uo#^pZc(<%9> z!VMSwr(0XFlAqLi-r!{lNKs+zOjFL0{Hv_~Xa@sn#)0LF11dk0#-v|@YXy8a#<9Gd z4J6e0W(CWg6R zQDcBXYdP_WqIIZG%nAJ3s@vc@~1kUp-YzP~B=f18*iFqF|RY^}oDi(n%X;T4FN|qwGxr<(v_7bH4=+g;rtbiC~-By=Q#6J!eK{(qsQ<*;VHJh5ld4(l3VpQI-;)Q*YcU;1K_kT?~`veGCZr2cTU` z4B9|XKEB=2P8n@Vh`;Aatx+Hy_qqX7JmPaVJHMZ`V56m;)_9pXkGKkO&Xti7ZO8c2 zC&e}`>=YFgnx042KKF4R_S?~k@U&F9Znli(t#E23Y*}l^EA$2E<{w$&cel?1?Jc?~ zYEC=xC8h;;e#JXkl6##Jt_t5g?WVZFu4EF``=YYj`c%0!$i;DuKGOh>|MEGSk|=I~ z9}J{j;TK|#3i_ivup8M>Ot!kZn(SF_@k)tJfFEDolzKyQEHm@@ZoFZla(G4g>)Unq zSzF%h?HWI2!a1_Y`Vy0q&Yo>j=FT;7V|NZt;y@(mrMY~0L4g!j4cyM$4Pfro^R2EO zZ<)S^INp^To=rq)|85Hkrqgdy-c7BxKf`9H`K;A<%hZ>}$cSNY$=m#SWcaR1ccnMP zt+FfL&~MMm>L6ZV6TrIB@L)4B5I3;bEh*fMqGRB=FBGj4jse1EYiieH@$nv?v!7>! zyzb3hr}FNP(+FGV^nB@=Ikw)8+2d|sP_Vu}4#JO)t@>tmTa1XPdbdgkX$JcS$S4~+ zJ1&0&P;`&Mn8Chx}dh5xV3YKR0A$ zh_}q>Jx|MduRl@nV*=vcXx4SDuB7jRfpT_ZGR1YUb3(gn>9Qd1YSz^o>}|Z5R_)|_ zAxs$v>>VXShsMUJ!)U)etNfCL2{lWBKv;lIh?PRW(C<`HD)6$Ur-YAB%=xNht~TZT zwZ*m{K|fi;mdQ08Sa+QY^Vek%y|A*Es`Aa4wg8S`JSpXcdBth9tr;|6*T!sWS@-aM z8bbj<2E6i;cTga504GhOsO3U?-1)l*YQ2k)HZ*SiIyTKva=4iUG+gtzO1q#o@bX%Y zALZl?WAWN+3ez(K_fT~oe1G`x+MFNDQnHW$;tGB=EEW2rHEF}9h6Yy^(pPWfCU9XLY-gV2C2!ad*@q3ony27Dfm>_8RN z86IRv)mEQBFqW$zJFf&B>>Zoe;Ahe=%obKd00qg!nfW!d`IGO@3F<0-+0$Du_;~Hm|1S+FNULy`GWDpmY zFWQGsmD0wkSd3?0nG=X3=tNFtt*^$MfNw~14+BJm0h;+9_%tGl5TB-fatZ{yMKR2> zcpav1*-nA0o~?}y@J%|)f*~o|7SyV3B?98^neiyhMYdCbySo`QK^-ncXi$_yall#d z{SjDb0Mbbo`9#d0)L*gvkRT+;_xhi2_S-w|4W3SWo7!EfsER|u^)q#Lzpj|g^-9)J z5xus7g#ZBShG)wf_B5QBC7IcJLsV0xIg8gWjBn@0wC?!!@S;43z|5$fXyeQP3(~Ih z@H)5n>R_(6!95JO@-X}CKyr7B_jX_A;97en?v%60N1xChu>49HAZcfrg3a5|(k&qv z1Y2C%DbDGrp{^ZY3v4`&Pt(=&T|LLd!wH@*2ORRfA#5<;iB4%diU=@o z=oF3EULjX~7XYG|pS_mH|0cd#KS!w)HpAGsy{Lp9O7E=3jIr7#JJ~RzfhW zz~z0|Tx(@kw_P>VPFnsZNL=c^WGai}_)-xGAm zH%Wq*%bcrw&yF3Qt(OIl~E)tF-W*)ipI)Ljhj?}1_KiP-~& zXEoN{?q;fLvTysUt(&?(0hyJ;_k3X5`2H5?uYh(Vooh4QBCgcs=rk|3f>|ySK7f{k z;h9p!iFa0KrfPVTaMif^Ls}T<%RZbJ6zeJ1wSaEve7~A9Ms|9Ar6DyUWk##`{*P1o z8iGUaNQGc7#WX3IUq?zDMqzZB}~&=)@UgvuruqC%nBlZOxgFo8D(!)kMtr zXB-qb^-dJp?s-&wA7>yt6(>cwf8C|(mR#7yyJ9XY0ko!6m*CD;CdRsQ&(N1ggL#LU z-{kr1WlX0*g4j%4(7g*p_~{74Q}31Ymykwu??lv~ZRh%%xdy7uMPseg&)^$O*+)BV zZt4{}`+w@X?s%%(_kU7Z#i2pPAw)!k;vqYd$T-HyC@CW&LPoNpvMX8HBb%&@?8-h4 z$}B?mNX9Xancwv}J-_ESzTfZp`@BBq^E&r^U)ObC*L$#i+mSNnmPBaTL~gF}4-r5# zAgbHO1RKv6>nqMhDZB!?VYOGtD>$o~g}wXEH5HJP{LoouNBoaRgphqJL2d&mN)KON z&aQX}HX$H_WTKKV|D9XU#q9*@2k6zh>WmDH*UZ-^qj|46E!ihrz-J}$uMbt{QF&gA z_KJ79GpxMee}St9h}M=LIc54Uf{b6$N4Ly?HqP6%N3bYl>5una93o@eO059fHaW90 zHyh4}X;l-1NL^C{oJ>xhMHwC5&^Snqi=yAR2E_w&zfpTtrm4d5VHyppVFoP4 zKd*pb+8fOPJCoSVSrh4072P5-c$E13l|)#7Hq%=pT5($Dp@fo~9~F*e>_K@_Zxhyf zOKbi2croF^M{NQPMKePm({HxdYT+o5}_x4$JoEEcn)#Q=xBPEt&l>(xBwM^}cuS(bY zj_dsQk2>2f;j%bEs6XSycFIQKvy2y;qb0k`UirI;q&E7EZh4d{675av9Gm!ztPWI` z?Y|somi{cVRPS}|YsRBnToiIP9E)Lm(~eC&=s20Q7giXDM!DVORKtd~@-YSu0IP!Z zzK_lVrpzmZ*)B)Q6P{3=lnwC~lwaX?i|T z+jtZ0HE!`RW7}C2bt;l9_5kiNsVrMq1&E!%WkPRX0YlvS>(lHlXm$`N-%FW;O7-df z1&1F#&92C`A3mq({vk&qf${%Xz3^?CMgTU}EbyoJG(o;j2skY-lR>A4YrF#`k@n~{ zZ9?uLwB@GhQAoHZ*kZ}w0DQ$C>BF60noG>}Bz?4$h$pI~AYjWMpM*IvRO|Kv-lyb# zSR9OuI|y8;Nnoax`vfE0)H!BcCgjc?s&z zH#;p!Z`-QpmAj8HSyRY0!czi(?LaHhq8mT^kHV)>vkojs9grcn=YCGb*^{tW#}i_k zI>+*vH$0Sw7R1+s9c}e*IT{9@cng5pHeTBmqH!laSw~}0?J?6I*_yAu>vV#b=h3K9 zfO1KvU)xGwJHZ8%K$sW)octAZwXdBlD`5^L*KwYEHF$}Ci_rOynw#~)8u;x!)WjY{ zXS)x9zkM@5)Gr@vXn)}WY4t(`A0i=h&)v_49vNyUX6fa72F{L-kbEv`lBr-rHzla_ zL9jKoq&Vw2`rjf~&xM^ewyLs1B*^@6|CAW%Du@sa+gA}v zNx8uPH}QFe@cdDJW`E(cy8LGG9BQ6oyFgqCaA-RHoCKrpaUGo-ae#InH!ZkBIm=g_^}WP$eT;) zg#%F$W>XmS>=*@tg8q_DpPo*o!N{ne(u$-ZpAfkuFW^FO~^~E zn0?m>Po%WHU2buO2ew#mXS!s<|J=Kk=y*5vrcvWga_m8*s)hjv!b?%H&K(~G?>f_0#WNU};9+sjftZ-mjYJxQzi{J}?p>e4 z^?SQdi-#JoCheb%l3C=Y^FH$IgNEp+YTVNL8H=IdSX#E4#1M%Vggrnl{mOK=CO(SZ zqMEEIQq)Y_Fp|J=6mpeL_(Np+b;YtP-9vQz6fQ)urOkye$QrkLhTAE}PM57F6s`EB zCfyP%awoEAMbaSI+4ynSkiEqtO4NNGC9eq4^eVmD1hZ%w)NwdQYU`of4?@!c$g2(K zbEAmdJES>UEXlTCr)dlkFw^n=n{cP{uP$LwBO-P=B596wbmHG#$3o!ZCPGgkJ7_ZJ zT5*L$uGU3U<(=Gj+%{f%nSjUDih+TFTZc5spB2@74oF>opd#H2g&)Ki)Qkb3gEOYY@_ zT!pi(qm67AzFd#53lK=pD7-#7_ew&sjnI;{Mm%0#Qz|OG%XXLMtroeF<*r@$7?*dF z)DZ2m7gY%6YpBzZ!p`95s4$yAt=_ysW>$}SD=8o_#a3%Q11Wdzgm2hyZ6aI!;r*A* z)=En`OKZw1j4VZmM9A^S=2~G#5zke=Jj(v6EJA?~d0gZK#px26HVBW;Zl0TcpJO6e zyV-i?JB(zk9)h)<&NAY^@XhNX&r_-rBbD-|KBb=#7fSdhB#u~!xIKWlBehoSabgB{ zUsrv^{=@?_l)uD2PlFlJYbYAXRahkm9b2RYA#MAS$q66s+vJSrkAvnkaL`>`X$xw~664y$<^Y&u^MS zVnHT1P&8m#ASi*aD+{hQnWMf6y=@_@@gJc6*L;xA0F&74W%0ANv^siup!z%@Dr%QP z>=ZFJfM_db0$jj^2QPlkR&zWgGcInnv2m2B?p&6Q@U|aLGk`6(^>8Q3yP0G0-P6o_ zLCJi#v6@_d=b(%{7#7%pa2SO>HVLt|DaXR}b&S01>H{ZQad`$x*Gw4wPE{xeQpnN5 znLe~N^_*SWdA*Ot`S)zrJo>q(z&o`}EA^ufgu|7ncfKz@-~VRHhM}c(!7caU<%BCu z3SjZE)r&7~Yqu;RUjirviU|kvkjX?ym_ojtWZEl>9=do|E!*E#edf`jGO%isDy{hr zSZ^8!HdK-K!AJ1lk9mxw?XD8`dbzix3$oGZF?*TyBD}566@-+P3+^J!4UN1`Q?Yjp zzKD}0rA-E<7sEe&)w~tkYHA+Jy&v{6d)9SK215#^AUBiIg)8I!PwuV;{y9szFW(3l zl>KTL^3oz2<{g0k(AsBWY>CQ2J&wt|B}g2uVrn;1buTZQ_YP-ERXGH`_9ehh5YY$( zpCkXxj?v}K8gU<@W~mW9lnY*$Clys$I5gZ`8s zqDR*>xz!9Y>c-bYIgpd1jhY3K{#`h*D65bfL zJ@Z13%}SakBvuq#O?XCM%B43DAAZ|TyRB9%iXICurgI8bCNPj|g$eS#QdwD6MxZfs z`&K7dN_UrUrQ`%1h@uy#>-t)a>wV&a@XT$=!xelTsWnEB#k@_~O#mC&95X-P@TiFx z*BQ?w{Szdn53d?%ZKO*JoV{L8D%k9umw4t@;5FlmzwGp+Y*oHedHcauFMR)aSb=&A zf#`ptv|Nos4oi-Q0nUv{dqmP?^pt{e0R@8UH-{`TZO-7~W@CCA(Di!y$XMoh{u>~e z{2{l6_pE8XvmM9G0T=L0ip7l%S+o6VJ|B&OkHpABG6>VjlG7O~k!{@)fO zR4*Unuc&@RY7S2cm#OD3vWcY7(g_6rH^V2t}K9m-jA5ADd;MXYo2Fu_4Twv>&K zny;m&++UggvX_cJ7k&QL2XE-pm6nQ?A3~)b+$Zzoa|R(A>uxq=!KZS87;qqg@td%w z!@`;pe$f5o>NKK_v+{zARkwiT8QIb37^KzD?PSBc5#l}pHyFbgRizDUpQZim+8Zrc zD7~V(&!$Z7G2A?C<^yly>-((rw|@&OVjCtWbXr|@ug>-B?{7B*f|05OduW{>+G}fI zIDPun^7qv~W3TaM#;b(a!gnSK(VU{#Ki1m!-YrkK3w)_*l@5f#kABvfyIH|qS|}_H zIDHCz-95;li)Vg2z~f0d{iD;1{rvp`LfO$x3-4T~CnSC;{YgiQW<{UmT*xwr17F6i z_Y;wZDK@|9Pn@4tmfh4+f9}LsHD_XRtgae-) zIv)#C1x!!J-?nG1S+zh$OqjD2U@8w!$~5aP@sG*Mdu!4EA(7EFsnII5#f8&W9{g&G z^#`Myd+zSd*-McM{Ami=hVbsEq^_lxClM2FZys3_wf zscN@B!Rn2y6%(l!OPwpiBc0|95Dnmh%b8^{bR8)S^FOV%ttQOo$sDx|#0rVFYK2dr zm=1aXynbt%+TD#)$fTr1a|yJB3kYI}m@tmdI^_rpqxt*Y@!=|92Q;gBtND`Up2^__$gF!CBVy`LaF`ny{=HToaCjovapP%T`;7-X+DW>-IHKmA$9fXn#vtUV z!lCt{KfYUV)hU429$JNWn?YPfZ+TyT`&3?^AMJo|rO(qi6AxUSQG)8@yu~`hl(wFu z-+HCcCznCF>*V4dA23iynJF;^-2n-h;Fv1#mE4ZdZ&!PLP9FIqB2(gM_`GP*LI8Kc z^A7gBp*+!4^B2cbWG?*yE|mYFzg0{&P5XBM)^zYYblmz_!RTK$e%Kl#{U`zFlJ z=BjAo6u8nrhMovk*SKS^8Qv6fLjh&NX208EKch7O$ps$?i*6kR5 zA=2O*GVZ}!w|SKXjSX6Dpyk8}Xxp}z=4ny1??1VNY(NEnD$M12Q0oOTA5+?t#S&{H zk%;Ta%F3ZCe8#}vPtekOSzLtc{#nw9A3GcPw%+atj>PNI0S|zd<&~M*VX>Us_il-~ zw*HEIX!Yj$^J#3?E2G(AUr&r*LAm4+#ctVI4UFWrrAWo{d+f_4edwXWjt!tJv2IC{_Z@fVN$M5c#fxoqmR3S5`4;p?$<-c@%HR+ZSHo{^ zt*Q=E?nTwJLIWIFY&TNv7LY>rRMsPmb}$D4RYdpq5=QTf68V2O_^gZ0&?N2DftkXt zW8LU!=hkA8?A+2~x%7~VMA!N)jfpw?zTtDfZK5N3I$aGsH}V9 z1l0uaTYB~+aAobH4m0rQFIQd2{S(E#tjoZQQ#SWB?wvUCIh=<0^fd7Loby9t*Apk` zT8@AJYKP`NKXHPRrK)^S-_v4^V*qkNoi3;IJb|@(b*)rRw?+-`po(yu3g}} zCb#9W_9IxeyX~pH&(V+1LX*K7S578a^ZY=)Ibn6f_-_Z<&tL96equ^{_F}||&lfL0 zzMORNKIb{mIWDfd;_0Su|NeXZ$gp9!-k{8S+i%-`)YpIRsm^v$ewCf1eXos157a-h za@~_Xfb;C}PpbbpB1SnTM3Y%Z24Twpun4(z4pa*TTG!bd?|E&b#lES z*OmTrU(Uy`V}4Y={6$rvK;_(xv1|YA^yF5hI!pEB==5FC9cr6NNmb}9g^^gI)UcbV{M-d1%N2S5z%IxO#UPd_+9ede`mnxhdn>{UwzET6Yxtr+b3<%y{qYr+XEw@TeX)D8jnqPspg=f=r9 z7#LuEMyG$){dh7D5%D~GxI7L`DshUdOPlx2?R=z!$u%_aHg~fGm)C`{RrFP+U9i?E zdBY#XqRew=ibR4*6?}_YbMTX?VR8_QiB~22Kg!Wq4^S5BaJu+gQO{+?upO}3v%5JZ zxRKXVrX@W}>{TNwZWtTfv^rn38iDKSIGy)1(bA<0t0#DmoxLBtEp(;0p1XQINpP?g zOnYBZmsWs!Ho&Ckc20cYV_Z9r&spMb+@y)C zL0R>dzkiGFGAw7hzx?{mm9iIN1-Y+sH41P2vZC*=b!m`hjZ2%0P1XF~zO4<{bk3-X zYBA)oWc6R6n~sr@io<(IDmmRw;Co4}#PnFhNjk|ZOMP|rbVsXxi^Z<6y?SRgdH%JY4)QcSb+ez&o>o-xsOU)6w!81Ey&nKo@&6|r- zomh8=l~@Lu<8?0ge0Pd-NVpj+Nd2r&=s~#YIM>jPo{M(wZV3?$U&3ezR-#3AA0|(` zIC=!${bk1*7b+Iei)P{*$+Y2}`D@e)^W3VEy|JPehc0I+QD{*zYnq9^re<`Gxy!v3 z!029b>rfRquv?|7%A~BlA6QVOgJek0EzOqx6|DhVmuSg5OmqC+`yDJ0>3D@#)$yVb zG~2k+$m1;2R!J!T7>y*?;#LNAq-v%H?j%a)bLnqiaz!ng_29>N7`S0=rJ&ei$-?Dk zG(k<-aLCg+E0M#g`HxF#Fyw()6CGTuW-bXIAQ@R2=^}y|WQ3nIJwCe~N2={VKH9YA_}zUEt4z z0i`RS{&B^exjfCNKTb~@d>TUc$KR5!vi^C>sa-v1>>sZt@*4K@0+qM~3U(i=$|Uz zT`$>f?_9ahMtQ}<|%Sdfz{%F&Ho+~lGfq^^xt0>!lq($c@o z7d|l!W>)XdLQgXhq&~n#btaYRCx((9lpj7b+1O1uBn`prFv_^Lpq3%M$I0oTY!BWl8(vC;~Uhx z1Mys30P%tx;qrnNm%awxgTJT8@1(u3NybH7?IUkjGfuNEG&q6*-& zJux)yiangXo;(#0P#ZI(*wb-o>R>2wq#~$`qak@xsCdXg`Tf_`B{Ml8a?e^UNPerJa<$it>02{rFL;u(G#chwAtKj_&-2D_ zYaz3_Y(AP_VtB+3wq9`Rs(UTINSDI5erbL_yZLlgnwc^oB%Bt|+E?0qI8=dNg0#^1 zs#;y=`y~<2Qc2TXAu(+?U4M!7-6Cwh6;>SxK8`AZj7f?l5&L_6p0VM&GDYxeu zQPI3r#w{MVwv}Q1@i1&qsLnU}Dk|NNZ3jOAL_FZ|_#rs0ZxzwZcf9truCAzC3Ut2+ z1f5<*k1{m+>Utd#pCmg9nz2baJv&*-qrr)3&XjuM7py_=&f;tR;MSa#H;H(es+@ zS^hYUnJO)d+aLcPFJt==o$0CAQSMRgd3{%39?(6ybNxJ@k5+ERzh@DawSM5p;(pDh zGFT{e4%@59y)5>c^X&Cg?!?HXU5boBlKA=*ug_klV4U%L#j(8F z?nQd_VK$>KOMc@wt2bHN*(PGlNVlKL|0N+s>KA9Y!*oAl%5VehRh#1bjA|tIhjgZ= zw{HWbi{KNDjXm zh7OsmedfdHfqP?j^(#uA)U~1}{ff>9|8^DnE9kUf9`~ZJNn8(Y)7dT?mq?0pYh6hA zp+UR#`LBE5Uo)|Km1Q~wo~EGbB+ReiK3p>yRY6>zftS@C=O?z#ryp0+QyEmg^?RO8`xo+kyX~%u}pIfvcATVXt{^hru(wy9LyTT`!&y1kpb5*MG z8<~?{fPVyBg&~m6AQs=#OuaFVk-I4kyX}UR!M_<5slzeRfK(hq48*8@$8*|P=kR(n zXDp}c07}FRwp|2Q{IoZ{ZZGLzr4z?}HQZz&&;Ko>e?ld0s(zRMGQ(`X_JA+nd@su{ z1W=LB$m$h~LzewSH-AUDVMi@|*u0j&GRvJ{X5*dDh(_|GXUV0KD*N#EZMv80%_dH)*O8-uSvf)T8N=*O}O- zpV5E67lBOl-DZPB$&@6wp7tD}qaSgjk#yiAI{cs|C3YRt^n4?U(16FUQZMsG^IzV5 zG5^9DNpv;B@zm@YN6W$N+heD^rQ~1&R}=ns-R(FObi5L}Rf6zXhybUQ5fi{o_Iol? zY^1>n^41=;lVvTrR*ccVJQ)NpHmTc=jCn&_Til5xZnn_JCfC=3;63GX^bQKw%mBIC zfRD!3?b#2Pm}w}_7v6^V`t5w`O5QK?l4}CPyC@%b(Sv=go@>F2b~G-TG>;*1%`h`Z98som@V7;q@9E` z`sRxd23b}UzqT}-gSH&s5;lgZ(UxIUfoN^VSQ}w77M&hmG*N$$n9%6is{z53 zKkcuPBE`~%%flAi>a-qjaul2U^dIZ=fO`|>FG%D1tFp%ZSd2w#S7*}p;4N&wN@Dp> z>J7?lJ;OcA;lDZjRNdj`4rkKJLE%sv7AqlQ#Z7?}NA$^el`*@gb}b|5gU0TTOG*rcRbxU}Jr9U{h_p11_G{)TpqQKp}SbIazqo zFC!&@=_e)V(`KVL`V z|5$miJj8#d(@N{Gl~Uo~6{CmP!EruLez(KcnS8AMu-o z%C%YPR=~R_aFE+A$;~`flyH_25$OXag!3w?Ys`ycI~EJjJ>!?@K;usnw%%rhl-4u@*xF}Hd4kVTw{w(H%UAQ7gBACh&f`ashG^gyu+*> zZdSK!Vdr`jSkQYKluVfE%$8ZeUoQOYF&&#Q z_#UZAUuxzhOQFUN(v6-(8CPujD44V!t0;PK`cQQ~H$%_jOo-n4=;C`)hl>#^m(xde zo+7zE0R-35Bbj}_r{X;`rM$ocgS zM`aP)(&Wd+HtKEn6Fh$|y~&CVJd`gjYKH&C23kgUct!doOFE8=FirpT*L^*!(aH;NQzvTKaRUb!GEyQn~d#3nRZRoJ5DaP_}YPr=F$SF8j; zI=n>!WJQwuh%p89np-E~*>LywFbr?yRN)|b{$%BxzVp5Rf(I{_01&kj0LVA$YS+=K z*w!pIzMAbbzetgy^T^-uCX&s|@ZaZLzY0-AbI+Z=r>YXvc`8O6qpD&<{|h7J(*R6# zDok}dN&i0x4WK@>8UAMo04GkW7%2fz%ZWy-=$KvVi8!9-&m~}z!;B@R^p;%Pu!lNS zxsEC=&aRp9<)@rEg1!YSBe^4&i1LT=_+U z3ud9nM-u91Cl+0WlX#J(V0XvX*wmEZIK8*C;ON6X)|RoBrV_H+PdFnq0YI&x{GaHo zV|Qp5VB(BD4R7ywUdEr3avIi?jx%*6z6m_5#tH9J3Zs7EH;9H8~X zRtxfx7G*4@7h`T(w8e?7iZz9I<}?I)VQH@9e0?}{!srhoMILJfeGP2NPOF&f_wJbm?Jo&*Z`AF97xS40px8w#Ou+k%*Z@Q^QFLi-6uMvkeHcE~2wvL`uZN+gzOO0dbSCi_%rE8EitYsjpFNNZ}7RXmQArciQJ8LBxPnZ~+!!gaX_tadzyT-8TKFADjh4dP92yAjeCed~nln`T^(XiG^3ycM&&kXm|~w4A#&}HBtq+ zM%;#8c3CSZ&J>eNT3H1M_DeyhdYTPX@1oh80 znzOB|dZ=7p`SbqT#1=gZ*NgV4xd&M(YlUt%-f4N{=L`?KstGmKq`Rf2d0;c;a9$sU zKn%}Wk@bxx0}~%cQ#oUPv>=!uv0L7UeJ~!N?v9W9p9Y?a6XY&==9kTWWm_ zOt%gsFlnhNt}#xN4LF;D(6axrQD0=@l*eDi8bedTL`zbRA^IA_$J>A=z3izCns;_j zHsR{i*c)Qt*3p*K3@Lt;~jPGkfM{|zT{C`gnbixT?>F%vq<%lA?*RLvV33k&owZ>@{mdt6 zF28}o*jMY;jEW5D^UPX2FFHFqwRJWrV2Ljpu27@n4P@UcK$>N%3>d3Lek1`cn2$zj z0iqg#W3$FA6FSrK%KJ$LXL1!{_8fHEv>T?Xx*4M8x< zujZTky!a;b5kP%|qs#<{G@%PJP!3WU%Rcxv$r+1h z_tH;@a-FUh)@9AP1k}&H^XM?3(PFu`1=TTt8D>dBeQK#O7xitT1dxe8Ps&;G7w6~Y zu-7P=Y!-SLlXh~Y&QQi+N0e47%7Z`KSf(AX(CQIc<*!|Szq3e zhUFRm|DJTZRWeo*l#>)C`k=bz2Dx?;^*D~Mt%?7@lO+Y&dbHlkFy zD-_gt1oMU!Ae!U;b9n;+knu{a^7YX3IwCnwov|xpzp~3mJA_m2WL)*tIQ$X2cVam8 zJb6`tb^g?`LV8M)?9h!-A^6RT>flDunfi`c-S4^Ky-o^Bo^-*S7dbIgLUMmm3d$ z)DoI|m1~-w@_1t5;V5Xye^aG=O;In^Ee!Ur;uGf-OKX4soDX zuY0K2D~DXa>nJ$>N!x~}2d>*cd=XH_iQjz`@jL+46;k{b07O%U!M`)VZ2muRQ{~_O zic}~20S0H9z5}&~i)qGo$&2^vudxk?kxhBL&`f!!wW4}0xug#8e-)ru{a|}2C zGuIR=r3B_0WZzs`HNbO0N5c?Ys%iI#7yVHnmTLwr=C!|9KRYKznTCIEj$uzj3D>8C_&)QCe45L& z9sE-arqy9V`Vw}mivghBULtFchk)`3`a{pPOfGnQFqVZ{mzTRU*;DL84OeK5pAtrHzQD$e1 z?3%(n$XX$;YdFD;bA@=>N<&8+*%5(eS0=qhF0E=B+V6z3eo1THiDtu#oh}lK`x&{Kz*mmykKlzH1q}1G9tYpc4Z;cg_niY{#$Qi#r^F?2vs5|;{nIIss#%b=h(5LC}aO=4H?Qd^= zH!QX_)OIj5R@a8A3QH3dGf@xd*YSptBZ)%Ijp zqRR0Q?Qj5r3rREO``hpVDVN5RxU#dy*H`-A0tq9jTdoT5TiSCkdby9U9#2Sa>5{q? zXLo)TnoBf<0a-%)7g3u_$9IP^(m~MU7Kh^n{29NSW5~TZbpDit`2x^$_h-FCUf75V z*rNPUavM13|6R^rvPpBDAs`OW@fKvMk^!mZYW%Y*007+6PWb0}RL6{in;+xIhA1_x&9W%tU9T-o{G;ebsZyWritn$Vj6y_1gt ziYSZlx{?&H)}1)G)6tYGJO>)r{_iN-1!N?z#vyiI>toivx!^9a%*z2)_(z@-C$2pa zkcEvf9J0N`ap7UWnS4JLqZl-#?34XLiP9284?e7x36%o6)5I^=R~`=0Ka$;1ry<18 z2X{;#AjDn{9QD>OrW$LeRZVi3e^QApA$D^G`7W*Ps;t*389@Age4gZp%8Qcmp#j<8cs-=wTs#Aowk9X7n|_ zu$lF}M?KvTt0hAOvv$hOmuMv-Hpq$m4F^la691*4r9LTlUz=tQuT;TuczELZML#a5 z$cuke?x9e*&EZ!sK~{C)6qh!s?&!VmTJH;e1?v43t2Whx9?4=uM>QNE20xcFg*#~4~iAhkvoW&vGJV~nTEf+Em=~O z;Pmg2vNNEb^};{6d76H#{R9Hjnq$I6RoCre|IkpdQJ`Bx?+SN zYmfg#xNvi53Kq*8q3QdRN#D^cnp{Q2r zWn{es?FAW^&D~Kw_}Mzm(-87F8(%}X$6RZ8+ZEq!4UP^4Iy+R)_)K8CNuyq*lr4SZ z!NNDNu4^!T2OVx!PLs4$UiZ~!in_}D(Q;1{GxN~9{)4$JmL`96CLzf!$OTuT;6KN@ zTQ!r$5hqHCp()!QL@>jNpH6XVsB0CK-}+<9D3hxe+4N3zW>co5jJSk&8;2he2z%qh z&q2F`XzYT)UIYx#mwA^+-UjHnciBg!5+Hx+*J^%Fd45V&wpxsi{gK1gs1woK`4)Tq zVmE=Om+cTbCSpNIwD6qm%plKx>uTRg(aSr?d%XOa=5EkU4=nMgXM~zoWXmtDmSG-B zUlT1#$z?ygF=kIU?V_8^GiqUVTT-nCgur+9J&JeRZ=L9VMmM$9JJn&QGmZODg1M$} z@-NsDu9q|2N{2LjI1`u99bq%k8l)BPHre?;N2^DxRgHY^?B7V8wPWwT?Ra2B^ldo= zNZ(M*$jJJ~67GO)9D_1(sqj9IZS{T9{b8&T_<3%#bjisQZ>>VBT9EE%gx1$K%C zwkE9jMtYSLe)($3^Z_WHoB;_(_aPYeElGp`PY*0yL_rPY7X`+|9xp7cFn~epq&lzHv*S#-Mi!YYZ={oMb)HZ&DMR$M2kv%ev9Y47h<- zFR2KFx7T`qd{qvXf+NkJfWPJ#KK2_B>HX0AkotqAs^6&|RfO7YGSd3LgVvipKmg4=YJr@b(`QY(}o0X(_KL6S8N{X%nE0wYIwWlDuk#dP`<6i1-g{o(vx9eG8nm8c9@vQD;E50Ih^-3U_AlAF z#IAVR0!enfl!OoOPMi~9FjN(7`ul`i@CwrR=!KrvL8btLK%*Dy@EV9-Z9sgtL%F&~ zXFb36lf9_Wl>&|ho7h30wt|2@^je;@1T|cqTl}ZwJamy6HzL_@2t@! zf@+54El6?Vt(o~I&4wXSnY_*`8XK*#IO%1o6{kYOu4w^$N^T zv4%&8Q$dK&n>V-20(^s~;>ZmH36kV2;h7%lzATLR=k^`8?H#h}BW2Xt)f-44HqHbi zhEAkf0Wc}&k%5T9aSjDwt`;2A7A*kEXQldAN}GVJI_SQy){LxvtVcdGYpU#&pc`*ecVvt5YZYlFTAHsjrJz zvm-|O3)Rj2R=ApP48QG=HY2@yy(Y$ah)MpI7G1?R$1vPA#;3O5N3|98kk>NtVH%=@ z8&hb-oM3UP$y|)6bVDMZD@Wjx|N2(NLX6^PEFP5shUFgGF9$3%TC=-F1G$t+BQa!I zOhk5M@|FnGzcKf`aN-%ilupyA+`z`Jy;o2n%|>5MV-$B?E@fE$AeTQ4d}85D=j3~O z3QAsd`ebxl0`Chw6K{B+1^ABBiWU`jIe0vn9Um9BJmFQ7Am10MI@@b-cy_0y{jjHx zV}HOsE=VF>)gUo<{Hx4H@O!b>UEVqK3TO_6=)`+Dog~xS>2IinY_f(0Y{1#qq%=2Z zrv!YQAA|umApc-GB(|5wDYb*WPawiOiieuK7^|cxyPmvR@{~jk86V~2i(sLfL3l2A z6;PVL-;BLyx5^UGf2*{8T`s>DdE{+)+@Y0Q=d#saraickf?wmor6h z5t(hewJ|=`huLNKQ^woQzufP)rR-?f=`!${+d{XVI}@pa$!9fih%(K-eUAs5K*kISvnK@X4zq^yhiP%HoY@ zQy$L%me*)uPJ{h5dZLtId$?*HfmTvUD_Ct5?h=(&^(&X;|Sm#b`mBzgba_zudo( zZ@i}zzO?|gd2@{fU#QqLwtBKLvL^B?VkqdVFlN_9gpHl zsr)Sc&^#aVjDKg3p<--3a#qXSyu0`=BWd$tGhb!!(#@@02DSC~^#`r`By;Li0~2q% zH-28jL1qjPrdWshz05?waa1K^mWDEZ?t|;)=-y zA&Idz7~)*XdotG42(p!#%Pe8xv2`tabgFubgZz^^huD7s7FnvXVbF@=@LV2_&am%Q zz~_iRmHd`zY#9%+zf`eSS&B^LeGqEH>M_kp^rE6gb|0iNdd1$`HMrR^dOwIQ*~M~}^B*LlZ#jt0~4Nwu-1EIG}??_2{*D-Zfjc&GUuH{S0nvW)Ya z;etMy(V3G%*a~PwMQq7k00r$WWH2EXw1;)OB^AfJM}OvE{IAg_1{lqKpeGSp`^ygF z14}k0Hr{&-Qwc3HaW^E*9b3q3TPG8wy*}PzOtL(xm!~F_dDmwb!ZfLFAw|-<%Vhx7 z-9CZ^G~`whfZRZIS~;YiA(C~nsdT5|f3;+%Wwt zlOG~(U4$hG8g#ANU^+t^q$*HAp_A0(JYs2yE(>!T&ZEg_dmdWnT_?MWeo4nV=8d6a zdd&&sB5xWmbW(pRiE{;VEjYs&EwJg=RbKNwdeS$kg^wZ>W7xq^c*F+E@@b36gECB4 zsmq+*^`9&$`}Oei_)ybF5tnvbg*f&{!cb#Ixpny*~TU%1?Q{ywZR8K3AlxU(k2YQgDLb4Bf23#F{;FP{6cFSk5iU_rk<7_R{m_ zOs!vM!Kx_y&t$pf6v$ zDzW@q=|8+A4wOQdHPRXhHl)L0yYQwBB^yh)%b4Wz&c%qy*7qyK8Sr6-l7L^fo#@UusQG!MenhTT`3%ZgPV&KOePt zZ1}uiXl>tiq#fG!`Rg+@8r>R0YI*3+Zf%JMO$n|C6hOo;-Ri`q8 z_h4N|JQY{6O(R~ZQ?`j?bt-~!teAK=fUXjuRN(J&)>O$CLz*q3}h|NH1C&Z0>?hfkC zj%+=3-EcOUQ#`-OByF0lEzJ}0YU+Kcrc%e2?7CsNM=jrDHK70A|ELdV9lpQH!u~El z(XhKN^m^hR-=bpWOmJ@ghJXh)mi@>zpR`=n#SsPYeP`5uu}1FSDQEPz3?fcE(g#=^ zLri0t>tcovWqz=%17zX4K&uly*otX*d)>_cYlV({9-thD-&*Q8%qianJl9BZ`_Lw-C0 zj(`ex|FlWw1s!$U`@e|0RL7k~k*(I96UX2uJqKvM!&&%(eH!chKXc`CPkHvQ>r0Sa zndEC6Q)sM{c;a4)X0zTvs7|9CZboxl_laV0HUNtDi8trDT#12Ai7la5;le5Uz-M8P z#!PVTJzz`9+VoB!o(+y28t923UrTM`_UwA^JL`MM5;#}vGJqO9pA0?_by8gwG)i$B zbD`PH|8`EqRTLmDW4xROi&h%M4@nOhELP~gDCZoyVsYxSB8OYQY9XQ$PLbNwYzJam z3X~Q~p~b@pKbD_eB2AKu1xC8VeN9aAgAwjn*YE>op@`+<^F*?GE*sb_FxL3FLo`FT zHS0&*`4sA{1x-!y--REqp;d`L&j+7Bt(AFWk#mlL?EnA_-6;WCsb*t7&@rr2T%;M$ zaPzWmtLegrgeH=W{nUg*^3>6+`ydpH(|2A^I|r~%e*x?67rB|@hCU)cyWvZ?bb>ak zA;-}Ba8D`6GO6yp?{r*BV$B>%L6rP6U&!IFQOwSV_cm-Yh=X1YS69onuj>VJFg&Js z?HhR)8=g4NorO$f6$00NWs9|NHpPd9CBd-er*B@KLfhzko7#sr7lPo-m6K&tr<1A` zhC7=KQiJ*ap-}-f^dmEpsGY=mkM>fggyv`v)rkROl+}3=c_w+@OEUNdE%`2sZKFkO z<7nc95ge=9&v9mGEt8(|WP@(|bH6S`(|ftq$mwWooP#}!%=Wi9Alm8OuKj~VO&OSg z-i@OY+QNc9?eMiovm2}E18741g+81gDyVv)do@GAmb>F0Zg@qjXlLDYC&|M9pn|5! zgW;gQ3u*Z?;3&mw83M6XYvw64tmPDhVQ={3;wG`uqDx_-<3U}! zq*)hGG2Y$jwVCRH>AJ}^fsnrKF$$B?2Zyc$>w7gGOu?)N3l$U9%`raga7XSQQnvTq zCH$OV!{M3hx^dgbl=F!d9a3ac-&Dg=NXf^N^DDbjr(~wY33Pa`9FDyfM*_>LDlU$j zk1}(iG`N^qa1{->gj1MFp5rJ{)|*fO5Z3+|NTqX(n?f@W9i?F-4OI@ai}kA5x90T# z8Y{M(?h1oL2`K^5olaF~R7s824Lc?c8YWYIu0j2!)cp?EFtL*Y$(fle09B#A9 zEcfp=$*gPj@)W?kvUq`>;if1?5i-tqw2goDmTEY3a$fO)Dz~L@O4h;?pe%4KiLM8l zWVEqfP(&u0%W4HU&mjr)`Wo_q%^F`7;jPeamq>Ex+qg+5pC4d#Ao+` zA;I(Dwu1N;fQFC7k_-8_O2!A#tR;HxYPV}O9+c=$*UgPBr!>7|gf_s!99q->N?ge* zT-MURlcUEuJCQ>?2U(nTCGLsS#^k0}qq~Gqgcc9A2>4x`BeU0RNG)RCy4UrnZv=Lu z4^?+*%APeVeciclmwxlvG#jpP2FZG0-Zc4z)*(^N({ft zA3dvdd7sEoAL$0HxI41((8RMvFtnKLO}37^AH?_pYWM zE!8_;@GWWo&V|c$Peo_ztF6>G1s)6x&^Sd3sjkc5iwKI%UQ6MBA*BV0ONV@BVvNv8 ztl$?2MQ5s*cWV|%VtyjdS0BD_Ee?zH>94le3SpHA4gyWAbL#@IW$!s@SiMWcl+EDY z71e(WBM3X5bf{L*hy7jO=hO%4+-1;n&sC6#g~T!+OSg(!9@yvKyik^r_uop?E^CJ3 zKxu1b$3B}0G^i>xR#Y34`3$025a|o8@?oD+V8h|!ZJ^yLgw{}g|F)-#DwrtM>7=?3 zW}EqXOat6;3u{N{DGv5hzY$a&;q!BhiBfX%_TV&%e*5kft^d@TNR(bpe*asqH@-&b z^d432p#ccR+oEO|5hhAu%G*qY*VZ2B28tm-X-udGm3~8^i_h{oWK` zW{v3VMRry=VXY%Rl7`RpkzRUm|BW(2{gj=qP{j-wY&&V+Tb~@@q+xzk2+AQ6rB1wT zCd3Y4E)c2ddoT*AmYa`g#P9rT5I)Bq%UrO~hETuRlJTC+%o8W1Q=~V7+J2S^c(7>S z)w5uCwqUbtpRlU!G29(D{?al)D_iFQ_D91*H2m{~P0GNq0 zkX@*b@#QD6Ta-mlY|aAF=@EN8>o#*x5~LXAuNyaM^V~}n%L@P%X66w9wlaEc0cpx1 zv5b0eeY$Tf_ovBp6HLr&R*!7k1|~Ms=XQPNn2vB@?zu4l=!=<5?OXC~>Fqw7{%JSJEKmCZd;9f`kCutlNk+qVIeFzL05Y+SrUqE>N4!9XnPx}QcJ!7pA{d< z2FeY>D{7RjP$~Ah)?1^Edq%ik#>x9<%)8SZMKc6jo|@yyeoT2>CML~xVO48$l3OXv zujBuIT;Z|6`LZq}6QufX`jK_2HA{b3qN=x~_8lrw+7q($|5QR((nUU-?)gnl)>WYP zL~5h!)JqDzD_p4L)UDm{B>&-$F@~QiinhM3wBLsm)OBP8@&=c;Slp|4 zM`bA(@ABB))(dFy6HD>{6ZN~864N1kV>{oWSd zVQ?D8h`{4Wk?gf$*L0#@s!j3^PNikvFe^2=YCiCCsvO+tokGiNr`oLcVyek5j;O9= zlL3C+ebd8Rv1~QEiY@n|f>TuD$B&i#tH{D!A9=&x`0*!pb4y?Cwm)inG$=Fi#=q}s zF~}QRD4hFD!!gLxV}k}uiWa<7g};32{!ZFUHfL&g=q)*9?o6}D6JLk@-OHw&vgI(j z@vz9cUA$P=a9T`u;V2JW?BwnD|K})h-e%g`7JBAClc3qHp*=l6yUm~Wt4FU7o0zYe zPyRgQt@q!5q|WOY)u~cy@cJ{|IhqJz;7ch+ocKG}>;t3IVZLIDe7V}H@BMNlB+j5| zpZ(oaUE4N_0jQLMbT@*8^w3BQNK3aU-3%=$B_RVtcQ*>s4Wh)*9YYEXUD6Hv z0-yVS-tXJ{x9dNKS#w=0&pgg!@ztieTOJhE>XU;Z?`iVcdopN28k|O59S-OrTBX*6 zpEr{=p?>Qx5Q#k<@(fCz<|Z(G9lg{Uq>*CF=63I|%RKS-qV;|oQL~1HP{Ul0FX=BTE&so;9kY2Ej9MOnekbESG~6i%5|)!VjDAFHFeRwzu_hRHHT zKg`D9qZ*cWv4@Qx*Bu4t7k}`ty>ceQq=$XRaVQeP&SQpS0V#z!wSIqKg-7t>U>>`fwPuUaL zxa7^evT9YHgfY#1MD!YYD8#Uu0TUhY--+I5?sqj<#uuoksBrdP*ZPp{T9U&%m&%cg zEtZ8x;y3_5`y&khQf6;StcCM<&l4`x2dHnIw2BDmLm50}lq!*KDk`@PZCf zQSVo!GBO|E7k=`~$hCHg{@=QKg*a6sf7p-NvLqpGbQeIae%YsRvZ=ne9?tg zueUJy{c~JyP8f@7<~wIh2KTX)@~`{JA@t)aqaDv(k&xE$9@Bo|OS(PNhwu15{Rc83 zqrWI;{f=|gME8=VIs`s-x-TE8jXCWYBq=AA($)_q=G=idi%SyhR61%v#iiKh+^u(n zA^utZCR0K9WASOYNaZ~mF~`#+v$3Q=O}y~_M-`{`KVE&J9pl)LXV0b}FG zpNyUF(kDma@^<8BalI^p_sr>{ua8O1q(b$aGrir;g6I=7{>gGYLh*-sK^`dat7U0I zXN0nc=d@7dxh)0uS$3{x^W+C_i&hxE_i8`9wL6b|{}-@{$`CC2p#K(R0$@b2ZySgS z1K^HbZ=;QqmZ-s~a6lZ6swGy)fFtdMH-|eLN1vW4eI=N{=D#GV{dD1`M;bv}bM^4R zUd4yU%GA8+LixrIg#+_>Lr{Y8gjzTgFmzQR{MIK9Ec5dlvu#$ zdP_`;SqvN{c#H)faL5CI%`?Tb7wLzv-Sn!pCqq;O|73CWM?E--h`V#beQSs&SqD4X zNXq#tiV+*36En(Kh<+4Iys>m0?eZZf>S{xR(|x_a&=C;jsN^iwKplW~ogv+XOH6j^ zTuwZc7GLH%)I=)^SZTQO^jLlEWK?xAE^&Rmy{IFah>RBrEetYLPw4x=MBM)E^siJSFAcqInwi3KI5%@$1{f6N6w8+nhs5H;qtHtQ&4D!G^ z6AJ`QBr;2E|H9lO3pOYD_^5$p`zig>RCB=m%fcz7TC{$VEe(p;i!o6|-Nkw0s+V{y zfZICgw`rN?7B-Lkci;+Z8@80b)o8DlP^z~^k6%j)amtt&Nn)0Kda1RUo%X|2Q$@#W zM*0u^4Vqzb-y3lX@Ej8_S1G4Df|s)8^pycml2|P?D_&8z7IkZB#Zq~?yzg;=byrn2 z-f!#0c`?0ey|#y#Y+0Q7)mknsa60I{w=)cDa2sE}?} zg^Vd3A3Yt}R8gn6XIUPxUDNBRt;TXRZxXhO&CHV#tje6L0;W;8G*3QRY~E$L zL%W>oMM`7x7tEEaFSraBK`hHmNsiwN1tjSNKev5-D?#UPG>;A1H|GrfIr{{KDIY+> z86v8UMrKJ}TGrCvy#NZe?oenlHiuO+`b)VF;Ma1(nzF{qF*RG#CS@|$B_rPprxvJ z)+a^L`LA7CBDt#ZR9#Cka7{0Y-a%~Z97}lA!K3s^{yNzlQGAk|THllREu(ciTrF&X z$zoO>f>kI2d+;uYT0PY%Ao~x~tcYnopqALgftCytTMf$W=QG(Jo24FrnEEcIz7F++|EZ;`Y zlv1gfE=~qUB%YM6U##srTW=_Ik*OG3%7ib!&uXIGVj4O&30pUB5l~a~zfw4547kGW ztX`!}pL}KEwe&k3d#f$Vkb^ikcBG$IuEe6hHm=uYL{_7L-Sta!PIDrsu&rf;MJAuUJG*HhCbCa_n#5di@utO9f0`+zl(RxMn`ZBk}* z59Ps=TL9@TNK!@tuAW1=s_y-I>iN>^>aD{SrG+BN99Ea`t6-Dlo`rJ=XjV8y43fWk6x(%xxA6|Krx7`iKV#cBZEJcD zg#-SN!b2aG)W&jO8l>(Gu>7!l3~R(d%5-GVO$#nUp+A}*O)UGB$fH_`&8FjR_c1n{ z8@0*%``J>(*O~K#feEW1!CSRae)ut}-TfocB=NzVpSgw#pp-aUc|>K4EBk=7`&Oa< z=m|uwVWj7x9%AsCQr?NZztqw_+hWKTYuYMm={^b?EEIbAIo?jo=T{bLeqpB?!5#Fg zn6KovkCv6U?$~}uKHWqTlV?D^W5v&7s3iDvCA+N#=UR`_SMM(~)HiB9ZV_AVlE^2C}Ho-K_vBrbxgh0MFBm*-CtvtD@<982ifyn$LDE zLeIxyy({D76l^dzBWYoiNTLUbmauR4EImY~LIc%{$`B;2-15poK`N2eZcfi+v8esx z_VEu@yL(4qBz!PXoq`&E-CI(nF9~|_DHgRd1}6n!K_msK1~U`xR!x@PQHX#d4@-8n zl;kyA_^d68Z)-kqv|U~Po@4<(PO{_qc|^LD>1$qPzBjRFgW*jQG!3R!72D(?Py(K; zYvokScPYvoSlZ+6o-5U>63RNN^jn1BHq6*2)z%ax7io*I8Uu)eV+W71CWl!M-KvEQ zGRxNxRFP(n$kc4S4CL9O-Y(l=|{=JCGJ zTT>AYkO%L43)gPJ+_y%-#T}kU#mj8f(UrY^k;Nf7;2$6e1GelmH?>87Qn}4?Ll3zx zX35QiJhts^)Qz#Sv3n?(*g*Xw#ysM&cqHKU%ai?vGg56Zl$~kDPes=4sxeFHdKiUy z!O>AT$^hAVpxaeEUQC*&V9AokRYqrRVK%$mP|HR<#X&ILo0X78b7 znEYP>o(nPR($|Vx&N|#r$>ez753X2*6&|^J0!gpHkW#4})1e7sQ#8)`k20LBSII}v z*{tqsmJf?9Y;IIlenw~=3K9%RW||R}3h8^*ysMm_syyg|IiipJ{b@#(K_pPN6iPuoABxZLZ6ch%2 zAdPY|pi^lP@lk6zbbUjL<+NY%k)Ob6m*NL;+#rh{MVprLXXxsPQeTyUY(WpYZRn0% z)fV}SU+obNQH&bNez|TL95}QDfkVc6ys+`;=s{W!6;OpVg`u34v7t6=y%}FNErsw{ z2l|+pO9ebGYpb(cvFmLmJ5r0&$Aw*Rbnk;%JDd)&O<)4mB~X~8;tW3GaeNxSO}#Kh zC_k1L+Ib&^+b=Fnr*6@9EO*#UK>Kd>atEkWCFWnK9kjCG#$Y zG8M4Sb_br@7Bfc+L%evpKE_rNxyfNOg5kOpECcrpw;yPWNl+mKwr^LFEN6&#IqdFFGEof(#&T;COcjw8Q1d+lo_yFCh|p?GMSEfS5LOD z@$txWEb>WLFVeBe_sw-yc6)DTW{`B`;>rw_!D#C|xu3s3L}q9=ki}Je zpwCCXm?SK5=+{D6qgs(@RPDlfyjk$S6m*f{uAedC7CtXr0+b5uzrgCQIIr=}NUkMa ze`CWej{rolgaEas#&&q}Gbk8DxA!?qB>ZE&xc?pF2!v(oS3#`&zGFjoqe%X+E) z{ETrbOfp*1f)JAl_@Y%+w4=W%-v<{GG{JiFXf4-7YGy_kZPPatJbE7uYb#MdNFiom zOOdkW(+X95;ztoE0JmuXaart>nr|Sw8CytISE2MXe{u|z!AA^I6!jJVAo~l$Aav0) zq6n^Tp}k8U^=*>a#`p!TgzsfY1)ZLf@f zTu_`ZfA=%-Ta5O+xyHwlJr`xk13vQh^d~gxE-z8U9{lU(4$ckL7B^>ak*AQMpkNXM zd+jc~chA`GiWcrAJ*!EP&;ZEKsXmM2l|Ye1CKf1W9Zo zuldFRc>L{8=V=Z1`+oJ$CtxLg)_P=B+SQN@&ynqKvyy0W$SYB4RRcfr3%z~nWAfer zuT&TGaGgFi@Q-q(sEEOvb~`Nnb5Z~78R>+C0U?AT!Hz{-v$-5N+H z{Xy0RWg%be3(zbruu?eRIBt8fk;ipD#p zTa{&t^a;Wm4*y0EIJ#`6lG}RO&&b(yNoAuh=(z^mE+lQrlciAmDAg<(T!P`b&U*-XYFfm+P&=luie2kAhQhCN#)}Qwo^~204BmlHUhQ{qm zbqSCfR62Oo3^&kJ5s{>F&|KCyEAC-ISeG%fGkHekYYgj@=LL9bnrygio>a}y;bjL< zK%afcWwe&<9rWt^ko;j~~Bi zbVjen+Vpb^Ml)OMi|J_u)Z(CRJd~U_76^Yr=WHC&c88W!xV@_>UTO3PV1>8?Xb->G za+8`ToNF>)HB;%JYPjK(A~Y1H=AEz+4ag4Y6(v}^KdM=eUa*_Z2spzU3|+{YKpfQPD8KH6B2Y$CwW8%-i3 zR0`R8eKB*NSj4W+2F&#)rL%vWy0bg+J2gnj@|URlD;ahEr}64s6e)4W&0)LOvG(vb-t`D$*jPZ7n|3c-kDOg0fqweFCc?0a^q=K zbp__7C1l%4Wg+yQG(tUrf4Bh3x?s1PtGlnj>_JRUY+1kbJjFP~yT|nz8kCmP9}>_? zi{7k#d=KXnU!GAS-rM;>zfwIWY1!WKjHE<|0|x8ID|G`P{bm0u=YH8({TC|LcyeA$ zTnz>`bkqg8i6I<|0_FDk7U>8PlVo}`hGy$03^+YEpNwd2(Jk6CKxd8@Z%J3-HV@K2 zMeYgd;-H|slJJbs^ES$_S$c!4R_~qp!%$(%zjYZNsPs*eoca+n5WwT6D0e-+W&%Xr zAU590ZCLLkt0RF0|Hbmi*sc5%{5RlT_vaVIe#k8qeFpizK~CV4@5g_d{9gqi|KC@; z;r!o8;r}l$6v=e@{lMo(=;G5+tp66>i8vs)_<{0k(*N-3Su7t!tHNi z;tv>3)4R@0?|)DiIQ;wl8}r`HNLSH$0@MbkNr!@nf7O8-dEI{VyzbdCp2MG}We<}a zto2^$qYC`u@c^UF%@Al%Z|n>zPJO)X_HG(~f0_?!b+tn*5llxb?I)wp zUCo8oc;oS{WlW{p8+T^wJlgnl%?Qjj%2a!TLth5}{@NQu@hy{B_7+pC=g56KJMGMu z7bn)nzepzDa!((Oqgu_4iZdp*#X1{p>Jloy-W+<7*}qHMj`yz4fbc7*puB7m6!XZ1 zjO1Y=*X@-AK&_+_m_mQHLcsp_m}iqi-=eFn`^MOVh$gR<#hM9l>x0sgmdz%v-H#He z>E|^V8kf^cY8i37kiJk?wpyQ*?udE2C$B|9m{b>x(Z>bZ0bUp=q z;e~+c&t0vM&3>60Xu0VFxn9LtPRuVSf$+_s)06ErJv22}3o*zt|--^aSPZong#3yYs~xHk`$|uFRYyJ$k#4>T|qE#gl#i z3XrcwpDwy&Q;ZEYH#r-m5JO|#esZrNt>*j_%|$dzg5N{)uoPsPZhatMmscHnBZ6Rx zI{UY2&*I}R2@UuovnNUoPRIL{q{G;V#z?Nt`~5ZT+^;qS4JVdsZ0Gi;DK{Yn#`8#f z$X=fz`W~}v6bx6Y!}T4$0%=mDz-_gvFA0&|b-$o61PLQ#G-+}h4ivq)lmmS{GW0oG z2^W+yKCru4*R;Ee#+u_g9v2O7+OV=oM)0+OJbtn0BALUGlYDC$J=! zc~&4FO8$xU;2q&M*3s-IxGy!wR}`3$w$6GxL6!Z}_p4XD?2-Lpf`VzU7TIAl>OMEu zgsEvBJE+B)-p66{Y+gTEnZM~Dtpww|eV{X1zg`7aARXEanJ_isG^giW#feWB75?-< z&W^J+UHB_aM9IZB9lfK_wPe<|PiQIX672Xjj7F7W?6vaA;oZ^cb~{^+SCBm@k|uE~UjY`- zx-*qF-X(>SINl(|uBGf|uE}E{S}7`Rsw%9~V^xtU^Y8oUo9@<~)4**3Rdu*A2b5vt zuQ=Y=0KLpA?kI-}l`ma3^1C}+DThK9j9a^WMvlBYp^WKn?|YeetS z<0tMH5ct(+n%z$J;FAGMU3{`b6`Da=zX@FCIE5u*Aw9{u?sK0STt_?hQWBF zFmW+&J$-yS{w+fEc=8xbIa_VgqcKbyA%wOpE3jYi1bE`??Gw!d^SOaZLo~SVHhW#b zv!ewWt>y&5X;n)XCoO-rDmG;CZ93CGE{5nMe|Gtao-=`V!F+b!hYO!;tfvm)5;!(< zwR;Qblrxeae}DR%aUTSxXs0e9{Rn7!6qG>gnm>zn+)6@wZBTMSmz|k2I?(U@w2$ZO z`5p^!TEYJL>m}RB-Pw!YXr&!$!E2wC8uGt<2!2UZj6$1u7$o*%UK zM!$V5idghoAg!xXq#U@PU0~Es!`<{`2SDbPZI*S8&ZC=Tpw?o{5=QK zyc%4DkCNxNCd*A&$Ut`u%t@LYk^NB7o5nK+D(~4$Z)1~_{T`^#sSS+N&8 z9^VIH^B;x2E$`JN(W6R<9F35hW;#2)mRJ@N^gb`t@xRraD89$q6{dX%vvdXN%e-V; z8l02p^vgE2!zYlro1T^nLt51|OpW|>=w)F(4ft9tk@jXZUxZ%R-3x46@7iZNkwSep zI{32E&7o3PYH}b2?%8gVOUham?SSW3)h2V3&GBs<(Mx#KNu1z*`rP@5l6%-Rz=XlG zi3z^Ta}MHr??X=<;t*W|#rd1Vdt{LEdKRlAg*KCG1f$B|Xd$S(J@ z4TSQegNZu-wcDG#&n+eP!3r4I!-3Di-=PP;H?C^U`OCyB~{vraGuH z?IWoe#Np+=EX41_w(-sdLBDbY7KHBVtDc?eg5Fss=I9f&a^poXilxIbQ1`P*an=!Yqli|_RSBJOgOCnkptJ( z2rc%_|1xA`7~yMgoOn0n*21k@!98k4#!34$WskJlWF?{BK-N~i1Gt4_D9+Ey<=@T$R4mx*s<%3?9u>0zmv-|A^Q`$a+GX$NQ(Z3Sg)Q@?J6l(S_r=p8|s#UiazJ^l@S! zrrPx0r%rI@cTFP6it%mK+_e+KJ5?#u<(T}Sih7ZOf2qC*oC&Pmyc?#3D z4!}h;jepj%Bl;6w`P0Z2p#Je(t|8lMbELF^WLK|-NXI<0YgK{;hg4XpdNO%R0l!a^5= zOZ)zYU*7~hF1GBI3zstm#OkK^DTT_nEic>YpVV)gcg4(JI3u0u$m^b?%kdaP^>iA& zYG%iY^YyG(3##jB*%jKW@Ue^yDne&*L#jwXQO6oV5 z_vei}`}P}lcP7jHX&hI2U-jT8Jc2g%LZi2wRc8NGPiXoa=t?l?j;~ZbW-BYf1kX7w z3-15I5!Fk2v+BKXtz5i!FVpGcD3uZ3LBop&q81yYg4(xdVQTO82+Zi8-M& zHjGX5jy0i0HV)Bs$TN=zPS5%GtATn7mp&uvcG*G#Xk+R^065M^Ms~`eRqa8j`n*aN z=w!yR%ctdVSk6>i;@QuaYVX#_&n(PRv`sr@uj}1*rNBuIzb$U`32r+!bL~u+LcLpt?|)Em2nf8vo3D2+*3R2I+0KTa zt)|<>vDVDGBpb*+02sWDT#=ern^oYOc=m1g<5;FNm9%hZnu@GQRn!fcTx3z-CL8xF zH6*-7E?;%SyQov$ctg#ZF|n7JmFSE5$o6`~J<^er6nv2|3cnbc9GaSN{+um#ksB}D?{>=SEvJmBo;e|$t)FEN6O9Vj z3-F4fzxdo^(Y+a^M3I8(?P6BwUwSVzy?ZJs@j<6YsH7KlzM3()aVSP$UjSGiQ)<*P z?0j0rFQ}Ci3JDbo7_a44iVA*{6z(LNR_owbtVGb(C$euu6>|?l5_A{*P*K%K=|dA@ zJ__5|_^!o9x8}RP@O=O5h*Sdksy6s5t_cP7ek*}}aHw7>nF&FmS4zh95K&QCyL!m8 zhJh@pF!L?P0pXJ_#`GMi@+H8y$by%f^wfSr0_MfAs&MKPh8$vBaPulclV#H3?eB!$ zrZpMIE4+9u4{~+Q_Y4PJ{eJlxb6Svcs~_sh6+k_W;}h(4Up@avh%~_hnLLXGQPois zivB7!DfKMhZ=jSx=W(eE+o}7I+$ZPHiX0r>ZURz%aA01x~M)#C8 z2ZFFtHmp;(bM(6hlE6kY_GTCrN0-xXa&q$V=lm(N?bHLG@?QS*c*{I6A^FdpO5@)d z#aQ(o=47F#4~=*uf*CaokKe@kS5{_dDm^SThgT{o@=xB!PEJs^u?C45E5>CnZ0%r? z3Klq9(&+y#Y1rY!dqS;x-9c)XAWe;IrxjGhtO25p_f!&TC#04$fkSrWMwCe}!Ru4> zRX){s#gx3F++{_U)F>~IEAM$3`RMX5Rm$1Q7Z9?#9_F4jr%D^s-o}7!;My9Q=*`GO zN@O>8v7e7`AOHG~z*P{0@_7^gSZFk-^h{wdY*VVr@S&w@Age{!4{`0yZp8gHOjb%e zjiG6^Np-vu@lQFl@r&;YgT`Qj$??t}B8xARIP4L}bN^4^kEFfB@rd=K0* z*3*^Z2&DprN&tg589b^HPajl}s#LfVf8Uzn_P`)24aP!?1pOkb!L_^0vHL4g#1mFLhb1l1#JpC|l1A^Q%KJiIv_sOHr zr2+4_fNKr8vvNzF1>deXEL-1m`l1oRH!Kk$Y=h~xVu3f2C)Ni+Cfins$R`Tfbi+Rf z?)292Owe)Ii&(;{%6pXqybM&h-W0`4&EVsWM50c7Qh7$9bQH#nRU#N)L2PVO{j$E` z)z2!&Z@42X<%W@ytiK;UC`$j+6XN;}81@@{?d^h33|#)URFqHRl>%yR`J|l1K-VuS z`MZGtXwoVmM5NmA$DZm%ZAY6hpE6~CNp>?Z*-$%al^dJX66JYFh-YEKByF-PFwu># zH_UX8RT^5s(uQrZPCqPdH7`Fmb!xHDU(64=&I!M(Qk$*}89|77EO$L&2AkT=`rzYRK)E7ODfgW#I(lG#F9fL-rzZ(q;k^h!5Mk&X==9hcPLK*18BqwT#}~KbtTV;0Umvrcj(3?BH(B@&BGMw zgnUc(5}(ZdU@esvy&VX~Dx*KV;T}C4gdND?S16@){(Q#sX?T3G+u*0Z+^S@^Qo)qhDRoh5*2P@_AWzJJFjIErRMei;a z;J5DhSFo95|5}B2K`FgYJ4KJnBBb_|0jf|lWFvpi<=p6pmX4Re)8Lt^X8I^->C}!$ z0IGocWYn+sYkT@`yq6z?b<6RdHV3+fkdv=U|Q&8qdOO?2;WuMMTCf?rRQdl z=ETd7*H$f^VWYl+_kkp6q0cz#J1rsxfaCdeqUHKXgRJgoTr-M&LY$eXW}C!J*l9f2 z41+n=ipvjr!0U{z=qSEuZ&$x!{IGw;4b_|4BOtFk=&b&_Yc_qc ztU}7WgNd$hGdL@;l1Afmlx@;wJs8<@w@enO$BWU7N(}7Y9qaiv^VQqmYUVxyrnr1n zlj;slKaA4zLkcahl=4%8n?NxGW;pH5h^X+^2g(Z~Vuuyr8k-1`02r-Ud1)7Fq*^h$(hJDxu{jLuZ7m zUW*p?iUUC{Dw`DNdqi)8I$$+SpA(B_B2LV2ZK+`UdHUMV|@+ zGM@ULQJ1u`XI#PA@Px<9+2d8on`q}?TJky{w)U9~-t-kUocL)Ruj{eB`K|`A zqJE5F&FSY+{8QuAhtYS-qzYf@O9o3zPllE1mHFxOOGsZPogFY*5wIJiI3Wj8uGfLZ z0nnT%zCo&cUwgj4+RfCbXVLfI=CQD9a}9^a>F&Q5ctt%(8H(7iLddu?W-jgS_rM@p%J)DPrabCg>dgM>SVScM z^MzaR0sbrQ<9VxzuM3=4bQt{xGxrFAP!FmaXj32u>%>I=E$VS`y-ww*$}wO;j#wQ$ z&k}xBla+lmQ7bbx$94lJ`_;O_N3|TBceh zaNmpAc#*?s+V>l!_sn=U#>|>PpYk6DVE{UUIqGg_M&k%ttQQsjo-2KgT0#R48%W~` zBdPt|ukWGBE32Dv*rp#Cb?mg0Z+UI;+UA+bnwpM6ak2cb6+_12;f;(JOyF&I-^b#g zvGWx#1+)cHN}j0q*JB@9z1-qqKYye!&t@NcuFe&{Wj8xnP&CfU^3}3doJrkYN!;WW zhUIgL*AIy)R5D4{nKkX)$;A7HNuk$*1Du-XAFv7Zj@(RZr||K%Uu%Z84o@?w4-NLl3QAp zo;7}HwpI`;(Y|!Veaco6_{LV$WSMkr+x&B=N8p1sgvzhBP-O{G{Xyd`l_(Ln!<+61 zd*@&i?1BQ=8=mifr}V+l1fDT!9@*Ww<>}3t77Jv^gbr`EN~H(e;|@QqW6KOpWxYMK6;U_3 zHc(mqnjB%^%4brhsP8BJw54fwPS0zSJfj#h3)rupV$YiX)7v<;5Jv=^%{>Qbf1P4+ zSOtyha!--HnkRx+S%XlMHeoZOH=E$A1ssiBJR`QU-gvMo%U{Z+(qv4Y%7c#6{AX>d zuZ$v=-(!Xq+K&#(mpo#x{4r38#r>as)?WM#tE$!^cf0R{nZ!ITt?~3fXQnB$Tbqxt zX}s0aX$;oc((rHBQfT=O?!S9SqygS3ZQ@;H@7Nipo^Ig8ucVJ)n|Y#+|1;b;t+!Tu zP`rw5@XgegjHj;@rxTvd}jAu->(98eIbQ7kTCe@|jr-YYa~r z`Bc=|(Yg^_?t`hw90VFZ`sbakyOn)CLQ5^!kZ*NJbK0D`8b{!|xFZ05LqK zOdD{2DNnEWt4Ql5t-AN9sIz=t5Yp&M)KTZrsHW~Bx#ALsco+8&=jHEB#W=cL$M3&c za;Cp}gC;!6M>3$2z}rCZu!?)llrxuUx+D}CAfKvbMJZ2Dw*?38M1IZ++UTqbM}{g_ zZ?%cxJ;vb@8N4jZw8U%C+b7ac@o>TwH}r>g0f#en{_wD{9-9ngjtwZPn89jVMvv|0 zM%Csodezi3ox&zuwjZLf@9k&p$e^JjDV}WhaLIFb*E}+RdDughVqfFKgSM=R10~}| z2co2J%%@>ofEEa8rh`{4Xwtk*{L%ni*KSW5?es{-prwa>V*_e1bX6^0hT8OLygJ^M zvX$f6P1*RiVYv9&m_IFg-#sXqFYc5*a!BFsH0_umXQZ3cX1IrI1vdj^1s>9s&L6RF z_`k@4W$EZu#;sse(s zw{|TGedPi?F;^}=ik2~2|BuZXvgb?%a^C>R_0ZWPGeAHnTlw`gG=+$g((wDcPY27F zdkV+%TkUnB-fy`qt?L1M*q0Vv;r?w;H~1kzUymEz4<>^teP$f=sQeX07uxTkPyz1m zAb=DGHb*n9+41hYs98T*^%5q+$qfj*!+}w9e-7D&cV2475euBWVQftL_ROgp#wF;o zmGJ5Vnzke7+AZ*mN@}^n_84MK1ELW7%vE|bVV8syTApx?&FW)+`n_w+jXpaEDDTbk z9K-aE>DH$iK6u%kS8XYy`#{&T{z*g8xW+b0UmbXEXHQL1yx$fR{agYd?Ev~8I_ipy zYomd!zqaQ{<_MUXR-vV}@$RzK-sj#v>K>M+n8@7*!J+C=mBNu?AnQ9DXZ-5CN>RQr z5+Gs*l4Q=O3!jq%_3F!BU_e~F20o<${vZm9S7tF(h5A_w{#t&!4X-}ommXPj z4evA+F!>k8rweZj#}2X+?G=MY8G4ZsB!y~+HHiigf763vH8jy=Y_1t-%GN2P$X*C7 z;E7bEUwwVNyvXaMMM1hZJ+=L)216aOtBI%XF~Y-x#mYugESdN@TWsQ(X^sDHcXb?) z+DKF#gP6w^Yo#4dCVcm7394{jh5JV(K43=`$^0Qy>sQ(nX+wtE&K#V2T2d+DTZn$PCCt2Ey3674dK+fx@yexefi9D zlKMu$8huQm9m^s)05*H zS$UHz1qf&1vw_u2n%>H7pr%9boY=;xMhXOQ2VZm?xs#5^TZrC&UujXfiW58 z^Z#tEUHBO;D`72B6=56Ca2X=$2P2*T5YwD65iSoKU5^@vtm;`dXLfx;S|6Ol2VhX=+Sdr@n_ol;0^&A{>FHnS#X2&CFIHO*aFT^yL* zp5Q(kuP98)QG)Z~a1zI2)oYiPJ|%BzjVz2Zk(T0Ag&tO}gcbh%B)At^5-K1cQ4Rw$1vVMH z?)OTVWo$D6s-ecx=a_`dUFwhAnBL#*0`#iAWR2JmNK62ch#>OYgy9;7Ju>`rx@1T- zHJQ6^5)&Zg;&(v%WTg-L*4>?__uO#_)P}Wd7>UCeD02Ks;~$@?YsL2fYloB=b5P z0vzTQwqY1v=~taUmlJa}H)|4USJ(56XO|-k0Pv*mR#4xm!?hqNnUpjK7@!S`3K91g=;%1$2dFO~|sb$-%aX$4k}~`mz62WLOryE8*FB%VV%`LN%!1r9 zSc#Vv3sdei^zwI0lfxecJ!e2i04YK4&p`tF%RTYwZi^xGc`2;5^m>-bF|-r5GmP^* z0+u~$*^3?V{?~&x;56i|ufE^K*au{;xp8l`6v+mBwLjGZ_+PqXKL`j{FvLg^o2*6) z8pH9RLPQ-BShO26N$5Q0zhEuur2QYFs>SSQoX#U3M=@gSIKPY!*UnX7`*^?g2g0yG zh`I7BPmNH~z*7{dKUR5#&M0S2_-sb{XZQuc&N9dDb4IrHrwU>y)cxspdV4@GVpOQ( zkQP0mZ`hxLX~GpwME4*~oA?n>ckNG7p-g=DvK5p~Ivd8_(XVQ0*?xuz8;K3|CQsHT zYTr$+x4~#j*%u8Br*m=8xo)2y?t)Zf;$3#)T^hkj{k)~!mlh={L#w2Y7>NrrE}9{F zJQ=!_7%MVTP3v>9T{G`>q7PO5L;x~C?f>PaOYO1c99bRhYN;VGkZ>7Wm{wP;o9F8t zjuDiqNCqMoIX}1O_yzM{8FT_)|HNSLO%uL|)ihXe`%>03%rmVTRewUIq`0p}->t@N zPv
VDs#3#dZ_y5tBxWs zNRa${t#utMt~xmpq3_Gqp|uF2Gr4y@HrvnQggXin3wR{M)tEg(?eBD05Cuic?HS;n zg2hidpr+P^?sV;i^renk&%|AYsI970iMxi|Jr~Dk7U9KpMiI^f82{(oSNA>#0XgYf z^C6n+kNtq%G)#k9Skx`?l83CWlOk~^LDj_Zd*M<)d31FkQ+G9izRhpuP~}fPfT6j4 zAB_~JTkWX@Cq0k&d>G8D0#(qo)-ut$B#e0q_e1g84TENYlFd527RC56Hj%5?RF*)8 zyqEoNlZaPdnDyD*t3=1Mo<%<|n*h1M{dq-T-(n;$7U6)J-rFY2Btoz9py?|~k}7av zS6y|x8TZ&+Dx3NT@2QA^g3&R}Pu_#TWrpP@7=$}OlHJbdVj5YbB(R=?rz8Y>GJn?Z zy3=ywT|#eYaQQTh7fId#wxwC5qAz&O4rg;WVIUoP<#RZNW=VzMPUOYUfi@>w{|J7B zKUR?S!DTE8aX2H?jQ6Z^PoI2&DYX9!h8TedGJ%uwRlj+Uj;_A_mv!c827%M8PqiuC zlxQA+)oG56<%|p?1U5l@i+mjXC1FOt;XawMlI)?6zi>kx93CuegTTuzGIG$A$qKW9mdl=&$n@)O&1ML&YopH?G)nYj!=C390Vu9eT>_!DEUdFZ0SFf5 z=$S;0-)JY}qjC%508MG9-Vz;7-APV5A{Cy);=Hco?OtG_Ln5SgfX()`s#9a(mFa)O z4x^;Eg4Dc#R@Cj!J9b?U(3`)7!lJOwa7zwk4Fc*8L+T{fBwfq`vo&}L70>_9Vb10 zY~Xb?mVSMhKl%f>8@bVO0YKjk%KxhvfveDfysj&NF^W#SF1DtTHj`GTaZE3sBPX2`3Wsq!x zAf}$4m!T{rwZP&V`dm2!>K8>B>;J67j1%OUGxD!1Wfs)v9Qo#y-5;PJqRv&UqlM#nV0mREu=8%Hy&EQOi%Wt zEFz+$7|;-h?E1=EO%ZJ~UP4bqttF`+TGI@rFCieq^?h72G(l5L8S(wI#)y-GS)T?a zWtnhtipo2`T?WB&@TQR7)V)DeRKV^EWH+#&*~y6x9trP__t-4FKj4(qAc*a&?9%F{-6WMd7ExsLOuLGUHwrb|Nepke}QY5 z`@dpB-)&&LH~r=PA2pCaSH`W}0;gU5wcFg*2SXUAsVrz99rFBZ@$%XKOZDL|7#Rdy zJTp9wzwF3?eqW@-`Ckj+EWY*OosiRkpZG?rBwLFX8)(RaL6Az9e$an^1&NLH*MyB^ z(sEz$r%_^F`axQ0JvQ=gn;61S4sRJc+eIo7Er%SDRF{W9+E%y#op7=J0gMMu`;K?r zXz-48pjaQtWd(TJ5VY8Vi8~sC%j>Z9kacP1 zntXfWmUCzIY@OnmFMScU>JPkJg_V$782ulmn|&S)GIubbqShv2iED=7%5Z7l*WH1) zr}wm{F)PlO`b)K0xfZmx==>ey@J_a#U4M&emjBSaHh z*HH=WM0|!O+W0kmnry#8f#eQMu}xT(tbRu^fj&vnIc7a>{F*M44#d=Z13iei`rUe_ zSNc~MSV^J-c(=+8@Z12dr$Zr4Z5lb^GJ-COc3~$rB|h+68A`NM`X!n^&y|KEg?Kt? zu~Wh68Ryb+L7oz#hQvXC$ma8_kR$2Urb0A;$c6vQ`Xg#ae;0rX?JFwf-6F*+FXX}@ z?+rqAg4*a2DPUGTzj=)>rH(RzMXzH+r8qB2;QYhjbJnDePc@3P0W&24@ z_yOnfnV4O!KlFW-ljWCax=|svW#QpD-tok{)RQbQ#-gPX%X%!8+bQd&-zW4~R_q=| z(FxjBMV;1*9bnz%roWM$OvuQ3_cslqGo#v^gX4=*ZZn+s11$l4{k%n7;rLto#_RJ5y{oX`OPLuSa`R3+>#Sz^!880^z7~y(`1;&6v_<_`00AI+5uU^SmxS%Pp-Cd zAMP60j>&Q_O}TV@42FSpLY;j#u{=3~2Q8IQxp^G(Ri;UO zZcl!)qv9a$tW`C1?LMvLA~P=kR?b~Pm)Caa8Y*~u(wL)C+Rn!ci3CGdaFm03S{d2- z!$s)gP8h9x#j}f*Ak)5{$?f}2Dx4{&QSQ5547z-laKG4)WrJKE{)4Zek=tv|5qsh= z4{CYmxwUO%ck_#=_q=PZ@s_&TwoW3%+=kRi)VL)+mMp0Mpi&4ilBe5#juLIY@{3;c zYEo1l=P2@ehq_=*=RvrE^=oTHMA<&*K^%YV;gh>&ygTioG{wUlo#aKvKg-M%>h#ZC zHN(Js1?O~E?@uJw6UzI?wD0Fh`5f-XM3|nLTBC>#dy%v?-)0cjb)RO|_Lh$eO+g#C zW+8CsB9az1qo_zDh5cZ{UdCCWRKOsiAArzC6DdSA$llywnK|9Mcim)j3kS#hx_p#j z=wq1|2o@goS0qD=zZlaGh|_+Y@2z5k?qq#XrF_(RHME>=0VWsO|7~H7u2>O6nFB?| z09}U;XWn^SvbKKhXQKJKns1cG1atisUKxC*QT`L>(?ie3evR##t`>-*+2bqJAwj(F z83h}4`vMzL6bW>thbn>}0&_ElWEMhI1h;3J_H}Q3YYdFSxBuMr zST9?b=myGnM){x9cX`xfxRZ*R`4_xSOxOsBp9ON0SIJ-{JV9rNI7v&*pa&g|?xVj_ zn}-P+%+CgXJp`=7uMb@A&A-QX?Khos$%X?23P>Ro#M}NauoUDp+eTeN*x%9A44vNA zfBW3CqOrrzNI65ndy_2V%H6-O1F#*FR^3T6?(>I_mP{KM=3h*vl2+O;@>d>V3o$bah8P3s_v*es9!QVxv;GsAs+v)oIPa@^(cWOxOskOTxE^#1miuw!O0fS?px+lVMZ@y&^>pszeN1w^8 z*AZ6E26Cew*1ebl4}sDTq?InlKESBf8>CcEey@4sKmEsfS_S-wI?KBqu7_C zpOXF>?+&NE1tl-E*9uhQfYs=qBwqo1CYTpF*O*9yGO(1%#R1~rpi6lTFnsrb?;TIX z7?hX#dAuvoD}`j%IDUV<(jT=^Kd>=Y*c8Sl>hb6*(iai1IN1Eec&+K~#8|UTn?|&= ztC^T$m0UMUE$oRlC6G{ZI(d-&)<6l>3!H8SrkiQAa^6d;@wCXD;zb5QZ1?@oDkqO* zUk_(1Qrjt7V`m&@(x)fZ_9VE#3FMQ~j(N*7vC?jO`=K}S2&NIeNQvD_8#~bp?M>T+ zzM@FRZV6UJ^Lws5e|Wb>_!eR$>AX7xnvU9_RWHA02cu2r0~P1_AS@^UvE8_%!oGnp z6s9kAr{76i&T%~MoGtTcR z?qs|LgKM5o#iru7FA~>ygtDnPEVp2lr}Pn^%{yUDfsixoj@f}=jK%C8N=hg6XNDHF zJcaCEL_n?Jod9~~j^VVV1R1vKFQ_fKQ6Z$Y)CN!E=b|!_{6h1Xs9ev3V+e$u{SOgb zZE_~VW~TS^kWPUwn?Vkr%g95W90pQOOro)n7!*vZBrZF)telTL*z#>J$x$}#6wfR~ z$N~8F`6<1i6)Jb8IG@(YO#tnT!+ddPV8+?*waFWQDH>=nHkqCqmm%0%Yz*@#6FAIN zqaezCqS24bxzJlO?z`YAV+C?1Qcty(Du%0f#P{D`;VN4gYQKNYEv<@@21i;~prPHW zIG9{TQi99;g|aBAjKZFHD*B7|dpTm#3VZNm^Sh)z=^drO1IOZht3#0>pH!Ki?T2bp zCx!=G#Il|fHnsG+)oZbP%5Sm9iJqFuM5={sgp((jT26d?%i{wquE)A|j$IG!z*HmRYfX~aZHH~*4GNss;_@OD|_xC!TIR+H1Afo~dKkC9e3X>eddd8Xq@vXklM%)TPuDAFl= zHTiRvm~5#2h8zJvtF21?=d3!cWvzR*=f#`F?X<7Op&oJUci0|jb*zRHe86be{$#rN z;M0sRHQic+h&U;^LP_;B{tvl^AO6B}cxDoc)szqHEVC8rVxB90s#pG%dAfg_Yj|c) z`X-(WfevF(B+<4)R@5_wTU0`7o2!cGNb$7FqL{<0V3Y5NdtyZ8B?J>h%kCV?i1f8O zgj*W3z9DJ|3VmvBV{9rAwB1=NZC9jh)rT*FkE2N3*qYARACep;s7EAanta-W=F2+K z5b`P;7p-3O-@;X7**GN#w-pE$fc3PW?Q18Sg1`{2j!1nIoQOjXOpPcM`8-gV`Zh(Y7}xZB{!@HH#zN&1k- zyatS{3M36b+BI7Q)nM2Q|A4H`)MKNrQxz#Rfa8>QJP`rPkr?=uhz>HDEY81T|1b!E z{sG<;@Uo*8THQJcG;C7l5w&9L7L4p<)X}bl-d2ql>!ERLEX11X8hT~V<~!2wtv}S3 zS|V3xa>+VSb|V`ybL(U-mLypot!<3B7PQt#7xQhi9nP^pqc3p-#_+Lr$BWeFZ_wJ% z!xSPw=j|_Dk-zGAT@x)88?X2#Dc$_{M+l-bWCcf1atEoilgxgT|1XBYPQ1rL;690T zPj$~v*l3Bh-GmtG8%|2T zGz(gT1m06i`?!viH~!`e)`o1Yjmr|McY92tAZM}7?evb40-Y$R`woj@(G6;j?{!LO zANZClIII+Cu-zs5MiX_c?S-4ym^2r^)G_ zi6+m9!@3O;h9t**J$O$R=a$+Y8tglD2FsIO?l&hIZI_kRy=O*I*^5MT-nXv^j>tBhc&$UQcu$F2?&9|r6r)k zWm*S%pD}#qw&y;W@(37iX|@Z=5{%YbaRLZ*?{7TO9)b(l6iP|y;CXw1wp}}!##a1V zmQo(}KykyGQ<0J0q=R0_Uz(CNm_G_8enBC%-{#hP`6x>Z0eJN?z4GTdQDd>vDU+ER zCu&fHWCQYV1c1UM!qmE*7Ge>3d%iJa>xI*of<9kLnpj$z9-zNGXvHg=+hL7USmN)H z_yX#KNSBY_iNC{H4Y}6DRw1$kf@4~t(cu8kdi?4gs4gJ}YExbd+39?f8G+9&(?@Yv z37{&_n}7gSN4k7vdn2eARw=IH@mk2fUO+zeh@XFJrtZZJ_9k)eD@ac+e~8nSHEhSZ zG}@a)*4yQnt`5{VNfu@AS6(VOoT3HxAW^-EycIuo|wxrrmPcyf=MV6vX|3No?2~ieOdA-xH>~R~TkTp*?WOw)4 zG8D)yvuasl5mXg9m_1O>9|#VPDM$|V{mZ)S)Hg19DVRX<5tIqpbw-=>W(Td zebRqJVPsOLD;;Pg%@AX=CP)wd`&RS=Q!6K3e7p~&WqZfbANLdA|DAWBaqT!0rrfZ3 z9P?`fdL^tZKW(O!?u z1IG|zOVI3Vc<-;s0TGwcbnS`d-e{!SfVI2Umwave2|d?gneElGz8ya6s!ir%MMw6M z|CsJsu~oSuMd^~^>bj1qX$vaPB#WfrxFG$% zXZ{Lor8~yp@!>7;SgT_rFy#{)0b?>V05CLfZ=Xfu+366AHGC@z?^r?)8zHGj?5kIx zHAttM2Rk_%yLHu?ZZ-xDqxMRttuB0;NOhRDH$kzPmzUpZ2VQD25{#l%LmJl+jUuF88t6`!1YY$f2bDYpEt z+kynPDmEv}3XjrRMEAGGo8EW1Y}bl!Qi`8-ttKFtW1wR|G6YH;L_$N5825ebtK7_8 z(6qZ{5I}#@stw*AiV$+&4hPKs#$%o)sCto38@Bv_ ztdRWQk_D$Lo+KlTV`6U!M&4BfRc%o`=OHA|-q^H6?oM*OUaJcuxmxnXPQ1=`^##WQ zc&!y11CmGM-y`m!2>{S|M);u6c$hAsELh?{i4DICM|*>{y6t!bZDX)5X8uUAg1~i5DS!_`S8dEerSJJ`D{Hj zwj%x5dGzJ}GgL|uJe-{Oz60d0k%_d1F#zTRRlRP?G(C1yAPzrlB-SD#^ia^oYr*wr zY*jF3MnrnAnuXlkg|NQVyl3+b@|fY3(>OfJ7AjA~KbEwO5$4;?P%G9O1HIc>RcX1V z+Z1skr|oNkPD=aHuZGiuf@DyhUn9ES%fB`xc5Q{yj$ElTj|#5_QWmIpcYFYaGI?K) z7mt>>5l_)>46j5K?9xguAk%17QsXkmXDOiM#KeClWVL4aLYa!kk;f6~tEriLUnM2$ z>c(0LS~vMT?C9~UUesIwpRpQ8kTlY8t1FuPB>ukhyI%g8EAoM!OuflzxdFguZRfDa z=u-taeOF(>n?yR4_3dWgnKbWB+3Ao_KkA}{Ie3K%EckQUeNs*UsG!&ACQ>@@vTQl- ziicyTLK6$1#dNlPw!oIu%X23F z2yimCeug-Z8vNv4Ku&br~wp@GQVz|_sV6)##XgyV|@8h#+-I!&79tLK7gf$PF_ zHmCaPF}e-QyXda6TIVT@*@luIa+A+9aE!zI8W}3G))PrA2P}!*VTQJ&;r{q2&Un@z zt`A3ju2W!+QedV#thzDYD%aQZh_GxN23&cMs{dAuq9Lr8@`^5BjC+du; zy3+lT&F5;`?|c6PMcFIEvu`d%&{!+R=arTpucPS@W2JB#nQ#RB*2hSJ zjS08EsG2os?5z7!j_6p2xPuGcqT5Z)Lcq4dB%>;M?M-d+PbG;#edd{-n_3_2UXT=0 zUUUDV-*Kc%gEKcUAvANC>@|lIXZ1Y%MYsa$=@oXL&5a$C;;c9AEYAQ5!=69sF>x|G8rNvxtT_xZ4j)+cpK8N~3gWZQicS_$KBHw!xp| z#r9Z$V#BXha*1t~b5&bfRqIq@r@2uwq@t|F4*9Jefy`7$sL3W zyZCbwl&9fVSjYXiu}>Zb`5s4ppr`Tn8J0g3)HRW)i4jyG(A|)cks0ht3rx#DxaNUo zpgVXZXmjukI4D(YVO0r&(lhN}ZzqD3yAS}5qM>U<<^~-{J>@4}ZtgGD`8yUixCAAn zcmS#ajqr#~Ig*u{e_m#3s&}Me`r$0)rBYTPd;EHh|kD^RE$n;h(H9D>uy%6I&JF zm@cEJvB0KA0>XsX0Ag&Fl?%HQ-5egEXhT?quRc+8uvkhj=v{c#bW}fASAF>k11-FzN=y_m+`Q&9yl|8UPL{5ds+9t5K8>AT%MJI*uIT#xBe@;igp=5dzJ-tOZD>4#* zT&X`DMTl5Tqq%Br_9vj~Iay~$5@SIpue%-3R|Bg7E;U2^*8l8;{FRhm8Q2IYswy7$0G(b-Rrzc_1MVnY8q??FxFe1O3ASL;%t#mdX zVTV~dH(g#=o7=&mdr~G^D&u50EwvI}TBaU$KOD<848TlRS72<1NV`C3fY`qS!D8Kw z(-vnOFVyj)HF}Ul3$o_jUn~60gvO3YIa7AZs1NUEYt0DUIoh6e${`itH;MeHjvOZVOT zViUP$`7;>djag}{yCZ6MlDMeYvgj$G5_IJ|`*)KAbtLS#=?+~AbDH#4pMKmYBul)k-K+m<*fw7m$W=|ID-@r8HLTW9(p=pDd1yG|Do4 zl+m53v|MscLf54a50nGSCct`PDVt~nEU+h}Ql&ulc7VKiXcdKjQ_}IRf!4y*>Q6MK zBB^Q@w~p>3y$y|Z*E7;T8GNgnSo?$cZSEBwQJQ^yzo2*gq^~X)A86zOXXf6GhPiu% zF6xsD7e#!uoJ!5Z&|q0&muDa@G1}`~V0v=8Om;>2NZ_i|cxl*{Jc<$9uD~t1cLJ1d zWF(J`ZP|ujP}8WF)!@J8@-fzrSQ=W0B*;qCisbsA;pL|le3|s@oss6bb z0xz%6{TI9pq8=fgxXh={+*-pb$mGs*B-GvFMG9;sDB6T$HTwDvhwTt-}20=jHf>m4HRy$prXWaHY`BvC>oP<~4%Hc3+iPw_icg!`U1&!i?# zi1R$@E z(dSpZJAVHtyl8YlfKL6V7#X|4 zeco+j-}a@+fmKC5C8Eh>=haitxqB(01&=QA?HY8dR-{Gnmi6Sx!X1{`R1oY4*K<{X zEJjhz8_+5Si;PC#+#DZ^Z7We_BK6lPMOu9@RdGTEBXnryjpdGQ={GoQWp#QzFSXsL z=`+&2DcG)_!$l`4KKZUw5x*7DX%U`O&V4)1X7vRtmNQB>SSK%W&Fiy2F~LVYx=*QD zCvrqLu;<;A+z4u_#5a|SZ*GiOYEjEvKeH^nkKaG0_!^t{Tmom0^>x1dYEOA zTJ+xe_YOl1r{vQVsKNz3jHR`Ct52d0!F#Vs63yR;6|wg*&LLisq4w~-=vs-2^JF$o z_kncU?#YLP))i*1=AWXQ>MpL9X3GWbq+L~^fXZEiO%F4u<{8+bQ^{=x_GZbX$fYtrZVr`Q!rZel>5=Sr3Sk?jm2FwQJ(CbfG1l zpFCXix6$Wd4Fyg0H~Iwu2Ki6e=v4$89e7ay1OG#dKs#zq!e{+If18HFL_>ZG`Zg1VJ8Rw2 z2#tM%tO3`BVDtZL*;cs3h=Z$5N^m_T5GUiEEj-G4xwT3YwvK`d1)?1CoLb}IY$8^D zk@7C15HHC{Mjrwo2f64T0s|nJu%a*vYkwsl=CSr9zPwD2Yll3e4q=4Yhl(I_f9dCh zcxB*(dU~zmVkZX~OHL-r>0YJqnYfi7SCIiJ|Cbg8lgyY zL&;7BRBZi zHLnDIPcjR95H&%|Btl&LFY;R_O0I970O$X}ZwrVsuh6Lz{fw|#mkhKL1%IpHuU7GB_3A#|s4$H2XfU1uj+bs!0h7%lCeB>p%kgyK5H3)22!_ z&JqrMP#Wrw`->io)mcNhHyk+;O=kbSd?b&OhWE_CW8Z-6=U7`;(HCwF1_O`n=rd)q z6KHjEq6?>&T@Ur=sWjw|PiT z1#QkJ1x_HggA$y0#Q0Aq2)Xh3o^n~mW7 z4V+bzVZdfa3MAgq7X`9F8#viu@GS$?GhG_))q0*YUJt6=Vz;5@7}Hz28b_3?*>;LM zS$I(qolZwO;xbZ5+q|E^{6&aL(S)UZe2b%o6p2V4owKD764^AQh&fnQVk~VAGjq6P z^yl2XpU;1e!Qc>h7wE2EylZHBs~wj(a3f2unxuP~DaMu2%;6fJIE040bUzkIP3A~y z7B6B}EB6i^S4Ixrq}Gpk>+^d7*~4UQ3SUXaR6F?86m;}HV+m>rFZYxqHb;lFNd^5G z=B4Q*7ibM(k3Nu3ycD*xS~4lPu9W431aXPQpr^A3}Gn)rFE$#jjeu>I>#5#&$%6h03ELR>jXhD<)1MfD`idM)H#!OP?utrjZF>5=dd z{TdwS*}QC9iPx@qB&cYMLh%UQTXkR3zTbZDbn5u)#33`%Y0D-{Y12l$H9`zR9?A27 zg_q4Z^~JcB)a82lR=mn{x#fcZmKW~4^V7Rf;I4?c%$G2SU~L;Xw!^rsvWj2LR)fK>kJXdvKDHh=xLc1fiPf`SZ{5jU%7p zw>-++IJiYOVD7KI_QWLjJ21t3;LK8GR(GT8D_#n}>fmiD;I?*Y@47Svaq+hU#>;edrX&w?-sjwU>y%>N$dNi2 zow!DOQ^HH1IwkP!V$?J4q{Os)QCj8SHK<}IZoCrvws`;JWGwMy@8VBu3;DPWMbZ+K zkQU)^--5y{N!wIIeOVP$xBC;cHKVcp*!H1WGNe)X8hVp33<~0RomnT^1;5l5@xM0& zFln^Gq^ZBuC)2u2+v(9YljW6UX5XBAXYBg3ri9~D0SfkbWw4Y>jSRI0wP zlPYca7LZ>c9B2IaGH?;j-gUdSu)Z!&h(9G^>h*{3RR zrL*)?R~}p#hg?XO0qf5Nx-LKqb{=EOe9N$+e$JgdQ;edXn||;#Rn6rVy#(XN5;-o2 zga>sb2EFC=vRC?+cej)bNR-K%;y4jn5AFFN97*f#znj{?fPm(M-DvnCrfk>!%tK#g zI&}hVq8~cVQF`=?6ht+|8OC!ySCy<0I~YYqzEsAZtUfMaZz3=Wa8bwB*S#OAq_dLD zj2+^ShE6^2;?H6K8JwqQ?H)OTZ<=rDDE0#?7M%N{{fEJ#>61BB`^=fjT5InHxO87) z%s4mttiI}4p_I6QQxqNIjn3RMwwOTnGQsszUx1Zd`_nLI?bk}+yvnu114O%kLDRv1 z5iCzrZ%*n!WX5eRixCxYmpFhT71#Q{HVjkhvJkmHr_ z`!di4|3-V6+&BSB2XpT|K=#CP1GABlJQW?&QeT4hlu+8)dLaGG+R^0(Snaa02MPF| z4+*dw2fZ9lv9tL+UExpFIRMOgn^W!1V}hi7Qn4D?L2eya-~*vtHR`sMJ(!>abP2}>e%P!D@v-^APVH$_%V zAR0JG{#4qU43oXbT9fcGHnzib!gtr-JL-|M1n?Yrq}Oq05MbmdzqCybD62f-Ic(-E z1=%yY#+cdt|94xW-bPq6MFJrYEEYYRKPt60Ihm41hHL(9IK2|#Y+Msa!JxnuW)P@e z{<;bBwiLrijkB_mTh>9wNGV2}amZhWLxJPr?VESlRy|Fb21gFQb$dM|Uc1x4(9&1u z!D2|zD8T0|45l2YnxE+!T+waIidqGP`n`)D)Hzu7o02e$RdzG!5s&Pr>P4^*c@K;9 zd6*MuL@%t;tK)}{4;^;3Ckh4 z@0Rde2r!Ri-2gQ7phl~CRs1gCNWl*zKuF{fEA{^+Z|?&AZ4lf=a}!b{WYGFX7_X;nQWW)EU4X8z@uG4!F|`qZKEa26{w<5*`$Gr z-RV+-G=mkEb0G-fU4sc){3j@%voFutbnk&h?mW!zlR4K8(3(92De^gxu+aZI2@46K zGDBDCgKPtt8)wv2Sa;cZqK%0jU!g2oDno*#l0akUd6z;cX|U@aoh=Lx9_m-3|3Mm) zaJ9uge0i`zhISxmR`?gA*W~Yz0M4v1kU8H2<%jzqcs*(Q#fy_%(^rkrCy|3r#ux(e z=5~diq~KhQH%A@)S8ULzxFt&OXpHhp6%JlA>c}JdG4Jvf7%~ZC@X>h03J1!MRbYLf zbHGuwct}cvge3C&L0xS#eOT--8*bM-V{_4#6Y%iuFJ)t5=>GvaTf(RB&3~$`=0Kfx z0w*lYk|OknST3z0lbRKxGm5~;1E^*UwUk;o2qtxKZSaBl;FtWzJ$w%!0)Ono29C1 zb(aja2u)f2<5*Dj8{vcO%?DpHovzm#e2U6}bJ%vHXR_)1S4QBc7bo((B7tdV`vl(v z5-r>qGCH}lnLB#VG?04Ge{*);ZOl&?(U=L=Pm<8|w|kaR8?+bbH5Y=1Mg1CjpCp)I zBJBOJpiaMqJ~Ob){q4hHVX z`FjUj=Y0MBr$EhIgjPVp7NeEMayV`adT}rNHnf30nbKvvBvS3zL)K{V_(fc$yISVJ z(9y>hJ=-kZC=5nAVtB2gfJTA*zRjMX*`ws&vJ8XrKq0D*ue_~gJZ(9syd8Cxn(r~15AoQzANkz$oCSANq zM&^K>Kk*9>Z9;W=Wqd)t5*k8jHdZ3D`=q@J9q1?wDD5Xzf!k|^SoiPj8hN3XBrZ~X zg76X3I~cwvX3WcwVNAXKX*^7t`qsaqSG#v*bQbmoCElB+*+2T1LR?<{tCks2(`+mN z$NOyl7=1-|gqd9@=0`BmJUk(2Mqw)HQaJ)cuPC}6aRVH1%}avrBB#J0+sE$Uma{yH zB|LbWomuwbOU2RuRDUrquD;g2RK71pCrM~xW?n)9y8wIEt{FlsufQkIcK z6E(aBTp7wlnXyJC*{=Jy2KbfbtD+YhExaM&vS4Zd2ZFscILZ{RpfWN+W15uXZG3o* zmtyKzC&j*fQ@P%op?x~?pE?UA$k8P5^8|hn(ZOc}3BYHjtztuI&Xigb(Qvnr7q=FW zjl3VQrA7q_Zy;on-ha^*X~Z3GG%rL+xv<9QJh}P+P8cOR?Cy*K<%8^7nWLK=xOzs2O9^fMmSAc2~^!teA9e?pe1|aaYh4kIHSRQsqz+;Ws z5H!`=zLv$=RZ~AFAOxp?+~s#onZ~%Jl51|-QSTW5f1tbkd}ye?{~?~$e6zFoZ4PvS z{O7op|H#+%;Yn)M5gPwbpQbyk=T8~WllpyL?f3T9`A$r%ey!v=NR2D|8kNjgd~VO6_^9J5YHR>B7E)F?a}=!Q zz(47BT#RH6XqsO=UOTP}E^yDB5!5(Kj;Zktg>gU}%`qOy_NxF=CW@tH4`9Dw(CLT3 zQz%a@q@TKU$4^X)<}bjsoBYDTl>u7BRmyv*?dpIH>crs9=|}-gigff#vHZ5KbThW3 zbhO7h$Cxo3a8%#qnAJgv0J!qaJ-5eyVjmkF1uzoQ4%m**&-Z(_SD@8B+m#dNZ*r1X zu38CFStF}kdIsojt19AGWd}bL@lrs^7k)J9<2I!9Y>c5o$#W=?V=~!5l7TZXQwXoZ zP>Sj`m5LH=^;=y*a)FnmxVK|p`Bl6X6O2K!7MPtCSmw3S?*R~`>!?oCnf9pXU?rA& zrK=|4`(t~)U>HGCQAvxaF=S}C?0hAifO?1dX~X7@O1}WGo%%vN{~7bg6AHAKNdBZq zuWoa#3xRK3!3Tdq`UD&rWO43Wzd-?iL8A67W*kEHCw+D0zBSSt3DExc|Kw{s*vTGG zz?oEa%I8Avy9t8_cj)nqJ=ss*ALs5isS+}UoNvh2dn}#S;Z5Cao{e zGnR*h^h1!s&-q@6!%ZrU@XDXME9Cy_%QZ$G=jp>udjtNl4`$zgzg_uuJ97KzWNFbN z@|)X_yda4qWhM;{74?qME#Bbsi9fG`HWEKyI+pub31!Dya=E_DSRw*@L=xxo`!oL& z2bbN`ZI4-~l|zS?+s>r^Ak7Y^rpxdUIF%jUpLESrWJd7L%QQoakT%+p$QTqGH4Ur5 z20^yw#bn33?b8L{9!sWB=RbHz%(=NO88;DzC0V8S)3>mUf<%)+=l%|`SlI>PvCeua z;6umlN)KbvGkQIFbR=2w`_`Fgx1G@B^szz|d=w%R-6~(c^Ufn%2v$`ic$RK4QL2Kw z`NhXg!#M9Qr(ToK3y62MqMbih(&NXQvskm39k;CEa}r zhlqHxqi0zKbkk{&L&w{1N>1f1W6$%|l4#`l%Leu*mnq?L66tonrb`*IB{%9LS^cIu zZb{)WAG%#>KkNCF0_{x)d5AEWJiPCAGoOF9N@L>07??hI=1Z7LE!-Q|`dTz0+OfZk zn!My$y8^x%-asN}GH7g>7uh;b#shvAe|;TxHHTKbUva`LZJUTd=&YOU^d0rcA$JoC zRA2h#aLB`nfjf9jVRAWlO|&9s<5GodKg7YbT=r@G7fCT_~knI5D5czGCw$9n0mK%>1S*`U!GtJ^14=(R9}3*~N54 ze)y_JWF|1GTV@*9PS9?2S`rN{8}2pw`uIR9M09l5LIY3E#ZKN)vGFkffi^?v!!{qx zWyLlNlP+MNUpdM?-=7(1N4nOCu8l|Scp&j>tX;Gr1bLrMnUWf6;r5= zWa3;o+N)b1XYw8=Kpe#^J2n&c(7A;z>-iz@-g-=g;$U9to6Qln4Rr{sg)5{L#u9x+(cET-pj%OTUhgFt8XtI6;^hj9YkHNDQoQM)iqZcW@mfHW(zRb+W^Tp&#Hb&v+MaYKG0-T9<^3v{O?>p~irKaJ>%~(QZ z!L*Uf&*?cqWCuYDyWouq^^WCIAY=0U>xXH}cI9J(@->8#dcGu74BB1`baHyy+|M76 z?AfrdKFCreISU`J66y_ebf11C&7y(^4uxhKcKAjw8qNU56&`^Nvo#8x@xC@#XJ~*C zp4T_kD@&PHQk?u))|ljdtKL@$>%K0Mxmn+m;o2*!Bq7=)m~H{v3PxwPksN=Ghns2# z6YaaGg4W}d_nAz`t?=71;Z45O=HQsF@8P_4YvQ!`q)2hFOR)yPS=?R;4bmh^*TbtU zzDD(IXGpJ%rl>kQr-~^tpR>p0i5HQ$D-4lSsnKgqoGQ|j#$XE`FO1jc4#@ql)qvwo;a=m@ZNyZoi zi~8Y}_LELG+#$mAv%>@MPNyAFTXAJvF;TZERfhWUs9I8G%ao#}Mbw6qq8OsAbOkDQ z@3R&zACirgQC-AKXMhA6Z^^S&3;j@xQ*}sp!&z)kHSM3Cx+|j6w{K}O?y0T3m=yq? zv3uW8h=WDEky%Yf;PdFax)QCbwi-3TOpz<)luZgL!oOpXEJZ!&!`T!=mstBaYPO)+ z{KB8qmx4&A#q}0ibUW=7Bb*W&o|qlBRi2#y#(9A!`?~PUl~6TNje8u`;1~ZXbOl8s*r-h5OTbg0*W=Tr6crv50PU z^<8A?q0>-spLx!YbNu?e#=9GYr?{1_5&H)RRAO4y_T8;(VFE{RnytE@=7UFpoHGTb z3;?7hS|b9XB8@ezt&g>TG`SzKt92ktAzgKIb^vvx7-U0WHF09+DB0ZDSnY$0FHy=} zcLhR5QH_A~LJ>FXkMsPp)yXHbo8sC=iVA6lb9n;-A(Eu$Qw9Q)_-#HGu>u~u-JBk) zl3E{ol=IXdMOBlqvLZe4LEs1D=WwRly@3_}gG#NF1%h<`hPLfD3hZ7+g`Zo+GL06@ z?`G{CmL|uq@;~*SG1N*c=xwpXvI>n+!zg1UGK}e@FJmkq*^`1(YfpZihQjR|Z%wMN+tqm}zSwGk9%yfsQ0}MGq$*97wmmryF!i6|^YHA8^nR9=I>8*L0$++?;DZ z(|CfR2swRPsPmaK1e0^twHN~0A~z9ZT$6?a?SzW~>FCo3SlsevVFSj6qz)X-(~mLf zhacPH2odi?6ij$D?VgzgND>ZE6A_>C-fM@q4=k+?eT~ptmgyB?oU)%Zo8|JDS>D1w z+ez{RGaH{50R4$yGqwJBINyB^nauI@$LOX#8l9Kwg3FgORmGM{4!WE>>#%AkX9ZuU z!wPmlJ5k6wy2 z6W<3*cqjzM^kI*wc9+v$xxvx@WSFKN@^hm2`6`N8?d+YR!guf35f{q57n0*~+KTcW z;Ggvm@cTP-0Pbr!oo_dv0nC4%6UnH>e`c>mS*gA)#E*Zg5ETJ+@b2&2(qZ+l!EmPD zp$h)uwpoWPF~j7#!?&D%*m>YOBVse|3X+5qvmH~0U&B!dhW%irSFu!5M0Gh(H(1A9 zp3PLY+fT^BK@P>1NTWTzV&CdYvfSzDuO18sc1PoES5DW^X75{_1deL5hYOYAQ@qCd zh?w+G;a=TsftDMTrO>Z|$&4|Aa=Fo64&4~pna^Gb-k!xnrP`U@^xK?%3jf&X;l6C2 zb&HA2gZBV-t56>?_VD}GfzTxmn)NriMj~t0+<6Kl&UclG%-@-$N{_z1!fe113tOtM zcV6AWOmGdVQgI(`lX5G=Us$f)UoIyuc5eQD@pQvr($-~G2nWM@La~kRU!xiE6z);aqJNjwpiH(LN2~rU zJfFZ=hTno3^YM9wS?!tYfY!;k#cc1W3~uf8=*maJ&o|*(k?8oJU)ZmDPM1kdT0NM+ z-u~#`DMJz46&($=z4>ktw=y&#Esg5`YwyeBq3r(tRd=~>ilQiMCQAsFeJ_pdWDD7s z2%#BfG}cN&vSl}zBr0Ryw}|WpS;81hnHjP(vJ8gj8t(i1?fZK@|2+Twp4aQS{<`K| z*LBY4e9mWie?I5TIR~+dzZ$4085kaJWZ!=2Rq)lsp1)X0EPLJa%(BiuXPwR3HGGAzqCvNSNx5LVSGu<43T5#Vz1Cs92#)1}xf9@56 zViWeaRr~i|HvCwuyHAzWbMbyZZoBm@*6SnE`FKLXOc>JT4@TLwdXCJU{cW1F6%)zF?%Iu( z``M{q!Cb9*PD&6ffXJk~pnhmCIBSKNIidsSB97R!Ui^ zAqn{tk+>ymMR1LjlyZ?2TrU-Z>JH2xYNKDRT4pt>a!~ADv8k1mFXFJYe_BKkrZ;|T z(M^lEZRAl{2l;eXX*G1$X+ySr3;D<|oT7fMDVMmR-S`rJs`2ftpnp#IRQQzw8kAI! zJwF9tNi+`&vlm>v$TYpcr0B(b$!%8;p68GIsA@?*`AsKZv6D$tyQ@0p4>GX6icxq6 z2ppAD@sEeFvxx}cd?m3mk*HY2pAwtYruwIQD(X%{M(=7_dF?;k&?Mdxv+1rP9&I#i zC6x69`1$V65~L zN8mgx@>6tWX!ZOiepgPk*=LO7G=@!WJmonw{jU6c+Tg{{y|+LbTy}>|e-fuP8;(r4 z6U{2(V(rcG$0!2uh{rI6Y$Yc+b4H%0N?QI2`NGl#5h3Nf>xa-OGDmPho?yR$;7X-{ zos)>*5;E+q-B9|oc>W*S+Ajg0uxJsh5x^&XA#`=U7#0c%UDU8LfVL2rY6I#H50}e? z4p+Dyw;M^d0PQdD6WsR~hE*3hyBasz{iE?a&8!IbDN4*Dm7vHQxY(+(ysd29p?FcG z41F8~ihiFC^SF0p6y}`NVUW4KtFgC&+V2hyY;Q$b^`t>fxi+!e5sEQBVZbp1Ykn;) z3vN%t!wJGJ*2ueb@C=FobhW5)r{(RPLeN%w1KYO`NPO_FD%Dv$g3CYETI}>0h!Q~f zAj9WE$!@TC=<%%j*hYbDB&OiYCi}uMv8A>e1EMS6va_>{57B?z;y+26PU{F>`7)!j z?xjy%8Hj|q-+`{h)$J*K{N>vt;I_ONxLcoRVo;f4XRS-*o-iT3bs2=v_xvYE?t^Sk zx3`9FcIf4a)30uL{y0(7Mug>S?Eps;K3SzDIs!YgvjBea}LwYu3@bltU47WiABN;)iy2Vnb| z_upveAKC>RCR)$XKlt}!n*97m2S2ps$QbPy#8=D!zN4p!=i(-?cSBp)VImgt_;)vN0D}64I!QCemV^NYtO5$mJb5Qj)uzvm&2&PAOcGjfo^<;f&)LJ0WjX8e z*T{C^TJo37O-`1IIjU+AFVkN;MWXSJMhn9mYG?6Vr5`uL+?!5zqVH%1D~2qM`x+=r zyK;S78Q$`}!_*zq+l_nI)!E;HcW6|_idt7&ZS+6Wqp9S-D2%gn;^pdF>F;7Uab_?y zuupsGi-jGPlthPRX2-gy{c!B7zG3mFci}fy=~+IweBxZdC%*EzKV0waFh$%m&FP5_ zrN%IFPozn-ls$Seja~t-6$SG&_W3ohFx6HGXNp)+xnHTLy==qkefHc_0~|r0!$%gmj2?(B z2AlDT_wBKTj zt48z#W=NM9(=ab-K+G~e(^_;~vPD?TeZ3rx8wO93)zsp-HhM1zY7((3$%49FkevOq zHC;<)_ssR}d0q(za@hO)Mt<>;U!O3iL&%Npt?VXq+RF}Of?6d}bx6Zq?Oc(*?_D0g zT5FzguWtE)%1YIW0R?`yp1Z%+%FmT{C9#9T#=uS$U!PszC~6**0Xk5NPa_lInrqc! zK{=#b{5v1#3BARC{odLIlZVil)1!5HDlDX%T|R^IeX<{mmrih$8WwU%B&c%qKRl)R zlQ}WVQfipMlk|Yn(>oBW<__6cWN@un5B+&eAQ6R_zQn!R5juq~J{xxBngPzxqd~er zbPnHTdTSv@DyxE`t(fe+WAT`cSLWz%>SE_=GTrSN_JxB_YWXb9PXBEq&R_6#WPxy2 z@ERXFhQAH+=d0siShPK3V;D9&d>Ia>$o>~vYA|r68?nfPfNLt@b;lXn_1~u0@;=m1Cl- zxCyu|qAn}tQ~SooMl>Ed%q35GgKtU1uu^hDki;jPo(k1Y?mJm+Ox)ho?a;uw@yWg8 zmKAWPQ;m)g`O_QC*LD+6w;y?P8yLWlbT5!9^ykWCiMQ6NhyZKB2&JeY_6;0}JoN;} zUh&qFG|==^WF7UWCUYV?DOkP*Lid3c@Ua(N(gAFw82EE#c89>hLP>kYf=G|9o8^7P zZg_qoxS8Y!kC{_-ISS#T%L@hUV28XAnZ77fxxx46&?QJzLe78#uRCPbdW2iicYV)T z!>2#y)AmqECCqEN#R9A3>mcDoC%7~&I)nH$B&bX^~6x3HEgj^g`Ki||1% zUw~-}R>@+-;3Gqrot+<@9HFk-a3f=L{jWQ@T|Gyhd7XR7%|Pp@^Fc>_K@#WcA%mHE zqbwDHr_JtXG!jZ?^grAM2=B0FJ7sv+LxXRBqJ23rNt9M$@Y>E&3=MbqSPAXHu(4k~3SHBDOYNbe=CO zQUF!f&nLv#@O#C(tdv#_{XE;%SA>e1HL>+v0~FZv#T#jUGJhol1lqH7F8QdZk+^B) zZKp^}AvXq{ou-`B&}scj@#HH7ZK1d|wE+<+1)@`vuX{xuAY-01j*LGAFL^=dIrcwC z)Kx ztg@i_0xfsAUBwiLV>SqEJ63Mw_I;dbWjubNJY{PEJ(O!{PQC8pJzec$FT~lMx)|Wn z-2C#v9yILwb0AmDb|8Og9T2NEaKi-?KN~LZnd4bpbaT%ELDOWBXG`agL)Z2F(BE9T zahd)J1K;2JBb(BJj7eO$NUP%%t&T(8tF|e-lUV@*EoEX8kDpQGkGtgAaV5b8P|GH{XkFF-gIjWe+bC@i?N%4~I9DL<5(wmQN5zO)G*5QUUz>xiq!|NVI4G=7jMzu#&*;oF-A3 zFD^UoK=tY9iW&IHnLs6SgW#a$l24a}crhYo8%={@Z7J{uPagomB^`|;b}@$j5F;*SM|YP$BDkXX$&h9$MvtXNpTH-f8o2F~ zkfE6Evk%tir>7egmPzUGswW(=4)`9;>5|f^MSQ>?7vI5nJHm>zT9|)jv7qM|3t~nI z0PT{1r_@5o0Hjslim+1lc94hnj;KP(kBkr-)f3~2K}DJE_OcV@p;({!kF2@muOBr` zNHwhfVFq}wkumODATLHD-$R`kDL9(%rEjJRH%kqA$QL)LwP+HB0D^!z$|jH%3%Duz2V;W>h4X?942CgQ@@lJ7zSK~zs z0ISI1D-ees&%aci?9cT&`C}Nnc7S+K5WEtGl4tybS~=*(If59ycC& z#3<$lNa8#T0dwO%R?JuZ|7%V9$?)#*mJF_W>$=p?V=kxON3VUEIGEU z{P{P1X_bL^0OiR?B9(z`|akp4?kSvQS}z)CxCWl zkR8WlywN`&uGGlSeq^oOQSbXA6pi&KF8L~32A7q^H4~txBCNjt7@LxWvy_-NRN@qx z=A&Ej3%_P<%t#c)G$5z%+u;DJdRC882A9IzA*F^0;>Vh9>br zx+|z1(!+}29bP{z#~go*4ujGYAY%bzOw%IqctDNlxDM5Zrf5LEpU(U^3&H^Slt0e# zrhNQ=Xd+Fwg#o=j@bVCCfy7~5xKuICjsIJ<|2s5rsO8~uIs8x>T%gtA*c6#;1KeA+ zE_6K$=YHK$@+MuY2;kopMj*iv%MZN*ECr!^VtPKULlqnI@a$CYzvv4UV4+CZP=Y5a zg~-5W3zKDBDuKb13a>YLaEefJ6WT!e@ph~*kz3|x4J)A@zR9t+{Q~#swDZzK)*8x+ zuzq?^+OvSyNm2&HWG2s24S%oY+z_40N?x~xuh&M3Y)7lQ7Z+`dP2DwyR}|TjkJ(Fb zeX;$E?nV?a5rk6RZzMI6z=eh1{o8v(d*U0EK2JX7t8R(Kd~>Lclv){HFZX>zz2N8F8lOjRw5dW?g)W;PzS%GV%V+Yh z#p$R$#^ELfLybUYzU?DtZYPKTfqowjBgL+gbvH4D0?X_*UE+-Xubu1*Dq1=m0%SRE z-$B*y;%~3k?mzEdU*P!`tPh+}lrI{mx`v6tQ~7Zos+}IKiB_lfoeyfh6gI`H^!n`C zX?dTyIQ6v_38Bdg)`Qot21Ye-4a3^M!X6-J5&~Ie%qiwN|CX{M> zHeV_5$KyDs+3MWgrm55wr>JHr0mYBPSA>2B8k45!nyMIDffaGF#Xg|@wf$cxy_>s~ z?)}ZcWq(wFJ+#)BX1QRsv2+tYLi=)nmVF*!zLzSm641pruigwBIFr@0t_w?Yh!M%qwDhVE_ zCriwFCD5NjuJ-Oy5%Q1^p8dWUrd4Ir9Jj<=4^5(Y_QyIcn+BL`%6a%D!;aKXHO&emxR;W zr{%z9MhP2NJtFBbyS0%iD*VwWnJsr8m*8wE0onIuB^mK&;nMTG_pGO*6+V>eFd}5m zOT`#3+lS9Go^bXbu))rUZe2eC*qDm#wRe*X!m3(g1>E=z2aCp}8vzWX)r*@Q)-tfw z@wc_$k_szv(=Me3@!2>1=%1uPL2PMC*8oP%TgWom`@S;2PYKam2G|noMzaVoi*;v@ zcaLCg^tfGda+PSTDy0_+p4{d__+;o6Ex1OV^s>rEQa=qyU5u*|oAX$-)g9PGDS(cQ z?T!q|h4rwy?^WBZTU@=GnNL*oxkj#DX%5774=8CDCOsM=6@p(X}9x-WZt`mxVZFY zo*5iDl@bg1)o?c*k90&>jtiEnF%6c%8T4ZXSCL%cW9CU3%zE?KPM zY^Rw&tnGR780P$`j`M<7O1LSQ>kd4y7&3UR|6to?C;Opg6^tjxpYMk&Zs}>m{wiz3 z^|AdAGtam$FP`k(mQ@tn%a+FqeH5p6sDu$OD|%7T-ld|Ae_uDSV{9@`}v)6x7;Lp2I& zZx+=m?cfe7y4@+Zk;}J~E~!V9D@1_sCq4DMq(M zE(23809C+Sf>4;RQp+l7B7nuZdWN4|3qWKb7;X_y?fB*~y)ayADA4WL9Eg1CV@9{j8+Di7!p}a+iAhyD={m6%&nyEMcJm0f z_FIs*v=~!vbo?RDYdu){!2S*XDPWpWmwPi(uxn~Kp~J4iDPS9>XChX$nr>6Mg{rS3ez9YKeI`BT?K+Spi;I7pT<=Cdt`r4>xf2jR zrmop#MZf$XtQ)I)v(e9K*B$HU?`P(#es{>e(Q8X_IH!->;O9yn5BU2Xg5BB7VKrD= zH=ipi{#N*syClFTZyc+jWbULQLq|W97Na^(BVP}OzU}%c=m+Va`t0M9#-b5)WV%wZW$nn z8%G*=!{>K%z@A>aGgbQ#;eQW@f0g2M=#FneOOs*OD%DQ8h3I%rfm5p-tC|8^b6ndK zd3U=H&83*BOm)}+_kC$Oq);_r${fDK zn+&8FfbnLn3jnd3+W3rG_D6kxfb1FMp4%${X~(Oon2`58GnI;Kp=FJE5ti8* z5vQ2@wjOfl>cKn5sI?~Oy$T)mUE`PY(`_$cYv~hEuHCn@OeuSvJX5a^L6w7KXG-lJ?pG{|A3)5gp2fQG5c%c<)|A?{v5=zh<>q)M4>(VLmX zPnJ0tt#I5_GgxK*jy}jM{(!sHVr;B6#hh8`;7P#)nTA+C)FC!AJ%_R&kOue&}_uQ42QW5^i`iD?*0%fX^j@ z?S9c#nn$a~9$k~<*FUF`%#4b>z!!&1W(j?;=3B5ea@NM^acZk`SX!ZB{N0m4W}H^J zq`x4!2{Qg>AXlK4Ii0`P`J(luY<}oXl3UmW!VE^}&jvE79$1GMEhS{0c68qzAg=;k zl4S-U+w0L@M;rynVlV!#3iw9>r40hCc%QE1CpS_pwTSqG!E)$<3z03_51u4M>|$LG zMW-nmtg|+GA5bHdG$YaQc%4i_Devzxs!}=)f_Disz+yoi0~N{_0FkXW zQaBIz?@$;+uuxulWh_XZ$?RsK_#TpDj^xxQO1RMILp45LZ8uO}_r>q;F*mGbX#DdA zD?PVI)gG}F0`tDz+;6l+BiXz-xBft d#ld~vKSFPO>e`zHgq4m?OI;sasAl) Date: Tue, 31 Jan 2017 11:06:53 -0800 Subject: [PATCH 025/253] Update TypeScriptGettingStarted.md --- TypeScriptGettingStarted.md | 61 +++++++++++++++++++++++++++++++++---- 1 file changed, 55 insertions(+), 6 deletions(-) diff --git a/TypeScriptGettingStarted.md b/TypeScriptGettingStarted.md index 26314965..16336a43 100644 --- a/TypeScriptGettingStarted.md +++ b/TypeScriptGettingStarted.md @@ -42,7 +42,7 @@ In your favorite text-editor, update the contents of index.html as follows: PlayFab JavaScript Unit Tests - + @@ -58,9 +58,9 @@ In your favorite text-editor, update the contents of index.html as follows: In your favorite text-editor, update the contents of app.ts as follows: ```TypeScript -function DoExampleLoginWithCustomID() { +function DoExampleLoginWithCustomID(): void { PlayFab.settings.titleId = (document.getElementById("titleId")).value; - var loginRequest = { + var loginRequest: PlayFabClientModels.LoginWithCustomIDRequest = { CustomId: (document.getElementById("customId")).value, CreateAccount: true }; @@ -68,7 +68,7 @@ function DoExampleLoginWithCustomID() { PlayFabClientSDK.LoginWithCustomID(loginRequest, LoginCallback); } -var LoginCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError) { +var LoginCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { if (result !== null) { document.getElementById("resultOutput").innerHTML = "Congratulations, you made your first successful API call!"; } else if (error !== null) { @@ -80,10 +80,10 @@ var LoginCallback = function (result: PlayFabModule.SuccessContainer +``` + +This line loads the Client-SDK from the local PlayFabSDK file. The latest version of this file is also available from [our CDN](https://download.playfab.com/PlayFabClientApi.js). For more information read our [CDN blog post](https://playfab.com/playfab-now-serving-javascript-sdk-via-cdn/). + +The other important HTML lines: +```HTML + +... +
+``` + +As you can see above, app.js contains the DoExampleLoginWithCustomID function. These lines bind our js file to our webpage, and invoke the DoExampleLoginWithCustomID function in that script. Everything else is just GUI. The name "app.js" is based on the typescript file in our default project "app.ts". If you rename "app.ts", it will generate a ".js" file with the same name. You should not try to add ".ts" scripts directly to a webpage. For more information about TypeScript, read the [TypeScript tutorial](https://www.typescriptlang.org/docs/tutorial.html). + +* Line by line breakdown for app.js + * PlayFab.settings.titleId = (>HTMLInputElement>document.getElementById("titleId")).value; + * This reads the titleId from the html-input, and sets it to the PlayFab sdk. TypeScript defines that getElementById returns type HTMLElement. We must cast that to the sub-type HTMLInputElement to get the input-specific field "value". + * Every PlayFab developer creates a title in Game Manager. When you publish your game, you must code that titleId into your game. This lets the client know how to access the correct data within PlayFab. For most users, just consider it a mandatory step that makes PlayFab work. + * var loginRequest: PlayFabClientModels.LoginWithCustomIDRequest = { TitleId: PlayFab.settings.titleId, CustomId: "GettingStartedGuide", CreateAccount: true }; + * Most PlayFab API methods require input parameters, and those input parameters are packed into a request object + * Every API method requires a unique request object, with a mix of optional and mandatory parameters + * We also cast this request to LoginWithCustomIDRequest, which is the required type for PlayFabClientSDK.LoginWithCustomID + * For LoginWithCustomIDRequest, there is a mandatory parameter of CustomId, which uniquely identifies a player and CreateAccount, which allows the creation of a new account with this call. + * PlayFabClientSDK.LoginWithCustomID(loginRequest, LoginCallback); + * This begins the async request to "LoginWithCustomID", which will call LoginCallback when the API call is complete + * For login, most developers will want to use a more appropriate login method + * See the [PlayFab Login Documentation](https://api.playfab.com/Documentation/Client#Authentication) for a list of all login methods, and input parameters. Common choices are: + * [LoginWithAndroidDeviceID](https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID) + * [LoginWithIOSDeviceID](https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID) + * [LoginWithEmailAddress](https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress) +* LoginCallback contains two parameters: result, error + * When successful, error will be null, and the result object will contain the requested information, according to the API called + * This result contains some basic information about the player, but for most users, login is simply a mandatory step before calling other APIs. + * If error is not null, your API has failed + * API calls can fail for many reasons, and you should always attempt to handle failure + * Why API calls fail (In order of likelihood) + * PlayFabSettings.TitleId is not set. If you forget to set titleId to your title, then nothing will work. + * Request parameters. If you have not provided the correct or required information for a particular API call, then it will fail. See error.errorMessage, error.errorDetails, or error.GenerateErrorReport() for more info. + * Device connectivity issue. Cell-phones lose/regain connectivity constantly, and so any API call at any time can fail randomly, and then work immediately after. Going into a tunnel can disconnect you completely. + * PlayFab server issue. As with all software, there can be issues. See our [release notes](https://api.playfab.com/releaseNotes/) for updates. + * The internet is not 100% reliable. Sometimes the message is corrupted or fails to reach the PlayFab server. + * If you are having difficulty debugging an issue, and the information within the error information is not sufficient, please visit us on our [forums](https://community.playfab.com/index.html) + From f9d6dc5a6e3de8c396ca9e67bd9f8690c2b34534 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Tue, 31 Jan 2017 11:07:08 -0800 Subject: [PATCH 026/253] Update JavaScriptGettingStarted.md --- JavaScriptGettingStarted.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/JavaScriptGettingStarted.md b/JavaScriptGettingStarted.md index 204c33c6..b81fe8b3 100644 --- a/JavaScriptGettingStarted.md +++ b/JavaScriptGettingStarted.md @@ -98,7 +98,7 @@ Congratulations, you made your first successful API call! Deconstruct the code ---- -This optional last section describes each part of Program.cs in detail. +This optional last section describes each part of this example in detail. The HTML file has a few important lines: ```HTML @@ -117,7 +117,8 @@ The other important HTML lines: As you can see above, PlayFabGettingStarted.js contains the DoExampleLoginWithCustomID function. These lines bind our js file to our webpage, and invoke the DoExampleLoginWithCustomID function in that script. Everything else is just GUI. * Line by line breakdown for PlayFabGettingStarted.js - * PlayFab.settings.titleId = "xxxx"; + * PlayFab.settings.titleId = document.getElementById("titleId").value; + * This reads the titleId from the html-input, and sets it to the PlayFab sdk. * Every PlayFab developer creates a title in Game Manager. When you publish your game, you must code that titleId into your game. This lets the client know how to access the correct data within PlayFab. For most users, just consider it a mandatory step that makes PlayFab work. * var loginRequest = { TitleId: PlayFab.settings.titleId, CustomId: "GettingStartedGuide", CreateAccount: true }; * Most PlayFab API methods require input parameters, and those input parameters are packed into a request object From 54f6106dc071710c3f69bc635f7713e6bf30d944 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Tue, 31 Jan 2017 11:07:18 -0800 Subject: [PATCH 027/253] Update TypeScriptGettingStarted.md --- TypeScriptGettingStarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TypeScriptGettingStarted.md b/TypeScriptGettingStarted.md index 16336a43..6387c0e6 100644 --- a/TypeScriptGettingStarted.md +++ b/TypeScriptGettingStarted.md @@ -129,7 +129,7 @@ The other important HTML lines: As you can see above, app.js contains the DoExampleLoginWithCustomID function. These lines bind our js file to our webpage, and invoke the DoExampleLoginWithCustomID function in that script. Everything else is just GUI. The name "app.js" is based on the typescript file in our default project "app.ts". If you rename "app.ts", it will generate a ".js" file with the same name. You should not try to add ".ts" scripts directly to a webpage. For more information about TypeScript, read the [TypeScript tutorial](https://www.typescriptlang.org/docs/tutorial.html). * Line by line breakdown for app.js - * PlayFab.settings.titleId = (>HTMLInputElement>document.getElementById("titleId")).value; + * PlayFab.settings.titleId = (<HTMLInputElement>document.getElementById("titleId")).value; * This reads the titleId from the html-input, and sets it to the PlayFab sdk. TypeScript defines that getElementById returns type HTMLElement. We must cast that to the sub-type HTMLInputElement to get the input-specific field "value". * Every PlayFab developer creates a title in Game Manager. When you publish your game, you must code that titleId into your game. This lets the client know how to access the correct data within PlayFab. For most users, just consider it a mandatory step that makes PlayFab work. * var loginRequest: PlayFabClientModels.LoginWithCustomIDRequest = { TitleId: PlayFab.settings.titleId, CustomId: "GettingStartedGuide", CreateAccount: true }; From 13d63040ec29cc27d5b27a0523a79fcc2e85b271 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Tue, 31 Jan 2017 13:26:12 -0800 Subject: [PATCH 028/253] Update TypeScriptGettingStarted.md --- TypeScriptGettingStarted.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TypeScriptGettingStarted.md b/TypeScriptGettingStarted.md index 6387c0e6..6e636627 100644 --- a/TypeScriptGettingStarted.md +++ b/TypeScriptGettingStarted.md @@ -9,6 +9,7 @@ TypeScript Project Setup * OS: This guide is written for Windows 10 and Visual Studio * The "Project Setup" section of this guide will not be very useful for other operating systems and environments (sorry!) + * TypeScript works on a wide variety of Operating Systems, Environments, and tools * Installation * Download and install Visual Studio 2015 * Update TypeScript within VS to the [latest version](https://www.microsoft.com/en-us/download/details.aspx?id=48593) (2.1.5 when this document was written) From 71dc5a19a14784f07950a8518d64aae8424a19a7 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Thu, 23 Feb 2017 19:58:43 +0000 Subject: [PATCH 029/253] https://api.playfab.com/releaseNotes/#170223 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 58 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 16 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 14 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 737 +++++++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 185 ++++- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 58 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 16 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 14 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 737 +++++++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 185 ++++- 14 files changed, 1998 insertions(+), 38 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 9d74cc6e..071cb94b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e16c863b..86643b7c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.ClientApi = { @@ -114,6 +114,16 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetWindowsHelloChallenge: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); + }, + + LinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); + }, + LoginWithAndroidDeviceID: function (request, callback) { request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; @@ -268,6 +278,20 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); }, + LoginWithWindowsHello: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); + }, + RegisterPlayFabUser: function (request, callback) { request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; @@ -282,6 +306,25 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); }, + RegisterWithWindowsHello: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); + }, + + UnlinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); + }, + AddGenericID: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -473,6 +516,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + UpdateAvatarUrl: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + UpdateUserTitleDisplayName: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -930,6 +979,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + ValidateWindowsStoreReceipt: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, null, null, callback); + }, + _MultiStepClientLogin: function (needsAttribution) { if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { var request = {}; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ef49c2d1..03fafc2d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index a9d6d51e..e3e422d9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.ServerApi = { @@ -158,6 +158,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + UpdateAvatarUrl: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + UpdateBans: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -488,6 +494,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetFriendTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + DeregisterGame: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index c1fca287..375e61b0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2866,7 +2866,8 @@ declare module PlayFabAdminModels { | "Facebook" | "IOSDevice" | "AndroidDevice" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement @@ -3171,6 +3172,10 @@ declare module PlayFabAdminModels { / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; + /** + / Image URL of the player's avatar. + */ + AvatarUrl?: string; /** / Dictionary of player's statistics using only the latest version's value */ @@ -4538,7 +4543,8 @@ declare module PlayFabAdminModels { | "CustomId" | "XboxLive" | "Parse" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo @@ -4617,6 +4623,10 @@ declare module PlayFabAdminModels { / boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; + /** + / URL to the player's avatar. + */ + AvatarUrl?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 0cf8ea49..5b1796f5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -7,6 +7,16 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge + */ + GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Link Windows Hello to the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + */ + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID @@ -62,11 +72,26 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. + / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + */ + LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; /** / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Register using Windows Hello authentication. Before a user can request a challenge or perform a signin the user must first either register or link a Windows Hello account. + / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + */ + RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlink Windows Hello from the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + */ + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. / https://api.playfab.com/Documentation/Client/method/AddGenericID @@ -227,6 +252,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Update the avatar URL of the player + / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + */ + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; /** / Updates the title specific display name for the user / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName @@ -602,6 +632,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt + */ + ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback): void; } } @@ -637,6 +672,25 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttribution + */ + export interface AdCampaignAttribution { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ @@ -790,10 +844,6 @@ declare module PlayFabClientModels { / The IdentifierForAdvertisers for iOS Devices. */ Idfa?: string; - /** - / The android advertising id. This field is deprecated in favor of Adid for clarity. - */ - Android_Id?: string; /** / The adid for this device. */ @@ -1172,6 +1222,264 @@ declare module PlayFabClientModels { } + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ @@ -1915,6 +2223,14 @@ declare module PlayFabClientModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -1926,6 +2242,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -1953,6 +2277,14 @@ declare module PlayFabClientModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2032,6 +2364,14 @@ declare module PlayFabClientModels { / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2043,6 +2383,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -2088,6 +2436,14 @@ declare module PlayFabClientModels { / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2099,6 +2455,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -2851,6 +3215,32 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest + */ + export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / SHA256 hash of the PublicKey generated by Windows Hello. + */ + PublicKeyHint: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse + */ + export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Server generated challenge to be signed by the user. + */ + Challenge?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ @@ -3231,6 +3621,36 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest + */ + export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player's user named used by Windows Hello. + */ + UserName: string; + /** + / PublicKey generated by Windows Hello. + */ + PublicKey: string; + /** + / Device name. + */ + DeviceName?: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse + */ + export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ @@ -3253,6 +3673,21 @@ declare module PlayFabClientModels { } + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ @@ -3561,6 +3996,29 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest + */ + export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / The signed response from the user for the Challenge. + */ + ChallengeSignature: string; + /** + / SHA256 hash of the PublicKey generated by Windows Hello. + */ + PublicKeyHint: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ @@ -3832,6 +4290,166 @@ declare module PlayFabClientModels { / User's overall position in the leaderboard. */ Position: number; + /** + / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + */ + Profile?: PlayerProfile; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLinkedAccount + */ + export interface PlayerLinkedAccount { + /** + / Authentication platform + */ + Platform?: string; + /** + / Platform user identifier + */ + PlatformUserId?: string; + /** + / Linked account's username + */ + Username?: string; + /** + / Linked account's email + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLocation + */ + export interface PlayerLocation { + /** + / 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; + /** + / City of the player's geographic location. + */ + City?: string; + /** + / Latitude coordinate of the player's geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the player's geographic location. + */ + Longitude?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfile + */ + export interface PlayerProfile { + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Player record created + */ + Created?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + */ + BannedUntil?: string; + /** + / Image URL of the player's avatar. + */ + AvatarUrl?: string; + /** + / Dictionary of player's statistics using only the latest version's value + */ + Statistics?: { [key: string]: number }; + /** + / 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 }; + /** + / List of player's tags for segmentation. + */ + Tags?: string[]; + /** + / Dictionary of player's locations by type. + */ + Locations?: { [key: string]: PlayerLocation }; + /** + / Dictionary of player's virtual currency balances + */ + VirtualCurrencyBalances?: { [key: string]: number }; + /** + / Array of ad campaigns player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttribution[]; + /** + / Array of configured push notification end points + */ + PushNotificationRegistrations?: PushNotificationRegistration[]; + /** + / Array of third party accounts linked to this player + */ + LinkedAccounts?: PlayerLinkedAccount[]; + /** + / Array of player statistics + */ + PlayerStatistics?: PlayerStatistic[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatistic + */ + export interface PlayerStatistic { + /** + / Statistic ID + */ + Id?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + StatisticVersion: number; + /** + / Current statistic value + */ + StatisticValue: number; + /** + / Statistic name + */ + Name?: string; } @@ -3908,6 +4526,24 @@ declare module PlayFabClientModels { } + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistration + */ + export interface PushNotificationRegistration { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ @@ -4049,6 +4685,33 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest + */ + export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Player's user named used by Windows Hello. + */ + UserName: string; + /** + / PublicKey generated by Windows Hello. + */ + PublicKey: string; + /** + / Device name. + */ + DeviceName?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ @@ -4750,6 +5413,24 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest + */ + export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / SHA256 hash of the PublicKey generated by Windows Hello. + */ + PublicKeyHint: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse + */ + export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ @@ -4815,6 +5496,17 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest + */ + export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / URL of the avatar image. If empty, it removes the existing avatar URL. + */ + ImageUrl: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ @@ -5177,7 +5869,8 @@ declare module PlayFabClientModels { | "CustomId" | "XboxLive" | "Parse" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo @@ -5267,6 +5960,10 @@ declare module PlayFabClientModels { / boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; + /** + / URL to the player's avatar. + */ + AvatarUrl?: string; } @@ -5386,6 +6083,36 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest + */ + export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / XML Receipt returned by the Windows App Store in-app purchase API + */ + Receipt: string; + /** + / Catalog version to use when granting receipt item. If null, defaults to primary catalog. + */ + CatalogVersion?: string; + /** + / Currency used for the purchase. + */ + CurrencyCode: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult + */ + export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d2dafbe4..97ebf2cf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -45,6 +45,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/SendPushNotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Update the avatar URL of the specified player + / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + */ + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; /** / Updates information of a list of existing bans specified with Ban Ids. / https://api.playfab.com/Documentation/Server/method/UpdateBans @@ -320,6 +325,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/RemoveFriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the tag list for a specified user in the friend list of another user + / https://api.playfab.com/Documentation/Server/method/SetFriendTags + */ + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; /** / Inform the matchmaker that a Game Server Instance is removed. / https://api.playfab.com/Documentation/Server/method/DeregisterGame @@ -2096,6 +2106,18 @@ declare module PlayFabServerModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + */ + ProfileConstraints?: number; } @@ -2183,6 +2205,18 @@ declare module PlayFabServerModels { / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + */ + ProfileConstraints?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2191,9 +2225,17 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** - / Ordered list of leaderboard entries. + / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -2243,6 +2285,18 @@ declare module PlayFabServerModels { / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + */ + ProfileConstraints?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2251,9 +2305,17 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** - / Ordered list of leaderboard entries. + / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -3213,7 +3275,8 @@ declare module PlayFabServerModels { | "Facebook" | "IOSDevice" | "AndroidDevice" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement @@ -3445,6 +3508,10 @@ declare module PlayFabServerModels { / User's overall position in the leaderboard. */ Position: number; + /** + / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + */ + Profile?: PlayerProfile; } @@ -3534,6 +3601,10 @@ declare module PlayFabServerModels { / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; + /** + / Image URL of the player's avatar. + */ + AvatarUrl?: string; /** / Dictionary of player's statistics using only the latest version's value */ @@ -3577,6 +3648,73 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints + */ + export interface PlayerProfileViewConstraints { + /** + / Whether to show the display name. Defaults to false + */ + ShowDisplayName: boolean; + /** + / Whether to show the created date. Defaults to false + */ + ShowCreated: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; + /** + / Whether to show the last login time. Defaults to false + */ + ShowLastLogin: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show statistics, the most recent version of each stat. Defaults to false + */ + ShowStatistics: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAtributions: boolean; + /** + / Whether to show push notification registrations. Defaults to false + */ + ShowPushNotificationRegistrations: boolean; + /** + / Whether to show the linked accounts. Defaults to false + */ + ShowLinkedAccounts: boolean; + /** + / Whether to show the total value to date in usd. Defaults to false + */ + ShowTotalValueToDateInUsd: boolean; + /** + / Whether to show the values to date. Defaults to false + */ + ShowValuesToDate: boolean; + /** + / Whether to show tags. Defaults to false + */ + ShowTags: boolean; + /** + / Whether to show the virtual currency balances. Defaults to false + */ + ShowVirtualCurrencyBalances: boolean; + /** + / Whether to show player's locations. Defaults to false + */ + ShowLocations: boolean; + /** + / Whether to show player's avatar URL. Defaults to false + */ + ShowAvatarUrl: boolean; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ @@ -4038,6 +4176,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest + */ + export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the player whose friend is to be updated. + */ + PlayFabId: string; + /** + / PlayFab identifier of the friend account to which the tag(s) should be applied. + */ + FriendPlayFabId: string; + /** + / Array of tags to set on the friend account. + */ + Tags: string[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ @@ -4390,6 +4547,21 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest + */ + export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / URL of the avatar image. If empty, it removes the existing avatar URL. + */ + ImageUrl: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ @@ -4853,7 +5025,8 @@ declare module PlayFabServerModels { | "CustomId" | "XboxLive" | "Parse" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo @@ -4932,6 +5105,10 @@ declare module PlayFabServerModels { / boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; + /** + / URL to the player's avatar. + */ + AvatarUrl?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 9d74cc6e..071cb94b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e16c863b..86643b7c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.ClientApi = { @@ -114,6 +114,16 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetWindowsHelloChallenge: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); + }, + + LinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); + }, + LoginWithAndroidDeviceID: function (request, callback) { request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; @@ -268,6 +278,20 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); }, + LoginWithWindowsHello: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); + }, + RegisterPlayFabUser: function (request, callback) { request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; @@ -282,6 +306,25 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); }, + RegisterWithWindowsHello: function (request, callback) { + request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); + }, + + UnlinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); + }, + AddGenericID: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -473,6 +516,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + UpdateAvatarUrl: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + UpdateUserTitleDisplayName: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -930,6 +979,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + ValidateWindowsStoreReceipt: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, null, null, callback); + }, + _MultiStepClientLogin: function (needsAttribution) { if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { var request = {}; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ef49c2d1..03fafc2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index a9d6d51e..e3e422d9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.0.170130"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.1.170223"; PlayFab.ServerApi = { @@ -158,6 +158,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + UpdateAvatarUrl: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + UpdateBans: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -488,6 +494,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetFriendTags: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + DeregisterGame: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index c1fca287..375e61b0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2866,7 +2866,8 @@ declare module PlayFabAdminModels { | "Facebook" | "IOSDevice" | "AndroidDevice" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement @@ -3171,6 +3172,10 @@ declare module PlayFabAdminModels { / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; + /** + / Image URL of the player's avatar. + */ + AvatarUrl?: string; /** / Dictionary of player's statistics using only the latest version's value */ @@ -4538,7 +4543,8 @@ declare module PlayFabAdminModels { | "CustomId" | "XboxLive" | "Parse" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo @@ -4617,6 +4623,10 @@ declare module PlayFabAdminModels { / boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; + /** + / URL to the player's avatar. + */ + AvatarUrl?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 0cf8ea49..5b1796f5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -7,6 +7,16 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge + */ + GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Link Windows Hello to the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + */ + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID @@ -62,11 +72,26 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. + / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + */ + LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; /** / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Register using Windows Hello authentication. Before a user can request a challenge or perform a signin the user must first either register or link a Windows Hello account. + / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + */ + RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlink Windows Hello from the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + */ + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. / https://api.playfab.com/Documentation/Client/method/AddGenericID @@ -227,6 +252,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Update the avatar URL of the player + / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + */ + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; /** / Updates the title specific display name for the user / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName @@ -602,6 +632,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt + */ + ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback): void; } } @@ -637,6 +672,25 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttribution + */ + export interface AdCampaignAttribution { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ @@ -790,10 +844,6 @@ declare module PlayFabClientModels { / The IdentifierForAdvertisers for iOS Devices. */ Idfa?: string; - /** - / The android advertising id. This field is deprecated in favor of Adid for clarity. - */ - Android_Id?: string; /** / The adid for this device. */ @@ -1172,6 +1222,264 @@ declare module PlayFabClientModels { } + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ @@ -1915,6 +2223,14 @@ declare module PlayFabClientModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -1926,6 +2242,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -1953,6 +2277,14 @@ declare module PlayFabClientModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2032,6 +2364,14 @@ declare module PlayFabClientModels { / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2043,6 +2383,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -2088,6 +2436,14 @@ declare module PlayFabClientModels { / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2099,6 +2455,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -2851,6 +3215,32 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest + */ + export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / SHA256 hash of the PublicKey generated by Windows Hello. + */ + PublicKeyHint: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse + */ + export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Server generated challenge to be signed by the user. + */ + Challenge?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ @@ -3231,6 +3621,36 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest + */ + export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player's user named used by Windows Hello. + */ + UserName: string; + /** + / PublicKey generated by Windows Hello. + */ + PublicKey: string; + /** + / Device name. + */ + DeviceName?: string; + /** + / If another user is already linked to the account, unlink the other user and re-link. + */ + ForceLink?: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse + */ + export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ @@ -3253,6 +3673,21 @@ declare module PlayFabClientModels { } + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ @@ -3561,6 +3996,29 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest + */ + export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / The signed response from the user for the Challenge. + */ + ChallengeSignature: string; + /** + / SHA256 hash of the PublicKey generated by Windows Hello. + */ + PublicKeyHint: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ @@ -3832,6 +4290,166 @@ declare module PlayFabClientModels { / User's overall position in the leaderboard. */ Position: number; + /** + / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + */ + Profile?: PlayerProfile; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLinkedAccount + */ + export interface PlayerLinkedAccount { + /** + / Authentication platform + */ + Platform?: string; + /** + / Platform user identifier + */ + PlatformUserId?: string; + /** + / Linked account's username + */ + Username?: string; + /** + / Linked account's email + */ + Email?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLocation + */ + export interface PlayerLocation { + /** + / 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; + /** + / City of the player's geographic location. + */ + City?: string; + /** + / Latitude coordinate of the player's geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the player's geographic location. + */ + Longitude?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfile + */ + export interface PlayerProfile { + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Player record created + */ + Created?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + */ + BannedUntil?: string; + /** + / Image URL of the player's avatar. + */ + AvatarUrl?: string; + /** + / Dictionary of player's statistics using only the latest version's value + */ + Statistics?: { [key: string]: number }; + /** + / 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 }; + /** + / List of player's tags for segmentation. + */ + Tags?: string[]; + /** + / Dictionary of player's locations by type. + */ + Locations?: { [key: string]: PlayerLocation }; + /** + / Dictionary of player's virtual currency balances + */ + VirtualCurrencyBalances?: { [key: string]: number }; + /** + / Array of ad campaigns player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttribution[]; + /** + / Array of configured push notification end points + */ + PushNotificationRegistrations?: PushNotificationRegistration[]; + /** + / Array of third party accounts linked to this player + */ + LinkedAccounts?: PlayerLinkedAccount[]; + /** + / Array of player statistics + */ + PlayerStatistics?: PlayerStatistic[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatistic + */ + export interface PlayerStatistic { + /** + / Statistic ID + */ + Id?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + StatisticVersion: number; + /** + / Current statistic value + */ + StatisticValue: number; + /** + / Statistic name + */ + Name?: string; } @@ -3908,6 +4526,24 @@ declare module PlayFabClientModels { } + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistration + */ + export interface PushNotificationRegistration { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ @@ -4049,6 +4685,33 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest + */ + export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / Player's user named used by Windows Hello. + */ + UserName: string; + /** + / PublicKey generated by Windows Hello. + */ + PublicKey: string; + /** + / Device name. + */ + DeviceName?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ @@ -4750,6 +5413,24 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest + */ + export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / SHA256 hash of the PublicKey generated by Windows Hello. + */ + PublicKeyHint: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse + */ + export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ @@ -4815,6 +5496,17 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest + */ + export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / URL of the avatar image. If empty, it removes the existing avatar URL. + */ + ImageUrl: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ @@ -5177,7 +5869,8 @@ declare module PlayFabClientModels { | "CustomId" | "XboxLive" | "Parse" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo @@ -5267,6 +5960,10 @@ declare module PlayFabClientModels { / boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; + /** + / URL to the player's avatar. + */ + AvatarUrl?: string; } @@ -5386,6 +6083,36 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest + */ + export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / XML Receipt returned by the Windows App Store in-app purchase API + */ + Receipt: string; + /** + / Catalog version to use when granting receipt item. If null, defaults to primary catalog. + */ + CatalogVersion?: string; + /** + / Currency used for the purchase. + */ + CurrencyCode: string; + /** + / Amount of the stated currency paid for the object. + */ + PurchasePrice: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult + */ + export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d2dafbe4..97ebf2cf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -45,6 +45,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/SendPushNotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Update the avatar URL of the specified player + / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + */ + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; /** / Updates information of a list of existing bans specified with Ban Ids. / https://api.playfab.com/Documentation/Server/method/UpdateBans @@ -320,6 +325,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/RemoveFriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Updates the tag list for a specified user in the friend list of another user + / https://api.playfab.com/Documentation/Server/method/SetFriendTags + */ + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; /** / Inform the matchmaker that a Game Server Instance is removed. / https://api.playfab.com/Documentation/Server/method/DeregisterGame @@ -2096,6 +2106,18 @@ declare module PlayFabServerModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + */ + ProfileConstraints?: number; } @@ -2183,6 +2205,18 @@ declare module PlayFabServerModels { / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + */ + ProfileConstraints?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2191,9 +2225,17 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** - / Ordered list of leaderboard entries. + / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -2243,6 +2285,18 @@ declare module PlayFabServerModels { / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + */ + ProfileConstraints?: number; + /** + / The version of the leaderboard to get, when UseSpecificVersion is true. + */ + Version: number; + /** + / If true, uses the specified version. If false, gets the most recent version. + */ + UseSpecificVersion: boolean; } @@ -2251,9 +2305,17 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** - / Ordered list of leaderboard entries. + / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; + /** + / The version of the leaderboard returned. + */ + Version: number; + /** + / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. + */ + NextReset?: string; } @@ -3213,7 +3275,8 @@ declare module PlayFabServerModels { | "Facebook" | "IOSDevice" | "AndroidDevice" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement @@ -3445,6 +3508,10 @@ declare module PlayFabServerModels { / User's overall position in the leaderboard. */ Position: number; + /** + / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + */ + Profile?: PlayerProfile; } @@ -3534,6 +3601,10 @@ declare module PlayFabServerModels { / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; + /** + / Image URL of the player's avatar. + */ + AvatarUrl?: string; /** / Dictionary of player's statistics using only the latest version's value */ @@ -3577,6 +3648,73 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints + */ + export interface PlayerProfileViewConstraints { + /** + / Whether to show the display name. Defaults to false + */ + ShowDisplayName: boolean; + /** + / Whether to show the created date. Defaults to false + */ + ShowCreated: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; + /** + / Whether to show the last login time. Defaults to false + */ + ShowLastLogin: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show statistics, the most recent version of each stat. Defaults to false + */ + ShowStatistics: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAtributions: boolean; + /** + / Whether to show push notification registrations. Defaults to false + */ + ShowPushNotificationRegistrations: boolean; + /** + / Whether to show the linked accounts. Defaults to false + */ + ShowLinkedAccounts: boolean; + /** + / Whether to show the total value to date in usd. Defaults to false + */ + ShowTotalValueToDateInUsd: boolean; + /** + / Whether to show the values to date. Defaults to false + */ + ShowValuesToDate: boolean; + /** + / Whether to show tags. Defaults to false + */ + ShowTags: boolean; + /** + / Whether to show the virtual currency balances. Defaults to false + */ + ShowVirtualCurrencyBalances: boolean; + /** + / Whether to show player's locations. Defaults to false + */ + ShowLocations: boolean; + /** + / Whether to show player's avatar URL. Defaults to false + */ + ShowAvatarUrl: boolean; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ @@ -4038,6 +4176,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest + */ + export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab identifier of the player whose friend is to be updated. + */ + PlayFabId: string; + /** + / PlayFab identifier of the friend account to which the tag(s) should be applied. + */ + FriendPlayFabId: string; + /** + / Array of tags to set on the friend account. + */ + Tags: string[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ @@ -4390,6 +4547,21 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest + */ + export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / URL of the avatar image. If empty, it removes the existing avatar URL. + */ + ImageUrl: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ @@ -4853,7 +5025,8 @@ declare module PlayFabServerModels { | "CustomId" | "XboxLive" | "Parse" - | "Twitch"; + | "Twitch" + | "WindowsHello"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo @@ -4932,6 +5105,10 @@ declare module PlayFabServerModels { / boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; + /** + / URL to the player's avatar. + */ + AvatarUrl?: string; } From 1826790e50f11cf8ddce54d158f88db81b5538d9 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 13 Mar 2017 20:31:22 +0000 Subject: [PATCH 030/253] https://api.playfab.com/releaseNotes/#170313 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 15 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 310 ++++++++++++------ .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 245 +++++++++++++- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 5 + PlayFabTestingExample/PlayFabApiTest.js | 4 +- PlayFabTestingExample/PlayFabApiTest.ts | 4 +- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFab.d.ts | 5 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 15 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 310 ++++++++++++------ .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 245 +++++++++++++- 20 files changed, 962 insertions(+), 232 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 071cb94b..4206df24 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 86643b7c..f36d32f8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.ClientApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 03fafc2d..dd1e6a0e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index e3e422d9..8b42722b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.ServerApi = { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 375e61b0..1ce76ba8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabAdminModule { export interface IPlayFabAdmin { /** @@ -1658,6 +1660,7 @@ declare module PlayFabAdminModels { } type EffectType = "Allow" + | "Deny"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult @@ -3072,7 +3075,7 @@ declare module PlayFabAdminModels { */ Action: string; /** - / The effect this statement will have. The only supported effect is 'Allow'. + / The effect this statement will have. It could be either Allow or Deny */ Effect: string; /** @@ -3297,6 +3300,10 @@ declare module PlayFabAdminModels { / status of the process of saving player statistic values of the previous version to a downloadable archive */ ArchivalStatus?: string; + /** + / status of the statistic version + */ + Status?: string; /** / URL for the downloadable archive of player statistic values, if available */ @@ -3858,6 +3865,12 @@ declare module PlayFabAdminModels { | "InProgress" | "Complete"; + type StatisticVersionStatus = "Active" + | "SnapshotPending" + | "Snapshot" + | "ArchivalPending" + | "Archived"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 5b1796f5..5e13abf0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; @@ -593,12 +595,12 @@ declare module PlayFabClientModule { */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** - / Accepts an open trade. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. + / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. / https://api.playfab.com/Documentation/Client/method/AcceptTrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback): void; /** - / Cancels an open trade. + / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). / https://api.playfab.com/Documentation/Client/method/CancelTrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback): void; @@ -613,7 +615,7 @@ declare module PlayFabClientModule { */ GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback): void; /** - / Opens a new outstanding trade. + / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. / https://api.playfab.com/Documentation/Client/method/OpenTrade */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback): void; @@ -673,9 +675,9 @@ declare module PlayFabClientModels { } /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttribution + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ - export interface AdCampaignAttribution { + export interface AdCampaignAttributionModel { /** / Attribution network name */ @@ -2231,6 +2233,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -2285,6 +2291,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -2372,6 +2382,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -2444,6 +2458,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -3451,6 +3469,29 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel + */ + export interface LinkedPlatformAccountModel { + /** + / Authentication platform + */ + Platform?: string; + /** + / Unique account identifier of the user on the platform + */ + PlatformUserId?: string; + /** + / Linked account username of the user on the platform, if available + */ + Username?: string; + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ @@ -3673,6 +3714,33 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel + */ + export interface LocationModel { + /** + / 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; + /** + / City name. + */ + City?: string; + /** + / Latitude coordinate of the geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the geographic location. + */ + Longitude?: number; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -4291,165 +4359,151 @@ declare module PlayFabClientModels { */ Position: number; /** - / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + / The profile of the user, if requested. */ - Profile?: PlayerProfile; + Profile?: PlayerProfileModel; } /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLinkedAccount + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ - export interface PlayerLinkedAccount { + export interface PlayerProfileModel { /** - / Authentication platform + / Publisher this player belongs to */ - Platform?: string; + PublisherId?: string; /** - / Platform user identifier + / Title ID this profile applies to */ - PlatformUserId?: string; + TitleId?: string; /** - / Linked account's username + / PlayFab Player ID */ - Username?: string; + PlayerId?: string; /** - / Linked account's email + / Player record created */ - Email?: string; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLocation - */ - export interface PlayerLocation { + Created?: string; /** - / The two-character continent code for this location + / Player account origination */ - ContinentCode: string; + Origination?: string; /** - / The two-character ISO 3166-1 country code for the country associated with the location + / Last login */ - CountryCode: string; + LastLogin?: string; /** - / City of the player's geographic location. + / If the player is currently banned, the UTC Date when the ban expires */ - City?: string; + BannedUntil?: string; /** - / Latitude coordinate of the player's geographic location. + / List of geographic locations where the player has logged-in */ - Latitude?: number; + Locations?: LocationModel[]; /** - / Longitude coordinate of the player's geographic location. + / Player Display Name */ - Longitude?: number; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfile - */ - export interface PlayerProfile { + DisplayName?: string; /** - / PlayFab Player ID + / Image URL of the player's avatar */ - PlayerId?: string; + AvatarUrl?: string; /** - / Title ID this profile applies to + / List of player's tags for segmentation */ - TitleId?: string; + Tags?: TagModel[]; /** - / Player Display Name + / List of configured end points registered for sending the player push notifications */ - DisplayName?: string; + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / Publisher this player belongs to + / List of third party accounts linked to this player */ - PublisherId?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** - / Player account origination + / List of advertising campaigns the player has been attributed to */ - Origination?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Player record created + / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent */ - Created?: string; + TotalValueToDateInUSD?: number; /** - / Last login + / List of player's total lifetime real-money purchases by currency */ - LastLogin?: string; + ValuesToDate?: ValueToDateModel[]; /** - / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + / List of player's virtual currency balances */ - BannedUntil?: string; + VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; /** - / Image URL of the player's avatar. + / List of leaderboard statistic values for the player */ - AvatarUrl?: string; + Statistics?: StatisticModel[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints + */ + export interface PlayerProfileViewConstraints { /** - / Dictionary of player's statistics using only the latest version's value + / Whether to show the display name. Defaults to false */ - Statistics?: { [key: string]: number }; + ShowDisplayName: boolean; /** - / A sum of player's total purchases in USD across all currencies. + / Whether to show the created date. Defaults to false */ - TotalValueToDateInUSD?: number; + ShowCreated: boolean; /** - / Dictionary of player's total purchases by currency. + / Whether to show origination. Defaults to false */ - ValuesToDate?: { [key: string]: number }; + ShowOrigination: boolean; /** - / List of player's tags for segmentation. + / Whether to show the last login time. Defaults to false */ - Tags?: string[]; + ShowLastLogin: boolean; /** - / Dictionary of player's locations by type. + / Whether to show the banned until time. Defaults to false */ - Locations?: { [key: string]: PlayerLocation }; + ShowBannedUntil: boolean; /** - / Dictionary of player's virtual currency balances + / Whether to show statistics, the most recent version of each stat. Defaults to false */ - VirtualCurrencyBalances?: { [key: string]: number }; + ShowStatistics: boolean; /** - / Array of ad campaigns player has been attributed to + / Whether to show campaign attributions. Defaults to false */ - AdCampaignAttributions?: AdCampaignAttribution[]; + ShowCampaignAttributions: boolean; /** - / Array of configured push notification end points + / Whether to show push notification registrations. Defaults to false */ - PushNotificationRegistrations?: PushNotificationRegistration[]; + ShowPushNotificationRegistrations: boolean; /** - / Array of third party accounts linked to this player + / Whether to show the linked accounts. Defaults to false */ - LinkedAccounts?: PlayerLinkedAccount[]; + ShowLinkedAccounts: boolean; /** - / Array of player statistics + / Whether to show the total value to date in usd. Defaults to false */ - PlayerStatistics?: PlayerStatistic[]; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatistic - */ - export interface PlayerStatistic { + ShowTotalValueToDateInUsd: boolean; /** - / Statistic ID + / Whether to show the values to date. Defaults to false */ - Id?: string; + ShowValuesToDate: boolean; /** - / Statistic version (0 if not a versioned statistic) + / Whether to show tags. Defaults to false */ - StatisticVersion: number; + ShowTags: boolean; /** - / Current statistic value + / Whether to show player's locations. Defaults to false */ - StatisticValue: number; + ShowLocations: boolean; /** - / Statistic name + / Whether to show player's avatar URL. Defaults to false */ - Name?: string; + ShowAvatarUrl: boolean; } @@ -4530,9 +4584,9 @@ declare module PlayFabClientModels { | "GoogleCloudMessaging"; /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistration + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ - export interface PushNotificationRegistration { + export interface PushNotificationRegistrationModel { /** / Push notification platform */ @@ -5014,6 +5068,25 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel + */ + export interface StatisticModel { + /** + / Statistic name + */ + Name?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; + /** + / Statistic value + */ + Value: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ @@ -5143,6 +5216,17 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel + */ + export interface TagModel { + /** + / Full value of the tag, including namespace + */ + TagValue?: string; + + } + type TitleActivationStatus = "None" | "ActivatedTitleKey" | "PendingSteam" @@ -6113,6 +6197,40 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel + */ + export interface ValueToDateModel { + /** + / ISO 4217 code of the currency used in the purchases + */ + Currency?: string; + /** + / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + */ + TotalValueAsDecimal?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel + */ + export interface VirtualCurrencyBalanceModel { + /** + / Name of the virtual currency + */ + Currency?: string; + /** + / Balance of the virtual currency + */ + TotalValue: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index b2736a32..81067299 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 97ebf2cf..ccbb636b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabServerModule { export interface IPlayFabServer { /** @@ -614,6 +616,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel + */ + export interface AdCampaignAttributionModel { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ @@ -2115,7 +2136,7 @@ declare module PlayFabServerModels { */ UseSpecificVersion: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ ProfileConstraints?: number; @@ -2206,7 +2227,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ ProfileConstraints?: number; /** @@ -2286,7 +2307,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ ProfileConstraints?: number; /** @@ -3241,6 +3262,29 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel + */ + export interface LinkedPlatformAccountModel { + /** + / Authentication platform + */ + Platform?: string; + /** + / Unique account identifier of the user on the platform + */ + PlatformUserId?: string; + /** + / Linked account username of the user on the platform, if available + */ + Username?: string; + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ @@ -3263,6 +3307,33 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel + */ + export interface LocationModel { + /** + / 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; + /** + / City name. + */ + City?: string; + /** + / Latitude coordinate of the geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the geographic location. + */ + Longitude?: number; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -3509,9 +3580,9 @@ declare module PlayFabServerModels { */ Position: number; /** - / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + / The profile of the user, if requested. */ - Profile?: PlayerProfile; + Profile?: PlayerProfileModel; } @@ -3648,6 +3719,85 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel + */ + export interface PlayerProfileModel { + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Player record created + */ + Created?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / If the player is currently banned, the UTC Date when the ban expires + */ + BannedUntil?: string; + /** + / List of geographic locations where the player has logged-in + */ + Locations?: LocationModel[]; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Image URL of the player's avatar + */ + AvatarUrl?: string; + /** + / List of player's tags for segmentation + */ + Tags?: TagModel[]; + /** + / List of configured end points registered for sending the player push notifications + */ + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; + /** + / List of third party accounts linked to this player + */ + LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of advertising campaigns the player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttributionModel[]; + /** + / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent + */ + TotalValueToDateInUSD?: number; + /** + / List of player's total lifetime real-money purchases by currency + */ + ValuesToDate?: ValueToDateModel[]; + /** + / List of player's virtual currency balances + */ + VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; + /** + / List of leaderboard statistic values for the player + */ + Statistics?: StatisticModel[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ @@ -3679,7 +3829,7 @@ declare module PlayFabServerModels { /** / Whether to show campaign attributions. Defaults to false */ - ShowCampaignAtributions: boolean; + ShowCampaignAttributions: boolean; /** / Whether to show push notification registrations. Defaults to false */ @@ -3700,10 +3850,6 @@ declare module PlayFabServerModels { / Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the virtual currency balances. Defaults to false - */ - ShowVirtualCurrencyBalances: boolean; /** / Whether to show player's locations. Defaults to false */ @@ -3787,6 +3933,21 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel + */ + export interface PushNotificationRegistrationModel { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ @@ -4328,6 +4489,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel + */ + export interface StatisticModel { + /** + / Statistic name + */ + Name?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; + /** + / Statistic value + */ + Value: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ @@ -4438,6 +4618,17 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel + */ + export interface TagModel { + /** + / Full value of the tag, including namespace + */ + TagValue?: string; + + } + type TaskInstanceStatus = "Succeeded" | "Starting" | "InProgress" @@ -5138,6 +5329,40 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel + */ + export interface ValueToDateModel { + /** + / ISO 4217 code of the currency used in the purchases + */ + Currency?: string; + /** + / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + */ + TotalValueAsDecimal?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel + */ + export interface VirtualCurrencyBalanceModel { + /** + / Name of the virtual currency + */ + Currency?: string; + /** + / Balance of the virtual currency + */ + TotalValue: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 61874d1d..d5d8e6c7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -1,3 +1,8 @@ +/// +/// +/// +/// + declare module PlayFabModule { export interface ISettings { titleId: string; diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 7e11946b..512731a2 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -350,7 +350,9 @@ var PlayFabApiTests = { var clientRequest = { MaxResultsCount: 3, StartPosition: 0, - StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME + StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME, + UseSpecificVersion: false, + Version: 0 }; var serverRequest = { MaxResultsCount: 3, diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index c0af202d..b227da70 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -400,7 +400,9 @@ var PlayFabApiTests = { var clientRequest = { MaxResultsCount: 3, StartPosition: 0, - StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME + StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME, + UseSpecificVersion: false, + Version: 0 }; var serverRequest = { MaxResultsCount: 3, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 071cb94b..4206df24 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 86643b7c..f36d32f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.ClientApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 03fafc2d..dd1e6a0e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index e3e422d9..8b42722b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.1.170223"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.2.170313"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 61874d1d..d5d8e6c7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -1,3 +1,8 @@ +/// +/// +/// +/// + declare module PlayFabModule { export interface ISettings { titleId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 375e61b0..1ce76ba8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabAdminModule { export interface IPlayFabAdmin { /** @@ -1658,6 +1660,7 @@ declare module PlayFabAdminModels { } type EffectType = "Allow" + | "Deny"; /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult @@ -3072,7 +3075,7 @@ declare module PlayFabAdminModels { */ Action: string; /** - / The effect this statement will have. The only supported effect is 'Allow'. + / The effect this statement will have. It could be either Allow or Deny */ Effect: string; /** @@ -3297,6 +3300,10 @@ declare module PlayFabAdminModels { / status of the process of saving player statistic values of the previous version to a downloadable archive */ ArchivalStatus?: string; + /** + / status of the statistic version + */ + Status?: string; /** / URL for the downloadable archive of player statistic values, if available */ @@ -3858,6 +3865,12 @@ declare module PlayFabAdminModels { | "InProgress" | "Complete"; + type StatisticVersionStatus = "Active" + | "SnapshotPending" + | "Snapshot" + | "ArchivalPending" + | "Archived"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 5b1796f5..5e13abf0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; @@ -593,12 +595,12 @@ declare module PlayFabClientModule { */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** - / Accepts an open trade. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. + / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. / https://api.playfab.com/Documentation/Client/method/AcceptTrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback): void; /** - / Cancels an open trade. + / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). / https://api.playfab.com/Documentation/Client/method/CancelTrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback): void; @@ -613,7 +615,7 @@ declare module PlayFabClientModule { */ GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback): void; /** - / Opens a new outstanding trade. + / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. / https://api.playfab.com/Documentation/Client/method/OpenTrade */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback): void; @@ -673,9 +675,9 @@ declare module PlayFabClientModels { } /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttribution + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ - export interface AdCampaignAttribution { + export interface AdCampaignAttributionModel { /** / Attribution network name */ @@ -2231,6 +2233,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -2285,6 +2291,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -2372,6 +2382,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -2444,6 +2458,10 @@ declare module PlayFabClientModels { / If true, uses the specified version. If false, gets the most recent version. */ UseSpecificVersion: boolean; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; } @@ -3451,6 +3469,29 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel + */ + export interface LinkedPlatformAccountModel { + /** + / Authentication platform + */ + Platform?: string; + /** + / Unique account identifier of the user on the platform + */ + PlatformUserId?: string; + /** + / Linked account username of the user on the platform, if available + */ + Username?: string; + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ @@ -3673,6 +3714,33 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel + */ + export interface LocationModel { + /** + / 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; + /** + / City name. + */ + City?: string; + /** + / Latitude coordinate of the geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the geographic location. + */ + Longitude?: number; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -4291,165 +4359,151 @@ declare module PlayFabClientModels { */ Position: number; /** - / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + / The profile of the user, if requested. */ - Profile?: PlayerProfile; + Profile?: PlayerProfileModel; } /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLinkedAccount + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ - export interface PlayerLinkedAccount { + export interface PlayerProfileModel { /** - / Authentication platform + / Publisher this player belongs to */ - Platform?: string; + PublisherId?: string; /** - / Platform user identifier + / Title ID this profile applies to */ - PlatformUserId?: string; + TitleId?: string; /** - / Linked account's username + / PlayFab Player ID */ - Username?: string; + PlayerId?: string; /** - / Linked account's email + / Player record created */ - Email?: string; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLocation - */ - export interface PlayerLocation { + Created?: string; /** - / The two-character continent code for this location + / Player account origination */ - ContinentCode: string; + Origination?: string; /** - / The two-character ISO 3166-1 country code for the country associated with the location + / Last login */ - CountryCode: string; + LastLogin?: string; /** - / City of the player's geographic location. + / If the player is currently banned, the UTC Date when the ban expires */ - City?: string; + BannedUntil?: string; /** - / Latitude coordinate of the player's geographic location. + / List of geographic locations where the player has logged-in */ - Latitude?: number; + Locations?: LocationModel[]; /** - / Longitude coordinate of the player's geographic location. + / Player Display Name */ - Longitude?: number; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfile - */ - export interface PlayerProfile { + DisplayName?: string; /** - / PlayFab Player ID + / Image URL of the player's avatar */ - PlayerId?: string; + AvatarUrl?: string; /** - / Title ID this profile applies to + / List of player's tags for segmentation */ - TitleId?: string; + Tags?: TagModel[]; /** - / Player Display Name + / List of configured end points registered for sending the player push notifications */ - DisplayName?: string; + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / Publisher this player belongs to + / List of third party accounts linked to this player */ - PublisherId?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** - / Player account origination + / List of advertising campaigns the player has been attributed to */ - Origination?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Player record created + / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent */ - Created?: string; + TotalValueToDateInUSD?: number; /** - / Last login + / List of player's total lifetime real-money purchases by currency */ - LastLogin?: string; + ValuesToDate?: ValueToDateModel[]; /** - / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + / List of player's virtual currency balances */ - BannedUntil?: string; + VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; /** - / Image URL of the player's avatar. + / List of leaderboard statistic values for the player */ - AvatarUrl?: string; + Statistics?: StatisticModel[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints + */ + export interface PlayerProfileViewConstraints { /** - / Dictionary of player's statistics using only the latest version's value + / Whether to show the display name. Defaults to false */ - Statistics?: { [key: string]: number }; + ShowDisplayName: boolean; /** - / A sum of player's total purchases in USD across all currencies. + / Whether to show the created date. Defaults to false */ - TotalValueToDateInUSD?: number; + ShowCreated: boolean; /** - / Dictionary of player's total purchases by currency. + / Whether to show origination. Defaults to false */ - ValuesToDate?: { [key: string]: number }; + ShowOrigination: boolean; /** - / List of player's tags for segmentation. + / Whether to show the last login time. Defaults to false */ - Tags?: string[]; + ShowLastLogin: boolean; /** - / Dictionary of player's locations by type. + / Whether to show the banned until time. Defaults to false */ - Locations?: { [key: string]: PlayerLocation }; + ShowBannedUntil: boolean; /** - / Dictionary of player's virtual currency balances + / Whether to show statistics, the most recent version of each stat. Defaults to false */ - VirtualCurrencyBalances?: { [key: string]: number }; + ShowStatistics: boolean; /** - / Array of ad campaigns player has been attributed to + / Whether to show campaign attributions. Defaults to false */ - AdCampaignAttributions?: AdCampaignAttribution[]; + ShowCampaignAttributions: boolean; /** - / Array of configured push notification end points + / Whether to show push notification registrations. Defaults to false */ - PushNotificationRegistrations?: PushNotificationRegistration[]; + ShowPushNotificationRegistrations: boolean; /** - / Array of third party accounts linked to this player + / Whether to show the linked accounts. Defaults to false */ - LinkedAccounts?: PlayerLinkedAccount[]; + ShowLinkedAccounts: boolean; /** - / Array of player statistics + / Whether to show the total value to date in usd. Defaults to false */ - PlayerStatistics?: PlayerStatistic[]; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatistic - */ - export interface PlayerStatistic { + ShowTotalValueToDateInUsd: boolean; /** - / Statistic ID + / Whether to show the values to date. Defaults to false */ - Id?: string; + ShowValuesToDate: boolean; /** - / Statistic version (0 if not a versioned statistic) + / Whether to show tags. Defaults to false */ - StatisticVersion: number; + ShowTags: boolean; /** - / Current statistic value + / Whether to show player's locations. Defaults to false */ - StatisticValue: number; + ShowLocations: boolean; /** - / Statistic name + / Whether to show player's avatar URL. Defaults to false */ - Name?: string; + ShowAvatarUrl: boolean; } @@ -4530,9 +4584,9 @@ declare module PlayFabClientModels { | "GoogleCloudMessaging"; /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistration + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ - export interface PushNotificationRegistration { + export interface PushNotificationRegistrationModel { /** / Push notification platform */ @@ -5014,6 +5068,25 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel + */ + export interface StatisticModel { + /** + / Statistic name + */ + Name?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; + /** + / Statistic value + */ + Value: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ @@ -5143,6 +5216,17 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel + */ + export interface TagModel { + /** + / Full value of the tag, including namespace + */ + TagValue?: string; + + } + type TitleActivationStatus = "None" | "ActivatedTitleKey" | "PendingSteam" @@ -6113,6 +6197,40 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel + */ + export interface ValueToDateModel { + /** + / ISO 4217 code of the currency used in the purchases + */ + Currency?: string; + /** + / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + */ + TotalValueAsDecimal?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel + */ + export interface VirtualCurrencyBalanceModel { + /** + / Name of the virtual currency + */ + Currency?: string; + /** + / Balance of the virtual currency + */ + TotalValue: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index b2736a32..81067299 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 97ebf2cf..ccbb636b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1,3 +1,5 @@ +/// + declare module PlayFabServerModule { export interface IPlayFabServer { /** @@ -614,6 +616,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel + */ + export interface AdCampaignAttributionModel { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ @@ -2115,7 +2136,7 @@ declare module PlayFabServerModels { */ UseSpecificVersion: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ ProfileConstraints?: number; @@ -2206,7 +2227,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ ProfileConstraints?: number; /** @@ -2286,7 +2307,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ ProfileConstraints?: number; /** @@ -3241,6 +3262,29 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel + */ + export interface LinkedPlatformAccountModel { + /** + / Authentication platform + */ + Platform?: string; + /** + / Unique account identifier of the user on the platform + */ + PlatformUserId?: string; + /** + / Linked account username of the user on the platform, if available + */ + Username?: string; + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ @@ -3263,6 +3307,33 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel + */ + export interface LocationModel { + /** + / 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; + /** + / City name. + */ + City?: string; + /** + / Latitude coordinate of the geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the geographic location. + */ + Longitude?: number; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -3509,9 +3580,9 @@ declare module PlayFabServerModels { */ Position: number; /** - / The profile of the user, if requested. Note that this profile may have sensitive fields scrubbed. + / The profile of the user, if requested. */ - Profile?: PlayerProfile; + Profile?: PlayerProfileModel; } @@ -3648,6 +3719,85 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel + */ + export interface PlayerProfileModel { + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Title ID this profile applies to + */ + TitleId?: string; + /** + / PlayFab Player ID + */ + PlayerId?: string; + /** + / Player record created + */ + Created?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / Last login + */ + LastLogin?: string; + /** + / If the player is currently banned, the UTC Date when the ban expires + */ + BannedUntil?: string; + /** + / List of geographic locations where the player has logged-in + */ + Locations?: LocationModel[]; + /** + / Player Display Name + */ + DisplayName?: string; + /** + / Image URL of the player's avatar + */ + AvatarUrl?: string; + /** + / List of player's tags for segmentation + */ + Tags?: TagModel[]; + /** + / List of configured end points registered for sending the player push notifications + */ + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; + /** + / List of third party accounts linked to this player + */ + LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of advertising campaigns the player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttributionModel[]; + /** + / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent + */ + TotalValueToDateInUSD?: number; + /** + / List of player's total lifetime real-money purchases by currency + */ + ValuesToDate?: ValueToDateModel[]; + /** + / List of player's virtual currency balances + */ + VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; + /** + / List of leaderboard statistic values for the player + */ + Statistics?: StatisticModel[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ @@ -3679,7 +3829,7 @@ declare module PlayFabServerModels { /** / Whether to show campaign attributions. Defaults to false */ - ShowCampaignAtributions: boolean; + ShowCampaignAttributions: boolean; /** / Whether to show push notification registrations. Defaults to false */ @@ -3700,10 +3850,6 @@ declare module PlayFabServerModels { / Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the virtual currency balances. Defaults to false - */ - ShowVirtualCurrencyBalances: boolean; /** / Whether to show player's locations. Defaults to false */ @@ -3787,6 +3933,21 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel + */ + export interface PushNotificationRegistrationModel { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ @@ -4328,6 +4489,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel + */ + export interface StatisticModel { + /** + / Statistic name + */ + Name?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; + /** + / Statistic value + */ + Value: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ @@ -4438,6 +4618,17 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel + */ + export interface TagModel { + /** + / Full value of the tag, including namespace + */ + TagValue?: string; + + } + type TaskInstanceStatus = "Succeeded" | "Starting" | "InProgress" @@ -5138,6 +5329,40 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel + */ + export interface ValueToDateModel { + /** + / ISO 4217 code of the currency used in the purchases + */ + Currency?: string; + /** + / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + */ + TotalValueAsDecimal?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel + */ + export interface VirtualCurrencyBalanceModel { + /** + / Name of the virtual currency + */ + Currency?: string; + /** + / Balance of the virtual currency + */ + TotalValue: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ From 46ebf438bfe6b7bbfe26b0a673664308015fd2dd Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Tue, 4 Apr 2017 02:09:47 +0000 Subject: [PATCH 031/253] https://api.playfab.com/releaseNotes/#170403 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 24 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 64 +++++++++---------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 12 ++-- PlayFabTestingExample/PlayFabApiTest.js | 4 +- PlayFabTestingExample/PlayFabApiTest.ts | 4 +- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 24 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 64 +++++++++---------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 12 ++-- 14 files changed, 114 insertions(+), 118 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 4206df24..58dd9247 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f36d32f8..8370c612 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.ClientApi = { @@ -119,11 +119,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); }, - LinkWindowsHello: function (request, callback) { - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); - }, - LoginWithAndroidDeviceID: function (request, callback) { request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; @@ -320,11 +315,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, - UnlinkWindowsHello: function (request, callback) { - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); - }, - AddGenericID: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -445,6 +435,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + LinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); + }, + RemoveGenericID: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -516,6 +511,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + UnlinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); + }, + UpdateAvatarUrl: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index dd1e6a0e..302a87a2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 8b42722b..fe8a6b17 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.ServerApi = { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 5e13abf0..56525dfa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -14,11 +14,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge */ GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Link Windows Hello to the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello - */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID @@ -30,7 +25,7 @@ declare module PlayFabClientModule { */ LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress */ LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback): void; @@ -60,7 +55,7 @@ declare module PlayFabClientModule { */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email accounts must be created using the RegisterPlayFabUser API or added to existing accounts using AddUsernamePassword. + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback): void; @@ -85,15 +80,10 @@ declare module PlayFabClientModule { */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; /** - / Register using Windows Hello authentication. Before a user can request a challenge or perform a signin the user must first either register or link a Windows Hello account. + / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Unlink Windows Hello from the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello - */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. / https://api.playfab.com/Documentation/Client/method/AddGenericID @@ -194,6 +184,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/LinkTwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Link Windows Hello authentication to the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + */ + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Removes the specified generic service identifier from the player's PlayFab account. / https://api.playfab.com/Documentation/Client/method/RemoveGenericID @@ -254,6 +249,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlink Windows Hello authentication from the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + */ + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Update the avatar URL of the player / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl @@ -380,7 +380,7 @@ declare module PlayFabClientModule { */ GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves a completed purchase along with its current PlayFab status. + / Retrieves a purchase along with its current PlayFab status. / https://api.playfab.com/Documentation/Client/method/GetPurchase */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; @@ -450,7 +450,7 @@ declare module PlayFabClientModule { */ RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; /** - / Restores all in-app purchases based on the given refresh receipt. + / Restores all in-app purchases based on the given restore receipt / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; @@ -2228,11 +2228,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2286,11 +2286,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2377,11 +2377,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2453,11 +2453,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -3544,10 +3544,6 @@ declare module PlayFabClientModels { / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. */ ServerAuthCode?: string; - /** - / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. - */ - AccessToken?: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ @@ -3829,11 +3825,19 @@ declare module PlayFabClientModels { /** / Custom unique identifier for the user, generated by the title. */ - CustomId: string; + CustomId?: string; /** / Automatically create a PlayFab account if one is not currently linked to this Custom ID. */ CreateAccount?: boolean; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3922,10 +3926,6 @@ declare module PlayFabClientModels { / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ ServerAuthCode?: string; - /** - / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. - */ - AccessToken?: string; /** / Automatically create a PlayFab account if one is not currently linked to this Google account. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ccbb636b..10bd50bc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2130,11 +2130,11 @@ declare module PlayFabServerModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2233,11 +2233,11 @@ declare module PlayFabServerModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; } @@ -2313,11 +2313,11 @@ declare module PlayFabServerModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; } diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 512731a2..7e11946b 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -350,9 +350,7 @@ var PlayFabApiTests = { var clientRequest = { MaxResultsCount: 3, StartPosition: 0, - StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME, - UseSpecificVersion: false, - Version: 0 + StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME }; var serverRequest = { MaxResultsCount: 3, diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index b227da70..c0af202d 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -400,9 +400,7 @@ var PlayFabApiTests = { var clientRequest = { MaxResultsCount: 3, StartPosition: 0, - StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME, - UseSpecificVersion: false, - Version: 0 + StatisticName: PlayFabApiTests.testConstants.TEST_STAT_NAME }; var serverRequest = { MaxResultsCount: 3, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 4206df24..58dd9247 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f36d32f8..8370c612 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.ClientApi = { @@ -119,11 +119,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); }, - LinkWindowsHello: function (request, callback) { - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); - }, - LoginWithAndroidDeviceID: function (request, callback) { request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; @@ -320,11 +315,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, - UnlinkWindowsHello: function (request, callback) { - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); - }, - AddGenericID: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -445,6 +435,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + LinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); + }, + RemoveGenericID: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -516,6 +511,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + UnlinkWindowsHello: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); + }, + UpdateAvatarUrl: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index dd1e6a0e..302a87a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 8b42722b..fe8a6b17 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.2.170313"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.3.170403"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 5e13abf0..56525dfa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -14,11 +14,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge */ GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Link Windows Hello to the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello - */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID @@ -30,7 +25,7 @@ declare module PlayFabClientModule { */ LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress */ LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback): void; @@ -60,7 +55,7 @@ declare module PlayFabClientModule { */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email accounts must be created using the RegisterPlayFabUser API or added to existing accounts using AddUsernamePassword. + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback): void; @@ -85,15 +80,10 @@ declare module PlayFabClientModule { */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; /** - / Register using Windows Hello authentication. Before a user can request a challenge or perform a signin the user must first either register or link a Windows Hello account. + / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Unlink Windows Hello from the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello - */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. / https://api.playfab.com/Documentation/Client/method/AddGenericID @@ -194,6 +184,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/LinkTwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Link Windows Hello authentication to the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + */ + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Removes the specified generic service identifier from the player's PlayFab account. / https://api.playfab.com/Documentation/Client/method/RemoveGenericID @@ -254,6 +249,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Unlink Windows Hello authentication from the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + */ + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; /** / Update the avatar URL of the player / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl @@ -380,7 +380,7 @@ declare module PlayFabClientModule { */ GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves a completed purchase along with its current PlayFab status. + / Retrieves a purchase along with its current PlayFab status. / https://api.playfab.com/Documentation/Client/method/GetPurchase */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; @@ -450,7 +450,7 @@ declare module PlayFabClientModule { */ RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; /** - / Restores all in-app purchases based on the given refresh receipt. + / Restores all in-app purchases based on the given restore receipt / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; @@ -2228,11 +2228,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2286,11 +2286,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2377,11 +2377,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2453,11 +2453,11 @@ declare module PlayFabClientModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -3544,10 +3544,6 @@ declare module PlayFabClientModels { / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. */ ServerAuthCode?: string; - /** - / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. - */ - AccessToken?: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ @@ -3829,11 +3825,19 @@ declare module PlayFabClientModels { /** / Custom unique identifier for the user, generated by the title. */ - CustomId: string; + CustomId?: string; /** / Automatically create a PlayFab account if one is not currently linked to this Custom ID. */ CreateAccount?: boolean; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3922,10 +3926,6 @@ declare module PlayFabClientModels { / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ ServerAuthCode?: string; - /** - / OAuth 2.0 access token obtained on the client by calling the getAccessToken() Google client API. - */ - AccessToken?: string; /** / Automatically create a PlayFab account if one is not currently linked to this Google account. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ccbb636b..10bd50bc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2130,11 +2130,11 @@ declare module PlayFabServerModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. */ @@ -2233,11 +2233,11 @@ declare module PlayFabServerModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; } @@ -2313,11 +2313,11 @@ declare module PlayFabServerModels { /** / The version of the leaderboard to get, when UseSpecificVersion is true. */ - Version: number; + Version?: number; /** / If true, uses the specified version. If false, gets the most recent version. */ - UseSpecificVersion: boolean; + UseSpecificVersion?: boolean; } From bfd40507ab7c3476ed3e0b2dddf77cf3d95de0f1 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Tue, 11 Apr 2017 20:59:03 +0000 Subject: [PATCH 032/253] https://api.playfab.com/releaseNotes/#170411 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 19 ++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 208 ++++++++++++------ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 +- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 19 ++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 208 ++++++++++++------ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 +- 14 files changed, 348 insertions(+), 142 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 58dd9247..2cc6b32e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8370c612..e739440e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.ClientApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 302a87a2..0393a606 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fe8a6b17..41cce663 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.ServerApi = { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 1ce76ba8..e824a39a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -731,6 +731,17 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition + */ + export interface ApiCondition { + /** + / Require that API calls contain an RSA encrypted payload or signed headers. + */ + HasSignatureOrEncryption?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ @@ -1058,6 +1069,10 @@ declare module PlayFabAdminModels { } + type Conditionals = "Any" + | "True" + | "False"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ @@ -3086,6 +3101,10 @@ declare module PlayFabAdminModels { / A comment about the statement. Intended solely for bookeeping and debugging. */ Comment?: string; + /** + / Additional conditions to be applied for API Resources. + */ + ApiConditions?: ApiCondition; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 56525dfa..4ca8fd19 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3787,14 +3787,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Android device identifier for the user's device. */ - AndroidDeviceId: string; + AndroidDeviceId?: string; /** / Specific Operating System version for the user's device. */ @@ -3804,9 +3800,21 @@ declare module PlayFabClientModels { */ AndroidDevice?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Android device. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** + / 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3818,26 +3826,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Custom unique identifier for the user, generated by the title. */ CustomId?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Custom ID. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** - / Player secret that is used to verify API request signatures + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - PlayerSecret?: string; + TitleId?: string; /** / Base64 encoded body that is encrypted with the Title's public RSA key */ EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3872,18 +3880,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier from Facebook for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Unique identifier from Facebook for the user. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - AccessToken: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Facebook account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3895,18 +3911,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique Game Center player id. + */ + PlayerId?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Unique Game Center player id. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - PlayerId: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Game Center id. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3918,18 +3942,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. + */ + ServerAuthCode?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - ServerAuthCode?: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Google account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3941,14 +3973,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Vendor-specific iOS identifier for the user's device. */ - DeviceId: string; + DeviceId?: string; /** / Specific Operating System version for the user's device. */ @@ -3958,13 +3986,25 @@ declare module PlayFabClientModels { */ DeviceModel?: string; /** - / Flags for which pieces of info to return for the user. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + CreateAccount?: boolean; /** - / Automatically create a PlayFab account if one is not currently linked to this iOS device. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - CreateAccount?: boolean; + TitleId?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; } @@ -3972,26 +4012,34 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Numeric user ID assigned by Kongregate */ - KongregateId: string; + KongregateId?: string; /** / Token issued by Kongregate's client API for the user. */ - AuthTicket: string; + AuthTicket?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Kongregate account. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** / Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; } @@ -4022,18 +4070,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + / Base64 encoded body that is encrypted with the Title's public RSA key */ - SteamTicket: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Steam account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -4045,18 +4101,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Token issued by Twitch's API for the user. + */ + AccessToken?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Token issued by Twitch's API for the user. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - AccessToken: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Twitch account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -4469,7 +4533,7 @@ declare module PlayFabClientModels { */ ShowBannedUntil: boolean; /** - / Whether to show statistics, the most recent version of each stat. Defaults to false + / Reserved for future development */ ShowStatistics: boolean; /** @@ -4689,10 +4753,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / PlayFab username for the account (3-20 characters) */ @@ -4704,7 +4764,7 @@ declare module PlayFabClientModels { /** / Password for the PlayFab account (6-100 characters) */ - Password: string; + Password?: string; /** / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. */ @@ -4713,6 +4773,22 @@ declare module PlayFabClientModels { / An optional parameter for setting the display name for this title. */ DisplayName?: 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; } @@ -4744,21 +4820,29 @@ declare module PlayFabClientModels { */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Player's user name used by Windows Hello. */ - TitleId: string; - /** - / Player's user named used by Windows Hello. - */ - UserName: string; + UserName?: string; /** / PublicKey generated by Windows Hello. */ - PublicKey: string; + PublicKey?: string; /** / Device name. */ DeviceName?: 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 10bd50bc..9c9e600d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3823,7 +3823,7 @@ declare module PlayFabServerModels { */ ShowBannedUntil: boolean; /** - / Whether to show statistics, the most recent version of each stat. Defaults to false + / Reserved for future development */ ShowStatistics: boolean; /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 58dd9247..2cc6b32e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8370c612..e739440e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.ClientApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 302a87a2..0393a606 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fe8a6b17..41cce663 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.3.170403"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.4.170411"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 1ce76ba8..e824a39a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -731,6 +731,17 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition + */ + export interface ApiCondition { + /** + / Require that API calls contain an RSA encrypted payload or signed headers. + */ + HasSignatureOrEncryption?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ @@ -1058,6 +1069,10 @@ declare module PlayFabAdminModels { } + type Conditionals = "Any" + | "True" + | "False"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ @@ -3086,6 +3101,10 @@ declare module PlayFabAdminModels { / A comment about the statement. Intended solely for bookeeping and debugging. */ Comment?: string; + /** + / Additional conditions to be applied for API Resources. + */ + ApiConditions?: ApiCondition; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 56525dfa..4ca8fd19 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3787,14 +3787,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Android device identifier for the user's device. */ - AndroidDeviceId: string; + AndroidDeviceId?: string; /** / Specific Operating System version for the user's device. */ @@ -3804,9 +3800,21 @@ declare module PlayFabClientModels { */ AndroidDevice?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Android device. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** + / 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3818,26 +3826,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Custom unique identifier for the user, generated by the title. */ CustomId?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Custom ID. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** - / Player secret that is used to verify API request signatures + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - PlayerSecret?: string; + TitleId?: string; /** / Base64 encoded body that is encrypted with the Title's public RSA key */ EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3872,18 +3880,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique identifier from Facebook for the user. + */ + AccessToken: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Unique identifier from Facebook for the user. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - AccessToken: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Facebook account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3895,18 +3911,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique Game Center player id. + */ + PlayerId?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Unique Game Center player id. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - PlayerId: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Game Center id. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3918,18 +3942,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. + */ + ServerAuthCode?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - ServerAuthCode?: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Google account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -3941,14 +3973,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Vendor-specific iOS identifier for the user's device. */ - DeviceId: string; + DeviceId?: string; /** / Specific Operating System version for the user's device. */ @@ -3958,13 +3986,25 @@ declare module PlayFabClientModels { */ DeviceModel?: string; /** - / Flags for which pieces of info to return for the user. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + CreateAccount?: boolean; /** - / Automatically create a PlayFab account if one is not currently linked to this iOS device. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - CreateAccount?: boolean; + TitleId?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; } @@ -3972,26 +4012,34 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Numeric user ID assigned by Kongregate */ - KongregateId: string; + KongregateId?: string; /** / Token issued by Kongregate's client API for the user. */ - AuthTicket: string; + AuthTicket?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Kongregate account. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** / Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; } @@ -4022,18 +4070,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + / Base64 encoded body that is encrypted with the Title's public RSA key */ - SteamTicket: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Steam account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -4045,18 +4101,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Token issued by Twitch's API for the user. + */ + AccessToken?: string; + /** + / Automatically create a PlayFab account if one is not currently linked to this ID. + */ + CreateAccount?: boolean; /** / 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; /** - / Token issued by Twitch's API for the user. + / Base64 encoded body that is encrypted with the Title's public RSA key */ - AccessToken: string; + EncryptedRequest?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this Twitch account. + / Player secret that is used to verify API request signatures */ - CreateAccount?: boolean; + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ @@ -4469,7 +4533,7 @@ declare module PlayFabClientModels { */ ShowBannedUntil: boolean; /** - / Whether to show statistics, the most recent version of each stat. Defaults to false + / Reserved for future development */ ShowStatistics: boolean; /** @@ -4689,10 +4753,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / PlayFab username for the account (3-20 characters) */ @@ -4704,7 +4764,7 @@ declare module PlayFabClientModels { /** / Password for the PlayFab account (6-100 characters) */ - Password: string; + Password?: string; /** / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. */ @@ -4713,6 +4773,22 @@ declare module PlayFabClientModels { / An optional parameter for setting the display name for this title. */ DisplayName?: 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; } @@ -4744,21 +4820,29 @@ declare module PlayFabClientModels { */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Player's user name used by Windows Hello. */ - TitleId: string; - /** - / Player's user named used by Windows Hello. - */ - UserName: string; + UserName?: string; /** / PublicKey generated by Windows Hello. */ - PublicKey: string; + PublicKey?: string; /** / Device name. */ DeviceName?: 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; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key + */ + EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures + */ + PlayerSecret?: string; /** / Flags for which pieces of info to return for the user. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 10bd50bc..9c9e600d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3823,7 +3823,7 @@ declare module PlayFabServerModels { */ ShowBannedUntil: boolean; /** - / Whether to show statistics, the most recent version of each stat. Defaults to false + / Reserved for future development */ ShowStatistics: boolean; /** From d6400cdafc3968b82955a6d10708c0f361e414c8 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 8 May 2017 21:01:28 +0000 Subject: [PATCH 033/253] https://api.playfab.com/releaseNotes/#170508 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 13 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 22 ++++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 62 +++++++++++-------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 22 ++++--- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 13 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 22 ++++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 62 +++++++++++-------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 22 ++++--- 14 files changed, 154 insertions(+), 108 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 2cc6b32e..6154eb21 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e739440e..633c62e0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.ClientApi = { @@ -436,8 +436,9 @@ PlayFab.ClientApi = { }, LinkWindowsHello: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveGenericID: function (request, callback) { @@ -512,8 +513,9 @@ PlayFab.ClientApi = { }, UnlinkWindowsHello: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateAvatarUrl: function (request, callback) { @@ -980,8 +982,9 @@ PlayFab.ClientApi = { }, ValidateWindowsStoreReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, _MultiStepClientLogin: function (needsAttribution) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 0393a606..0e392406 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 41cce663..ccc37b42 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.ServerApi = { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index e824a39a..994b481b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -358,7 +358,7 @@ declare module PlayFabAdminModule { */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; /** - / Delete a content file from the title + / Delete a content file from the title. When deleting a file that does not exist, it returns success. / https://api.playfab.com/Documentation/Admin/method/DeleteContent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback): void; @@ -1700,10 +1700,18 @@ declare module PlayFabAdminModels { / The object returned from the CloudScript function, if any */ FunctionResult?: any; + /** + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + */ + FunctionResultTooLarge?: boolean; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; + /** + / Flag indicating if the logs were too large and were subsequently dropped from this event + */ + LogsTooLarge?: boolean; ExecutionTimeSeconds: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. @@ -1719,7 +1727,7 @@ declare module PlayFabAdminModels { */ HttpRequestsIssued: number; /** - / Information about the error, if any, that occured during execution + / Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; @@ -2759,7 +2767,7 @@ declare module PlayFabAdminModels { */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -3315,10 +3323,6 @@ declare module PlayFabAdminModels { / time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / status of the process of saving player statistic values of the previous version to a downloadable archive - */ - ArchivalStatus?: string; /** / status of the statistic version */ @@ -4288,7 +4292,7 @@ declare module PlayFabAdminModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4322,7 +4326,7 @@ declare module PlayFabAdminModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 4ca8fd19..16c14e75 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -380,7 +380,7 @@ declare module PlayFabClientModule { */ GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves a purchase along with its current PlayFab status. + / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. / https://api.playfab.com/Documentation/Client/method/GetPurchase */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; @@ -1763,10 +1763,18 @@ declare module PlayFabClientModels { / The object returned from the CloudScript function, if any */ FunctionResult?: any; + /** + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + */ + FunctionResultTooLarge?: boolean; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; + /** + / Flag indicating if the logs were too large and were subsequently dropped from this event + */ + LogsTooLarge?: boolean; ExecutionTimeSeconds: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. @@ -1782,7 +1790,7 @@ declare module PlayFabClientModels { */ HttpRequestsIssued: number; /** - / Information about the error, if any, that occured during execution + / Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; @@ -3808,11 +3816,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3839,11 +3847,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3893,11 +3901,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3924,11 +3932,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3955,11 +3963,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3994,11 +4002,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4033,11 +4041,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4083,11 +4091,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4114,11 +4122,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4778,11 +4786,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4836,11 +4844,11 @@ declare module PlayFabClientModels { */ TitleId: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -5684,7 +5692,7 @@ declare module PlayFabClientModels { */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -5758,7 +5766,7 @@ declare module PlayFabClientModels { */ SharedGroupId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -5784,7 +5792,7 @@ declare module PlayFabClientModels { */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 9c9e600d..f1277540 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1719,10 +1719,18 @@ declare module PlayFabServerModels { / The object returned from the CloudScript function, if any */ FunctionResult?: any; + /** + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + */ + FunctionResultTooLarge?: boolean; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; + /** + / Flag indicating if the logs were too large and were subsequently dropped from this event + */ + LogsTooLarge?: boolean; ExecutionTimeSeconds: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. @@ -1738,7 +1746,7 @@ declare module PlayFabServerModels { */ HttpRequestsIssued: number; /** - / Information about the error, if any, that occured during execution + / Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; @@ -3185,7 +3193,7 @@ declare module PlayFabServerModels { */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4823,7 +4831,7 @@ declare module PlayFabServerModels { */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4909,7 +4917,7 @@ declare module PlayFabServerModels { */ SharedGroupId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4939,7 +4947,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4973,7 +4981,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -5000,7 +5008,7 @@ declare module PlayFabServerModels { */ ItemInstanceId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 2cc6b32e..6154eb21 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e739440e..633c62e0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.ClientApi = { @@ -436,8 +436,9 @@ PlayFab.ClientApi = { }, LinkWindowsHello: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveGenericID: function (request, callback) { @@ -512,8 +513,9 @@ PlayFab.ClientApi = { }, UnlinkWindowsHello: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateAvatarUrl: function (request, callback) { @@ -980,8 +982,9 @@ PlayFab.ClientApi = { }, ValidateWindowsStoreReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, _MultiStepClientLogin: function (needsAttribution) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 0393a606..0e392406 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 41cce663..ccc37b42 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.4.170411"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.5.170508"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index e824a39a..994b481b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -358,7 +358,7 @@ declare module PlayFabAdminModule { */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; /** - / Delete a content file from the title + / Delete a content file from the title. When deleting a file that does not exist, it returns success. / https://api.playfab.com/Documentation/Admin/method/DeleteContent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback): void; @@ -1700,10 +1700,18 @@ declare module PlayFabAdminModels { / The object returned from the CloudScript function, if any */ FunctionResult?: any; + /** + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + */ + FunctionResultTooLarge?: boolean; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; + /** + / Flag indicating if the logs were too large and were subsequently dropped from this event + */ + LogsTooLarge?: boolean; ExecutionTimeSeconds: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. @@ -1719,7 +1727,7 @@ declare module PlayFabAdminModels { */ HttpRequestsIssued: number; /** - / Information about the error, if any, that occured during execution + / Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; @@ -2759,7 +2767,7 @@ declare module PlayFabAdminModels { */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -3315,10 +3323,6 @@ declare module PlayFabAdminModels { / time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / status of the process of saving player statistic values of the previous version to a downloadable archive - */ - ArchivalStatus?: string; /** / status of the statistic version */ @@ -4288,7 +4292,7 @@ declare module PlayFabAdminModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4322,7 +4326,7 @@ declare module PlayFabAdminModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 4ca8fd19..16c14e75 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -380,7 +380,7 @@ declare module PlayFabClientModule { */ GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves a purchase along with its current PlayFab status. + / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. / https://api.playfab.com/Documentation/Client/method/GetPurchase */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; @@ -1763,10 +1763,18 @@ declare module PlayFabClientModels { / The object returned from the CloudScript function, if any */ FunctionResult?: any; + /** + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + */ + FunctionResultTooLarge?: boolean; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; + /** + / Flag indicating if the logs were too large and were subsequently dropped from this event + */ + LogsTooLarge?: boolean; ExecutionTimeSeconds: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. @@ -1782,7 +1790,7 @@ declare module PlayFabClientModels { */ HttpRequestsIssued: number; /** - / Information about the error, if any, that occured during execution + / Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; @@ -3808,11 +3816,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3839,11 +3847,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3893,11 +3901,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3924,11 +3932,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3955,11 +3963,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3994,11 +4002,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4033,11 +4041,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4083,11 +4091,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4114,11 +4122,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4778,11 +4786,11 @@ declare module PlayFabClientModels { */ TitleId?: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4836,11 +4844,11 @@ declare module PlayFabClientModels { */ TitleId: string; /** - / Base64 encoded body that is encrypted with the Title's public RSA key + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** - / Player secret that is used to verify API request signatures + / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -5684,7 +5692,7 @@ declare module PlayFabClientModels { */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -5758,7 +5766,7 @@ declare module PlayFabClientModels { */ SharedGroupId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -5784,7 +5792,7 @@ declare module PlayFabClientModels { */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 9c9e600d..f1277540 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1719,10 +1719,18 @@ declare module PlayFabServerModels { / The object returned from the CloudScript function, if any */ FunctionResult?: any; + /** + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + */ + FunctionResultTooLarge?: boolean; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; + /** + / Flag indicating if the logs were too large and were subsequently dropped from this event + */ + LogsTooLarge?: boolean; ExecutionTimeSeconds: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. @@ -1738,7 +1746,7 @@ declare module PlayFabServerModels { */ HttpRequestsIssued: number; /** - / Information about the error, if any, that occured during execution + / Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; @@ -3185,7 +3193,7 @@ declare module PlayFabServerModels { */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4823,7 +4831,7 @@ declare module PlayFabServerModels { */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4909,7 +4917,7 @@ declare module PlayFabServerModels { */ SharedGroupId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4939,7 +4947,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -4973,7 +4981,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** @@ -5000,7 +5008,7 @@ declare module PlayFabServerModels { */ ItemInstanceId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character. + / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** From df28ab06d0c70d5b311d34c1d9e82508facc810d Mon Sep 17 00:00:00 2001 From: pgilmorepf Date: Tue, 9 May 2017 11:39:35 -0700 Subject: [PATCH 034/253] Readme Formatting --- README.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 816efe01..b7d46a11 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -JavaScriptSDK README -======== -1. Overview: ----- +# JavaScriptSDK README + + +## 1. Overview: JavaScriptSDK for the Client API of PlayFab @@ -10,8 +10,8 @@ This SDK can alternatively be used via our CDN. Additional details can be found If you want to start coding right away, check out our [JavaScript Getting Started Guide](JavaScriptGettingStarted.md) -2. Prerequisites: ----- +## 2. Prerequisites: + * Users should be very familiar with the topics covered in our [getting started guide](https://playfab.com/docs/getting-started-with-playfab/). To connect to the PlayFab service, your machine must be running TLS v1.2 or better. @@ -20,8 +20,7 @@ To connect to the PlayFab service, your machine must be running TLS v1.2 or bett * [Support for SSL/TLS protocols on Windows](http://blogs.msdn.com/b/kaushal/archive/2011/10/02/support-for-ssl-tls-protocols-on-windows.aspx) -3. Example Project (UNDER CONSTRUCTION) ----- +## 3. Example Project (UNDER CONSTRUCTION) The Example project is being revised for the upcoming 1.0 release @@ -31,8 +30,8 @@ Please read about the testTitleData.json format, and purpose here: * [testTitleData.md](https://github.com/PlayFab/SDKGenerator/blob/master/JenkinsConsoleUtility/testTitleData.md) must be created and placed in the root of the example (beside index.html & PlayFabApiTest.ts), and must be named "testTitleData.json" -4. Troubleshooting: ----- +## 4. Troubleshooting: + For a complete list of available APIs, check out the [online documentation](http://api.playfab.com/Documentation/). #### Contact Us @@ -44,13 +43,13 @@ Our Developer Success Team can assist with answering any questions as well as pr [Forums, Support and Knowledge Base](https://community.playfab.com/index.html) -5. Acknowledgements ----- +## 5. Acknowledgements + [dylanh724](https://www.github.com/dylanh724) - The previous tutorial before the current [Getting Started Guide](JavaScriptGettingStarted.md) -6. Copyright and Licensing Information: ----- +## 6. Copyright and Licensing Information: + Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/ From 5e037f8d35a8f48a90f5329a1f3d95e41f1a929f Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Tue, 30 May 2017 19:04:11 +0000 Subject: [PATCH 035/253] https://api.playfab.com/releaseNotes/#170530 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 10 +++- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 10 +++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 6 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 55 +++++++++++++++--- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 57 ++++++++++++++++--- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 10 +++- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 10 +++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 6 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 55 +++++++++++++++--- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 57 ++++++++++++++++--- 14 files changed, 236 insertions(+), 56 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6154eb21..82b19011 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 633c62e0..1fa3ef98 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.ClientApi = { @@ -339,6 +339,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetPlayerProfile: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + GetPlayFabIDsFromFacebookIDs: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 0e392406..3bfa561d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ccc37b42..85f518b9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.ServerApi = { @@ -116,6 +116,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetPlayerProfile: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetPlayFabIDsFromFacebookIDs: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 994b481b..339d09e0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1701,7 +1701,7 @@ declare module PlayFabAdminModels { */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; /** @@ -1709,7 +1709,7 @@ declare module PlayFabAdminModels { */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event + / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; ExecutionTimeSeconds: number; @@ -3689,7 +3689,7 @@ declare module PlayFabAdminModels { /** / Name of the task. This is a unique identifier for tasks in the title. */ - Name?: string; + Name: string; /** / Description the task */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 16c14e75..e9776860 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -104,6 +104,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + */ + GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; /** / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs @@ -1764,7 +1769,7 @@ declare module PlayFabClientModels { */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; /** @@ -1772,7 +1777,7 @@ declare module PlayFabClientModels { */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event + / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; ExecutionTimeSeconds: number; @@ -2585,6 +2590,14 @@ declare module PlayFabClientModels { / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; + /** + / Whether to get player profile. Defaults to false. + */ + GetPlayerProfile: boolean; + /** + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + */ + ProfileConstraints?: number; } @@ -2655,6 +2668,36 @@ declare module PlayFabClientModels { / List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; + /** + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest + */ + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult + */ + export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; } @@ -2991,10 +3034,6 @@ declare module PlayFabClientModels { / Date and time of the purchase. */ PurchaseDate: string; - /** - / Array of items purchased. - */ - Items?: ItemInstance[]; } @@ -4936,9 +4975,9 @@ declare module PlayFabClientModels { */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates whether this action completed successfully. + / Deprecated: Always true */ - Updated: boolean; + Updated?: boolean; /** / The number of remaining reports which may be filed today. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f1277540..e6e08dda 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -12,6 +12,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/BanUsers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + */ + GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; /** / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs @@ -1720,7 +1725,7 @@ declare module PlayFabServerModels { */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; /** @@ -1728,7 +1733,7 @@ declare module PlayFabServerModels { */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event + / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; ExecutionTimeSeconds: number; @@ -2419,6 +2424,14 @@ declare module PlayFabServerModels { / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; + /** + / Whether to get player profile. Defaults to false. + */ + GetPlayerProfile: boolean; + /** + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + */ + ProfileConstraints?: number; } @@ -2489,6 +2502,36 @@ declare module PlayFabServerModels { / List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; + /** + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest + */ + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult + */ + export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; } @@ -4179,13 +4222,9 @@ declare module PlayFabServerModels { */ ReporterId: string; /** - / PlayFabId of the reported player. + / Unique PlayFab identifier of the reported player. */ ReporteeId: string; - /** - / Title player was reported in, optional if report not for specific title. - */ - TitleId?: string; /** / Optional additional comment by reporting player. */ @@ -4198,9 +4237,9 @@ declare module PlayFabServerModels { */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates whether this action completed successfully. + / Deprecated: Always true */ - Updated: boolean; + Updated?: boolean; /** / The number of remaining reports which may be filed today by this reporting player. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6154eb21..82b19011 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 633c62e0..1fa3ef98 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.ClientApi = { @@ -339,6 +339,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetPlayerProfile: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + GetPlayFabIDsFromFacebookIDs: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 0e392406..3bfa561d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ccc37b42..85f518b9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.5.170508"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.6.170530"; PlayFab.ServerApi = { @@ -116,6 +116,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + GetPlayerProfile: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetPlayFabIDsFromFacebookIDs: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 994b481b..339d09e0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1701,7 +1701,7 @@ declare module PlayFabAdminModels { */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; /** @@ -1709,7 +1709,7 @@ declare module PlayFabAdminModels { */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event + / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; ExecutionTimeSeconds: number; @@ -3689,7 +3689,7 @@ declare module PlayFabAdminModels { /** / Name of the task. This is a unique identifier for tasks in the title. */ - Name?: string; + Name: string; /** / Description the task */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 16c14e75..e9776860 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -104,6 +104,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + */ + GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; /** / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs @@ -1764,7 +1769,7 @@ declare module PlayFabClientModels { */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; /** @@ -1772,7 +1777,7 @@ declare module PlayFabClientModels { */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event + / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; ExecutionTimeSeconds: number; @@ -2585,6 +2590,14 @@ declare module PlayFabClientModels { / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; + /** + / Whether to get player profile. Defaults to false. + */ + GetPlayerProfile: boolean; + /** + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + */ + ProfileConstraints?: number; } @@ -2655,6 +2668,36 @@ declare module PlayFabClientModels { / List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; + /** + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest + */ + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult + */ + export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; } @@ -2991,10 +3034,6 @@ declare module PlayFabClientModels { / Date and time of the purchase. */ PurchaseDate: string; - /** - / Array of items purchased. - */ - Items?: ItemInstance[]; } @@ -4936,9 +4975,9 @@ declare module PlayFabClientModels { */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates whether this action completed successfully. + / Deprecated: Always true */ - Updated: boolean; + Updated?: boolean; /** / The number of remaining reports which may be filed today. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f1277540..e6e08dda 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -12,6 +12,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/BanUsers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + */ + GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; /** / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs @@ -1720,7 +1725,7 @@ declare module PlayFabServerModels { */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event + / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; /** @@ -1728,7 +1733,7 @@ declare module PlayFabServerModels { */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event + / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; ExecutionTimeSeconds: number; @@ -2419,6 +2424,14 @@ declare module PlayFabServerModels { / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; + /** + / Whether to get player profile. Defaults to false. + */ + GetPlayerProfile: boolean; + /** + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + */ + ProfileConstraints?: number; } @@ -2489,6 +2502,36 @@ declare module PlayFabServerModels { / List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; + /** + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest + */ + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + */ + ProfileConstraints?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult + */ + export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; } @@ -4179,13 +4222,9 @@ declare module PlayFabServerModels { */ ReporterId: string; /** - / PlayFabId of the reported player. + / Unique PlayFab identifier of the reported player. */ ReporteeId: string; - /** - / Title player was reported in, optional if report not for specific title. - */ - TitleId?: string; /** / Optional additional comment by reporting player. */ @@ -4198,9 +4237,9 @@ declare module PlayFabServerModels { */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates whether this action completed successfully. + / Deprecated: Always true */ - Updated: boolean; + Updated?: boolean; /** / The number of remaining reports which may be filed today by this reporting player. */ From bf8cfb0420bada7024304171133c8854284d40ee Mon Sep 17 00:00:00 2001 From: pgilmorepf Date: Thu, 1 Jun 2017 12:33:19 -0700 Subject: [PATCH 036/253] Fix broken link in README.mdFix broken link in README.md Summary: Fix broken link in README.mdFix broken link in README.md Test Plan: None Reviewers: bvanous Maniphest Tasks: T3051 Differential Revision: https://phab.playfabdev.com/D3922 --- README.md | 4 ++-- TypeScriptGettingStarted.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b7d46a11..ef02aee4 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,14 @@ JavaScriptSDK for the Client API of PlayFab -This SDK can alternatively be used via our CDN. Additional details can be found [here](https://playfab.com/playfab-now-serving-javascript-sdk-via-cdn/). +This SDK can alternatively be used via our CDN. Additional details can be found [here](https://blog.playfab.com/blog/playfab-now-serving-javascript-sdk-via-cdn). If you want to start coding right away, check out our [JavaScript Getting Started Guide](JavaScriptGettingStarted.md) ## 2. Prerequisites: -* Users should be very familiar with the topics covered in our [getting started guide](https://playfab.com/docs/getting-started-with-playfab/). +* Users should be very familiar with the topics covered in our [getting started guide](https://api.playfab.com/docs/general-getting-started). To connect to the PlayFab service, your machine must be running TLS v1.2 or better. * For Windows, this means Windows 7 and above diff --git a/TypeScriptGettingStarted.md b/TypeScriptGettingStarted.md index 6e636627..8d6ce77f 100644 --- a/TypeScriptGettingStarted.md +++ b/TypeScriptGettingStarted.md @@ -118,7 +118,7 @@ The HTML file has a few important lines: ``` -This line loads the Client-SDK from the local PlayFabSDK file. The latest version of this file is also available from [our CDN](https://download.playfab.com/PlayFabClientApi.js). For more information read our [CDN blog post](https://playfab.com/playfab-now-serving-javascript-sdk-via-cdn/). +This line loads the Client-SDK from the local PlayFabSDK file. The latest version of this file is also available from [our CDN](https://download.playfab.com/PlayFabClientApi.js). For more information read our [CDN blog post](https://blog.playfab.com/blog/playfab-now-serving-javascript-sdk-via-cdn/). The other important HTML lines: ```HTML From c120b5c9135ceabffa26111bede2b3704003e3bd Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 12 Jun 2017 20:22:18 +0000 Subject: [PATCH 037/253] https://api.playfab.com/releaseNotes/#170612 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 76 +++++++------- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 16 +-- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 98 +++++++++---------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 44 ++++----- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 76 +++++++------- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 16 +-- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 98 +++++++++---------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 44 ++++----- 12 files changed, 242 insertions(+), 242 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 82b19011..842b4b16 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1fa3ef98..fd7322b6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.ClientApi = { @@ -752,24 +752,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - RegisterForIOSPushNotification: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - - RestoreIOSPurchases: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - - ValidateIOSReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - GetCurrentGames: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -794,18 +776,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - AndroidDevicePushNotificationRegistration: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - - ValidateGooglePlayPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - WriteCharacterEvent: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -926,12 +896,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - ValidateAmazonIAPReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - AcceptTrade: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -987,6 +951,42 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + AndroidDevicePushNotificationRegistration: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RegisterForIOSPushNotification: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RestoreIOSPurchases: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateAmazonIAPReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateGooglePlayPurchase: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateIOSReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + ValidateWindowsStoreReceipt: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 3bfa561d..017b7e9a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 85f518b9..7890016a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.ServerApi = { @@ -554,12 +554,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, - AwardSteamAchievement: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); - }, - WriteCharacterEvent: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -751,6 +745,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + + AwardSteamAchievement: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, }; var PlayFabServerSDK = PlayFab.ServerApi; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index e9776860..a0c389b9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -449,21 +449,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/SetFriendTags */ SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Registers the iOS device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification - */ - RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Restores all in-app purchases based on the given restore receipt - / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases - */ - RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt - */ - ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** / Get details about all current running game servers matching the given parameters. / https://api.playfab.com/Documentation/Client/method/GetCurrentGames @@ -484,16 +469,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/StartGame */ StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Registers the Android device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration - */ - AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Validates a Google Play purchase and gives the corresponding item to the player. - / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase - */ - ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; /** / Writes a character-based event into PlayStream. / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent @@ -594,11 +569,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt - */ - ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. / https://api.playfab.com/Documentation/Client/method/AcceptTrade @@ -639,6 +609,36 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the Android device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + */ + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the iOS device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + */ + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Restores all in-app purchases based on the given restore receipt + / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + */ + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + */ + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates a Google Play purchase and gives the corresponding item to the player. + / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + */ + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + */ + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt @@ -2247,7 +2247,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2305,7 +2305,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2396,7 +2396,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2472,7 +2472,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2684,7 +2684,7 @@ declare module PlayFabClientModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -3334,7 +3334,7 @@ declare module PlayFabClientModels { */ ItemId: string; /** - / Non-unique display name of the character being granted. + / Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; @@ -4485,11 +4485,11 @@ declare module PlayFabClientModels { */ PublisherId?: string; /** - / Title ID this profile applies to + / Title ID this player profile applies to */ TitleId?: string; /** - / PlayFab Player ID + / PlayFab player account unique identifier */ PlayerId?: string; /** @@ -4501,7 +4501,7 @@ declare module PlayFabClientModels { */ Origination?: string; /** - / Last login + / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** @@ -4509,15 +4509,15 @@ declare module PlayFabClientModels { */ BannedUntil?: string; /** - / List of geographic locations where the player has logged-in + / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player Display Name + / Player display name */ DisplayName?: string; /** - / Image URL of the player's avatar + / URL of the player's avatar image */ AvatarUrl?: string; /** @@ -4529,7 +4529,7 @@ declare module PlayFabClientModels { */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of third party accounts linked to this player + / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; /** @@ -4537,15 +4537,15 @@ declare module PlayFabClientModels { */ AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent + / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** - / List of player's total lifetime real-money purchases by currency + / List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; /** - / List of player's virtual currency balances + / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; /** @@ -4817,7 +4817,7 @@ declare module PlayFabClientModels { */ RequireBothUsernameAndEmail?: boolean; /** - / An optional parameter for setting the display name for this title. + / An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; /** @@ -6337,11 +6337,11 @@ declare module PlayFabClientModels { */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e6e08dda..1a79d384 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -377,11 +377,6 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags */ SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Awards the specified users the specified Steam achievements - / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement - */ - AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; /** / Writes a character-based event into PlayStream. / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent @@ -542,6 +537,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag */ RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Awards the specified users the specified Steam achievements + / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + */ + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; } } @@ -2149,7 +2149,7 @@ declare module PlayFabServerModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2240,7 +2240,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; /** @@ -2320,7 +2320,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; /** @@ -2518,7 +2518,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -3017,7 +3017,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / Non-unique display name of the character being granted. + / Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; /** @@ -3779,11 +3779,11 @@ declare module PlayFabServerModels { */ PublisherId?: string; /** - / Title ID this profile applies to + / Title ID this player profile applies to */ TitleId?: string; /** - / PlayFab Player ID + / PlayFab player account unique identifier */ PlayerId?: string; /** @@ -3795,7 +3795,7 @@ declare module PlayFabServerModels { */ Origination?: string; /** - / Last login + / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** @@ -3803,15 +3803,15 @@ declare module PlayFabServerModels { */ BannedUntil?: string; /** - / List of geographic locations where the player has logged-in + / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player Display Name + / Player display name */ DisplayName?: string; /** - / Image URL of the player's avatar + / URL of the player's avatar image */ AvatarUrl?: string; /** @@ -3823,7 +3823,7 @@ declare module PlayFabServerModels { */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of third party accounts linked to this player + / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; /** @@ -3831,15 +3831,15 @@ declare module PlayFabServerModels { */ AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent + / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** - / List of player's total lifetime real-money purchases by currency + / List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; /** - / List of player's virtual currency balances + / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; /** @@ -5385,11 +5385,11 @@ declare module PlayFabServerModels { */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 82b19011..842b4b16 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1fa3ef98..fd7322b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.ClientApi = { @@ -752,24 +752,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - RegisterForIOSPushNotification: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - - RestoreIOSPurchases: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - - ValidateIOSReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - GetCurrentGames: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -794,18 +776,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - AndroidDevicePushNotificationRegistration: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - - ValidateGooglePlayPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - WriteCharacterEvent: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -926,12 +896,6 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, - ValidateAmazonIAPReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); - }, - AcceptTrade: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; @@ -987,6 +951,42 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + AndroidDevicePushNotificationRegistration: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RegisterForIOSPushNotification: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + RestoreIOSPurchases: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateAmazonIAPReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateGooglePlayPurchase: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + + ValidateIOSReceipt: function (request, callback) { + if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + ValidateWindowsStoreReceipt: function (request, callback) { if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 3bfa561d..017b7e9a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 85f518b9..7890016a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -99,8 +99,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.6.170530"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.7.170612"; PlayFab.ServerApi = { @@ -554,12 +554,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, - AwardSteamAchievement: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); - }, - WriteCharacterEvent: function (request, callback) { if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; @@ -751,6 +745,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + + AwardSteamAchievement: function (request, callback) { + if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, }; var PlayFabServerSDK = PlayFab.ServerApi; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index e9776860..a0c389b9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -449,21 +449,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/SetFriendTags */ SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Registers the iOS device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification - */ - RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Restores all in-app purchases based on the given restore receipt - / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases - */ - RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt - */ - ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** / Get details about all current running game servers matching the given parameters. / https://api.playfab.com/Documentation/Client/method/GetCurrentGames @@ -484,16 +469,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/StartGame */ StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Registers the Android device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration - */ - AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Validates a Google Play purchase and gives the corresponding item to the player. - / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase - */ - ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; /** / Writes a character-based event into PlayStream. / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent @@ -594,11 +569,6 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt - */ - ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. / https://api.playfab.com/Documentation/Client/method/AcceptTrade @@ -639,6 +609,36 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the Android device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + */ + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Registers the iOS device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + */ + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Restores all in-app purchases based on the given restore receipt + / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + */ + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + */ + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates a Google Play purchase and gives the corresponding item to the player. + / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + */ + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item + / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + */ + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; /** / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt @@ -2247,7 +2247,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2305,7 +2305,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2396,7 +2396,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2472,7 +2472,7 @@ declare module PlayFabClientModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2684,7 +2684,7 @@ declare module PlayFabClientModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -3334,7 +3334,7 @@ declare module PlayFabClientModels { */ ItemId: string; /** - / Non-unique display name of the character being granted. + / Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; @@ -4485,11 +4485,11 @@ declare module PlayFabClientModels { */ PublisherId?: string; /** - / Title ID this profile applies to + / Title ID this player profile applies to */ TitleId?: string; /** - / PlayFab Player ID + / PlayFab player account unique identifier */ PlayerId?: string; /** @@ -4501,7 +4501,7 @@ declare module PlayFabClientModels { */ Origination?: string; /** - / Last login + / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** @@ -4509,15 +4509,15 @@ declare module PlayFabClientModels { */ BannedUntil?: string; /** - / List of geographic locations where the player has logged-in + / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player Display Name + / Player display name */ DisplayName?: string; /** - / Image URL of the player's avatar + / URL of the player's avatar image */ AvatarUrl?: string; /** @@ -4529,7 +4529,7 @@ declare module PlayFabClientModels { */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of third party accounts linked to this player + / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; /** @@ -4537,15 +4537,15 @@ declare module PlayFabClientModels { */ AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent + / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** - / List of player's total lifetime real-money purchases by currency + / List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; /** - / List of player's virtual currency balances + / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; /** @@ -4817,7 +4817,7 @@ declare module PlayFabClientModels { */ RequireBothUsernameAndEmail?: boolean; /** - / An optional parameter for setting the display name for this title. + / An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; /** @@ -6337,11 +6337,11 @@ declare module PlayFabClientModels { */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e6e08dda..1a79d384 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -377,11 +377,6 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags */ SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Awards the specified users the specified Steam achievements - / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement - */ - AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; /** / Writes a character-based event into PlayStream. / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent @@ -542,6 +537,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag */ RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Awards the specified users the specified Steam achievements + / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + */ + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; } } @@ -2149,7 +2149,7 @@ declare module PlayFabServerModels { */ UseSpecificVersion?: boolean; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -2240,7 +2240,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; /** @@ -2320,7 +2320,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; /** @@ -2518,7 +2518,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. On client, only ShowDisplayName, ShowStatistics, ShowAvatarUrl are allowed. + / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ ProfileConstraints?: number; @@ -3017,7 +3017,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / Non-unique display name of the character being granted. + / Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; /** @@ -3779,11 +3779,11 @@ declare module PlayFabServerModels { */ PublisherId?: string; /** - / Title ID this profile applies to + / Title ID this player profile applies to */ TitleId?: string; /** - / PlayFab Player ID + / PlayFab player account unique identifier */ PlayerId?: string; /** @@ -3795,7 +3795,7 @@ declare module PlayFabServerModels { */ Origination?: string; /** - / Last login + / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** @@ -3803,15 +3803,15 @@ declare module PlayFabServerModels { */ BannedUntil?: string; /** - / List of geographic locations where the player has logged-in + / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player Display Name + / Player display name */ DisplayName?: string; /** - / Image URL of the player's avatar + / URL of the player's avatar image */ AvatarUrl?: string; /** @@ -3823,7 +3823,7 @@ declare module PlayFabServerModels { */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of third party accounts linked to this player + / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; /** @@ -3831,15 +3831,15 @@ declare module PlayFabServerModels { */ AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / A sum of player's total purchases across all real-money currencies, converted to US Dollars equivalent + / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** - / List of player's total lifetime real-money purchases by currency + / List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; /** - / List of player's virtual currency balances + / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; /** @@ -5385,11 +5385,11 @@ declare module PlayFabServerModels { */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units (e.g. '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD')) + / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; From c0cd7bd9c9b9926c00917f4c8e8e0007982da846 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 10 Jul 2017 21:11:27 +0000 Subject: [PATCH 038/253] https://api.playfab.com/releaseNotes/#170710 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 221 ++++++++------ PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 270 +++++++++--------- .../src/PlayFab/PlayFabMatchmakerApi.js | 17 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 229 ++++++++------- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 154 ++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 82 ++++-- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 6 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 88 ++++-- .../src/PlayFab/PlayFabAdminApi.js | 221 ++++++++------ .../src/PlayFab/PlayFabClientApi.js | 270 +++++++++--------- .../src/PlayFab/PlayFabMatchmakerApi.js | 17 +- .../src/PlayFab/PlayFabServerApi.js | 229 ++++++++------- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 154 ++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 82 ++++-- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 6 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 88 ++++-- 16 files changed, 1380 insertions(+), 754 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 842b4b16..953a2541 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,559 +102,589 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.AdminApi = { + CreatePlayerSharedSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeletePlayerSharedSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerSharedSecrets: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetPolicy: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetPlayerSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdatePlayerSharedSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + UpdatePolicy: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, BanUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserAccountInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResetUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeAllBansForUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SendAccountRecoveryEmail: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserTitleDisplayName: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreatePlayerStatisticDefinition: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetDataReport: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatisticDefinitions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatisticVersions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, IncrementPlayerStatisticVersion: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RefundPurchase: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResetUserStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResolvePurchaseDispute: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdatePlayerStatisticDefinition: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddNews: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddVirtualCurrencyTypes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteStore: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetRandomResultTables: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetStoreItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ListVirtualCurrencyTypes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveVirtualCurrencyTypes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetStoreItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetupPushNotification: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateRandomResultTables: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateStoreItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInventory: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeInventoryItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SubtractUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetMatchmakerGameInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetMatchmakerGameModes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ModifyMatchmakerGameModes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddServerBuild: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetServerBuildInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetServerBuildUploadUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ListServerBuilds: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ModifyServerBuild: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveServerBuild: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCloudScriptRevision: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCloudScriptVersions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetPublishedRevision: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCloudScript: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteContent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetContentList: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetContentUploadUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResetCharacterStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddPlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllActionGroups: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayersInSegment: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemovePlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AbortTaskInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreateActionsOnPlayersInSegmentTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreateCloudScriptTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCloudScriptTaskInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTaskInstances: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTasks: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RunTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index fd7322b6..289cad6b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.ClientApi = { @@ -109,18 +112,23 @@ PlayFab.ClientApi = { }, GetPhotonAuthenticationToken: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetTitlePublicKey: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback); + }, + GetWindowsHelloChallenge: function (request, callback) { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); }, LoginWithAndroidDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -134,7 +142,7 @@ PlayFab.ClientApi = { }, LoginWithCustomID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -148,7 +156,7 @@ PlayFab.ClientApi = { }, LoginWithEmailAddress: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -162,7 +170,7 @@ PlayFab.ClientApi = { }, LoginWithFacebook: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -176,7 +184,7 @@ PlayFab.ClientApi = { }, LoginWithGameCenter: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -190,7 +198,7 @@ PlayFab.ClientApi = { }, LoginWithGoogleAccount: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -204,7 +212,7 @@ PlayFab.ClientApi = { }, LoginWithIOSDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -218,7 +226,7 @@ PlayFab.ClientApi = { }, LoginWithKongregate: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -232,7 +240,7 @@ PlayFab.ClientApi = { }, LoginWithPlayFab: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -246,7 +254,7 @@ PlayFab.ClientApi = { }, LoginWithSteam: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -260,7 +268,7 @@ PlayFab.ClientApi = { }, LoginWithTwitch: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -274,7 +282,7 @@ PlayFab.ClientApi = { }, LoginWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -288,7 +296,7 @@ PlayFab.ClientApi = { }, RegisterPlayFabUser: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -302,7 +310,7 @@ PlayFab.ClientApi = { }, RegisterWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -315,146 +323,152 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, + SetPlayerSecret: function (request, callback) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + AddGenericID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddUsernamePassword: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetAccountInfo: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerCombinedInfo: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerProfile: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromFacebookIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromGameCenterIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromGenericIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromGoogleIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromKongregateIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromSteamIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromTwitchIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkAndroidDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkCustomID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkFacebookAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkGameCenterAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkGoogleAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkIOSDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkKongregate: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkSteamAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkTwitch: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkWindowsHello: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveGenericID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ReportPlayer: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, @@ -465,469 +479,469 @@ PlayFab.ClientApi = { }, UnlinkAndroidDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkCustomID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkFacebookAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkGameCenterAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkGoogleAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkIOSDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkKongregate: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkSteamAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkTwitch: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkWindowsHello: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateAvatarUrl: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateUserTitleDisplayName: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetFriendLeaderboard: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetFriendLeaderboardAroundPlayer: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboard: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboardAroundPlayer: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerStatisticVersions: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserPublisherData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserReadOnlyData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdatePlayerStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateUserData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateUserPublisherData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCatalogItems: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPublisherData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetStoreItems: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTime: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTitleData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTitleNews: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddUserVirtualCurrency: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ConfirmPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ConsumeItem: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterInventory: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserInventory: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, PayForPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, PurchaseItem: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RedeemCoupon: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, StartPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, SubtractUserVirtualCurrency: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlockContainerInstance: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlockContainerItem: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddFriend: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetFriendsList: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveFriend: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, SetFriendTags: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCurrentGames: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetGameServerRegions: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, Matchmake: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, StartGame: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, WriteCharacterEvent: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, WritePlayerEvent: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, WriteTitleEvent: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddSharedGroupMembers: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, CreateSharedGroup: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetSharedGroupData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveSharedGroupMembers: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateSharedGroupData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ExecuteCloudScript: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetContentDownloadUrl: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetAllUsersCharacters: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterLeaderboard: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboardAroundCharacter: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboardForUserCharacters: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GrantCharacterToUser: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateCharacterStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterReadOnlyData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateCharacterData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AcceptTrade: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, CancelTrade: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerTrades: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTradeStatus: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, OpenTrade: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AttributeInstall: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; var overloadCallback = function (result, error) { // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully @@ -940,55 +954,55 @@ PlayFab.ClientApi = { }, GetPlayerSegments: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerTags: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AndroidDevicePushNotificationRegistration: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RegisterForIOSPushNotification: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RestoreIOSPurchases: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateAmazonIAPReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateGooglePlayPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateIOSReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateWindowsStoreReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 017b7e9a..16828f93 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,37 +102,37 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.MatchmakerApi = { AuthUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, PlayerJoined: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, PlayerLeft: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, StartGame: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UserInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7890016a..7612060e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,655 +102,661 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.ServerApi = { AuthenticateSessionTicket: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetPlayerSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + BanUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerProfile: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayFabIDsFromFacebookIDs: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayFabIDsFromSteamIDs: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserAccountInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeAllBansForUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SendPushNotification: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateAvatarUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetFriendLeaderboard: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboard: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboardAroundUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerCombinedInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatisticVersions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdatePlayerStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTime: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleNews: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddCharacterVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ConsumeItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, EvaluateRandomResultTable: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterInventory: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetRandomResultTables: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInventory: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ModifyItemUses: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, MoveItemToCharacterFromCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, MoveItemToCharacterFromUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, MoveItemToUserFromCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RedeemCoupon: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ReportPlayer: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeInventoryItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SubtractCharacterVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SubtractUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UnlockContainerInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UnlockContainerItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserInventoryItemCustomData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddFriend: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetFriendsList: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveFriend: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetFriendTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeregisterGame: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, NotifyMatchmakerPlayerLeft: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RedeemMatchmakerTicket: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RefreshGameServerInstanceHeartbeat: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RegisterGame: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetGameServerInstanceData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetGameServerInstanceState: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetGameServerInstanceTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, WriteCharacterEvent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, WritePlayerEvent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, WriteTitleEvent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddSharedGroupMembers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreateSharedGroup: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteSharedGroup: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetSharedGroupData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveSharedGroupMembers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateSharedGroupData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ExecuteCloudScript: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetContentDownloadUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteCharacterFromUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllUsersCharacters: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterLeaderboard: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboardAroundCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboardForUserCharacters: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantCharacterToUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddPlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllActionGroups: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayersInSegment: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemovePlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AwardSteamAchievement: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 339d09e0..3c4882ff 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2,11 +2,36 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { + /** + / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret + */ + CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. + / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + */ + DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns all Player Shared Secret Keys including disabled and expired. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + */ + GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback): void; /** / Gets the requested policy. / https://api.playfab.com/Documentation/Admin/method/GetPolicy */ GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets or resets the player's secret. Player secrets are used to sign API requests. + / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + */ + UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; /** / Changes a policy for a title / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy @@ -1404,6 +1429,28 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest + */ + export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Friendly name for this key + */ + FriendlyName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult + */ + export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The player shared secret to use when calling Client/GetTitlePublicKey + */ + SecretKey?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ @@ -1619,6 +1666,24 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest + */ + export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The shared secret key to delete + */ + SecretKey?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult + */ + export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ @@ -2106,6 +2171,24 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest + */ + export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult + */ + export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The player shared secret to use when calling Client/GetTitlePublicKey + */ + SharedSecrets?: SharedSecret[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ @@ -3352,6 +3435,10 @@ declare module PlayFabAdminModels { } + type PushSetupPlatform = "GCM" + | "APNS" + | "APNS_SANDBOX"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ @@ -3761,6 +3848,28 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest + */ + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult + */ + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ @@ -3865,6 +3974,25 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret + */ + export interface SharedSecret { + /** + / The player shared secret to use when calling Client/GetTitlePublicKey + */ + SecretKey?: string; + /** + / Friendly name for this key + */ + FriendlyName?: string; + /** + / Flag to indicate if this key is disabled + */ + Disabled: boolean; + + } + type SourceType = "Admin" | "BackEnd" | "GameClient" @@ -4132,6 +4260,32 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest + */ + export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The shared secret key to update + */ + SecretKey?: string; + /** + / Friendly name for this key + */ + FriendlyName?: string; + /** + / Disable or Enable this key + */ + Disabled: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult + */ + export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index a0c389b9..6c0cadde 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -9,6 +9,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns the title's base 64 encoded RSA CSP blob. + / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey + */ + GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback): void; /** / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge @@ -84,6 +89,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; /** / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. / https://api.playfab.com/Documentation/Client/method/AddGenericID @@ -2239,13 +2249,9 @@ declare module PlayFabClientModels { */ IncludeFacebookFriends?: boolean; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2297,13 +2303,9 @@ declare module PlayFabClientModels { */ IncludeFacebookFriends?: boolean; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2388,13 +2390,9 @@ declare module PlayFabClientModels { */ MaxResultsCount?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2464,13 +2462,9 @@ declare module PlayFabClientModels { */ MaxResultsCount?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -3194,6 +3188,32 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest + */ + export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / The shared secret key for this title + */ + TitleSharedSecret: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult + */ + export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Base64 encoded RSA CSP byte array blob containing the title's public RSA key + */ + RSAPublicKey?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ @@ -5066,6 +5086,28 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest + */ + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + */ + EncryptedRequest?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult + */ + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 81067299..309c9be4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -199,6 +199,10 @@ declare module PlayFabMatchmakerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Previous lobby id if re-registering an existing game. + */ + LobbyId?: string; /** / IP address of the Game Server Instance. */ @@ -231,7 +235,7 @@ declare module PlayFabMatchmakerModels { */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. + / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 1a79d384..ffae549f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -7,6 +7,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket */ AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; /** / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. / https://api.playfab.com/Documentation/Server/method/BanUsers @@ -2141,13 +2146,9 @@ declare module PlayFabServerModels { */ IncludeFacebookFriends?: boolean; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2244,13 +2245,9 @@ declare module PlayFabServerModels { */ ProfileConstraints?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; } @@ -2324,13 +2321,9 @@ declare module PlayFabServerModels { */ ProfileConstraints?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; } @@ -3966,6 +3959,37 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage + */ + export interface PushNotificationPackage { + /** + / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. + */ + ScheduleDate?: string; + /** + / Title/Subject of the message + */ + Title: string; + /** + / Content of the message + */ + Message: string; + /** + / Icon file to display with the message + */ + Icon?: string; + /** + / Sound file to play with the message + */ + Sound?: string; + /** + / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object + */ + CustomData?: string; + + } + type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; @@ -4116,6 +4140,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Previous lobby id if re-registering an existing game. + */ + LobbyId?: string; /** / IP address of the Game Server Instance. */ @@ -4148,7 +4176,7 @@ declare module PlayFabServerModels { */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. + / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; @@ -4369,7 +4397,11 @@ declare module PlayFabServerModels { /** / Text of message to send. */ - Message: string; + Message?: string; + /** + / Defines all possible push attributes like message, title, icon, etc + */ + Package?: PushNotificationPackage; /** / Subject of message to send (may not be displayed in all platforms. */ @@ -4469,6 +4501,28 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest + */ + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult + */ + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 842b4b16..953a2541 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,559 +102,589 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.AdminApi = { + CreatePlayerSharedSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + DeletePlayerSharedSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + GetPlayerSharedSecrets: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetPolicy: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetPlayerSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + + UpdatePlayerSharedSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + UpdatePolicy: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, BanUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserAccountInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResetUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeAllBansForUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SendAccountRecoveryEmail: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserTitleDisplayName: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreatePlayerStatisticDefinition: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetDataReport: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatisticDefinitions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatisticVersions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, IncrementPlayerStatisticVersion: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RefundPurchase: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResetUserStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResolvePurchaseDispute: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdatePlayerStatisticDefinition: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddNews: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddVirtualCurrencyTypes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteStore: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetRandomResultTables: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetStoreItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ListVirtualCurrencyTypes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveVirtualCurrencyTypes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetStoreItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetupPushNotification: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateRandomResultTables: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateStoreItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInventory: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeInventoryItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SubtractUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetMatchmakerGameInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetMatchmakerGameModes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ModifyMatchmakerGameModes: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddServerBuild: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetServerBuildInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetServerBuildUploadUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ListServerBuilds: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ModifyServerBuild: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveServerBuild: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCloudScriptRevision: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCloudScriptVersions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetPublishedRevision: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCloudScript: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteContent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetContentList: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetContentUploadUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ResetCharacterStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddPlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllActionGroups: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayersInSegment: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemovePlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AbortTaskInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreateActionsOnPlayersInSegmentTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreateCloudScriptTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCloudScriptTaskInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTaskInstances: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTasks: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RunTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateTask: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index fd7322b6..289cad6b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.ClientApi = { @@ -109,18 +112,23 @@ PlayFab.ClientApi = { }, GetPhotonAuthenticationToken: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, + GetTitlePublicKey: function (request, callback) { + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback); + }, + GetWindowsHelloChallenge: function (request, callback) { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); }, LoginWithAndroidDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -134,7 +142,7 @@ PlayFab.ClientApi = { }, LoginWithCustomID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -148,7 +156,7 @@ PlayFab.ClientApi = { }, LoginWithEmailAddress: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -162,7 +170,7 @@ PlayFab.ClientApi = { }, LoginWithFacebook: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -176,7 +184,7 @@ PlayFab.ClientApi = { }, LoginWithGameCenter: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -190,7 +198,7 @@ PlayFab.ClientApi = { }, LoginWithGoogleAccount: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -204,7 +212,7 @@ PlayFab.ClientApi = { }, LoginWithIOSDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -218,7 +226,7 @@ PlayFab.ClientApi = { }, LoginWithKongregate: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -232,7 +240,7 @@ PlayFab.ClientApi = { }, LoginWithPlayFab: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -246,7 +254,7 @@ PlayFab.ClientApi = { }, LoginWithSteam: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -260,7 +268,7 @@ PlayFab.ClientApi = { }, LoginWithTwitch: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -274,7 +282,7 @@ PlayFab.ClientApi = { }, LoginWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -288,7 +296,7 @@ PlayFab.ClientApi = { }, RegisterPlayFabUser: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -302,7 +310,7 @@ PlayFab.ClientApi = { }, RegisterWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId != null ? PlayFab.settings.titleId : request.TitleId; if (request.TitleId == null) throw "Must be have PlayFab.settings.titleId set to call this method"; + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { @@ -315,146 +323,152 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, + SetPlayerSecret: function (request, callback) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + }, + AddGenericID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddUsernamePassword: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetAccountInfo: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerCombinedInfo: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerProfile: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromFacebookIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromGameCenterIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromGenericIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromGoogleIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromKongregateIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromSteamIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayFabIDsFromTwitchIDs: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkAndroidDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkCustomID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkFacebookAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkGameCenterAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkGoogleAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkIOSDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkKongregate: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkSteamAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkTwitch: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, LinkWindowsHello: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveGenericID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ReportPlayer: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, @@ -465,469 +479,469 @@ PlayFab.ClientApi = { }, UnlinkAndroidDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkCustomID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkFacebookAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkGameCenterAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkGoogleAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkIOSDeviceID: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkKongregate: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkSteamAccount: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkTwitch: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlinkWindowsHello: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateAvatarUrl: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateUserTitleDisplayName: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetFriendLeaderboard: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetFriendLeaderboardAroundPlayer: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboard: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboardAroundPlayer: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerStatisticVersions: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserPublisherData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserReadOnlyData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdatePlayerStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateUserData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateUserPublisherData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCatalogItems: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPublisherData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetStoreItems: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTime: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTitleData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTitleNews: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddUserVirtualCurrency: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ConfirmPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ConsumeItem: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterInventory: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetUserInventory: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, PayForPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, PurchaseItem: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RedeemCoupon: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, StartPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, SubtractUserVirtualCurrency: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlockContainerInstance: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UnlockContainerItem: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddFriend: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetFriendsList: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveFriend: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, SetFriendTags: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCurrentGames: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetGameServerRegions: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, Matchmake: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, StartGame: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, WriteCharacterEvent: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, WritePlayerEvent: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, WriteTitleEvent: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AddSharedGroupMembers: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, CreateSharedGroup: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetSharedGroupData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RemoveSharedGroupMembers: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateSharedGroupData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ExecuteCloudScript: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetContentDownloadUrl: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetAllUsersCharacters: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterLeaderboard: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboardAroundCharacter: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetLeaderboardForUserCharacters: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GrantCharacterToUser: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateCharacterStatistics: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetCharacterReadOnlyData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, UpdateCharacterData: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AcceptTrade: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, CancelTrade: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerTrades: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetTradeStatus: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, OpenTrade: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AttributeInstall: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; var overloadCallback = function (result, error) { // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully @@ -940,55 +954,55 @@ PlayFab.ClientApi = { }, GetPlayerSegments: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, GetPlayerTags: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, AndroidDevicePushNotificationRegistration: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RegisterForIOSPushNotification: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, RestoreIOSPurchases: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateAmazonIAPReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateGooglePlayPurchase: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateIOSReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, ValidateWindowsStoreReceipt: function (request, callback) { - if (PlayFab._internalSettings.sessionTicket == null) throw "Must be logged in to call this method"; + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 017b7e9a..16828f93 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,37 +102,37 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.MatchmakerApi = { AuthUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, PlayerJoined: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, PlayerLeft: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, StartGame: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UserInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7890016a..7612060e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,6 +21,9 @@ if(!PlayFab._internalSettings) { PlayFab._internalSettings = { sessionTicket: null, productionServerUrl: ".playfabapi.com", + errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", + errorLoggedIn: "Must be logged in to call this method", + errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; @@ -99,655 +102,661 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.7.170612"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.8.170710"; PlayFab.ServerApi = { AuthenticateSessionTicket: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + SetPlayerSecret: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + BanUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerProfile: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayFabIDsFromFacebookIDs: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayFabIDsFromSteamIDs: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserAccountInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeAllBansForUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SendPushNotification: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateAvatarUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateBans: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetFriendLeaderboard: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboard: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboardAroundUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerCombinedInfo: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerStatisticVersions: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdatePlayerStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserPublisherReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCatalogItems: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTime: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetTitleNews: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetPublisherData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetTitleInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddCharacterVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ConsumeItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, EvaluateRandomResultTable: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterInventory: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetRandomResultTables: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetUserInventory: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantItemsToUsers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ModifyItemUses: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, MoveItemToCharacterFromCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, MoveItemToCharacterFromUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, MoveItemToUserFromCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RedeemCoupon: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ReportPlayer: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RevokeInventoryItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SubtractCharacterVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SubtractUserVirtualCurrency: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UnlockContainerInstance: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UnlockContainerItem: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateUserInventoryItemCustomData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddFriend: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetFriendsList: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveFriend: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetFriendTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeregisterGame: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, NotifyMatchmakerPlayerLeft: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RedeemMatchmakerTicket: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RefreshGameServerInstanceHeartbeat: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RegisterGame: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetGameServerInstanceData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetGameServerInstanceState: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, SetGameServerInstanceTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, WriteCharacterEvent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, WritePlayerEvent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, WriteTitleEvent: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddSharedGroupMembers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, CreateSharedGroup: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteSharedGroup: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetSharedGroupData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemoveSharedGroupMembers: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateSharedGroupData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, ExecuteCloudScript: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetContentDownloadUrl: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, DeleteCharacterFromUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllUsersCharacters: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterLeaderboard: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboardAroundCharacter: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetLeaderboardForUserCharacters: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GrantCharacterToUser: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterStatistics: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetCharacterReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterInternalData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, UpdateCharacterReadOnlyData: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AddPlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllActionGroups: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetAllSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerSegments: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayersInSegment: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, GetPlayerTags: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, RemovePlayerTag: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, AwardSteamAchievement: function (request, callback) { - if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method"; + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 339d09e0..3c4882ff 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2,11 +2,36 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { + /** + / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret + */ + CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. + / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + */ + DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns all Player Shared Secret Keys including disabled and expired. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + */ + GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback): void; /** / Gets the requested policy. / https://api.playfab.com/Documentation/Admin/method/GetPolicy */ GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets or resets the player's secret. Player secrets are used to sign API requests. + / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + /** + / 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. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + */ + UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; /** / Changes a policy for a title / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy @@ -1404,6 +1429,28 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest + */ + export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Friendly name for this key + */ + FriendlyName?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult + */ + export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The player shared secret to use when calling Client/GetTitlePublicKey + */ + SecretKey?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ @@ -1619,6 +1666,24 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest + */ + export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The shared secret key to delete + */ + SecretKey?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult + */ + export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ @@ -2106,6 +2171,24 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest + */ + export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult + */ + export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The player shared secret to use when calling Client/GetTitlePublicKey + */ + SharedSecrets?: SharedSecret[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ @@ -3352,6 +3435,10 @@ declare module PlayFabAdminModels { } + type PushSetupPlatform = "GCM" + | "APNS" + | "APNS_SANDBOX"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ @@ -3761,6 +3848,28 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest + */ + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult + */ + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ @@ -3865,6 +3974,25 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret + */ + export interface SharedSecret { + /** + / The player shared secret to use when calling Client/GetTitlePublicKey + */ + SecretKey?: string; + /** + / Friendly name for this key + */ + FriendlyName?: string; + /** + / Flag to indicate if this key is disabled + */ + Disabled: boolean; + + } + type SourceType = "Admin" | "BackEnd" | "GameClient" @@ -4132,6 +4260,32 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest + */ + export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The shared secret key to update + */ + SecretKey?: string; + /** + / Friendly name for this key + */ + FriendlyName?: string; + /** + / Disable or Enable this key + */ + Disabled: boolean; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult + */ + export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index a0c389b9..6c0cadde 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -9,6 +9,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Returns the title's base 64 encoded RSA CSP blob. + / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey + */ + GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback): void; /** / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge @@ -84,6 +89,11 @@ declare module PlayFabClientModule { / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; /** / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. / https://api.playfab.com/Documentation/Client/method/AddGenericID @@ -2239,13 +2249,9 @@ declare module PlayFabClientModels { */ IncludeFacebookFriends?: boolean; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2297,13 +2303,9 @@ declare module PlayFabClientModels { */ IncludeFacebookFriends?: boolean; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2388,13 +2390,9 @@ declare module PlayFabClientModels { */ MaxResultsCount?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2464,13 +2462,9 @@ declare module PlayFabClientModels { */ MaxResultsCount?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -3194,6 +3188,32 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest + */ + export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / 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; + /** + / The shared secret key for this title + */ + TitleSharedSecret: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult + */ + export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Base64 encoded RSA CSP byte array blob containing the title's public RSA key + */ + RSAPublicKey?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ @@ -5066,6 +5086,28 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest + */ + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + */ + EncryptedRequest?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult + */ + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 81067299..309c9be4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -199,6 +199,10 @@ declare module PlayFabMatchmakerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Previous lobby id if re-registering an existing game. + */ + LobbyId?: string; /** / IP address of the Game Server Instance. */ @@ -231,7 +235,7 @@ declare module PlayFabMatchmakerModels { */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. + / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 1a79d384..ffae549f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -7,6 +7,11 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket */ AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; /** / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. / https://api.playfab.com/Documentation/Server/method/BanUsers @@ -2141,13 +2146,9 @@ declare module PlayFabServerModels { */ IncludeFacebookFriends?: boolean; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; /** / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. */ @@ -2244,13 +2245,9 @@ declare module PlayFabServerModels { */ ProfileConstraints?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; } @@ -2324,13 +2321,9 @@ declare module PlayFabServerModels { */ ProfileConstraints?: number; /** - / The version of the leaderboard to get, when UseSpecificVersion is true. + / The version of the leaderboard to get. */ Version?: number; - /** - / If true, uses the specified version. If false, gets the most recent version. - */ - UseSpecificVersion?: boolean; } @@ -3966,6 +3959,37 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage + */ + export interface PushNotificationPackage { + /** + / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. + */ + ScheduleDate?: string; + /** + / Title/Subject of the message + */ + Title: string; + /** + / Content of the message + */ + Message: string; + /** + / Icon file to display with the message + */ + Icon?: string; + /** + / Sound file to play with the message + */ + Sound?: string; + /** + / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object + */ + CustomData?: string; + + } + type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; @@ -4116,6 +4140,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Previous lobby id if re-registering an existing game. + */ + LobbyId?: string; /** / IP address of the Game Server Instance. */ @@ -4148,7 +4176,7 @@ declare module PlayFabServerModels { */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. + / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; @@ -4369,7 +4397,11 @@ declare module PlayFabServerModels { /** / Text of message to send. */ - Message: string; + Message?: string; + /** + / Defines all possible push attributes like message, title, icon, etc + */ + Package?: PushNotificationPackage; /** / Subject of message to send (may not be displayed in all platforms. */ @@ -4469,6 +4501,28 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest + */ + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult + */ + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ From 4df00212dd0b166dbb56f10046e0f26f60e2431b Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 10 Jul 2017 21:14:06 +0000 Subject: [PATCH 039/253] https://api.playfab.com/releaseNotes/#170710 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 953a2541..8255aef2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 289cad6b..c914aebe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.ClientApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 16828f93..7ff378d4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7612060e..1fe8949b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 953a2541..8255aef2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 289cad6b..c914aebe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.ClientApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 16828f93..7ff378d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7612060e..1fe8949b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -102,7 +102,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; PlayFab.sdkVersion = "1.8.170710"; PlayFab.ServerApi = { From e83b49d939c22607068944a7917649a1c7169266 Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Fri, 4 Aug 2017 10:34:47 -0700 Subject: [PATCH 040/253] Phab url change Summary: Phab url change Test Plan: None Reviewers: Marco.Williams Maniphest Tasks: T3192 Differential Revision: https://phabricator.playfab.com/D4330 --- .arcconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.arcconfig b/.arcconfig index e8806779..1f3cfec7 100644 --- a/.arcconfig +++ b/.arcconfig @@ -1,3 +1,3 @@ { - "phabricator.uri" : "https://phab.playfabdev.com/" + "phabricator.uri" : "https://phabricator.playfab.com/" } \ No newline at end of file From 3cdf844ccd09304a422ae3f932bdc0d16cca4efa Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 7 Aug 2017 18:58:35 +0000 Subject: [PATCH 041/253] https://api.playfab.com/releaseNotes/#170807 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 16 +++++- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 50 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 8 +-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 29 ++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 16 +++++- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 50 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 8 +-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 29 ++++++++++- 16 files changed, 206 insertions(+), 28 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 8255aef2..610b7538 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.AdminApi = { @@ -155,6 +155,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + DeletePlayer: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetUserAccountInfo: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -167,6 +173,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use DeletePlayer instead. + */ ResetUsers: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -209,6 +218,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use DeleteUser instead. + */ DeleteUsers: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c914aebe..c8108b1b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.ClientApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7ff378d4..f4f228dd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1fe8949b..82b80ce6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.ServerApi = { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3c4882ff..fd801443 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -42,6 +42,11 @@ declare module PlayFabAdminModule { / https://api.playfab.com/Documentation/Admin/method/BanUsers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes a user's player account from a title and deletes all associated data + / https://api.playfab.com/Documentation/Admin/method/DeletePlayer + */ + DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback): void; /** / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo @@ -1098,6 +1103,25 @@ declare module PlayFabAdminModels { | "True" | "False"; + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo + */ + export interface ContactEmailInfo { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + /** + / The verification status of the email + */ + VerificationStatus?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ @@ -1666,6 +1690,24 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest + */ + export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult + */ + export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ @@ -1742,6 +1784,10 @@ declare module PlayFabAdminModels { type EffectType = "Allow" | "Deny"; + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ @@ -3329,6 +3375,10 @@ declare module PlayFabAdminModels { / Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; + /** + / Array of contact email addresses associated with the player + */ + ContactEmailAddresses?: ContactEmailInfo[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 6c0cadde..2dbe4ea5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -470,7 +470,7 @@ declare module PlayFabClientModule { */ GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback): void; /** - / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. Note that EnableQueue is deprecated at this time. + / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. / https://api.playfab.com/Documentation/Client/method/Matchmake */ Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback): void; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 309c9be4..3e752f0b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -148,11 +148,11 @@ declare module PlayFabMatchmakerModels { */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is joining. + / Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the Matchmaker/StartGame API. */ LobbyId: string; /** - / PlayFab unique identifier for the user joining. + / PlayFab unique identifier for the player joining. */ PlayFabId: string; @@ -170,11 +170,11 @@ declare module PlayFabMatchmakerModels { */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is leaving. + / Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the Matchmaker/StartGame API. */ LobbyId: string; /** - / PlayFab unique identifier for the user leaving. + / PlayFab unique identifier for the player leaving. */ PlayFabId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ffae549f..14c4cb4f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -493,7 +493,7 @@ declare module PlayFabServerModule { */ GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; /** - / Updates the title-specific custom data for the user's chjaracter which is readable and writable by the client + / Updates the title-specific custom data for the user's character which is readable and writable by the client / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; @@ -1160,6 +1160,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo + */ + export interface ContactEmailInfo { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + /** + / The verification status of the email + */ + VerificationStatus?: string; + + } + type ContinentCode = "AF" | "AN" | "AS" @@ -1680,6 +1699,10 @@ declare module PlayFabServerModels { } + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ @@ -3760,6 +3783,10 @@ declare module PlayFabServerModels { / Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; + /** + / Array of contact email addresses associated with the player + */ + ContactEmailAddresses?: ContactEmailInfo[]; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 8255aef2..610b7538 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.AdminApi = { @@ -155,6 +155,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + DeletePlayer: function (request, callback) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + }, + GetUserAccountInfo: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -167,6 +173,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use DeletePlayer instead. + */ ResetUsers: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -209,6 +218,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use DeleteUser instead. + */ DeleteUsers: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c914aebe..c8108b1b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.ClientApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7ff378d4..f4f228dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1fe8949b..82b80ce6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.8.170710"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.9.170807"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3c4882ff..fd801443 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -42,6 +42,11 @@ declare module PlayFabAdminModule { / https://api.playfab.com/Documentation/Admin/method/BanUsers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + /** + / Removes a user's player account from a title and deletes all associated data + / https://api.playfab.com/Documentation/Admin/method/DeletePlayer + */ + DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback): void; /** / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo @@ -1098,6 +1103,25 @@ declare module PlayFabAdminModels { | "True" | "False"; + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo + */ + export interface ContactEmailInfo { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + /** + / The verification status of the email + */ + VerificationStatus?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ @@ -1666,6 +1690,24 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest + */ + export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult + */ + export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ @@ -1742,6 +1784,10 @@ declare module PlayFabAdminModels { type EffectType = "Allow" | "Deny"; + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ @@ -3329,6 +3375,10 @@ declare module PlayFabAdminModels { / Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; + /** + / Array of contact email addresses associated with the player + */ + ContactEmailAddresses?: ContactEmailInfo[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 6c0cadde..2dbe4ea5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -470,7 +470,7 @@ declare module PlayFabClientModule { */ GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback): void; /** - / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. Note that EnableQueue is deprecated at this time. + / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. / https://api.playfab.com/Documentation/Client/method/Matchmake */ Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback): void; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 309c9be4..3e752f0b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -148,11 +148,11 @@ declare module PlayFabMatchmakerModels { */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is joining. + / Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the Matchmaker/StartGame API. */ LobbyId: string; /** - / PlayFab unique identifier for the user joining. + / PlayFab unique identifier for the player joining. */ PlayFabId: string; @@ -170,11 +170,11 @@ declare module PlayFabMatchmakerModels { */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is leaving. + / Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the Matchmaker/StartGame API. */ LobbyId: string; /** - / PlayFab unique identifier for the user leaving. + / PlayFab unique identifier for the player leaving. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ffae549f..14c4cb4f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -493,7 +493,7 @@ declare module PlayFabServerModule { */ GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; /** - / Updates the title-specific custom data for the user's chjaracter which is readable and writable by the client + / Updates the title-specific custom data for the user's character which is readable and writable by the client / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; @@ -1160,6 +1160,25 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo + */ + export interface ContactEmailInfo { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + /** + / The verification status of the email + */ + VerificationStatus?: string; + + } + type ContinentCode = "AF" | "AN" | "AS" @@ -1680,6 +1699,10 @@ declare module PlayFabServerModels { } + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ @@ -3760,6 +3783,10 @@ declare module PlayFabServerModels { / Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; + /** + / Array of contact email addresses associated with the player + */ + ContactEmailAddresses?: ContactEmailInfo[]; } From 80c360ad35da1f0b282a1fa1af8b68a0e61ee7fa Mon Sep 17 00:00:00 2001 From: playfabjenkinsbot Date: Mon, 14 Aug 2017 19:17:25 +0000 Subject: [PATCH 042/253] https://api.playfab.com/releaseNotes/#170814 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 18 +++++++++++++----- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 16 ++++++++++++---- .../src/PlayFab/PlayFabAdminApi.js | 4 ++-- .../src/PlayFab/PlayFabClientApi.js | 4 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- .../src/PlayFab/PlayFabServerApi.js | 4 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 18 +++++++++++++----- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 16 ++++++++++++---- 14 files changed, 68 insertions(+), 36 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 610b7538..6c0eaf37 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.AdminApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c8108b1b..201016bd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.ClientApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index f4f228dd..32a63d5c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 82b80ce6..5e6947c8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.ServerApi = { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index fd801443..95442d90 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -4549,7 +4549,7 @@ declare module PlayFabAdminModels { */ PlayFabId: string; /** - / new title display name for the user - must be between 3 and 25 characters + / New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 2dbe4ea5..4833443f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1862,6 +1862,10 @@ declare module PlayFabClientModels { / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; + /** + / The profile of the user, if requested. + */ + Profile?: PlayerProfileModel; } @@ -2253,7 +2257,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2307,7 +2311,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2325,6 +2329,10 @@ declare module PlayFabClientModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; } @@ -2394,7 +2402,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2466,7 +2474,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2678,7 +2686,7 @@ declare module PlayFabClientModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 14c4cb4f..ffc8a4c2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1867,6 +1867,10 @@ declare module PlayFabServerModels { / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; + /** + / The profile of the user, if requested. + */ + Profile?: PlayerProfileModel; } @@ -2173,7 +2177,7 @@ declare module PlayFabServerModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2195,6 +2199,10 @@ declare module PlayFabServerModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; } @@ -2264,7 +2272,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; /** @@ -2340,7 +2348,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; /** @@ -2534,7 +2542,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 610b7538..6c0eaf37 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.AdminApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c8108b1b..201016bd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.ClientApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index f4f228dd..32a63d5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 82b80ce6..5e6947c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.9.170807"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.10.170814"; PlayFab.ServerApi = { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index fd801443..95442d90 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -4549,7 +4549,7 @@ declare module PlayFabAdminModels { */ PlayFabId: string; /** - / new title display name for the user - must be between 3 and 25 characters + / New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 2dbe4ea5..4833443f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1862,6 +1862,10 @@ declare module PlayFabClientModels { / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; + /** + / The profile of the user, if requested. + */ + Profile?: PlayerProfileModel; } @@ -2253,7 +2257,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2307,7 +2311,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2325,6 +2329,10 @@ declare module PlayFabClientModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; } @@ -2394,7 +2402,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2466,7 +2474,7 @@ declare module PlayFabClientModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2678,7 +2686,7 @@ declare module PlayFabClientModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 14c4cb4f..ffc8a4c2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1867,6 +1867,10 @@ declare module PlayFabServerModels { / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; + /** + / The profile of the user, if requested. + */ + Profile?: PlayerProfileModel; } @@ -2173,7 +2177,7 @@ declare module PlayFabServerModels { */ Version?: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; @@ -2195,6 +2199,10 @@ declare module PlayFabServerModels { / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; } @@ -2264,7 +2272,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; /** @@ -2340,7 +2348,7 @@ declare module PlayFabServerModels { */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; /** @@ -2534,7 +2542,7 @@ declare module PlayFabServerModels { */ PlayFabId: string; /** - / If non-null, this determines which properties of the profile to return. If null, playfab will only include display names. For API calls from the client, only ShowDisplayName, ShowAvatarUrl are allowed at this time. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; From f5cd4fc6953b0df76766cdeb2f63eead94d13e1d Mon Sep 17 00:00:00 2001 From: playfabjenkinsbot Date: Mon, 28 Aug 2017 21:04:45 +0000 Subject: [PATCH 043/253] https://api.playfab.com/releaseNotes/#170828 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 10 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 7 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 339 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 43 ++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 47 ++- .../src/PlayFab/PlayFabAdminApi.js | 10 +- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 7 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 339 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 43 ++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 47 ++- 14 files changed, 848 insertions(+), 60 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6c0eaf37..c111350c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.AdminApi = { @@ -605,6 +605,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use GetTasks instead. + */ GetAllActionGroups: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -665,6 +668,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use GetTasks instead. + */ GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 201016bd..32be21fe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.ClientApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 32a63d5c..aca96d85 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.MatchmakerApi = { diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5e6947c8..d7e892c7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.ServerApi = { @@ -719,6 +719,9 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use GetAllSegments instead. + */ GetAllActionGroups: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 95442d90..b0c15e56 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -597,6 +597,25 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel + */ + export interface AdCampaignAttributionModel { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ @@ -1122,6 +1141,21 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel + */ + export interface ContactEmailInfoModel { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ @@ -2206,6 +2240,32 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest + */ + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult + */ + export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ @@ -2973,6 +3033,29 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel + */ + export interface LinkedPlatformAccountModel { + /** + / Authentication platform + */ + Platform?: string; + /** + / Unique account identifier of the user on the platform + */ + PlatformUserId?: string; + /** + / Linked account username of the user on the platform, if available + */ + Username?: string; + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ @@ -3009,6 +3092,33 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel + */ + export interface LocationModel { + /** + / 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; + /** + / City name. + */ + City?: string; + /** + / Latitude coordinate of the geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the geographic location. + */ + Longitude?: number; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -3382,6 +3492,156 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel + */ + export interface PlayerProfileModel { + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Title ID this player profile applies to + */ + TitleId?: string; + /** + / PlayFab player account unique identifier + */ + PlayerId?: string; + /** + / Player record created + */ + Created?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / UTC time when the player most recently logged in to the title + */ + LastLogin?: string; + /** + / If the player is currently banned, the UTC Date when the ban expires + */ + BannedUntil?: string; + /** + / List of geographic locations from which the player has logged in to the title + */ + Locations?: LocationModel[]; + /** + / Player display name + */ + DisplayName?: string; + /** + / URL of the player's avatar image + */ + AvatarUrl?: string; + /** + / List of player's tags for segmentation + */ + Tags?: TagModel[]; + /** + / List of configured end points registered for sending the player push notifications + */ + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; + /** + / List of all authentication systems linked to this player account + */ + LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; + /** + / List of advertising campaigns the player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttributionModel[]; + /** + / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + */ + TotalValueToDateInUSD?: number; + /** + / List of the player's lifetime purchase totals, summed by real-money currency + */ + ValuesToDate?: ValueToDateModel[]; + /** + / List of the player's virtual currency balances + */ + VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; + /** + / List of leaderboard statistic values for the player + */ + Statistics?: StatisticModel[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints + */ + export interface PlayerProfileViewConstraints { + /** + / Whether to show the display name. Defaults to false + */ + ShowDisplayName: boolean; + /** + / Whether to show the created date. Defaults to false + */ + ShowCreated: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; + /** + / Whether to show the last login time. Defaults to false + */ + ShowLastLogin: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Reserved for future development + */ + ShowStatistics: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show push notification registrations. Defaults to false + */ + ShowPushNotificationRegistrations: boolean; + /** + / Whether to show the linked accounts. Defaults to false + */ + ShowLinkedAccounts: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; + /** + / Whether to show the total value to date in usd. Defaults to false + */ + ShowTotalValueToDateInUsd: boolean; + /** + / Whether to show the values to date. Defaults to false + */ + ShowValuesToDate: boolean; + /** + / Whether to show tags. Defaults to false + */ + ShowTags: boolean; + /** + / Whether to show player's locations. Defaults to false + */ + ShowLocations: boolean; + /** + / Whether to show player's avatar URL. Defaults to false + */ + ShowAvatarUrl: boolean; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ @@ -3485,6 +3745,21 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel + */ + export interface PushNotificationRegistrationModel { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + type PushSetupPlatform = "GCM" | "APNS" | "APNS_SANDBOX"; @@ -4054,6 +4329,25 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel + */ + export interface StatisticModel { + /** + / Statistic name + */ + Name?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; + /** + / Statistic value + */ + Value: number; + + } + type StatisticResetIntervalOption = "Never" | "Hour" | "Day" @@ -4137,6 +4431,17 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel + */ + export interface TagModel { + /** + / Full value of the tag, including namespace + */ + TagValue?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ @@ -4896,6 +5201,40 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel + */ + export interface ValueToDateModel { + /** + / ISO 4217 code of the currency used in the purchases + */ + Currency?: string; + /** + / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + */ + TotalValueAsDecimal?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel + */ + export interface VirtualCurrencyBalanceModel { + /** + / Name of the virtual currency + */ + Currency?: string; + /** + / Balance of the virtual currency + */ + TotalValue: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 4833443f..20c2dc88 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -495,27 +495,27 @@ declare module PlayFabClientModule { */ WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; @@ -1228,6 +1228,21 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel + */ + export interface ContactEmailInfoModel { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ @@ -1923,7 +1938,11 @@ declare module PlayFabClientModels { /** / game specific string denoting server configuration */ - GameServerState?: string; + GameServerState?: number; + /** + / game specific string denoting server configuration + */ + GameServerStateEnum?: string; /** / game session custom data */ @@ -4560,6 +4579,10 @@ declare module PlayFabClientModels { / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / List of advertising campaigns the player has been attributed to */ @@ -4623,6 +4646,10 @@ declare module PlayFabClientModels { / Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -5002,10 +5029,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Deprecated: Always true - */ - Updated?: boolean; /** / The number of remaining reports which may be filed today. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ffc8a4c2..0e60bc3c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -398,32 +398,32 @@ declare module PlayFabServerModule { */ WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; /** - / Deletes a shared group, freeing up the shared group ID to be reused for a new group + / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; @@ -1179,6 +1179,21 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel + */ + export interface ContactEmailInfoModel { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + + } + type ContinentCode = "AF" | "AN" | "AS" @@ -3854,6 +3869,10 @@ declare module PlayFabServerModels { / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / List of advertising campaigns the player has been attributed to */ @@ -3917,6 +3936,10 @@ declare module PlayFabServerModels { / Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -4299,10 +4322,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Deprecated: Always true - */ - Updated?: boolean; /** / The number of remaining reports which may be filed today by this reporting player. */ @@ -4434,13 +4453,17 @@ declare module PlayFabServerModels { */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc + / Defines all possible push attributes like message, title, icon, etc. Not supported for iOS devices. */ Package?: PushNotificationPackage; /** - / Subject of message to send (may not be displayed in all platforms. + / Subject of message to send (may not be displayed in all platforms. Not supported for Android devices (use Package instead). */ Subject?: string; + /** + / Platforms that should receive the message. If omitted, we will send to all available platforms. + */ + TargetPlatforms?: string[]; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6c0eaf37..c111350c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.AdminApi = { @@ -605,6 +605,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use GetTasks instead. + */ GetAllActionGroups: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -665,6 +668,9 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use GetTasks instead. + */ GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 201016bd..32be21fe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.ClientApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 32a63d5c..aca96d85 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.MatchmakerApi = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5e6947c8..d7e892c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -102,8 +102,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.10.170814"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.11.170828"; PlayFab.ServerApi = { @@ -719,6 +719,9 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); }, + /** + * @deprecated Please use GetAllSegments instead. + */ GetAllActionGroups: function (request, callback) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 95442d90..b0c15e56 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -597,6 +597,25 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel + */ + export interface AdCampaignAttributionModel { + /** + / Attribution network name + */ + Platform?: string; + /** + / Attribution campaign identifier + */ + CampaignId?: string; + /** + / UTC time stamp of attribution + */ + AttributedAt: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ @@ -1122,6 +1141,21 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel + */ + export interface ContactEmailInfoModel { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ @@ -2206,6 +2240,32 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest + */ + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult + */ + export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { + /** + / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + */ + PlayerProfile?: PlayerProfileModel; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ @@ -2973,6 +3033,29 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel + */ + export interface LinkedPlatformAccountModel { + /** + / Authentication platform + */ + Platform?: string; + /** + / Unique account identifier of the user on the platform + */ + PlatformUserId?: string; + /** + / Linked account username of the user on the platform, if available + */ + Username?: string; + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ @@ -3009,6 +3092,33 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel + */ + export interface LocationModel { + /** + / 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; + /** + / City name. + */ + City?: string; + /** + / Latitude coordinate of the geographic location. + */ + Latitude?: number; + /** + / Longitude coordinate of the geographic location. + */ + Longitude?: number; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -3382,6 +3492,156 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel + */ + export interface PlayerProfileModel { + /** + / Publisher this player belongs to + */ + PublisherId?: string; + /** + / Title ID this player profile applies to + */ + TitleId?: string; + /** + / PlayFab player account unique identifier + */ + PlayerId?: string; + /** + / Player record created + */ + Created?: string; + /** + / Player account origination + */ + Origination?: string; + /** + / UTC time when the player most recently logged in to the title + */ + LastLogin?: string; + /** + / If the player is currently banned, the UTC Date when the ban expires + */ + BannedUntil?: string; + /** + / List of geographic locations from which the player has logged in to the title + */ + Locations?: LocationModel[]; + /** + / Player display name + */ + DisplayName?: string; + /** + / URL of the player's avatar image + */ + AvatarUrl?: string; + /** + / List of player's tags for segmentation + */ + Tags?: TagModel[]; + /** + / List of configured end points registered for sending the player push notifications + */ + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; + /** + / List of all authentication systems linked to this player account + */ + LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; + /** + / List of advertising campaigns the player has been attributed to + */ + AdCampaignAttributions?: AdCampaignAttributionModel[]; + /** + / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + */ + TotalValueToDateInUSD?: number; + /** + / List of the player's lifetime purchase totals, summed by real-money currency + */ + ValuesToDate?: ValueToDateModel[]; + /** + / List of the player's virtual currency balances + */ + VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; + /** + / List of leaderboard statistic values for the player + */ + Statistics?: StatisticModel[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints + */ + export interface PlayerProfileViewConstraints { + /** + / Whether to show the display name. Defaults to false + */ + ShowDisplayName: boolean; + /** + / Whether to show the created date. Defaults to false + */ + ShowCreated: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; + /** + / Whether to show the last login time. Defaults to false + */ + ShowLastLogin: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Reserved for future development + */ + ShowStatistics: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show push notification registrations. Defaults to false + */ + ShowPushNotificationRegistrations: boolean; + /** + / Whether to show the linked accounts. Defaults to false + */ + ShowLinkedAccounts: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; + /** + / Whether to show the total value to date in usd. Defaults to false + */ + ShowTotalValueToDateInUsd: boolean; + /** + / Whether to show the values to date. Defaults to false + */ + ShowValuesToDate: boolean; + /** + / Whether to show tags. Defaults to false + */ + ShowTags: boolean; + /** + / Whether to show player's locations. Defaults to false + */ + ShowLocations: boolean; + /** + / Whether to show player's avatar URL. Defaults to false + */ + ShowAvatarUrl: boolean; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ @@ -3485,6 +3745,21 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel + */ + export interface PushNotificationRegistrationModel { + /** + / Push notification platform + */ + Platform?: string; + /** + / Notification configured endpoint + */ + NotificationEndpointARN?: string; + + } + type PushSetupPlatform = "GCM" | "APNS" | "APNS_SANDBOX"; @@ -4054,6 +4329,25 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel + */ + export interface StatisticModel { + /** + / Statistic name + */ + Name?: string; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; + /** + / Statistic value + */ + Value: number; + + } + type StatisticResetIntervalOption = "Never" | "Hour" | "Day" @@ -4137,6 +4431,17 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel + */ + export interface TagModel { + /** + / Full value of the tag, including namespace + */ + TagValue?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ @@ -4896,6 +5201,40 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel + */ + export interface ValueToDateModel { + /** + / ISO 4217 code of the currency used in the purchases + */ + Currency?: string; + /** + / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + */ + TotalValueAsDecimal?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel + */ + export interface VirtualCurrencyBalanceModel { + /** + / Name of the virtual currency + */ + Currency?: string; + /** + / Balance of the virtual currency + */ + TotalValue: number; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 4833443f..20c2dc88 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -495,27 +495,27 @@ declare module PlayFabClientModule { */ WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; @@ -1228,6 +1228,21 @@ declare module PlayFabClientModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel + */ + export interface ContactEmailInfoModel { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ @@ -1923,7 +1938,11 @@ declare module PlayFabClientModels { /** / game specific string denoting server configuration */ - GameServerState?: string; + GameServerState?: number; + /** + / game specific string denoting server configuration + */ + GameServerStateEnum?: string; /** / game session custom data */ @@ -4560,6 +4579,10 @@ declare module PlayFabClientModels { / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / List of advertising campaigns the player has been attributed to */ @@ -4623,6 +4646,10 @@ declare module PlayFabClientModels { / Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -5002,10 +5029,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Deprecated: Always true - */ - Updated?: boolean; /** / The number of remaining reports which may be filed today. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ffc8a4c2..0e60bc3c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -398,32 +398,32 @@ declare module PlayFabServerModule { */ WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; /** - / Deletes a shared group, freeing up the shared group ID to be reused for a new group + / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. + / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; @@ -1179,6 +1179,21 @@ declare module PlayFabServerModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel + */ + export interface ContactEmailInfoModel { + /** + / The name of the email info data + */ + Name?: string; + /** + / The email address + */ + EmailAddress?: string; + + } + type ContinentCode = "AF" | "AN" | "AS" @@ -3854,6 +3869,10 @@ declare module PlayFabServerModels { / List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / List of advertising campaigns the player has been attributed to */ @@ -3917,6 +3936,10 @@ declare module PlayFabServerModels { / Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -4299,10 +4322,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Deprecated: Always true - */ - Updated?: boolean; /** / The number of remaining reports which may be filed today by this reporting player. */ @@ -4434,13 +4453,17 @@ declare module PlayFabServerModels { */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc + / Defines all possible push attributes like message, title, icon, etc. Not supported for iOS devices. */ Package?: PushNotificationPackage; /** - / Subject of message to send (may not be displayed in all platforms. + / Subject of message to send (may not be displayed in all platforms. Not supported for Android devices (use Package instead). */ Subject?: string; + /** + / Platforms that should receive the message. If omitted, we will send to all available platforms. + */ + TargetPlatforms?: string[]; } From fa31962dcae9615d0658a9e5487efb19c7ddc9cb Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Tue, 26 Sep 2017 00:10:13 +0000 Subject: [PATCH 044/253] https://api.playfab.com/releaseNotes/#170925 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 456 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 862 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 67 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 489 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2261 ++++++------- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2802 +++++++++-------- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 146 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2475 ++++++++------- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 4 + PlayFabTestingExample/PlayFabApiTest.js | 27 +- PlayFabTestingExample/PlayFabApiTest.ts | 29 +- .../src/PlayFab/PlayFabAdminApi.js | 456 +-- .../src/PlayFab/PlayFabClientApi.js | 862 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 67 +- .../src/PlayFab/PlayFabServerApi.js | 489 +-- .../src/typings/PlayFab/PlayFab.d.ts | 4 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2261 ++++++------- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2802 +++++++++-------- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 146 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2475 ++++++++------- 20 files changed, 9903 insertions(+), 9277 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index c111350c..c5a696b0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,609 +122,615 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.AdminApi = { - CreatePlayerSharedSecret: function (request, callback) { + AbortTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeletePlayerSharedSecret: function (request, callback) { + AddNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerSharedSecrets: function (request, callback) { + AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPolicy: function (request, callback) { + AddServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPlayerSecret: function (request, callback) { + AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePlayerSharedSecret: function (request, callback) { + AddVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePolicy: function (request, callback) { + BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - BanUsers: function (request, callback) { + CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeletePlayer: function (request, callback) { + CreateCloudScriptTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserAccountInfo: function (request, callback) { + CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserBans: function (request, callback) { + CreatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeletePlayer instead. - */ - ResetUsers: function (request, callback) { + DeleteContent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeAllBansForUser: function (request, callback) { + DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeBans: function (request, callback) { + DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SendAccountRecoveryEmail: function (request, callback) { + DeleteStore: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateBans: function (request, callback) { + DeleteTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserTitleDisplayName: function (request, callback) { + /** + * @deprecated Please use DeleteUser instead. + */ + DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreatePlayerStatisticDefinition: function (request, callback) { + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, /** - * @deprecated Please use DeleteUser instead. + * @deprecated Please use GetTasks instead. */ - DeleteUsers: function (request, callback) { + GetAllActionGroups: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetDataReport: function (request, callback) { + GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatisticDefinitions: function (request, callback) { + GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatisticVersions: function (request, callback) { + GetCloudScriptRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserData: function (request, callback) { + GetCloudScriptTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInternalData: function (request, callback) { + GetCloudScriptVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherData: function (request, callback) { + GetContentList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherInternalData: function (request, callback) { + GetContentUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherReadOnlyData: function (request, callback) { + GetDataReport: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserReadOnlyData: function (request, callback) { + GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - IncrementPlayerStatisticVersion: function (request, callback) { + GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RefundPurchase: function (request, callback) { + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ResetUserStatistics: function (request, callback) { + GetPlayerSharedSecrets: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ResolvePurchaseDispute: function (request, callback) { + GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePlayerStatisticDefinition: function (request, callback) { + GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserData: function (request, callback) { + GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserInternalData: function (request, callback) { + GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherData: function (request, callback) { + GetPolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherInternalData: function (request, callback) { + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherReadOnlyData: function (request, callback) { + GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserReadOnlyData: function (request, callback) { + GetServerBuildInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddNews: function (request, callback) { + GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddVirtualCurrencyTypes: function (request, callback) { + GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteStore: function (request, callback) { + GetTaskInstances: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCatalogItems: function (request, callback) { + GetTasks: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPublisherData: function (request, callback) { + GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetRandomResultTables: function (request, callback) { + GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetStoreItems: function (request, callback) { + GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleData: function (request, callback) { + GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleInternalData: function (request, callback) { + GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ListVirtualCurrencyTypes: function (request, callback) { + GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveVirtualCurrencyTypes: function (request, callback) { + GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetCatalogItems: function (request, callback) { + GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetStoreItems: function (request, callback) { + GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleData: function (request, callback) { + GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleInternalData: function (request, callback) { + GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetupPushNotification: function (request, callback) { + GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCatalogItems: function (request, callback) { + IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateRandomResultTables: function (request, callback) { + ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateStoreItems: function (request, callback) { + ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddUserVirtualCurrency: function (request, callback) { + ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInventory: function (request, callback) { + ModifyServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToUsers: function (request, callback) { + RefundPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeInventoryItem: function (request, callback) { + RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SubtractUserVirtualCurrency: function (request, callback) { + RemoveServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetMatchmakerGameInfo: function (request, callback) { + RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetMatchmakerGameModes: function (request, callback) { + ResetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ModifyMatchmakerGameModes: function (request, callback) { + /** + * @deprecated Please use DeletePlayer instead. + */ + ResetUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddServerBuild: function (request, callback) { + ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetServerBuildInfo: function (request, callback) { + ResolvePurchaseDispute: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetServerBuildUploadUrl: function (request, callback) { + RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ListServerBuilds: function (request, callback) { + RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ModifyServerBuild: function (request, callback) { + RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveServerBuild: function (request, callback) { + RunTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPublisherData: function (request, callback) { + SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCloudScriptRevision: function (request, callback) { + SetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCloudScriptVersions: function (request, callback) { + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPublishedRevision: function (request, callback) { + SetPublishedRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCloudScript: function (request, callback) { + SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteContent: function (request, callback) { + SetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetContentList: function (request, callback) { + SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetContentUploadUrl: function (request, callback) { + SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ResetCharacterStatistics: function (request, callback) { + SetupPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddPlayerTag: function (request, callback) { + SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetTasks instead. - */ - GetAllActionGroups: function (request, callback) { + UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetAllSegments: function (request, callback) { + UpdateCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerSegments: function (request, callback) { + UpdateCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayersInSegment: function (request, callback) { + UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerTags: function (request, callback) { + UpdatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemovePlayerTag: function (request, callback) { + UpdatePolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AbortTaskInstance: function (request, callback) { + UpdateRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateActionsOnPlayersInSegmentTask: function (request, callback) { + UpdateStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateCloudScriptTask: function (request, callback) { + UpdateTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteTask: function (request, callback) { + UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetTasks instead. - */ - GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { + UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCloudScriptTaskInstance: function (request, callback) { + UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTaskInstances: function (request, callback) { + UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTasks: function (request, callback) { + UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RunTask: function (request, callback) { + UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateTask: function (request, callback) { + UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 32be21fe..9a94e9bd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,909 +122,921 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.ClientApi = { IsClientLoggedIn: function () { return PlayFab._internalSettings.sessionTicket != null && PlayFab._internalSettings.sessionTicket.length > 0; }, + ForgetClientCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + }, - GetPhotonAuthenticationToken: function (request, callback) { + AcceptTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTitlePublicKey: function (request, callback) { + AddFriend: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetWindowsHelloChallenge: function (request, callback) { + AddGenericID: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithAndroidDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithCustomID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AddUsernamePassword: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithEmailAddress: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithFacebook: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AndroidDevicePushNotificationRegistration: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithGameCenter: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AttributeInstall: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } + // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully + PlayFab.settings.advertisingIdType += "_Successful"; + if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); }, - LoginWithGoogleAccount: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + CancelTrade: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithIOSDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + ConfirmPurchase: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithKongregate: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + ConsumeItem: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithPlayFab: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + CreateSharedGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithSteam: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + ExecuteCloudScript: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithTwitch: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetAccountInfo: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RegisterPlayFabUser: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetCatalogItems: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RegisterWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetCharacterData: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - SetPlayerSecret: function (request, callback) { + GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AddGenericID: function (request, callback) { + GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AddUsernamePassword: function (request, callback) { + GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetAccountInfo: function (request, callback) { + GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerCombinedInfo: function (request, callback) { + GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerProfile: function (request, callback) { + GetCurrentGames: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromFacebookIDs: function (request, callback) { + GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromGameCenterIDs: function (request, callback) { + GetFriendLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromGenericIDs: function (request, callback) { + GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromGoogleIDs: function (request, callback) { + GetGameServerRegions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromKongregateIDs: function (request, callback) { + GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromSteamIDs: function (request, callback) { + GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromTwitchIDs: function (request, callback) { + GetLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkAndroidDeviceID: function (request, callback) { + GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkCustomID: function (request, callback) { + GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkFacebookAccount: function (request, callback) { + GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkGameCenterAccount: function (request, callback) { + GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkGoogleAccount: function (request, callback) { + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkIOSDeviceID: function (request, callback) { + GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkKongregate: function (request, callback) { + GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkSteamAccount: function (request, callback) { + GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkTwitch: function (request, callback) { + GetPlayerTrades: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkWindowsHello: function (request, callback) { + GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RemoveGenericID: function (request, callback) { + GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ReportPlayer: function (request, callback) { + GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - SendAccountRecoveryEmail: function (request, callback) { + GetPlayFabIDsFromGoogleIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkAndroidDeviceID: function (request, callback) { + GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkCustomID: function (request, callback) { + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkFacebookAccount: function (request, callback) { + GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkGameCenterAccount: function (request, callback) { + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkGoogleAccount: function (request, callback) { + GetPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkIOSDeviceID: function (request, callback) { + GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkKongregate: function (request, callback) { + GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkSteamAccount: function (request, callback) { + GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkTwitch: function (request, callback) { + GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkWindowsHello: function (request, callback) { + GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateAvatarUrl: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + GetTitlePublicKey: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback, customData, extraHeaders); }, - UpdateUserTitleDisplayName: function (request, callback) { + GetTradeStatus: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetFriendLeaderboard: function (request, callback) { + GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetFriendLeaderboardAroundPlayer: function (request, callback) { + GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboard: function (request, callback) { + GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboardAroundPlayer: function (request, callback) { + GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerStatistics: function (request, callback) { + GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerStatisticVersions: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback, customData, extraHeaders); }, - GetUserData: function (request, callback) { + GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetUserPublisherData: function (request, callback) { + LinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetUserPublisherReadOnlyData: function (request, callback) { + LinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetUserReadOnlyData: function (request, callback) { + LinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdatePlayerStatistics: function (request, callback) { + LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateUserData: function (request, callback) { + LinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateUserPublisherData: function (request, callback) { + LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCatalogItems: function (request, callback) { + LinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPublisherData: function (request, callback) { + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetStoreItems: function (request, callback) { + LinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTime: function (request, callback) { + LinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTitleData: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + 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.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback); }, - GetTitleNews: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + 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.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback); }, - AddUserVirtualCurrency: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback); }, - ConfirmPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithFacebook: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback); }, - ConsumeItem: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithGameCenter: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback); }, - GetCharacterInventory: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback); }, - GetPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback); }, - GetUserInventory: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithKongregate: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback); }, - PayForPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithPlayFab: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback); }, - PurchaseItem: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithSteam: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback); }, - RedeemCoupon: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithTwitch: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); }, - StartPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); }, - SubtractUserVirtualCurrency: function (request, callback) { + Matchmake: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlockContainerInstance: function (request, callback) { + OpenTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlockContainerItem: function (request, callback) { + PayForPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AddFriend: function (request, callback) { + PurchaseItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetFriendsList: function (request, callback) { + RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RemoveFriend: function (request, callback) { + RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - SetFriendTags: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + RegisterPlayFabUser: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); }, - GetCurrentGames: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, - GetGameServerRegions: function (request, callback) { + RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - Matchmake: function (request, callback) { + RemoveGenericID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - StartGame: function (request, callback) { + RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - WriteCharacterEvent: function (request, callback) { + ReportPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - WritePlayerEvent: function (request, callback) { + RestoreIOSPurchases: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - WriteTitleEvent: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback, customData, extraHeaders); }, - AddSharedGroupMembers: function (request, callback) { + SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - CreateSharedGroup: function (request, callback) { + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetSharedGroupData: function (request, callback) { + StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RemoveSharedGroupMembers: function (request, callback) { + StartPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateSharedGroupData: function (request, callback) { + SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ExecuteCloudScript: function (request, callback) { + UnlinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetContentDownloadUrl: function (request, callback) { + UnlinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetAllUsersCharacters: function (request, callback) { + UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterLeaderboard: function (request, callback) { + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterStatistics: function (request, callback) { + UnlinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboardAroundCharacter: function (request, callback) { + UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboardForUserCharacters: function (request, callback) { + UnlinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GrantCharacterToUser: function (request, callback) { + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateCharacterStatistics: function (request, callback) { + UnlinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterData: function (request, callback) { + UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterReadOnlyData: function (request, callback) { + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateCharacterData: function (request, callback) { + UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AcceptTrade: function (request, callback) { + UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - CancelTrade: function (request, callback) { + UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerTrades: function (request, callback) { + UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTradeStatus: function (request, callback) { + UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - OpenTrade: function (request, callback) { + UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AttributeInstall: function (request, callback) { + UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully - PlayFab.settings.advertisingIdType += "_Successful"; - - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerSegments: function (request, callback) { + UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerTags: function (request, callback) { + UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AndroidDevicePushNotificationRegistration: function (request, callback) { + ValidateAmazonIAPReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RegisterForIOSPushNotification: function (request, callback) { + ValidateGooglePlayPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RestoreIOSPurchases: function (request, callback) { + ValidateIOSReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateAmazonIAPReceipt: function (request, callback) { + ValidateWindowsStoreReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateGooglePlayPurchase: function (request, callback) { + WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateIOSReceipt: function (request, callback) { + WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateWindowsStoreReceipt: function (request, callback) { + WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, _MultiStepClientLogin: function (needsAttribution) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index aca96d85..5ff437ea 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,39 +122,48 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.MatchmakerApi = { - AuthUser: function (request, callback) { + AuthUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - PlayerJoined: function (request, callback) { + PlayerJoined: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - PlayerLeft: function (request, callback) { + PlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - StartGame: function (request, callback) { + StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UserInfo: function (request, callback) { + UserInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d7e892c7..0122e2f6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,666 +122,675 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.ServerApi = { - AuthenticateSessionTicket: function (request, callback) { + AddCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPlayerSecret: function (request, callback) { + AddFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - BanUsers: function (request, callback) { + AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerProfile: function (request, callback) { + AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayFabIDsFromFacebookIDs: function (request, callback) { + AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayFabIDsFromSteamIDs: function (request, callback) { + AuthenticateSessionTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserAccountInfo: function (request, callback) { + AwardSteamAchievement: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserBans: function (request, callback) { + BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeAllBansForUser: function (request, callback) { + ConsumeItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeBans: function (request, callback) { + CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SendPushNotification: function (request, callback) { + DeleteCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateAvatarUrl: function (request, callback) { + DeleteSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateBans: function (request, callback) { + DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteUsers: function (request, callback) { + DeregisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetFriendLeaderboard: function (request, callback) { + EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboard: function (request, callback) { + ExecuteCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboardAroundUser: function (request, callback) { + /** + * @deprecated Please use GetAllSegments instead. + */ + GetAllActionGroups: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerCombinedInfo: function (request, callback) { + GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatistics: function (request, callback) { + GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatisticVersions: function (request, callback) { + GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserData: function (request, callback) { + GetCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInternalData: function (request, callback) { + GetCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherData: function (request, callback) { + GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherInternalData: function (request, callback) { + GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherReadOnlyData: function (request, callback) { + GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserReadOnlyData: function (request, callback) { + GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePlayerStatistics: function (request, callback) { + GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserData: function (request, callback) { + GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserInternalData: function (request, callback) { + GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherData: function (request, callback) { + GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherInternalData: function (request, callback) { + GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherReadOnlyData: function (request, callback) { + GetLeaderboardAroundUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserReadOnlyData: function (request, callback) { + GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCatalogItems: function (request, callback) { + GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPublisherData: function (request, callback) { + GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTime: function (request, callback) { + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleData: function (request, callback) { + GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleInternalData: function (request, callback) { + GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleNews: function (request, callback) { + GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPublisherData: function (request, callback) { + GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleData: function (request, callback) { + GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleInternalData: function (request, callback) { + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddCharacterVirtualCurrency: function (request, callback) { + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddUserVirtualCurrency: function (request, callback) { + GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ConsumeItem: function (request, callback) { + GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - EvaluateRandomResultTable: function (request, callback) { + GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterInventory: function (request, callback) { + GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetRandomResultTables: function (request, callback) { + GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInventory: function (request, callback) { + GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToCharacter: function (request, callback) { + GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToUser: function (request, callback) { + GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToUsers: function (request, callback) { + GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ModifyItemUses: function (request, callback) { + GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - MoveItemToCharacterFromCharacter: function (request, callback) { + GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - MoveItemToCharacterFromUser: function (request, callback) { + GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - MoveItemToUserFromCharacter: function (request, callback) { + GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RedeemCoupon: function (request, callback) { + GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ReportPlayer: function (request, callback) { + GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeInventoryItem: function (request, callback) { + GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SubtractCharacterVirtualCurrency: function (request, callback) { + GrantItemsToCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SubtractUserVirtualCurrency: function (request, callback) { + GrantItemsToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UnlockContainerInstance: function (request, callback) { + GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UnlockContainerItem: function (request, callback) { + ModifyItemUses: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserInventoryItemCustomData: function (request, callback) { + MoveItemToCharacterFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddFriend: function (request, callback) { + MoveItemToCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetFriendsList: function (request, callback) { + MoveItemToUserFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveFriend: function (request, callback) { + NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetFriendTags: function (request, callback) { + RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeregisterGame: function (request, callback) { + RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - NotifyMatchmakerPlayerLeft: function (request, callback) { + RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RedeemMatchmakerTicket: function (request, callback) { + RegisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RefreshGameServerInstanceHeartbeat: function (request, callback) { + RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RegisterGame: function (request, callback) { + RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetGameServerInstanceData: function (request, callback) { + RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetGameServerInstanceState: function (request, callback) { + ReportPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetGameServerInstanceTags: function (request, callback) { + RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - WriteCharacterEvent: function (request, callback) { + RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - WritePlayerEvent: function (request, callback) { + RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - WriteTitleEvent: function (request, callback) { + SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddSharedGroupMembers: function (request, callback) { + SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateSharedGroup: function (request, callback) { + SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteSharedGroup: function (request, callback) { + SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetSharedGroupData: function (request, callback) { + SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveSharedGroupMembers: function (request, callback) { + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateSharedGroupData: function (request, callback) { + SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ExecuteCloudScript: function (request, callback) { + SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetContentDownloadUrl: function (request, callback) { + SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteCharacterFromUser: function (request, callback) { + SubtractCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetAllUsersCharacters: function (request, callback) { + SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterLeaderboard: function (request, callback) { + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterStatistics: function (request, callback) { + UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboardAroundCharacter: function (request, callback) { + UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboardForUserCharacters: function (request, callback) { + UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantCharacterToUser: function (request, callback) { + UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterStatistics: function (request, callback) { + UpdateCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterData: function (request, callback) { + UpdateCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterInternalData: function (request, callback) { + UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterReadOnlyData: function (request, callback) { + UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterData: function (request, callback) { + UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterInternalData: function (request, callback) { + UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterReadOnlyData: function (request, callback) { + UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddPlayerTag: function (request, callback) { + UpdateUserInventoryItemCustomData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetAllSegments instead. - */ - GetAllActionGroups: function (request, callback) { + UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetAllSegments: function (request, callback) { + UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerSegments: function (request, callback) { + UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayersInSegment: function (request, callback) { + UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerTags: function (request, callback) { + WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemovePlayerTag: function (request, callback) { + WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AwardSteamAchievement: function (request, callback) { + WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b0c15e56..ea45c5f6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3,495 +3,495 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { /** - / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret - */ - CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. - / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + / Abort an ongoing task instance. + / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ - DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns all Player Shared Secret Keys including disabled and expired. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + / Adds a new news item to the title's news feed + / https://api.playfab.com/Documentation/Admin/method/AddNews */ - GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback): void; + AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the requested policy. - / https://api.playfab.com/Documentation/Admin/method/GetPolicy + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag */ - GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback): void; + AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets or resets the player's secret. Player secrets are used to sign API requests. - / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/AddServerBuild */ - SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + / Increments the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency */ - UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Changes a policy for a title - / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes */ - UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback): void; + AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. / https://api.playfab.com/Documentation/Admin/method/BanUsers */ - BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Removes a user's player account from a title and deletes all associated data - / https://api.playfab.com/Documentation/Admin/method/DeletePlayer - */ - DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback): void; + BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier - / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. + / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask */ - GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Admin/method/GetUserBans + / Create a CloudScript task, which can run a CloudScript on a schedule. + / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask */ - GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics - / https://api.playfab.com/Documentation/Admin/method/ResetUsers + / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret */ - ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback): void; + CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition */ - RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Admin/method/RevokeBans + / Delete a content file from the title. When deleting a file that does not exist, it returns success. + / https://api.playfab.com/Documentation/Admin/method/DeleteContent */ - RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + / Removes a user's player account from a title and deletes all associated data + / https://api.playfab.com/Documentation/Admin/method/DeletePlayer */ - SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Admin/method/UpdateBans + / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. + / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret */ - UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for a user - / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + / Deletes an existing virtual item store + / https://api.playfab.com/Documentation/Admin/method/DeleteStore */ - UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + / Delete a task. + / https://api.playfab.com/Documentation/Admin/method/DeleteTask */ - CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. This method does not remove the player's event history, login history, inventory items, nor virtual currencies. / https://api.playfab.com/Documentation/Admin/method/DeleteUsers */ - DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Retrieves a download URL for the requested report - / https://api.playfab.com/Documentation/Admin/method/GetDataReport - */ - GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback): void; + DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + / Get information about a ActionsOnPlayersInSegment task instance. + / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance */ - GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback): void; + GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups */ - GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserData + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetAllSegments */ - GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems */ - GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + / Gets the contents and information of a specific Cloud Script revision. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision */ - GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + / Get detail information about a CloudScript task instance. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance */ - GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions */ - GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + / List all contents of the title and get statistics such as size + / https://api.playfab.com/Documentation/Admin/method/GetContentList */ - GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets the indicated statistic, removing all player entries for it and backing up the old values. - / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. + / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl */ - IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback): void; + GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to process an order refund through the original real money payment provider. - / https://api.playfab.com/Documentation/Admin/method/RefundPurchase + / Retrieves a download URL for the requested report + / https://api.playfab.com/Documentation/Admin/method/GetDataReport */ - RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completely removes all statistics for the specified user, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + / Retrieves the details for a specific completed session, including links to standard out and standard error logs + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo */ - ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to resolve a dispute with the original order's payment provider. - / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + / Retrieves the details of defined game modes for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ - ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback): void; + GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments */ - UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserData + / Returns all Player Shared Secret Keys including disabled and expired. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets */ - UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment */ - UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions */ - UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions */ - UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags */ - UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + / Gets the requested policy. + / https://api.playfab.com/Documentation/Admin/method/GetPolicy */ - UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new news item to the title's news feed - / https://api.playfab.com/Documentation/Admin/method/AddNews + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/GetPublisherData */ - AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback): void; + GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + / Retrieves the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables */ - AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes an existing virtual item store - / https://api.playfab.com/Documentation/Admin/method/DeleteStore + / Retrieves the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo */ - DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback): void; + GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl */ - GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/GetPublisherData + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Admin/method/GetStoreItems */ - GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + / Query for task instances by task, status, or time range. + / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances */ - GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Admin/method/GetStoreItems + / Get definition information on a specified task or all tasks within a title. + / https://api.playfab.com/Documentation/Admin/method/GetTasks */ - GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom title settings which can be read by the client / https://api.playfab.com/Documentation/Admin/method/GetTitleData */ - GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom title settings which cannot be read by the client / https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData */ - GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retuns the list of all defined virtual currencies for the title - / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier + / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo */ - ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes one or more virtual currencies from the set defined for the title. - / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Admin/method/GetUserBans */ - RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates the catalog configuration of all virtual goods for the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserData */ - SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets all the items in one virtual store - / https://api.playfab.com/Documentation/Admin/method/SetStoreItems + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData */ - SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the key-value store of custom title settings which can be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleData + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Admin/method/GetUserInventory */ - SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings which cannot be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData */ - SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. - / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData */ - SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the catalog configuration for virtual goods in the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData */ - UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData */ - UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates an existing virtual item store with new or modified items - / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + / Adds the specified items to the specified user inventories + / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers */ - UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + / Resets the indicated statistic, removing all player entries for it and backing up the old values. + / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ - AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Admin/method/GetUserInventory + / Retrieves the build details for all game server executables which are currently defined for the title + / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds */ - GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user inventories - / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + / Retuns the list of all defined virtual currencies for the title + / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes */ - GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + / Updates the game server mode details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes */ - RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; + ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + / Updates the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild */ - SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details for a specific completed session, including links to standard out and standard error logs - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + / Attempts to process an order refund through the original real money payment provider. + / https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ - GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback): void; + RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of defined game modes for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag */ - GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the game server mode details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild */ - ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/AddServerBuild + / Removes one or more virtual currencies from the set defined for the title. + / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes */ - AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + / Completely removes all statistics for the specified character, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics */ - GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback): void; + ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics + / https://api.playfab.com/Documentation/Admin/method/ResetUsers */ - GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback): void; + ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for all game server executables which are currently defined for the title - / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + / Completely removes all statistics for the specified user, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics */ - ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback): void; + ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + / Attempts to resolve a dispute with the original order's payment provider. + / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute */ - ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser */ - RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/SetPublisherData + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Admin/method/RevokeBans */ - SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the contents and information of a specific Cloud Script revision. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem */ - GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback): void; + RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + / Run a task immediately regardless of its schedule. + / https://api.playfab.com/Documentation/Admin/method/RunTask + */ + RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + */ + SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Creates the catalog configuration of all virtual goods for the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ - GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback): void; + SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Sets or resets the player's secret. Player secrets are used to sign API requests. + / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Sets the currently published revision of a title Cloud Script / https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision */ - SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback): void; + SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. - / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/SetPublisherData */ - UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a content file from the title. When deleting a file that does not exist, it returns success. - / https://api.playfab.com/Documentation/Admin/method/DeleteContent + / Sets all the items in one virtual store + / https://api.playfab.com/Documentation/Admin/method/SetStoreItems */ - DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback): void; + SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all contents of the title and get statistics such as size - / https://api.playfab.com/Documentation/Admin/method/GetContentList + / Creates and updates the key-value store of custom title settings which can be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleData */ - GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + / Updates the key-value store of custom title settings which cannot be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData */ - GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completely removes all statistics for the specified character, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. + / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification */ - ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + / Decrements the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency */ - AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Admin/method/UpdateBans */ - GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetAllSegments + / Updates the catalog configuration for virtual goods in the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems */ - GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. + / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript */ - GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + / 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. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret */ - GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition */ - GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + / Changes a policy for a title + / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy */ - RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Abort an ongoing task instance. - / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + / Updates the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables */ - AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. - / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + / Updates an existing virtual item store with new or modified items + / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems */ - CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create a CloudScript task, which can run a CloudScript on a schedule. - / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + / Update an existing task. + / https://api.playfab.com/Documentation/Admin/method/UpdateTask */ - CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a task. - / https://api.playfab.com/Documentation/Admin/method/DeleteTask + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserData */ - DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get information about a ActionsOnPlayersInSegment task instance. - / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData */ - GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get detail information about a CloudScript task instance. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData */ - GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Query for task instances by task, status, or time range. - / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData */ - GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get definition information on a specified task or all tasks within a title. - / https://api.playfab.com/Documentation/Admin/method/GetTasks + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData */ - GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Run a task immediately regardless of its schedule. - / https://api.playfab.com/Documentation/Admin/method/RunTask + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData */ - RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update an existing task. - / https://api.playfab.com/Documentation/Admin/method/UpdateTask + / Updates the title specific display name for a user + / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName */ - UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -512,14 +512,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { - /** - / ID of the segment to perform actions on. - */ - SegmentId: string; /** / ID of the action to perform on each player in segment. */ ActionId: string; + /** + / ID of the segment to perform actions on. + */ + SegmentId: string; } @@ -527,46 +527,46 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { - /** - / ID of the task instance. - */ - TaskInstanceId?: string; - /** - / Identifier of the task this instance belongs to. - */ - TaskIdentifier?: NameIdentifier; - /** - / UTC timestamp when the task started. - */ - StartedAt: string; /** / UTC timestamp when the task completed. */ CompletedAt?: string; /** - / Current status of the task instance. + / Error message for last processing attempt, if an error occured. */ - Status?: string; + ErrorMessage?: string; /** - / Progress represented as percentage. + / Flag indicating if the error was fatal, if false job will be retried. */ - PercentComplete?: number; + ErrorWasFatal?: boolean; /** / Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; /** / If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; /** - / Error message for last processing attempt, if an error occured. + / UTC timestamp when the task started. */ - ErrorMessage?: string; + StartedAt: string; /** - / Flag indicating if the error was fatal, if false job will be retried. + / Current status of the task instance. */ - ErrorWasFatal?: boolean; + Status?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / ID of the task instance. + */ + TaskInstanceId?: string; /** / Total players in segment when task was started. */ @@ -583,17 +583,17 @@ declare module PlayFabAdminModels { */ export interface AdCampaignAttribution { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -602,17 +602,17 @@ declare module PlayFabAdminModels { */ export interface AdCampaignAttributionModel { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -620,6 +620,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Body text of the news + */ + Body: string; /** / Time this news was published. If not set, defaults to now. */ @@ -628,10 +632,6 @@ declare module PlayFabAdminModels { / Title (headline) of the news item */ Title: string; - /** - / Body text of the news - */ - Body: string; } @@ -672,6 +672,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / server host regions in which this build should be running and available + */ + ActiveRegions?: string[]; /** / unique identifier for the build executable */ @@ -680,18 +684,14 @@ declare module PlayFabAdminModels { / appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ - ExecutablePath?: string; - /** - / server host regions in which this build should be running and available - */ - ActiveRegions?: 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 */ @@ -707,34 +707,38 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult 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; /** - / array of regions where this build can used, when it is active + / appended to the end of the command line when starting game servers */ - ActiveRegions?: string[]; + CommandLineTemplate?: string; /** - / maximum number of game server instances that can run on a single host machine + / developer comment(s) for this build */ - MaxGamesPerHost: number; + Comment?: string; /** - / 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) + / path to the game server executable. Defaults to gameserver.exe */ - MinFreeGameSlots: number; + ExecutablePath?: string; /** - / appended to the end of the command line when starting game servers + / maximum number of game server instances that can run on a single host machine */ - CommandLineTemplate?: string; + MaxGamesPerHost: number; /** - / path to the game server executable. Defaults to gameserver.exe + / 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) */ - ExecutablePath?: string; + MinFreeGameSlots: number; /** - / developer comment(s) for this build + / the current status of the build validation and processing steps */ - Comment?: string; + Status?: string; /** / time this build was last modified (or uploaded, if this build has never been modified) */ @@ -743,10 +747,6 @@ declare module PlayFabAdminModels { / 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; - /** - / the current status of the build validation and processing steps - */ - Status?: string; } @@ -754,6 +754,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ @@ -762,10 +766,6 @@ declare module PlayFabAdminModels { / Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; - /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. - */ - Amount: number; } @@ -796,13 +796,21 @@ declare module PlayFabAdminModels { */ export interface BanInfo { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ - PlayFabId?: string; + Active: boolean; /** / The unique Ban Id associated with this ban. */ BanId?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; /** / The IP address on which the ban was applied. May affect multiple players. */ @@ -812,21 +820,13 @@ declare module PlayFabAdminModels { */ MACAddress?: string; /** - / The time when this ban was applied. - */ - Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Expires?: string; + PlayFabId?: string; /** / The reason why this ban was applied. */ Reason?: string; - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ - Active: boolean; } @@ -835,9 +835,9 @@ declare module PlayFabAdminModels { */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The duration in hours for the ban. Leave this blank for a permanent ban. */ - PlayFabId: string; + DurationInHours?: number; /** / IP address to be banned. May affect multiple players. */ @@ -847,13 +847,13 @@ declare module PlayFabAdminModels { */ MACAddress?: string; /** - / The reason for this ban. Maximum 140 characters. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Reason?: string; + PlayFabId: string; /** - / The duration in hours for the ban. Leave this blank for a permanent ban. + / The reason for this ban. Maximum 140 characters. */ - DurationInHours?: number; + Reason?: string; } @@ -891,57 +891,45 @@ declare module PlayFabAdminModels { */ export interface CatalogItem { /** - / unique identifier for this item + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies */ - ItemId: string; + Bundle?: CatalogItemBundleInfo; /** - / class to which the item belongs + / if true, then an item instance of this type can be used to grant a character to a user. */ - ItemClass?: string; + CanBecomeCharacter: boolean; /** / catalog version for this item */ CatalogVersion?: string; /** - / text name for the item, to show in-game - */ - DisplayName?: string; - /** - / text description of item, to show in-game - */ - Description?: string; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ - VirtualCurrencyPrices?: { [key: string]: number }; - /** - / override prices for this item for specific currencies + / defines the consumable properties (number of uses, timeout) for the item */ - RealCurrencyPrices?: { [key: string]: number }; + Consumable?: CatalogItemConsumableInfo; /** - / list of item tags + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ - Tags?: string[]; + Container?: CatalogItemContainerInfo; /** / game specific custom data */ CustomData?: string; /** - / defines the consumable properties (number of uses, timeout) for the item + / text description of item, to show in-game */ - Consumable?: CatalogItemConsumableInfo; + Description?: string; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + / text name for the item, to show in-game */ - Container?: CatalogItemContainerInfo; + DisplayName?: string; /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. */ - Bundle?: CatalogItemBundleInfo; + InitialLimitedEditionCount: number; /** - / if true, then an item instance of this type can be used to grant a character to a user. + / BETA: If true, then only a fixed number can ever be granted. */ - CanBecomeCharacter: boolean; + IsLimitedEdition: boolean; /** / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ @@ -950,18 +938,30 @@ declare module PlayFabAdminModels { / if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / unique identifier for this item + */ + ItemId: string; /** / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. */ ItemImageUrl?: string; /** - / BETA: If true, then only a fixed number can ever be granted. + / override prices for this item for specific currencies */ - IsLimitedEdition: boolean; + RealCurrencyPrices?: { [key: string]: number }; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + / list of item tags */ - InitialLimitedEditionCount: number; + Tags?: string[]; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -1007,14 +1007,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) - */ - KeyItemId?: string; /** / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; /** / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) */ @@ -1030,14 +1030,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { - /** - / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. - */ - Filename: string; /** / Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; + /** + / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. + */ + Filename: string; } @@ -1045,14 +1045,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { - /** - / Name of the CloudScript function to execute. - */ - FunctionName?: string; /** / Argument to pass to the CloudScript function. */ Argument?: any; + /** + / Name of the CloudScript function to execute. + */ + FunctionName?: string; } @@ -1060,42 +1060,42 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { - /** - / ID of the task instance. - */ - TaskInstanceId?: string; - /** - / Identifier of the task this instance belongs to. - */ - TaskIdentifier?: NameIdentifier; - /** - / UTC timestamp when the task started. - */ - StartedAt: string; /** / UTC timestamp when the task completed. */ CompletedAt?: string; /** - / Current status of the task instance. + / Estimated time remaining in seconds. */ - Status?: string; + EstimatedSecondsRemaining?: number; /** / Progress represented as percentage. */ PercentComplete?: number; /** - / Estimated time remaining in seconds. + / Result of CloudScript execution */ - EstimatedSecondsRemaining?: number; + Result?: ExecuteCloudScriptResult; /** / If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; /** - / Result of CloudScript execution + / UTC timestamp when the task started. */ - Result?: ExecuteCloudScriptResult; + StartedAt: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / ID of the task instance. + */ + TaskInstanceId?: string; } @@ -1104,17 +1104,17 @@ declare module PlayFabAdminModels { */ export interface CloudScriptVersionStatus { /** - / Version number + / Most recent revision for this Cloud Script version */ - Version: number; + LatestRevision: number; /** / Published code revision for this Cloud Script version */ PublishedRevision: number; /** - / Most recent revision for this Cloud Script version + / Version number */ - LatestRevision: number; + Version: number; } @@ -1126,14 +1126,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; /** / The verification status of the email */ @@ -1145,14 +1145,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; } @@ -1164,14 +1164,14 @@ declare module PlayFabAdminModels { / Key of the content */ Key?: string; - /** - / Size of the content in bytes - */ - Size: number; /** / Last modified time */ LastModified: string; + /** + / Size of the content in bytes + */ + Size: number; } @@ -1437,26 +1437,26 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ - Name: string; /** / Description the task */ Description?: string; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ - Schedule?: string; /** / Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; /** / Task details related to segment and action */ Parameter: ActionsOnPlayersInSegmentTaskParameter; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; } @@ -1464,26 +1464,26 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ - Name: string; /** / Description the task */ Description?: string; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ - Schedule?: string; /** / Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; /** / Task details related to CloudScript */ Parameter: CloudScriptTaskParameter; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; } @@ -1513,6 +1513,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; /** / unique name of the statistic */ @@ -1521,10 +1525,6 @@ declare module PlayFabAdminModels { / interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) */ VersionChangeInterval?: string; - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ - AggregationMethod?: string; } @@ -1834,13 +1834,18 @@ declare module PlayFabAdminModels { */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** - / The name of the function that executed + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Information about the error, if any, that occurred during execution */ - FunctionName?: string; + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; /** - / The revision of the CloudScript that executed + / The name of the function that executed */ - Revision: number; + FunctionName?: string; /** / The object returned from the CloudScript function, if any */ @@ -1849,6 +1854,10 @@ declare module PlayFabAdminModels { / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ @@ -1857,24 +1866,15 @@ declare module PlayFabAdminModels { / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; - ExecutionTimeSeconds: number; + MemoryConsumedBytes: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. */ ProcessorTimeSeconds: number; - MemoryConsumedBytes: number; /** - / Number of PlayFab API requests issued by the CloudScript function - */ - APIRequestsIssued: number; - /** - / Number of external HTTP requests issued by the CloudScript function - */ - HttpRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution + / The revision of the CloudScript that executed */ - Error?: ScriptExecutionError; + Revision: number; } @@ -1892,14 +1892,14 @@ declare module PlayFabAdminModels { / specific game mode type */ Gamemode: string; - /** - / minimum user count required for this Game Server Instance to continue (usually 1) - */ - MinPlayerCount: number; /** / 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) */ @@ -1911,14 +1911,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionGroupResult */ export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group name - */ - Name: string; /** / Action Group ID */ Id?: string; + /** + / Action Group name + */ + Name: string; } @@ -1926,14 +1926,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Status summary of the actions-on-players-in-segment task instance - */ - Summary?: ActionsOnPlayersInSegmentTaskSummary; /** / Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; + /** + / Status summary of the actions-on-players-in-segment task instance + */ + Summary?: ActionsOnPlayersInSegmentTaskSummary; } @@ -1999,14 +1999,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Version number. If left null, defaults to the latest version - */ - Version?: number; /** / Revision number. If left null, defaults to the latest revision */ Revision?: number; + /** + / Version number. If left null, defaults to the latest version + */ + Version?: number; } @@ -2014,14 +2014,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Version number. - */ - Version: number; - /** - / Revision number. - */ - Revision: number; /** / Time this revision was created */ @@ -2034,6 +2026,14 @@ declare module PlayFabAdminModels { / True if this is the currently published revision */ IsPublished: boolean; + /** + / Revision number. + */ + Revision: number; + /** + / Version number. + */ + Version: number; } @@ -2041,14 +2041,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Status summary of the CloudScript task instance - */ - Summary?: CloudScriptTaskSummary; /** / Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; + /** + / Status summary of the CloudScript task instance + */ + Summary?: CloudScriptTaskSummary; } @@ -2085,6 +2085,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of content items. + */ + Contents?: ContentInfo[]; /** / Number of content items returned. We currently have a maximum of 1000 items limit. */ @@ -2093,10 +2097,6 @@ declare module PlayFabAdminModels { / The total size of listed contents in bytes. */ TotalSize: number; - /** - / List of content items. - */ - Contents?: ContentInfo[]; } @@ -2104,14 +2104,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to upload, usually formatted as a path, e.g. images/a.png - */ - Key: string; /** / A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. */ ContentType?: string; + /** + / Key of the content item to upload, usually formatted as a path, e.g. images/a.png + */ + Key: string; } @@ -2130,22 +2130,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Report name - */ - ReportName: string; /** / Reporting year (UTC) */ - Year: number; + Day: number; /** / Reporting month (UTC) */ Month: number; + /** + / Report name + */ + ReportName: string; /** / Reporting year (UTC) */ - Day: number; + Year: number; } @@ -2176,37 +2176,29 @@ declare module PlayFabAdminModels { */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** - / unique identifier of the lobby - */ - LobbyId?: string; - /** - / unique identifier of the Game Server Instance for this lobby - */ - TitleId?: string; - /** - / time when the Game Server Instance was created + / version identifier of the game server executable binary being run */ - StartTime: string; + 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; /** - / version identifier of the game server executable binary being run + / array of unique PlayFab identifiers for users currently connected to this Game Server Instance */ - BuildVersion?: string; + Players?: string[]; /** / region in which the Game Server Instance is running */ Region?: string; - /** - / array of unique PlayFab identifiers for users currently connected to this Game Server Instance - */ - Players?: string[]; /** / IP address for this Game Server Instance */ @@ -2215,6 +2207,14 @@ declare module PlayFabAdminModels { / communication port for this Game Server Instance */ ServerPort: number; + /** + / time when the Game Server Instance was created + */ + StartTime: string; + /** + / unique identifier of the Game Server Instance for this lobby + */ + TitleId?: string; } @@ -2300,21 +2300,21 @@ declare module PlayFabAdminModels { */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for this segment. - */ - SegmentId: string; - /** - / 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). + / Continuation token if retrieving subsequent pages of results. */ - SecondsToLive?: number; + ContinuationToken?: string; /** / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** - / Continuation token if retrieving subsequent pages of results. + / 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). */ - ContinuationToken?: string; + SecondsToLive?: number; + /** + / Unique identifier for this segment. + */ + SegmentId: string; } @@ -2322,10 +2322,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Count of profiles matching this segment. - */ - ProfilesInSegment: number; /** / Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ @@ -2334,6 +2330,10 @@ declare module PlayFabAdminModels { / Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; } @@ -2392,14 +2392,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Optional namespace to filter results by */ Namespace?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2492,6 +2492,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; /** / Unique identifier for this segment. */ @@ -2500,10 +2504,6 @@ declare module PlayFabAdminModels { / Segment name. */ Name?: string; - /** - / Identifier of the segments AB Test, if it is attached to one. - */ - ABTestParent?: string; } @@ -2522,14 +2522,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult 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; /** - / array of regions where this build can used, when it is active + / developer comment(s) for this build */ - ActiveRegions?: string[]; + Comment?: string; + /** + / error message, if any, about this build + */ + ErrorMessage?: string; /** / maximum number of game server instances that can run on a single host machine */ @@ -2539,9 +2547,9 @@ declare module PlayFabAdminModels { */ MinFreeGameSlots: number; /** - / developer comment(s) for this build + / the current status of the build validation and processing steps */ - Comment?: string; + Status?: string; /** / time this build was last modified (or uploaded, if this build has never been modified) */ @@ -2550,14 +2558,6 @@ declare module PlayFabAdminModels { / 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; - /** - / the current status of the build validation and processing steps - */ - Status?: string; - /** - / error message, if any, about this build - */ - ErrorMessage?: string; } @@ -2603,25 +2603,25 @@ declare module PlayFabAdminModels { */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** - / Array of items which can be purchased from this store. + / The base catalog that this store is a part of. */ - Store?: StoreItem[]; + CatalogVersion?: string; + /** + / Additional data about the store. + */ + MarketingData?: StoreMarketingModel; /** / How the store was last updated (Admin or a third party). */ Source?: string; /** - / The base catalog that this store is a part of. + / Array of items which can be purchased from this store. */ - CatalogVersion?: string; + Store?: StoreItem[]; /** / The ID of this store. */ StoreId?: string; - /** - / Additional data about the store. - */ - MarketingData?: StoreMarketingModel; } @@ -2640,14 +2640,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. - */ - TaskIdentifier?: NameIdentifier; - /** - / Optional filter for task instances that are of a specific status. - */ - StatusFilter?: string; /** / Optional range-from filter for task instances' StartedAt timestamp. */ @@ -2656,6 +2648,14 @@ declare module PlayFabAdminModels { / Optional range-to filter for task instances' StartedAt timestamp. */ StartedAtRangeTo?: string; + /** + / Optional filter for task instances that are of a specific status. + */ + StatusFilter?: string; + /** + / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. + */ + TaskIdentifier?: NameIdentifier; } @@ -2741,17 +2741,17 @@ declare module PlayFabAdminModels { */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. */ - PlayFabId: string; + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - IfChangedFromDataVersion?: number; + PlayFabId: string; } @@ -2760,17 +2760,17 @@ declare module PlayFabAdminModels { */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / PlayFab unique identifier of the user whose custom data is being returned. + / User specific data for this title. */ - PlayFabId?: string; + Data?: { [key: string]: UserDataRecord }; /** / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; /** - / User specific data for this title. + / PlayFab unique identifier of the user whose custom data is being returned. */ - Data?: { [key: string]: UserDataRecord }; + PlayFabId?: string; } @@ -2789,14 +2789,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; /** / Array of virtual currency balance(s) belonging to the user. */ @@ -2813,61 +2813,65 @@ declare module PlayFabAdminModels { */ export interface GrantedItemInstance { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Game specific comment associated with this instance when it was added to the user inventory. */ - PlayFabId?: string; + Annotation?: string; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Array of unique items that were awarded when this catalog item was purchased. */ - CharacterId?: string; + BundleContents?: string[]; /** - / Result of this operation. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - Result: boolean; + BundleParent?: string; /** - / Unique identifier for the inventory item, as defined in the catalog. + / Catalog version for the inventory item, when this instance was created. */ - ItemId?: string; + CatalogVersion?: string; /** - / Unique item identifier for this specific instance of the item. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId?: string; + CharacterId?: string; /** - / Class name for the inventory item, as defined in the catalog. + / A set of custom key-value pairs on the inventory item. */ - ItemClass?: string; + CustomData?: { [key: string]: string }; /** - / Timestamp for when this instance was purchased. + / CatalogItem.DisplayName at the time this item was purchased. */ - PurchaseDate?: string; + DisplayName?: string; /** / Timestamp for when this instance will expire. */ Expiration?: string; /** - / Total number of remaining uses, if this is a consumable item. + / Class name for the inventory item, as defined in the catalog. */ - RemainingUses?: number; + ItemClass?: string; /** - / The number of uses that were added or removed to this item in this call. + / Unique identifier for the inventory item, as defined in the catalog. */ - UsesIncrementedBy?: number; + ItemId?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Unique item identifier for this specific instance of the item. */ - Annotation?: string; + ItemInstanceId?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Timestamp for when this instance was purchased. */ - BundleParent?: string; + PurchaseDate?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Total number of remaining uses, if this is a consumable item. */ - DisplayName?: string; + RemainingUses?: number; + /** + / Result of this operation. + */ + Result: boolean; /** / Currency type for the cost of the catalog item. */ @@ -2877,13 +2881,9 @@ declare module PlayFabAdminModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -2939,14 +2939,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / Unique identifier of the catalog item to be granted to the user. - */ - ItemId: string; /** / String detailing any additional information concerning this operation. */ @@ -2959,10 +2951,18 @@ declare module PlayFabAdminModels { / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; /** / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2971,49 +2971,53 @@ declare module PlayFabAdminModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -3023,13 +3027,9 @@ declare module PlayFabAdminModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3037,6 +3037,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; /** / Authentication platform */ @@ -3049,10 +3053,6 @@ declare module PlayFabAdminModels { / Linked account username of the user on the platform, if available */ Username?: string; - /** - / Linked account email of the user on the platform, if available - */ - Email?: string; } @@ -3096,6 +3096,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { + /** + / City name. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3104,10 +3108,6 @@ declare module PlayFabAdminModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / City name. - */ - City?: string; /** / Latitude coordinate of the geographic location. */ @@ -3138,15 +3138,15 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; /** / 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; - /** - / Optional object accompanying the message as contextual information - */ - Data?: any; } @@ -3154,22 +3154,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / User email address attached to their account */ Email?: string; /** - / PlayFab username for the account (3-20 characters) + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Username?: string; + PlayFabId?: string; /** / Title specific username to match against existing user accounts */ TitleDisplayName?: string; + /** + / PlayFab username for the account (3-20 characters) + */ + Username?: string; } @@ -3184,6 +3184,33 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel + */ + export interface MembershipModel { + /** + / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. + */ + IsActive: boolean; + /** + / The time this membership expires + */ + MembershipExpiration: string; + /** + / The id of the membership + */ + MembershipId?: string; + /** + / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** + / The list of subscriptions that this player has for this membership + */ + Subscriptions?: SubscriptionModel[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ @@ -3210,18 +3237,26 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ 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; /** - / new timestamp + / appended to the end of the command line when starting game servers */ - Timestamp?: string; + CommandLineTemplate?: string; /** - / array of regions where this build can used, when it is active + / developer comment(s) for this build */ - ActiveRegions?: string[]; + 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 */ @@ -3231,17 +3266,9 @@ declare module PlayFabAdminModels { */ MinFreeGameSlots: number; /** - / appended to the end of the command line when starting game servers - */ - CommandLineTemplate?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ - ExecutablePath?: string; - /** - / developer comment(s) for this build + / new timestamp */ - Comment?: string; + Timestamp?: string; } @@ -3249,34 +3276,38 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - /** - / unique identifier for this build executable - */ - BuildId?: string; /** / array of regions where this build can used, when it is active */ ActiveRegions?: 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) + / unique identifier for this build executable */ - MinFreeGameSlots: number; + 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; /** - / developer comment(s) for this build + / maximum number of game server instances that can run on a single host machine */ - Comment?: string; + 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) */ @@ -3284,11 +3315,7 @@ declare module PlayFabAdminModels { /** / 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; - /** - / the current status of the build validation and processing steps - */ - Status?: string; + TitleId?: string; } @@ -3297,21 +3324,21 @@ declare module PlayFabAdminModels { */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** - / User currency was subtracted from. - */ - PlayFabId?: string; - /** - / Name of the virtual currency which was modified. + / Balance of the virtual currency after modification. */ - VirtualCurrency?: string; + Balance: number; /** / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. */ BalanceChange: number; /** - / Balance of the virtual currency after modification. + / User currency was subtracted from. */ - Balance: number; + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } @@ -3319,8 +3346,8 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { - Name?: string; Id?: string; + Name?: string; } @@ -3328,14 +3355,18 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { - /** - / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. - */ - Resource: string; /** / The action this statement effects. The only supported action is 'Execute'. */ Action: string; + /** + / Additional conditions to be applied for API Resources. + */ + ApiConditions?: ApiCondition; + /** + / A comment about the statement. Intended solely for bookeeping and debugging. + */ + Comment?: string; /** / The effect this statement will have. It could be either Allow or Deny */ @@ -3345,13 +3376,9 @@ declare module PlayFabAdminModels { */ Principal: string; /** - / A comment about the statement. Intended solely for bookeeping and debugging. - */ - Comment?: string; - /** - / Additional conditions to be applied for API Resources. + / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. */ - ApiConditions?: ApiCondition; + Resource: string; } @@ -3359,6 +3386,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { + /** + / Linked account's email + */ + Email?: string; /** / Authentication platform */ @@ -3371,10 +3402,6 @@ declare module PlayFabAdminModels { / Linked account's username */ Username?: string; - /** - / Linked account's email - */ - Email?: string; } @@ -3382,6 +3409,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { + /** + / City of the player's geographic location. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3390,10 +3421,6 @@ declare module PlayFabAdminModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode: string; - /** - / City of the player's geographic location. - */ - City?: string; /** / Latitude coordinate of the player's geographic location. */ @@ -3410,85 +3437,85 @@ declare module PlayFabAdminModels { */ export interface PlayerProfile { /** - / PlayFab Player ID - */ - PlayerId?: string; - /** - / Title ID this profile applies to + / Array of ad campaigns player has been attributed to */ - TitleId?: string; + AdCampaignAttributions?: AdCampaignAttribution[]; /** - / Player Display Name + / Image URL of the player's avatar. */ - DisplayName?: string; + AvatarUrl?: string; /** - / Publisher this player belongs to + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - PublisherId?: string; + BannedUntil?: string; /** - / Player account origination + / Array of contact email addresses associated with the player */ - Origination?: string; + ContactEmailAddresses?: ContactEmailInfo[]; /** / Player record created */ Created?: string; + /** + / Player Display Name + */ + DisplayName?: string; /** / Last login */ LastLogin?: string; /** - / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + / Array of third party accounts linked to this player */ - BannedUntil?: string; + LinkedAccounts?: PlayerLinkedAccount[]; /** - / Image URL of the player's avatar. + / Dictionary of player's locations by type. */ - AvatarUrl?: string; + Locations?: { [key: string]: PlayerLocation }; /** - / Dictionary of player's statistics using only the latest version's value + / Player account origination */ - Statistics?: { [key: string]: number }; + Origination?: string; /** - / A sum of player's total purchases in USD across all currencies. + / PlayFab Player ID */ - TotalValueToDateInUSD?: number; + PlayerId?: string; /** - / Dictionary of player's total purchases by currency. + / Array of player statistics */ - ValuesToDate?: { [key: string]: number }; + PlayerStatistics?: PlayerStatistic[]; /** - / List of player's tags for segmentation. + / Publisher this player belongs to */ - Tags?: string[]; + PublisherId?: string; /** - / Dictionary of player's locations by type. + / Array of configured push notification end points */ - Locations?: { [key: string]: PlayerLocation }; + PushNotificationRegistrations?: PushNotificationRegistration[]; /** - / Dictionary of player's virtual currency balances + / Dictionary of player's statistics using only the latest version's value */ - VirtualCurrencyBalances?: { [key: string]: number }; + Statistics?: { [key: string]: number }; /** - / Array of ad campaigns player has been attributed to + / List of player's tags for segmentation. */ - AdCampaignAttributions?: AdCampaignAttribution[]; + Tags?: string[]; /** - / Array of configured push notification end points + / Title ID this profile applies to */ - PushNotificationRegistrations?: PushNotificationRegistration[]; + TitleId?: string; /** - / Array of third party accounts linked to this player + / A sum of player's total purchases in USD across all currencies. */ - LinkedAccounts?: PlayerLinkedAccount[]; + TotalValueToDateInUSD?: number; /** - / Array of player statistics + / Dictionary of player's total purchases by currency. */ - PlayerStatistics?: PlayerStatistic[]; + ValuesToDate?: { [key: string]: number }; /** - / Array of contact email addresses associated with the player + / Dictionary of player's virtual currency balances */ - ContactEmailAddresses?: ContactEmailInfo[]; + VirtualCurrencyBalances?: { [key: string]: number }; } @@ -3497,65 +3524,73 @@ declare module PlayFabAdminModels { */ export interface PlayerProfileModel { /** - / Publisher this player belongs to + / List of advertising campaigns the player has been attributed to */ - PublisherId?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Title ID this player profile applies to + / URL of the player's avatar image */ - TitleId?: string; + AvatarUrl?: string; /** - / PlayFab player account unique identifier + / If the player is currently banned, the UTC Date when the ban expires */ - PlayerId?: string; + BannedUntil?: string; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / Player record created */ Created?: string; /** - / Player account origination + / Player display name */ - Origination?: string; + DisplayName?: string; /** / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** - / If the player is currently banned, the UTC Date when the ban expires + / List of all authentication systems linked to this player account */ - BannedUntil?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player display name + / List of memberships for the player, along with whether are expired. */ - DisplayName?: string; + Memberships?: MembershipModel[]; /** - / URL of the player's avatar image + / Player account origination */ - AvatarUrl?: string; + Origination?: string; /** - / List of player's tags for segmentation + / PlayFab player account unique identifier */ - Tags?: TagModel[]; + PlayerId?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; /** / List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of all authentication systems linked to this player account + / List of leaderboard statistic values for the player */ - LinkedAccounts?: LinkedPlatformAccountModel[]; + Statistics?: StatisticModel[]; /** - / List of all contact email info associated with the player account + / List of player's tags for segmentation */ - ContactEmailAddresses?: ContactEmailInfoModel[]; + Tags?: TagModel[]; /** - / List of advertising campaigns the player has been attributed to + / Title ID this player profile applies to */ - AdCampaignAttributions?: AdCampaignAttributionModel[]; + TitleId?: string; /** / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ @@ -3568,10 +3603,6 @@ declare module PlayFabAdminModels { / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; - /** - / List of leaderboard statistic values for the player - */ - Statistics?: StatisticModel[]; } @@ -3580,45 +3611,61 @@ declare module PlayFabAdminModels { */ export interface PlayerProfileViewConstraints { /** - / Whether to show the display name. Defaults to false + / Whether to show player's avatar URL. Defaults to false */ - ShowDisplayName: boolean; + ShowAvatarUrl: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the created date. Defaults to false */ ShowCreated: boolean; /** - / Whether to show origination. Defaults to false + / Whether to show the display name. Defaults to false */ - ShowOrigination: boolean; + ShowDisplayName: boolean; /** / Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** - / Whether to show the banned until time. Defaults to false + / Whether to show the linked accounts. Defaults to false */ - ShowBannedUntil: boolean; + ShowLinkedAccounts: boolean; /** - / Reserved for future development + / Whether to show player's locations. Defaults to false */ - ShowStatistics: boolean; + ShowLocations: boolean; /** - / Whether to show campaign attributions. Defaults to false + / Whether to show player's membership information. Defaults to false */ - ShowCampaignAttributions: boolean; + ShowMemberships: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; /** / Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; /** - / Whether to show the linked accounts. Defaults to false + / Reserved for future development */ - ShowLinkedAccounts: boolean; + ShowStatistics: boolean; /** - / Whether to show contact email addresses. Defaults to false + / Whether to show tags. Defaults to false */ - ShowContactEmailAddresses: boolean; + ShowTags: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -3627,18 +3674,6 @@ declare module PlayFabAdminModels { / Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; - /** - / Whether to show tags. Defaults to false - */ - ShowTags: boolean; - /** - / Whether to show player's locations. Defaults to false - */ - ShowLocations: boolean; - /** - / Whether to show player's avatar URL. Defaults to false - */ - ShowAvatarUrl: boolean; } @@ -3651,17 +3686,17 @@ declare module PlayFabAdminModels { */ Id?: string; /** - / Statistic version (0 if not a versioned statistic) + / Statistic name */ - StatisticVersion: number; + Name?: string; /** / Current statistic value */ StatisticValue: number; /** - / Statistic name + / Statistic version (0 if not a versioned statistic) */ - Name?: string; + StatisticVersion: number; } @@ -3670,21 +3705,21 @@ declare module PlayFabAdminModels { */ export interface PlayerStatisticDefinition { /** - / unique name of the statistic + / the aggregation method to use in updating the statistic (defaults to last) */ - StatisticName?: string; + AggregationMethod?: string; /** / current active version of the statistic, incremented each time the statistic resets */ - CurrentVersion: number; + CurrentVersion: number; + /** + / unique name of the statistic + */ + StatisticName?: string; /** / interval at which the values of the statistic for all players are reset automatically */ VersionChangeInterval?: string; - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ - AggregationMethod?: string; } @@ -3693,37 +3728,37 @@ declare module PlayFabAdminModels { */ export interface PlayerStatisticVersion { /** - / name of the statistic when the version became active + / time when the statistic version became active */ - StatisticName?: string; + ActivationTime: string; /** - / version of the statistic + / URL for the downloadable archive of player statistic values, if available */ - Version: number; + ArchiveDownloadUrl?: string; /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + / time when the statistic version became inactive due to statistic version incrementing */ - ScheduledActivationTime?: string; + DeactivationTime?: string; /** - / time when the statistic version became active + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ - ActivationTime: string; + ScheduledActivationTime?: string; /** / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; /** - / time when the statistic version became inactive due to statistic version incrementing + / name of the statistic when the version became active */ - DeactivationTime?: string; + StatisticName?: string; /** / status of the statistic version */ Status?: string; /** - / URL for the downloadable archive of player statistic values, if available + / version of the statistic */ - ArchiveDownloadUrl?: string; + Version: number; } @@ -3734,14 +3769,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -3749,14 +3784,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -3768,14 +3803,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { - /** - / Unique name for this drop table - */ - TableId: string; /** / Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; + /** + / Unique name for this drop table + */ + TableId: string; } @@ -3787,14 +3822,14 @@ declare module PlayFabAdminModels { / Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Unique name for this drop table - */ - TableId: string; /** / Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; + /** + / Unique name for this drop table + */ + TableId: string; } @@ -3802,14 +3837,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique order ID for the purchase in question. */ OrderId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; /** / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ @@ -3891,14 +3926,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3946,22 +3981,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique order ID for the purchase in question. */ OrderId: string; - /** - / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) - */ - Reason?: string; /** / Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and Manual. Manual will cause no change to the order state. */ Outcome: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + */ + Reason?: string; } @@ -3980,14 +4015,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Whether this entry in the table is an item or a link to another table - */ - ResultItemType: string; /** / Either an ItemId, or the TableId of another random result table */ ResultItem: string; + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; /** / How likely this is to be rolled - larger numbers add more weight */ @@ -4046,10 +4081,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4058,6 +4089,10 @@ declare module PlayFabAdminModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4094,42 +4129,42 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { - /** - / ID of the task - */ - TaskId?: string; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ - Name: string; /** / Description the task */ Description?: string; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ - Schedule?: string; /** / Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; /** - / Task type. + / UTC time of last run */ - Type?: string; + LastRunTime?: string; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / UTC time of next run + */ + NextRunTime?: string; /** / Task parameter. Different types of task have different parameter structure. See each task type's create API documentation for the details. */ Parameter?: any; /** - / UTC time of last run + / Cron expression for the run schedule of the task. The expression should be in UTC. */ - LastRunTime?: string; + Schedule?: string; /** - / UTC time of next run + / ID of the task */ - NextRunTime?: string; + TaskId?: string; + /** + / Task type. + */ + Type?: string; } @@ -4199,14 +4234,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Version number - */ - Version: number; /** / Revision to make the current published revision */ Revision: number; + /** + / Version number + */ + Version: number; } @@ -4266,25 +4301,25 @@ declare module PlayFabAdminModels { */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; - /** - / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ - Platform: string; + Credential: string; /** / for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; /** - / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM + / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) */ - Credential: string; + Name: string; /** / replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if notifications have already setup for this platform. */ OverwriteOldARN: boolean; + /** + / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + */ + Platform: string; } @@ -4304,17 +4339,17 @@ declare module PlayFabAdminModels { */ export interface SharedSecret { /** - / The player shared secret to use when calling Client/GetTitlePublicKey + / Flag to indicate if this key is disabled */ - SecretKey?: string; + Disabled: boolean; /** / Friendly name for this key */ FriendlyName?: string; /** - / Flag to indicate if this key is disabled + / The player shared secret to use when calling Client/GetTitlePublicKey */ - Disabled: boolean; + SecretKey?: string; } @@ -4337,14 +4372,14 @@ declare module PlayFabAdminModels { / Statistic name */ Name?: string; - /** - / Statistic version (0 if not a versioned statistic) - */ - Version: number; /** / Statistic value */ Value: number; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; } @@ -4371,25 +4406,25 @@ declare module PlayFabAdminModels { */ export interface StoreItem { /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ - ItemId: string; + CustomData?: any; /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + / Intended display position for this item. Note that 0 is the first position */ - VirtualCurrencyPrices?: { [key: string]: number }; + DisplayPosition?: number; /** - / Override prices for this item for specific currencies + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog */ - RealCurrencyPrices?: { [key: string]: number }; + ItemId: string; /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + / Override prices for this item for specific currencies */ - CustomData?: any; + RealCurrencyPrices?: { [key: string]: number }; /** - / Intended display position for this item. Note that 0 is the first position + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ - DisplayPosition?: number; + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -4397,14 +4432,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Display name of a store as it will appear to users. - */ - DisplayName?: string; /** / Tagline for a store. */ Description?: string; + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; /** / Custom data about a store. */ @@ -4412,10 +4447,58 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel + */ + export interface SubscriptionModel { + /** + / When this subscription expires. + */ + Expiration: string; + /** + / The time the subscription was orignially purchased + */ + InitialSubscriptionTime: string; + /** + / Whether this subscription is currently active. That is, if Expiration > now. + */ + IsActive: boolean; + /** + / The status of this subscription, according to the subscription provider. + */ + Status?: string; + /** + / The id for this subscription + */ + SubscriptionId?: string; + /** + / The item id for this subscription from the primary catalog + */ + SubscriptionItemId?: string; + /** + / The provider for this subscription. Apple or Google Play are supported today. + */ + SubscriptionProvider?: string; + + } + + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ @@ -4424,10 +4507,6 @@ declare module PlayFabAdminModels { / Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ - Amount: number; } @@ -4447,37 +4526,37 @@ declare module PlayFabAdminModels { */ export interface TaskInstanceBasicSummary { /** - / ID of the task instance. + / UTC timestamp when the task completed. */ - TaskInstanceId?: string; + CompletedAt?: string; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; /** - / Identifier of the task this instance belongs to. + / If manually scheduled, ID of user who scheduled the task. */ - TaskIdentifier?: NameIdentifier; + ScheduledByUserId?: string; /** / UTC timestamp when the task started. */ StartedAt: string; - /** - / UTC timestamp when the task completed. - */ - CompletedAt?: string; /** / Current status of the task instance. */ Status?: string; /** - / Progress represented as percentage. - */ - PercentComplete?: number; - /** - / Estimated time remaining in seconds. + / Identifier of the task this instance belongs to. */ - EstimatedSecondsRemaining?: number; + TaskIdentifier?: NameIdentifier; /** - / If manually scheduled, ID of user who scheduled the task. + / ID of the task instance. */ - ScheduledByUserId?: string; + TaskInstanceId?: string; /** / Type of the task. */ @@ -4503,13 +4582,13 @@ declare module PlayFabAdminModels { */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The id of the ban to be updated. + / The updated active state for the ban. Null for no change. */ - BanId: string; + Active?: boolean; /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + / The id of the ban to be updated. */ - Reason?: string; + BanId: string; /** / The updated expiration date for the ban. Null for no change. */ @@ -4527,9 +4606,9 @@ declare module PlayFabAdminModels { */ Permanent?: boolean; /** - / The updated active state for the ban. Null for no change. + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ - Active?: boolean; + Reason?: string; } @@ -4559,6 +4638,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. + */ + Catalog?: CatalogItem[]; /** / Which catalog is being updated. If null, uses the default catalog. */ @@ -4567,10 +4650,6 @@ declare module PlayFabAdminModels { / Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will always set it. */ SetAsDefaultCatalog?: boolean; - /** - / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. - */ - Catalog?: CatalogItem[]; } @@ -4585,6 +4664,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab user ID of the developer initiating the request. + */ + DeveloperPlayFabId?: string; /** / List of Cloud Script files to upload to create the new revision. Must have at least one file. */ @@ -4593,10 +4676,6 @@ declare module PlayFabAdminModels { / Immediately publish the new revision */ Publish: boolean; - /** - / PlayFab user ID of the developer initiating the request. - */ - DeveloperPlayFabId?: string; } @@ -4604,14 +4683,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Cloud Script version updated - */ - Version: number; /** / New revision number created */ Revision: number; + /** + / Cloud Script version updated + */ + Version: number; } @@ -4620,17 +4699,17 @@ declare module PlayFabAdminModels { */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The shared secret key to update + / Disable or Enable this key */ - SecretKey?: string; + Disabled: boolean; /** / Friendly name for this key */ FriendlyName?: string; /** - / Disable or Enable this key + / The shared secret key to update */ - Disabled: boolean; + SecretKey?: string; } @@ -4645,6 +4724,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; /** / unique name of the statistic */ @@ -4653,10 +4736,6 @@ declare module PlayFabAdminModels { / interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of the new interval boundary) */ VersionChangeInterval?: string; - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ - AggregationMethod?: string; } @@ -4675,6 +4754,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ 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' */ @@ -4683,10 +4766,6 @@ declare module PlayFabAdminModels { / The new statements to include in the policy. */ Statements: PermissionStatement[]; - /** - / Whether to overwrite or append to the existing policy. - */ - OverwritePolicy: boolean; } @@ -4735,10 +4814,6 @@ declare module PlayFabAdminModels { / Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; - /** - / Unique identifier for the store which is to be updated - */ - StoreId: string; /** / Additional data about the store */ @@ -4747,6 +4822,10 @@ declare module PlayFabAdminModels { / Array of store items - references to catalog items, with specific pricing - to be added */ Store?: StoreItem[]; + /** + / Unique identifier for the store which is to be updated + */ + StoreId: string; } @@ -4761,34 +4840,34 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Description the task + */ + Description?: string; /** / Specify either the task ID or the name of the task to be updated. */ Identifier?: NameIdentifier; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; /** / Name of the task. This is a unique identifier for tasks in the title. */ Name: string; /** - / Description the task + / Parameter object specific to the task type. See each task type's create API documentation for details. */ - Description?: string; + Parameter?: any; /** / Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ - IsActive: boolean; /** / Task type. */ Type: string; - /** - / Parameter object specific to the task type. See each task type's create API documentation for details. - */ - Parameter?: any; } @@ -4796,10 +4875,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -4812,6 +4887,10 @@ declare module PlayFabAdminModels { / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4830,10 +4909,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -4842,6 +4917,10 @@ declare module PlayFabAdminModels { / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4849,14 +4928,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab unique identifier of the user whose title specific display name is to be changed - */ - PlayFabId: string; /** / New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; + /** + / PlayFab unique identifier of the user whose title specific display name is to be changed + */ + PlayFabId: string; } @@ -4876,69 +4955,69 @@ declare module PlayFabAdminModels { */ export interface UserAccountInfo { /** - / Unique identifier for the user account + / User Android device information, if an Android device has been linked */ - PlayFabId?: string; + AndroidDeviceInfo?: UserAndroidDeviceInfo; /** / Timestamp indicating when the user account was created */ Created: string; /** - / User account name in the PlayFab service - */ - Username?: string; - /** - / Title-specific information for the user account - */ - TitleInfo?: UserTitleInfo; - /** - / Personal information for the user which is considered more sensitive + / Custom ID information, if a custom ID has been assigned */ - PrivateInfo?: UserPrivateAccountInfo; + CustomIdInfo?: UserCustomIdInfo; /** / User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Steam information, if a Steam account has been linked - */ - SteamInfo?: UserSteamInfo; /** / User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** - / User iOS device information, if an iOS device has been linked + / User Google account information, if a Google account has been linked */ - IosDeviceInfo?: UserIosDeviceInfo; + GoogleInfo?: UserGoogleInfo; /** - / User Android device information, if an Android device has been linked + / User iOS device information, if an iOS device has been linked */ - AndroidDeviceInfo?: UserAndroidDeviceInfo; + IosDeviceInfo?: UserIosDeviceInfo; /** / User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** - / User Twitch account information, if a Twitch account has been linked + / Unique identifier for the user account */ - TwitchInfo?: UserTwitchInfo; + PlayFabId?: string; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; /** / User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; /** - / User Google account information, if a Google account has been linked + / User Steam information, if a Steam account has been linked */ - GoogleInfo?: UserGoogleInfo; + SteamInfo?: UserSteamInfo; /** - / User XBox account information, if a XBox account has been linked + / Title-specific information for the user account */ - XboxInfo?: UserXboxInfo; + TitleInfo?: UserTitleInfo; /** - / Custom ID information, if a custom ID has been assigned + / User Twitch account information, if a Twitch account has been linked */ - CustomIdInfo?: UserCustomIdInfo; + TwitchInfo?: UserTwitchInfo; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; } @@ -4982,10 +5061,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Data stored for the specified user data key. - */ - Value?: string; /** / Timestamp for when this data was last updated. */ @@ -4994,6 +5069,10 @@ declare module PlayFabAdminModels { / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. */ Permission?: string; + /** + / Data stored for the specified user data key. + */ + Value?: string; } @@ -5027,22 +5106,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Google ID - */ - GoogleId?: string; /** / Email address of the Google account */ GoogleEmail?: string; - /** - / Locale of the Google account - */ - GoogleLocale?: string; /** / Gender information of the Google account */ GoogleGender?: string; + /** + / Google ID + */ + GoogleId?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; } @@ -5122,9 +5201,9 @@ declare module PlayFabAdminModels { */ export interface UserSteamInfo { /** - / Steam identifier + / what stage of game ownership the user is listed as being in, from Steam */ - SteamId?: string; + SteamActivationStatus?: string; /** / the country in which the player resides, from Steam data */ @@ -5134,9 +5213,9 @@ declare module PlayFabAdminModels { */ SteamCurrency?: string; /** - / what stage of game ownership the user is listed as being in, from Steam + / Steam identifier */ - SteamActivationStatus?: string; + SteamId?: string; } @@ -5145,21 +5224,17 @@ declare module PlayFabAdminModels { */ export interface UserTitleInfo { /** - / name of the user, as it is displayed in-game - */ - DisplayName?: string; - /** - / source by which the user first joined the game, if known + / URL to the player's avatar. */ - Origination?: string; + AvatarUrl?: string; /** / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) */ Created: string; /** - / timestamp for the last user login for this title + / name of the user, as it is displayed in-game */ - LastLogin?: string; + DisplayName?: string; /** / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) */ @@ -5169,9 +5244,13 @@ declare module PlayFabAdminModels { */ isBanned?: boolean; /** - / URL to the player's avatar. + / timestamp for the last user login for this title */ - AvatarUrl?: string; + LastLogin?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; } @@ -5251,14 +5330,14 @@ declare module PlayFabAdminModels { / amount to automatically grant users upon first login to the title */ InitialDeposit?: number; - /** - / rate at which the currency automatically be added to over time, in units per day (24 hours) - */ - RechargeRate?: number; /** / maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) */ RechargeMax?: number; + /** + / rate at which the currency automatically be added to over time, in units per day (24 hours) + */ + RechargeRate?: number; } @@ -5267,17 +5346,17 @@ declare module PlayFabAdminModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 20c2dc88..df404203 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3,657 +3,658 @@ declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; + ForgetClientCredentials(): void; /** - / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. - / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken - */ - GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Returns the title's base 64 encoded RSA CSP blob. - / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey - */ - GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge - */ - GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID - */ - LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID - */ - LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. - / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress - */ - LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook - */ - LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. + / https://api.playfab.com/Documentation/Client/method/AcceptTrade */ - LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback): void; + AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Client/method/AddFriend */ - LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. + / https://api.playfab.com/Documentation/Client/method/AddGenericID */ - LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Kongregate player account. - / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ - LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback): void; + AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. - / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. + / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword */ - LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback): void; + AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithSteam + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency */ - LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback): void; + AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Twitch access token. - / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + / Registers the Android device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration */ - LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback): void; + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. - / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + / Attributes an install for advertisment. + / https://api.playfab.com/Documentation/Client/method/AttributeInstall */ - LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. - / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). + / https://api.playfab.com/Documentation/Client/method/CancelTrade */ - RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; + CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate + / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase */ - RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Client/method/ConsumeItem */ - SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. - / https://api.playfab.com/Documentation/Client/method/AddGenericID + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ - AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. - / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript */ - AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback): void; + ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the user's PlayFab account details / https://api.playfab.com/Documentation/Client/method/GetAccountInfo */ - GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves all of the user's different kinds of info. - / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters */ - GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Client/method/GetCatalogItems */ - GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; + GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + / Retrieves the title-specific custom data for the character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterData */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory */ - GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard */ - GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + / Retrieves the title-specific custom data for the character which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData */ - GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + / Retrieves the details of all title-specific statistics for the user + / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics */ - GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. + / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ - GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + / Get details about all current running game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetCurrentGames */ - GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Android device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard */ - LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the custom identifier, generated by the title, to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkCustomID + / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer */ - LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Client/method/GetFriendsList */ - LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + / Get details about the regions hosting game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions */ - LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the currently signed-in user account to their Google account, using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetLeaderboard */ - LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the vendor-specific iOS device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter */ - LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Kongregate identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkKongregate + / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer */ - LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters */ - LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Twitch account associated with the token to the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/LinkTwitch + / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ - LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Link Windows Hello authentication to the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + / Retrieves all of the user's different kinds of info. + / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the specified generic service identifier from the player's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/RemoveGenericID + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile */ - RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Client/method/ReportPlayer + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments */ - ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics */ - SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Android device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions */ - UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related custom identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ - UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Facebook account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + / Gets all trades the player has either opened or accepted, optionally filtered by trade status. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades */ - UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Game Center account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs */ - UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). - / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs */ - UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related iOS device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs */ - UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Kongregate identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs */ - UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Steam account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs */ - UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Twitch account from the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs */ - UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlink Windows Hello authentication from the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the player - / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Client/method/GetPublisherData */ - UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; + GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for the user - / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. + / https://api.playfab.com/Documentation/Client/method/GetPurchase */ - UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ - GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Client/method/GetStoreItems */ - GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetLeaderboard + / Retrieves the current server time + / https://api.playfab.com/Documentation/Client/method/GetTime */ - GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + / Retrieves the key-value store of custom title settings + / https://api.playfab.com/Documentation/Client/method/GetTitleData */ - GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + / Retrieves the title news feed, as configured in the developer portal + / https://api.playfab.com/Documentation/Client/method/GetTitleNews */ - GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + / Returns the title's base 64 encoded RSA CSP blob. + / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey */ - GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Gets the current status of an existing trade. + / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + */ + GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the title-specific custom data for the user which is readable and writable by the client / https://api.playfab.com/Documentation/Client/method/GetUserData */ - GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves the user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetUserInventory + */ + GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the publisher-specific custom data for the user which is readable and writable by the client / https://api.playfab.com/Documentation/Client/method/GetUserPublisherData */ - GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the publisher-specific custom data for the user which can only be read by the client / https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData */ - GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the title-specific custom data for the user which can only be read by the client / https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData */ - GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge */ - UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserData + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser */ - UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + / Links the Android device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID */ - UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Client/method/GetCatalogItems + / Links the custom identifier, generated by the title, to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkCustomID */ - GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Client/method/GetPublisherData + / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount */ - GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Client/method/GetStoreItems + / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount */ - GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current server time - / https://api.playfab.com/Documentation/Client/method/GetTime + / Links the currently signed-in user account to their Google account, using their Google account credentials + / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount */ - GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings - / https://api.playfab.com/Documentation/Client/method/GetTitleData + / Links the vendor-specific iOS device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID */ - GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title news feed, as configured in the developer portal - / https://api.playfab.com/Documentation/Client/method/GetTitleNews + / Links the Kongregate identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkKongregate */ - GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount */ - AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate - / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + / Links the Twitch account associated with the token to the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/LinkTwitch */ - ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Client/method/ConsumeItem + / Link Windows Hello authentication to the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello */ - ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID */ - GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. - / https://api.playfab.com/Documentation/Client/method/GetPurchase + / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID */ - GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetUserInventory + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. + / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress */ - GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Selects a payment option for purchase order created via StartPurchase - / https://api.playfab.com/Documentation/Client/method/PayForPurchase + / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook */ - PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. - / https://api.playfab.com/Documentation/Client/method/PurchaseItem + / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter */ - PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Client/method/RedeemCoupon + / Signs the user in using their Google account credentials + / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount */ - RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates an order for a list of items from the title catalog - / https://api.playfab.com/Documentation/Client/method/StartPurchase + / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID */ - StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + / Signs the user in using a Kongregate player account. + / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate */ - SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. + / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ - UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithSteam */ - UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Client/method/AddFriend + / Signs the user in using a Twitch access token. + / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch */ - AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Client/method/GetFriendsList + / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. + / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello */ - GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes a specified user from the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/RemoveFriend + / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. + / https://api.playfab.com/Documentation/Client/method/Matchmake */ - RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the tag list for a specified user in the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/SetFriendTags + / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. + / https://api.playfab.com/Documentation/Client/method/OpenTrade */ - SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; + OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about all current running game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetCurrentGames + / Selects a payment option for purchase order created via StartPurchase + / https://api.playfab.com/Documentation/Client/method/PayForPurchase */ - GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback): void; + PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about the regions hosting game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. + / https://api.playfab.com/Documentation/Client/method/PurchaseItem */ - GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback): void; + PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. - / https://api.playfab.com/Documentation/Client/method/Matchmake + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ - Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback): void; + RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Start a new game server with a given configuration, add the current player and return the connection information. - / https://api.playfab.com/Documentation/Client/method/StartGame + / Registers the iOS device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification */ - StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. + / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser */ - WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; + RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ - WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; + RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + / Removes a specified user from the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/RemoveFriend */ - WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; + RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + / Removes the specified generic service identifier from the player's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/RemoveGenericID */ - AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ - CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Client/method/ReportPlayer */ - GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + / Restores all in-app purchases based on the given restore receipt + / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases */ - RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail */ - UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. - / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + / Updates the tag list for a specified user in the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/SetFriendTags */ - ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret */ - GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + / Start a new game server with a given configuration, add the current player and return the connection information. + / https://api.playfab.com/Documentation/Client/method/StartGame */ - GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + / Creates an order for a list of items from the title catalog + / https://api.playfab.com/Documentation/Client/method/StartPurchase */ - GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the user - / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency */ - GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + / Unlinks the related Android device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID */ - GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + / Unlinks the related custom identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID */ - GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + / Unlinks the related Facebook account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount */ - GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + / Unlinks the related Game Center account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount */ - UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterData + / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount */ - GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + / Unlinks the related iOS device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + */ + UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Unlinks the related Kongregate identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + */ + UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Unlinks the related Steam account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount */ - GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + / Unlinks the related Twitch account from the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ - UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. - / https://api.playfab.com/Documentation/Client/method/AcceptTrade + / Unlink Windows Hello authentication from the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello */ - AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). - / https://api.playfab.com/Documentation/Client/method/CancelTrade + / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance */ - CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all trades the player has either opened or accepted, optionally filtered by trade status. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem */ - GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the current status of an existing trade. - / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + / Update the avatar URL of the player + / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl */ - GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback): void; + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. - / https://api.playfab.com/Documentation/Client/method/OpenTrade + / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ - OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attributes an install for advertisment. - / https://api.playfab.com/Documentation/Client/method/AttributeInstall + / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics */ - AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics */ - GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTags + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData */ - GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the Android device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + / Creates and updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserData */ - AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the iOS device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData */ - RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Restores all in-app purchases based on the given restore receipt - / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + / Updates the title specific display name for the user + / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName */ - RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt */ - ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates a Google Play purchase and gives the corresponding item to the player. / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase */ - ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt */ - ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt */ - ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback): void; + ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + */ + WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + */ + WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + */ + WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -663,6 +664,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. + */ + AcceptedInventoryInstanceIds?: string[]; /** / Player who opened the trade. */ @@ -671,10 +676,6 @@ declare module PlayFabClientModels { / Trade identifier. */ TradeId: string; - /** - / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. - */ - AcceptedInventoryInstanceIds?: string[]; } @@ -694,17 +695,17 @@ declare module PlayFabClientModels { */ export interface AdCampaignAttributionModel { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -712,22 +713,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the user to attempt to add to the local user's friend list. - */ - FriendPlayFabId?: string; - /** - / PlayFab username of the user to attempt to add to the local user's friend list. - */ - FriendUsername?: string; /** / Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; + /** + / PlayFab identifier of the user to attempt to add to the local user's friend list. + */ + FriendPlayFabId?: string; /** / Title-specific display name of the user to attempt to add to the local user's friend list. */ FriendTitleDisplayName?: string; + /** + / PlayFab username of the user to attempt to add to the local user's friend list. + */ + FriendUsername?: string; } @@ -764,14 +765,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -786,10 +787,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab username for the account (3-20 characters) - */ - Username: string; /** / User email address attached to their account */ @@ -798,6 +795,10 @@ declare module PlayFabClientModels { / Password for the PlayFab account (6-100 characters) */ Password: string; + /** + / PlayFab username for the account (3-20 characters) + */ + Username: string; } @@ -816,14 +817,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name of the virtual currency which is to be incremented. - */ - VirtualCurrency: string; /** / Amount to be added to the user balance of the specified virtual currency. */ Amount: number; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; } @@ -831,6 +832,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; /** / Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). */ @@ -839,10 +844,6 @@ declare module PlayFabClientModels { / If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; - /** - / Message to display when confirming push notification. - */ - ConfirmationMessage?: string; } @@ -857,14 +858,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The IdentifierForAdvertisers for iOS Devices. - */ - Idfa?: string; /** / The adid for this device. */ Adid?: string; + /** + / The IdentifierForAdvertisers for iOS Devices. + */ + Idfa?: string; } @@ -902,29 +903,25 @@ declare module PlayFabClientModels { */ export interface CartItem { /** - / Unique identifier for the catalog item. - */ - ItemId?: string; - /** - / Class name to which catalog item belongs. - */ - ItemClass?: string; - /** - / Unique instance identifier for this catalog item. + / Description of the catalog item. */ - ItemInstanceId?: string; + Description?: string; /** / Display name for the catalog item. */ DisplayName?: string; /** - / Description of the catalog item. + / Class name to which catalog item belongs. */ - Description?: string; + ItemClass?: string; /** - / Cost of the catalog item for each applicable virtual currency. + / Unique identifier for the catalog item. */ - VirtualCurrencyPrices?: { [key: string]: number }; + ItemId?: string; + /** + / Unique instance identifier for this catalog item. + */ + ItemInstanceId?: string; /** / Cost of the catalog item for each applicable real world currency. */ @@ -933,6 +930,10 @@ declare module PlayFabClientModels { / Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. */ VCAmount?: { [key: string]: number }; + /** + / Cost of the catalog item for each applicable virtual currency. + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -941,57 +942,45 @@ declare module PlayFabClientModels { */ export interface CatalogItem { /** - / unique identifier for this item + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies */ - ItemId: string; + Bundle?: CatalogItemBundleInfo; /** - / class to which the item belongs + / if true, then an item instance of this type can be used to grant a character to a user. */ - ItemClass?: string; + CanBecomeCharacter: boolean; /** / catalog version for this item */ CatalogVersion?: string; /** - / text name for the item, to show in-game - */ - DisplayName?: string; - /** - / text description of item, to show in-game - */ - Description?: string; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ - VirtualCurrencyPrices?: { [key: string]: number }; - /** - / override prices for this item for specific currencies + / defines the consumable properties (number of uses, timeout) for the item */ - RealCurrencyPrices?: { [key: string]: number }; + Consumable?: CatalogItemConsumableInfo; /** - / list of item tags + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ - Tags?: string[]; + Container?: CatalogItemContainerInfo; /** / game specific custom data */ CustomData?: string; /** - / defines the consumable properties (number of uses, timeout) for the item + / text description of item, to show in-game */ - Consumable?: CatalogItemConsumableInfo; + Description?: string; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + / text name for the item, to show in-game */ - Container?: CatalogItemContainerInfo; + DisplayName?: string; /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. */ - Bundle?: CatalogItemBundleInfo; + InitialLimitedEditionCount: number; /** - / if true, then an item instance of this type can be used to grant a character to a user. + / BETA: If true, then only a fixed number can ever be granted. */ - CanBecomeCharacter: boolean; + IsLimitedEdition: boolean; /** / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ @@ -1000,18 +989,30 @@ declare module PlayFabClientModels { / if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / unique identifier for this item + */ + ItemId: string; /** / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. */ ItemImageUrl?: string; /** - / BETA: If true, then only a fixed number can ever be granted. + / override prices for this item for specific currencies */ - IsLimitedEdition: boolean; + RealCurrencyPrices?: { [key: string]: number }; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + / list of item tags */ - InitialLimitedEditionCount: number; + Tags?: string[]; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -1057,14 +1058,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) - */ - KeyItemId?: string; /** / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; /** / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) */ @@ -1095,10 +1096,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ @@ -1107,22 +1104,26 @@ declare module PlayFabClientModels { / Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ - DisplayName?: string; /** / Name of the character class for this entry. */ CharacterType?: string; /** - / Specific value of the user's statistic. + / Title-specific display name of the user for this leaderboard entry. */ - StatValue: number; + DisplayName?: string; + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; /** / User's overall position in the leaderboard. */ Position: number; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -1153,14 +1154,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { - /** - / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule - */ - Includes?: Container_Dictionary_String_String[]; /** / List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; + /** + / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule + */ + Includes?: Container_Dictionary_String_String[]; } @@ -1179,6 +1180,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items purchased. + */ + Items?: ItemInstance[]; /** / Purchase order identifier. */ @@ -1187,10 +1192,6 @@ declare module PlayFabClientModels { / Date and time of the purchase. */ PurchaseDate: string; - /** - / Array of items purchased. - */ - Items?: ItemInstance[]; } @@ -1199,17 +1200,17 @@ declare module PlayFabClientModels { */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique instance identifier of the item to be consumed. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId: string; + CharacterId?: string; /** / Number of uses to consume from the item. */ ConsumeCount: number; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Unique instance identifier of the item to be consumed. */ - CharacterId?: string; + ItemInstanceId: string; } @@ -1232,14 +1233,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; } @@ -1701,10 +1702,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Region to check for Game Server Instances. - */ - Region?: string; /** / Build to match against. */ @@ -1713,6 +1710,10 @@ declare module PlayFabClientModels { / Game mode to look for. */ GameMode?: string; + /** + / Region to check for Game Server Instances. + */ + Region?: string; /** / Statistic name to find statistic-based matches. */ @@ -1728,6 +1729,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / number of games running + */ + GameCount: number; /** / array of games found */ @@ -1736,10 +1741,6 @@ declare module PlayFabClientModels { / total number of players across all servers */ PlayerCount: number; - /** - / number of games running - */ - GameCount: number; } @@ -1762,6 +1763,10 @@ declare module PlayFabClientModels { / Object that is passed in to the function as the first argument */ FunctionParameter?: any; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; /** / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ @@ -1770,10 +1775,6 @@ declare module PlayFabClientModels { / The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; - /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. - */ - GeneratePlayStreamEvent?: boolean; } @@ -1782,13 +1783,18 @@ declare module PlayFabClientModels { */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** - / The name of the function that executed + / Number of PlayFab API requests issued by the CloudScript function */ - FunctionName?: string; + APIRequestsIssued: number; /** - / The revision of the CloudScript that executed + / Information about the error, if any, that occurred during execution */ - Revision: number; + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** + / The name of the function that executed + */ + FunctionName?: string; /** / The object returned from the CloudScript function, if any */ @@ -1797,6 +1803,10 @@ declare module PlayFabClientModels { / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ @@ -1805,24 +1815,15 @@ declare module PlayFabClientModels { / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; - ExecutionTimeSeconds: number; + MemoryConsumedBytes: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. */ ProcessorTimeSeconds: number; - MemoryConsumedBytes: number; - /** - / Number of PlayFab API requests issued by the CloudScript function - */ - APIRequestsIssued: number; - /** - / Number of external HTTP requests issued by the CloudScript function - */ - HttpRequestsIssued: number; /** - / Information about the error, if any, that occurred during execution + / The revision of the CloudScript that executed */ - Error?: ScriptExecutionError; + Revision: number; } @@ -1845,22 +1846,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** - / PlayFab unique identifier for this friend. - */ - FriendPlayFabId?: string; - /** - / PlayFab unique username for this friend. - */ - Username?: string; - /** - / Title-specific display name for this friend. - */ - TitleDisplayName?: string; - /** - / Tags which have been associated with this friend. - */ - Tags?: string[]; /** / Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ @@ -1870,9 +1855,9 @@ declare module PlayFabClientModels { */ FacebookInfo?: UserFacebookInfo; /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). + / PlayFab unique identifier for this friend. */ - SteamInfo?: UserSteamInfo; + FriendPlayFabId?: string; /** / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ @@ -1881,6 +1866,22 @@ declare module PlayFabClientModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; } @@ -1903,14 +1904,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { - /** - / region to which this server is associated - */ - Region?: string; - /** - / unique lobby identifier for this game server - */ - LobbyID?: string; /** / build version this server is running */ @@ -1920,41 +1913,41 @@ declare module PlayFabClientModels { */ GameMode?: string; /** - / stastic used to match this game in player statistic matchmaking + / game session custom data */ - StatisticName?: string; + GameServerData?: string; /** - / maximum players this server can support + / game specific string denoting server configuration */ - MaxPlayers?: number; + GameServerState?: number; /** - / array of current player IDs on this server + / game specific string denoting server configuration */ - PlayerUserIds?: string[]; + GameServerStateEnum?: string; /** - / duration in seconds this server has been running + / last heartbeat of the game server instance, used in external game server provider mode */ - RunTime: number; + LastHeartbeat?: string; /** - / game specific string denoting server configuration + / unique lobby identifier for this game server */ - GameServerState?: number; + LobbyID?: string; /** - / game specific string denoting server configuration + / maximum players this server can support */ - GameServerStateEnum?: string; + MaxPlayers?: number; /** - / game session custom data + / array of current player IDs on this server */ - GameServerData?: string; + PlayerUserIds?: string[]; /** - / game session tags + / region to which this server is associated */ - Tags?: { [key: string]: string }; + Region?: string; /** - / last heartbeat of the game server instance, used in external game server provider mode + / duration in seconds this server has been running */ - LastHeartbeat?: string; + RunTime: number; /** / IP address of the server */ @@ -1963,6 +1956,14 @@ declare module PlayFabClientModels { / port number to use for non-http communications with the server */ ServerPort?: number; + /** + / stastic used to match this game in player statistic matchmaking + */ + StatisticName?: string; + /** + / game session tags + */ + Tags?: { [key: string]: string }; } @@ -2029,22 +2030,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. - */ - PlayFabId?: string; - /** - / PlayFab Username for the account to find (if no PlayFabId is specified). - */ - Username?: string; /** / User email address for the account to find (if no Username is specified). */ Email?: string; + /** + / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. + */ + PlayFabId?: string; /** / Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. */ TitleDisplayName?: string; + /** + / PlayFab Username for the account to find (if no PlayFabId is specified). + */ + Username?: string; } @@ -2085,22 +2086,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. - */ - PlayFabId?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. */ - IfChangedFromDataVersion?: number; + PlayFabId?: string; } @@ -2127,14 +2128,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ - CharacterId: string; /** / Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; } @@ -2170,17 +2171,17 @@ declare module PlayFabClientModels { */ CharacterType?: string; /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. Default 10, maximum 100. */ - StatisticName: string; + MaxResultsCount?: number; /** / First entry in the leaderboard to be retrieved. */ StartPosition: number; /** - / Maximum number of entries to retrieve. Default 10, maximum 100. + / Unique identifier for the title-specific statistic for the leaderboard. */ - MaxResultsCount?: number; + StatisticName: string; } @@ -2221,14 +2222,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ - Key: string; /** / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; /** / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. */ @@ -2252,9 +2253,13 @@ declare module PlayFabClientModels { */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Statistic used to rank players for this leaderboard. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - StatisticName: string; + IncludeFacebookFriends?: boolean; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; /** / Maximum number of entries to retrieve. Default 10, maximum 100. */ @@ -2264,21 +2269,17 @@ declare module PlayFabClientModels { */ PlayFabId?: string; /** - / Indicates whether Steam service friends should be included in the response. Default is true. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - IncludeSteamFriends?: boolean; + ProfileConstraints?: number; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / Statistic used to rank players for this leaderboard. */ - IncludeFacebookFriends?: boolean; + StatisticName: string; /** / The version of the leaderboard to get. */ Version?: number; - /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. - */ - ProfileConstraints?: number; } @@ -2290,14 +2291,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2306,33 +2307,33 @@ declare module PlayFabClientModels { */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Statistic used to rank friends for this leaderboard. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - StatisticName: string; + IncludeFacebookFriends?: boolean; /** - / Position in the leaderboard to start this listing (defaults to the first entry). + / Indicates whether Steam service friends should be included in the response. Default is true. */ - StartPosition: number; + IncludeSteamFriends?: boolean; /** / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** - / Indicates whether Steam service friends should be included in the response. Default is true. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - IncludeSteamFriends?: boolean; + ProfileConstraints?: number; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / Position in the leaderboard to start this listing (defaults to the first entry). */ - IncludeFacebookFriends?: boolean; + StartPosition: number; /** - / The version of the leaderboard to get. + / Statistic used to rank friends for this leaderboard. */ - Version?: number; + StatisticName: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + / The version of the leaderboard to get. */ - ProfileConstraints?: number; + Version?: number; } @@ -2340,14 +2341,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ - IncludeSteamFriends?: boolean; /** / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; /** / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ @@ -2370,10 +2371,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; /** / Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ @@ -2386,6 +2383,10 @@ declare module PlayFabClientModels { / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; } @@ -2404,26 +2405,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; /** / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ PlayFabId?: string; /** - / Statistic used to rank players for this leaderboard. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - StatisticName: string; + ProfileConstraints?: number; /** - / Maximum number of entries to retrieve. Default 10, maximum 100. + / Statistic used to rank players for this leaderboard. */ - MaxResultsCount?: number; + StatisticName: string; /** / The version of the leaderboard to get. */ Version?: number; - /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. - */ - ProfileConstraints?: number; } @@ -2435,14 +2436,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2450,14 +2451,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; /** / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; } @@ -2477,25 +2478,25 @@ declare module PlayFabClientModels { */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Statistic used to rank players for this leaderboard. + / Maximum number of entries to retrieve. Default 10, maximum 100. */ - StatisticName: string; + MaxResultsCount?: number; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; /** / Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** - / Maximum number of entries to retrieve. Default 10, maximum 100. + / Statistic used to rank players for this leaderboard. */ - MaxResultsCount?: number; + StatisticName: string; /** / The version of the leaderboard to get. */ Version?: number; - /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. - */ - ProfileConstraints?: number; } @@ -2507,14 +2508,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2544,14 +2545,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. - */ - PlayFabId?: string; /** / Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + /** + / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. + */ + PlayFabId?: string; } @@ -2560,65 +2561,65 @@ declare module PlayFabClientModels { */ export interface GetPlayerCombinedInfoRequestParams { /** - / Whether to get the player's account Info. Defaults to false + / Whether to get character inventories. Defaults to false. */ - GetUserAccountInfo: boolean; + GetCharacterInventories: boolean; /** - / Whether to get the player's inventory. Defaults to false + / Whether to get the list of characters. Defaults to false. */ - GetUserInventory: boolean; + GetCharacterList: boolean; /** - / Whether to get the player's virtual currency balances. Defaults to false + / Whether to get player profile. Defaults to false. */ - GetUserVirtualCurrency: boolean; + GetPlayerProfile: boolean; /** - / Whether to get the player's custom data. Defaults to false + / Whether to get player statistics. Defaults to false. */ - GetUserData: boolean; + GetPlayerStatistics: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + / Whether to get title data. Defaults to false. */ - UserDataKeys?: string[]; + GetTitleData: boolean; /** - / Whether to get the player's read only data. Defaults to false + / Whether to get the player's account Info. Defaults to false */ - GetUserReadOnlyData: boolean; + GetUserAccountInfo: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + / Whether to get the player's custom data. Defaults to false */ - UserReadOnlyDataKeys?: string[]; + GetUserData: boolean; /** - / Whether to get character inventories. Defaults to false. + / Whether to get the player's inventory. Defaults to false */ - GetCharacterInventories: boolean; + GetUserInventory: boolean; /** - / Whether to get the list of characters. Defaults to false. + / Whether to get the player's read only data. Defaults to false */ - GetCharacterList: boolean; + GetUserReadOnlyData: boolean; /** - / Whether to get title data. Defaults to false. + / Whether to get the player's virtual currency balances. Defaults to false */ - GetTitleData: boolean; + GetUserVirtualCurrency: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ - TitleDataKeys?: string[]; + PlayerStatisticNames?: string[]; /** - / Whether to get player statistics. Defaults to false. + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - GetPlayerStatistics: boolean; + ProfileConstraints?: number; /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ - PlayerStatisticNames?: string[]; + TitleDataKeys?: string[]; /** - / Whether to get player profile. Defaults to false. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ - GetPlayerProfile: boolean; + UserDataKeys?: string[]; /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false */ - ProfileConstraints?: number; + UserReadOnlyDataKeys?: string[]; } @@ -2626,14 +2627,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; } @@ -2646,17 +2647,25 @@ declare module PlayFabClientModels { */ AccountInfo?: UserAccountInfo; /** - / Array of inventory items in the user's current inventory. + / Inventories for each character for the user. */ - UserInventory?: ItemInstance[]; + CharacterInventories?: CharacterInventory[]; /** - / Dictionary of virtual currency balance(s) belonging to the user. + / List of characters for the user. */ - UserVirtualCurrency?: { [key: string]: number }; + CharacterList?: CharacterResult[]; /** - / Dictionary of remaining times and timestamps for virtual currencies. + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. */ - UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + PlayerProfile?: PlayerProfileModel; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; /** / User specific custom data. */ @@ -2665,6 +2674,10 @@ declare module PlayFabClientModels { / The version of the UserData that was returned. */ UserDataVersion: number; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; /** / User specific read-only data. */ @@ -2674,25 +2687,13 @@ declare module PlayFabClientModels { */ UserReadOnlyDataVersion: number; /** - / List of characters for the user. - */ - CharacterList?: CharacterResult[]; - /** - / Inventories for each character for the user. - */ - CharacterInventories?: CharacterInventory[]; - /** - / Title data for this title. - */ - TitleData?: { [key: string]: string }; - /** - / List of statistics for this player. + / Dictionary of virtual currency balance(s) belonging to the user. */ - PlayerStatistics?: StatisticValue[]; + UserVirtualCurrency?: { [key: string]: number }; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + / Dictionary of remaining times and timestamps for virtual currencies. */ - PlayerProfile?: PlayerProfileModel; + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } @@ -2792,14 +2793,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Optional namespace to filter results by */ Namespace?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2833,14 +2834,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The trades for this player which are currently available to be accepted. - */ - OpenedTrades?: TradeInfo[]; /** / History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; + /** + / The trades for this player which are currently available to be accepted. + */ + OpenedTrades?: TradeInfo[]; } @@ -3043,6 +3044,10 @@ declare module PlayFabClientModels { / Payment provider used for transaction (If not VC) */ PaymentProvider?: string; + /** + / Date and time of the purchase. + */ + PurchaseDate: string; /** / Provider transaction ID (If not VC) */ @@ -3051,10 +3056,6 @@ declare module PlayFabClientModels { / PlayFab transaction status */ TransactionStatus?: string; - /** - / Date and time of the purchase. - */ - PurchaseDate: string; } @@ -3062,6 +3063,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; /** / Unique identifier for this segment. */ @@ -3070,10 +3075,6 @@ declare module PlayFabClientModels { / Segment name. */ Name?: string; - /** - / Identifier of the segments AB Test, if it is attached to one. - */ - ABTestParent?: string; } @@ -3082,17 +3083,17 @@ declare module PlayFabClientModels { */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the shared group. + / If true, return the list of all members of the shared group. */ - SharedGroupId: string; + GetMembers?: boolean; /** / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). */ Keys?: string[]; /** - / If true, return the list of all members of the shared group. + / Unique identifier for the shared group. */ - GetMembers?: boolean; + SharedGroupId: string; } @@ -3131,25 +3132,25 @@ declare module PlayFabClientModels { */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** - / Array of items which can be purchased from this store. + / The base catalog that this store is a part of. + */ + CatalogVersion?: string; + /** + / Additional data about the store. */ - Store?: StoreItem[]; + MarketingData?: StoreMarketingModel; /** / How the store was last updated (Admin or a third party). */ Source?: string; /** - / The base catalog that this store is a part of. + / Array of items which can be purchased from this store. */ - CatalogVersion?: string; + Store?: StoreItem[]; /** / The ID of this store. */ StoreId?: string; - /** - / Additional data about the store. - */ - MarketingData?: StoreMarketingModel; } @@ -3271,6 +3272,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom data. Leave null to get all keys. */ @@ -3279,10 +3284,6 @@ declare module PlayFabClientModels { / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a PlayFab id of another player, then this will only return public keys for that account. */ PlayFabId?: string; - /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. - */ - IfChangedFromDataVersion?: number; } @@ -3331,14 +3332,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: 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; } @@ -3376,14 +3377,14 @@ declare module PlayFabClientModels { / Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. - */ - ItemId: string; /** / Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; + /** + / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. + */ + ItemId: string; } @@ -3411,49 +3412,53 @@ declare module PlayFabClientModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -3463,13 +3468,9 @@ declare module PlayFabClientModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3477,6 +3478,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Title-specific text concerning this purchase. + */ + Annotation?: string; /** / Unique ItemId of the item to purchase. */ @@ -3485,10 +3490,6 @@ declare module PlayFabClientModels { / How many of this item to purchase. */ Quantity: number; - /** - / Title-specific text concerning this purchase. - */ - Annotation?: string; /** / Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). */ @@ -3515,22 +3516,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Android device identifier for the user's device. - */ - AndroidDeviceId: string; - /** - / Specific Operating System version for the user's device. - */ - OS?: string; /** / Specific model of the user's device. */ AndroidDevice?: string; + /** + / Android device identifier for the user's device. + */ + AndroidDeviceId: string; /** / If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; } @@ -3567,6 +3568,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; /** / Authentication platform */ @@ -3579,10 +3584,6 @@ declare module PlayFabClientModels { / Linked account username of the user on the platform, if available */ Username?: string; - /** - / Linked account email of the user on the platform, if available - */ - Email?: string; } @@ -3612,14 +3613,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Game Center identifier for the player account to be linked. - */ - GameCenterId: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Game Center identifier for the player account to be linked. + */ + GameCenterId: string; } @@ -3634,14 +3635,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. - */ - ServerAuthCode?: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. + */ + ServerAuthCode?: string; } @@ -3660,10 +3661,6 @@ declare module PlayFabClientModels { / Vendor-specific iOS identifier for the user's device. */ DeviceId: string; - /** - / Specific Operating System version for the user's device. - */ - OS?: string; /** / Specific model of the user's device. */ @@ -3672,6 +3669,10 @@ declare module PlayFabClientModels { / If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; } @@ -3686,10 +3687,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Numeric user ID assigned by Kongregate - */ - KongregateId: string; /** / Valid session auth ticket issued by Kongregate */ @@ -3698,6 +3695,10 @@ declare module PlayFabClientModels { / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Numeric user ID assigned by Kongregate + */ + KongregateId: string; } @@ -3712,14 +3713,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). - */ - SteamTicket: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket: string; } @@ -3756,14 +3757,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player's user named used by Windows Hello. - */ - UserName: string; - /** - / PublicKey generated by Windows Hello. - */ - PublicKey: string; /** / Device name. */ @@ -3772,6 +3765,14 @@ declare module PlayFabClientModels { / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / PublicKey generated by Windows Hello. + */ + PublicKey: string; + /** + / Player's user named used by Windows Hello. + */ + UserName: string; } @@ -3808,6 +3809,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { + /** + / City name. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3816,10 +3821,6 @@ declare module PlayFabClientModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / City name. - */ - City?: string; /** / Latitude coordinate of the geographic location. */ @@ -3851,29 +3852,29 @@ declare module PlayFabClientModels { */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** - / Unique token authorizing the user and game at the server level, for the current session. + / Results for requested info. */ - SessionTicket?: string; + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** - / Player's unique PlayFabId. + / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ - PlayFabId?: string; + LastLoginTime?: string; /** / True if the account was newly created on this login. */ NewlyCreated: boolean; /** - / Settings specific to this user. + / Player's unique PlayFabId. */ - SettingsForUser?: UserSettings; + PlayFabId?: string; /** - / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue + / Unique token authorizing the user and game at the server level, for the current session. */ - LastLoginTime?: string; + SessionTicket?: string; /** - / Results for requested info. + / Settings specific to this user. */ - InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + SettingsForUser?: UserSettings; } @@ -3881,38 +3882,38 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Android device identifier for the user's device. - */ - AndroidDeviceId?: string; - /** - / Specific Operating System version for the user's device. - */ - OS?: string; /** / Specific model of the user's device. */ AndroidDevice?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this ID. + / Android device identifier for the user's device. */ - CreateAccount?: boolean; + AndroidDeviceId?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ - TitleId?: string; + CreateAccount?: boolean; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -3920,30 +3921,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom unique identifier for the user, generated by the title. - */ - CustomId?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Custom unique identifier for the user, generated by the title. */ - TitleId?: string; + CustomId?: string; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -3951,22 +3952,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Email address for the account. */ Email: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -3982,22 +3983,22 @@ declare module PlayFabClientModels { / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4005,30 +4006,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique Game Center player id. - */ - PlayerId?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / Unique Game Center player id. + */ + PlayerId?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4036,30 +4037,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. - */ - ServerAuthCode?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + ServerAuthCode?: 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; } @@ -4068,37 +4069,37 @@ declare module PlayFabClientModels { */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Vendor-specific iOS identifier for the user's device. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ - DeviceId?: string; + CreateAccount?: boolean; /** - / Specific Operating System version for the user's device. + / Vendor-specific iOS identifier for the user's device. */ - OS?: string; + DeviceId?: string; /** / Specific model of the user's device. */ DeviceModel?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this ID. + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - CreateAccount?: boolean; + EncryptedRequest?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Flags for which pieces of info to return for the user. */ - TitleId?: string; + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + / Specific Operating System version for the user's device. */ - EncryptedRequest?: string; + OS?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4106,10 +4107,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Numeric user ID assigned by Kongregate - */ - KongregateId?: string; /** / Token issued by Kongregate's client API for the user. */ @@ -4119,21 +4116,25 @@ declare module PlayFabClientModels { */ CreateAccount?: boolean; /** - / Flags for which pieces of info to return for the user. + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + EncryptedRequest?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Flags for which pieces of info to return for the user. */ - TitleId?: string; + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + / Numeric user ID assigned by Kongregate */ - EncryptedRequest?: string; + KongregateId?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: 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; } @@ -4142,21 +4143,21 @@ declare module PlayFabClientModels { */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / 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; - /** - / PlayFab username for the account. + / Flags for which pieces of info to return for the user. */ - Username: string; + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; + /** + / PlayFab username for the account. + */ + Username: string; } @@ -4164,30 +4165,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). - */ - SteamTicket?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + SteamTicket?: 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; } @@ -4203,22 +4204,22 @@ declare module PlayFabClientModels { / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4226,22 +4227,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / The signed response from the user for the Challenge. */ ChallengeSignature: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4249,15 +4250,15 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; /** / 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; - /** - / Optional object accompanying the message as contextual information - */ - Data?: any; } @@ -4270,9 +4271,9 @@ declare module PlayFabClientModels { */ BuildVersion?: string; /** - / Region to match make against. [Note: Required if LobbyId is not specified] + / Character to use for stats based matching. Leave null to use account stats. */ - Region?: string; + CharacterId?: string; /** / Game mode to match make against. [Note: Required if LobbyId is not specified] */ @@ -4282,17 +4283,17 @@ declare module PlayFabClientModels { */ LobbyId?: string; /** - / Player statistic to use in finding a match. May be null for no stat-based matching. - */ - StatisticName?: string; - /** - / Character to use for stats based matching. Leave null to use account stats. + / Region to match make against. [Note: Required if LobbyId is not specified] */ - CharacterId?: string; + Region?: string; /** / Start a game session if one with an open slot is not found. Defaults to true. */ StartNewIfNoneFound?: boolean; + /** + / Player statistic to use in finding a match. May be null for no stat-based matching. + */ + StatisticName?: string; /** / Filter to include and/or exclude Game Server Instances associated with certain Tags */ @@ -4304,10 +4305,18 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / timestamp for when the server will expire, if applicable + */ + Expires?: string; /** / unique lobby identifier of the server matched */ LobbyID?: string; + /** + / time in milliseconds the application is configured to wait on matchmaking results + */ + PollWaitTimeMS?: number; /** / IP address of the server */ @@ -4316,22 +4325,14 @@ declare module PlayFabClientModels { / port number to use for non-http communications with the server */ ServerPort?: number; - /** - / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) - */ - Ticket?: string; - /** - / timestamp for when the server will expire, if applicable - */ - Expires?: string; - /** - / time in milliseconds the application is configured to wait on matchmaking results - */ - PollWaitTimeMS?: number; /** / result of match making process */ Status?: string; + /** + / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) + */ + Ticket?: string; } @@ -4342,25 +4343,52 @@ declare module PlayFabClientModels { | "SessionClosed"; /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ - export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + export interface MembershipModel { /** - / User currency was subtracted from. + / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ - PlayFabId?: string; + IsActive: boolean; /** - / Name of the virtual currency which was modified. + / The time this membership expires */ - VirtualCurrency?: string; + MembershipExpiration: string; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + / The id of the membership */ - BalanceChange: number; + MembershipId?: string; + /** + / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** + / The list of subscriptions that this player has for this membership + */ + Subscriptions?: SubscriptionModel[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** / Balance of the virtual currency after modification. */ Balance: number; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } @@ -4368,8 +4396,8 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { - Name?: string; Id?: string; + Name?: string; } @@ -4377,6 +4405,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. + */ + AllowedPlayerIds?: string[]; /** / Player inventory items offered for trade. If not set, the trade is effectively a gift request */ @@ -4385,10 +4417,6 @@ declare module PlayFabClientModels { / Catalog items accepted for the trade. If not set, the trade is effectively a gift. */ RequestedCatalogItemIds?: string[]; - /** - / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. - */ - AllowedPlayerIds?: string[]; } @@ -4407,6 +4435,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Currency to use to fund the purchase. + */ + Currency: string; /** / Purchase order identifier returned from StartPurchase. */ @@ -4415,10 +4447,6 @@ declare module PlayFabClientModels { / Payment provider to use to fund the purchase. */ ProviderName: string; - /** - / Currency to use to fund the purchase. - */ - Currency: string; /** / Payment provider transaction identifier. Required for Facebook Payments. */ @@ -4430,18 +4458,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Local credit applied to the transaction (provider specific). + */ + CreditApplied: number; /** / Purchase order identifier. */ OrderId?: string; /** - / Status of the transaction. + / Provider used for the transaction. */ - Status?: string; + ProviderData?: string; /** - / Virtual currency cost of the transaction. + / A token generated by the provider to authenticate the request (provider-specific). */ - VCAmount?: { [key: string]: number }; + ProviderToken?: string; + /** + / URL to the purchase provider page that details the purchase. + */ + PurchaseConfirmationPageURL?: string; /** / Real world currency for the transaction. */ @@ -4451,25 +4487,17 @@ declare module PlayFabClientModels { */ PurchasePrice: number; /** - / Local credit applied to the transaction (provider specific). - */ - CreditApplied: number; - /** - / Provider used for the transaction. + / Status of the transaction. */ - ProviderData?: string; + Status?: string; /** - / URL to the purchase provider page that details the purchase. + / Virtual currency cost of the transaction. */ - PurchaseConfirmationPageURL?: string; + VCAmount?: { [key: string]: number }; /** / Current virtual currency totals for the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / A token generated by the provider to authenticate the request (provider-specific). - */ - ProviderToken?: string; } @@ -4481,14 +4509,14 @@ declare module PlayFabClientModels { / Specific currency to use to fund the purchase. */ Currency?: string; - /** - / Name of the purchase provider for this option. - */ - ProviderName?: string; /** / Amount of the specified currency needed for the purchase. */ Price: number; + /** + / Name of the purchase provider for this option. + */ + ProviderName?: string; /** / Amount of existing credit the user has with the provider. */ @@ -4500,18 +4528,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; /** - / Specific value of the user's statistic. + / PlayFab unique identifier of the user for this leaderboard entry. */ - StatValue: number; + PlayFabId?: string; /** / User's overall position in the leaderboard. */ @@ -4520,6 +4544,10 @@ declare module PlayFabClientModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -4528,65 +4556,73 @@ declare module PlayFabClientModels { */ export interface PlayerProfileModel { /** - / Publisher this player belongs to + / List of advertising campaigns the player has been attributed to */ - PublisherId?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Title ID this player profile applies to + / URL of the player's avatar image */ - TitleId?: string; + AvatarUrl?: string; /** - / PlayFab player account unique identifier + / If the player is currently banned, the UTC Date when the ban expires */ - PlayerId?: string; + BannedUntil?: string; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / Player record created */ Created?: string; /** - / Player account origination + / Player display name */ - Origination?: string; + DisplayName?: string; /** / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** - / If the player is currently banned, the UTC Date when the ban expires + / List of all authentication systems linked to this player account */ - BannedUntil?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player display name + / List of memberships for the player, along with whether are expired. */ - DisplayName?: string; + Memberships?: MembershipModel[]; /** - / URL of the player's avatar image + / Player account origination */ - AvatarUrl?: string; + Origination?: string; /** - / List of player's tags for segmentation + / PlayFab player account unique identifier */ - Tags?: TagModel[]; + PlayerId?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; /** / List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of all authentication systems linked to this player account + / List of leaderboard statistic values for the player */ - LinkedAccounts?: LinkedPlatformAccountModel[]; + Statistics?: StatisticModel[]; /** - / List of all contact email info associated with the player account + / List of player's tags for segmentation */ - ContactEmailAddresses?: ContactEmailInfoModel[]; + Tags?: TagModel[]; /** - / List of advertising campaigns the player has been attributed to + / Title ID this player profile applies to */ - AdCampaignAttributions?: AdCampaignAttributionModel[]; + TitleId?: string; /** / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ @@ -4599,10 +4635,6 @@ declare module PlayFabClientModels { / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; - /** - / List of leaderboard statistic values for the player - */ - Statistics?: StatisticModel[]; } @@ -4611,45 +4643,61 @@ declare module PlayFabClientModels { */ export interface PlayerProfileViewConstraints { /** - / Whether to show the display name. Defaults to false + / Whether to show player's avatar URL. Defaults to false */ - ShowDisplayName: boolean; + ShowAvatarUrl: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the created date. Defaults to false */ ShowCreated: boolean; /** - / Whether to show origination. Defaults to false + / Whether to show the display name. Defaults to false */ - ShowOrigination: boolean; + ShowDisplayName: boolean; /** / Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** - / Whether to show the banned until time. Defaults to false + / Whether to show the linked accounts. Defaults to false */ - ShowBannedUntil: boolean; + ShowLinkedAccounts: boolean; /** - / Reserved for future development + / Whether to show player's locations. Defaults to false */ - ShowStatistics: boolean; + ShowLocations: boolean; /** - / Whether to show campaign attributions. Defaults to false + / Whether to show player's membership information. Defaults to false */ - ShowCampaignAttributions: boolean; + ShowMemberships: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; /** / Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; /** - / Whether to show the linked accounts. Defaults to false + / Reserved for future development */ - ShowLinkedAccounts: boolean; + ShowStatistics: boolean; /** - / Whether to show contact email addresses. Defaults to false + / Whether to show tags. Defaults to false */ - ShowContactEmailAddresses: boolean; + ShowTags: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -4658,18 +4706,6 @@ declare module PlayFabClientModels { / Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; - /** - / Whether to show tags. Defaults to false - */ - ShowTags: boolean; - /** - / Whether to show player's locations. Defaults to false - */ - ShowLocations: boolean; - /** - / Whether to show player's avatar URL. Defaults to false - */ - ShowAvatarUrl: boolean; } @@ -4678,29 +4714,29 @@ declare module PlayFabClientModels { */ export interface PlayerStatisticVersion { /** - / name of the statistic when the version became active + / time when the statistic version became active */ - StatisticName?: string; + ActivationTime: string; /** - / version of the statistic + / time when the statistic version became inactive due to statistic version incrementing */ - Version: number; + DeactivationTime?: string; /** / time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time when the statistic version became active - */ - ActivationTime: string; /** / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; /** - / time when the statistic version became inactive due to statistic version incrementing + / name of the statistic when the version became active */ - DeactivationTime?: string; + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; } @@ -4709,29 +4745,29 @@ declare module PlayFabClientModels { */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the item to purchase. + / Catalog version for the items to be purchased (defaults to most recent version. */ - ItemId: string; + CatalogVersion?: string; /** - / Virtual currency to use to purchase the item. + / Unique PlayFab assigned ID for a specific character owned by a user */ - VirtualCurrency: string; + CharacterId?: string; /** - / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). + / Unique identifier of the item to purchase. */ - Price: number; + ItemId: string; /** - / Catalog version for the items to be purchased (defaults to most recent version. + / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). */ - CatalogVersion?: string; + Price: number; /** / Store to buy this item through. If not set, prices default to those in the catalog. */ StoreId?: string; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Virtual currency to use to purchase the item. */ - CharacterId?: string; + VirtualCurrency: string; } @@ -4753,14 +4789,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -4768,10 +4804,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generated coupon code to redeem. - */ - CouponCode: string; /** / Catalog version of the coupon. If null, uses the default catalog */ @@ -4780,6 +4812,10 @@ declare module PlayFabClientModels { / Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; + /** + / Generated coupon code to redeem. + */ + CouponCode: string; } @@ -4807,21 +4843,21 @@ declare module PlayFabClientModels { */ export interface RegionInfo { /** - / unique identifier for the region + / indicates whether the server specified is available in this region */ - Region?: string; + Available: boolean; /** / name of the region */ Name?: string; - /** - / indicates whether the server specified is available in this region - */ - Available: boolean; /** / url to ping to get roundtrip time */ PingUrl?: string; + /** + / unique identifier for the region + */ + Region?: string; } @@ -4829,6 +4865,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; /** / Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. */ @@ -4837,10 +4877,6 @@ declare module PlayFabClientModels { / If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; - /** - / Message to display when confirming push notification. - */ - ConfirmationMessage?: string; } @@ -4856,41 +4892,41 @@ declare module PlayFabClientModels { */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab username for the account (3-20 characters) + / An optional parameter for setting the display name for this title (3-25 characters). */ - Username?: string; + DisplayName?: string; /** / User email address attached to their account */ Email?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + */ + EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Password for the PlayFab account (6-100 characters) */ Password?: string; + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret?: string; /** / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. */ RequireBothUsernameAndEmail?: boolean; - /** - / An optional parameter for setting the display name for this title (3-25 characters). - */ - DisplayName?: 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; /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ - EncryptedRequest?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ - PlayerSecret?: string; - /** - / Flags for which pieces of info to return for the user. + / PlayFab username for the account (3-20 characters) */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + Username?: string; } @@ -4906,14 +4942,14 @@ declare module PlayFabClientModels { / Unique token identifying the user and game at the server level, for the current session. */ SessionTicket?: string; - /** - / PlayFab unique user name. - */ - Username?: string; /** / Settings specific to this user. */ SettingsForUser?: UserSettings; + /** + / PlayFab unique user name. + */ + Username?: string; } @@ -4921,34 +4957,34 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player's user name used by Windows Hello. - */ - UserName?: string; - /** - / PublicKey generated by Windows Hello. - */ - PublicKey?: string; /** / Device name. */ DeviceName?: 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / PublicKey generated by Windows Hello. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + PublicKey?: 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; + /** + / Player's user name used by Windows Hello. + */ + UserName?: string; } @@ -4992,14 +5028,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -5014,14 +5050,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab identifier of the reported player. - */ - ReporteeId: string; /** / Optional additional comment by reporting player. */ Comment?: string; + /** + / Unique PlayFab identifier of the reported player. + */ + ReporteeId: string; } @@ -5121,14 +5157,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ - PlayerSecret?: string; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret?: string; } @@ -5144,21 +5180,21 @@ declare module PlayFabClientModels { */ export interface SharedGroupDataRecord { /** - / Data stored for the specified group data key. + / Timestamp for when this data was last updated. */ - Value?: string; + LastUpdated: string; /** / Unique PlayFab identifier of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Timestamp for when this data was last updated. - */ - LastUpdated: string; /** / Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; + /** + / Data stored for the specified group data key. + */ + Value?: string; } @@ -5177,25 +5213,25 @@ declare module PlayFabClientModels { */ BuildVersion: string; /** - / the region to associate this server with for match filtering + / character to use for stats based matching. Leave null to use account stats */ - Region: string; + CharacterId?: string; /** - / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) + / custom command line argument when starting game server process */ - GameMode: string; + CustomCommandLineData?: string; /** - / player statistic for others to use in finding this game. May be null for no stat-based matching + / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ - StatisticName?: string; + GameMode: string; /** - / character to use for stats based matching. Leave null to use account stats + / the region to associate this server with for match filtering */ - CharacterId?: string; + Region: string; /** - / custom command line argument when starting game server process + / player statistic for others to use in finding this game. May be null for no stat-based matching */ - CustomCommandLineData?: string; + StatisticName?: string; } @@ -5203,10 +5239,18 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / timestamp for when the server should expire, if applicable + */ + Expires?: string; /** / unique identifier for the lobby of the server started */ LobbyID?: string; + /** + / password required to log into the server + */ + Password?: string; /** / server IP address */ @@ -5219,14 +5263,6 @@ declare module PlayFabClientModels { / unique identifier for the server */ Ticket?: string; - /** - / timestamp for when the server should expire, if applicable - */ - Expires?: string; - /** - / password required to log into the server - */ - Password?: string; } @@ -5238,14 +5274,14 @@ declare module PlayFabClientModels { / Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; - /** - / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. - */ - StoreId?: string; /** / Array of items to purchase. */ Items: ItemPurchaseRequest[]; + /** + / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. + */ + StoreId?: string; } @@ -5253,14 +5289,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Purchase order identifier. - */ - OrderId?: string; /** / Cart items to be purchased. */ Contents?: CartItem[]; + /** + / Purchase order identifier. + */ + OrderId?: string; /** / Available methods by which the user can pay. */ @@ -5280,14 +5316,14 @@ declare module PlayFabClientModels { / Statistic name */ Name?: string; - /** - / Statistic version (0 if not a versioned statistic) - */ - Version: number; /** / Statistic value */ Value: number; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; } @@ -5314,14 +5350,14 @@ declare module PlayFabClientModels { / unique name of the statistic */ StatisticName: string; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. - */ - Version?: number; /** / statistic value for the player */ Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; } @@ -5348,14 +5384,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { - /** - / Unique Steam identifier for a user. - */ - SteamStringId?: string; /** / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; + /** + / Unique Steam identifier for a user. + */ + SteamStringId?: string; } @@ -5364,25 +5400,25 @@ declare module PlayFabClientModels { */ export interface StoreItem { /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ - ItemId: string; + CustomData?: any; /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + / Intended display position for this item. Note that 0 is the first position */ - VirtualCurrencyPrices?: { [key: string]: number }; + DisplayPosition?: number; /** - / Override prices for this item for specific currencies + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog */ - RealCurrencyPrices?: { [key: string]: number }; + ItemId: string; /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + / Override prices for this item for specific currencies */ - CustomData?: any; + RealCurrencyPrices?: { [key: string]: number }; /** - / Intended display position for this item. Note that 0 is the first position + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ - DisplayPosition?: number; + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -5390,14 +5426,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Display name of a store as it will appear to users. - */ - DisplayName?: string; /** / Tagline for a store. */ Description?: string; + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; /** / Custom data about a store. */ @@ -5406,17 +5442,61 @@ declare module PlayFabClientModels { } /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ - export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface SubscriptionModel { /** - / Name of the virtual currency which is to be decremented. + / When this subscription expires. */ - VirtualCurrency: string; + Expiration: string; + /** + / The time the subscription was orignially purchased + */ + InitialSubscriptionTime: string; + /** + / Whether this subscription is currently active. That is, if Expiration > now. + */ + IsActive: boolean; + /** + / The status of this subscription, according to the subscription provider. + */ + Status?: string; + /** + / The id for this subscription + */ + SubscriptionId?: string; + /** + / The item id for this subscription from the primary catalog + */ + SubscriptionItemId?: string; + /** + / The provider for this subscription. Apple or Google Play are supported today. + */ + SubscriptionProvider?: string; + + } + + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** / Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; } @@ -5442,21 +5522,21 @@ declare module PlayFabClientModels { */ export interface TitleNewsItem { /** - / Date and time when the news items was posted. + / News item text. */ - Timestamp: string; + Body?: string; /** / Unique identifier of news item. */ NewsId?: string; /** - / Title of the news item. + / Date and time when the news items was posted. */ - Title?: string; + Timestamp: string; /** - / News item text. + / Title of the news item. */ - Body?: string; + Title?: string; } @@ -5465,57 +5545,57 @@ declare module PlayFabClientModels { */ export interface TradeInfo { /** - / Describes the current state of this trade. + / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ - Status?: string; + AcceptedInventoryInstanceIds?: string[]; /** - / The identifier for this trade. + / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. */ - TradeId?: string; + AcceptedPlayerId?: string; /** - / The PlayFabId for the offering player. + / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ - OfferingPlayerId?: string; + AllowedPlayerIds?: string[]; /** - / The itemInstance Ids that are being offered. + / If set, The UTC time when this trade was canceled. */ - OfferedInventoryInstanceIds?: string[]; + CancelledAt?: string; /** - / The catalogItem Ids of the item instances being offered. + / If set, The UTC time when this trade was fulfilled. */ - OfferedCatalogItemIds?: string[]; + FilledAt?: string; /** - / The catalogItem Ids requested in exchange. + / If set, The UTC time when this trade was made invalid. */ - RequestedCatalogItemIds?: string[]; + InvalidatedAt?: string; /** - / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. + / The catalogItem Ids of the item instances being offered. */ - AllowedPlayerIds?: string[]; + OfferedCatalogItemIds?: string[]; /** - / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. + / The itemInstance Ids that are being offered. */ - AcceptedPlayerId?: string; + OfferedInventoryInstanceIds?: string[]; /** - / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. + / The PlayFabId for the offering player. */ - AcceptedInventoryInstanceIds?: string[]; + OfferingPlayerId?: string; /** / The UTC time when this trade was created. */ OpenedAt?: string; /** - / If set, The UTC time when this trade was fulfilled. + / The catalogItem Ids requested in exchange. */ - FilledAt?: string; + RequestedCatalogItemIds?: string[]; /** - / If set, The UTC time when this trade was canceled. + / Describes the current state of this trade. */ - CancelledAt?: string; + Status?: string; /** - / If set, The UTC time when this trade was made invalid. + / The identifier for this trade. */ - InvalidatedAt?: string; + TradeId?: string; } @@ -5552,14 +5632,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { - /** - / Unique Twitch identifier for a user. - */ - TwitchId?: string; /** / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; + /** + / Unique Twitch identifier for a user. + */ + TwitchId?: string; } @@ -5723,6 +5803,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + */ + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -5735,10 +5819,6 @@ declare module PlayFabClientModels { / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. */ KeyItemInstanceId?: string; - /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. - */ - CatalogVersion?: string; } @@ -5746,10 +5826,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog ItemId of the container type to unlock. - */ - ContainerItemId: string; /** / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. */ @@ -5758,6 +5834,10 @@ declare module PlayFabClientModels { / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; + /** + / Catalog ItemId of the container type to unlock. + */ + ContainerItemId: string; } @@ -5765,6 +5845,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; /** / Unique instance identifier of the container unlocked. */ @@ -5773,10 +5857,6 @@ declare module PlayFabClientModels { / Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Items granted to the player as a result of unlocking the container. - */ - GrantedItems?: ItemInstance[]; /** / Virtual currency granted to the player as a result of unlocking the container. */ @@ -5873,10 +5953,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5889,6 +5965,10 @@ declare module PlayFabClientModels { / Permission to be applied to all user data keys in this request. */ Permission?: string; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -5956,69 +6036,69 @@ declare module PlayFabClientModels { */ export interface UserAccountInfo { /** - / Unique identifier for the user account + / User Android device information, if an Android device has been linked */ - PlayFabId?: string; + AndroidDeviceInfo?: UserAndroidDeviceInfo; /** / Timestamp indicating when the user account was created */ Created: string; /** - / User account name in the PlayFab service - */ - Username?: string; - /** - / Title-specific information for the user account - */ - TitleInfo?: UserTitleInfo; - /** - / Personal information for the user which is considered more sensitive + / Custom ID information, if a custom ID has been assigned */ - PrivateInfo?: UserPrivateAccountInfo; + CustomIdInfo?: UserCustomIdInfo; /** / User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Steam information, if a Steam account has been linked - */ - SteamInfo?: UserSteamInfo; /** / User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** - / User iOS device information, if an iOS device has been linked + / User Google account information, if a Google account has been linked */ - IosDeviceInfo?: UserIosDeviceInfo; + GoogleInfo?: UserGoogleInfo; /** - / User Android device information, if an Android device has been linked + / User iOS device information, if an iOS device has been linked */ - AndroidDeviceInfo?: UserAndroidDeviceInfo; + IosDeviceInfo?: UserIosDeviceInfo; /** / User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** - / User Twitch account information, if a Twitch account has been linked + / Unique identifier for the user account */ - TwitchInfo?: UserTwitchInfo; + PlayFabId?: string; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; /** / User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; /** - / User Google account information, if a Google account has been linked + / User Steam information, if a Steam account has been linked */ - GoogleInfo?: UserGoogleInfo; + SteamInfo?: UserSteamInfo; /** - / User XBox account information, if a XBox account has been linked + / Title-specific information for the user account */ - XboxInfo?: UserXboxInfo; + TitleInfo?: UserTitleInfo; /** - / Custom ID information, if a custom ID has been assigned + / User Twitch account information, if a Twitch account has been linked */ - CustomIdInfo?: UserCustomIdInfo; + TwitchInfo?: UserTwitchInfo; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; } @@ -6051,10 +6131,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Data stored for the specified user data key. - */ - Value?: string; /** / Timestamp for when this data was last updated. */ @@ -6063,6 +6139,10 @@ declare module PlayFabClientModels { / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. */ Permission?: string; + /** + / Data stored for the specified user data key. + */ + Value?: string; } @@ -6096,22 +6176,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Google ID - */ - GoogleId?: string; /** / Email address of the Google account */ GoogleEmail?: string; - /** - / Locale of the Google account - */ - GoogleLocale?: string; /** / Gender information of the Google account */ GoogleGender?: string; + /** + / Google ID + */ + GoogleId?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; } @@ -6190,6 +6270,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { + /** + / Boolean for whether this player is eligible for gathering device info. + */ + GatherDeviceInfo: boolean; /** / Boolean for whether this player is eligible for ad tracking. */ @@ -6202,9 +6286,9 @@ declare module PlayFabClientModels { */ export interface UserSteamInfo { /** - / Steam identifier + / what stage of game ownership the user is listed as being in, from Steam */ - SteamId?: string; + SteamActivationStatus?: string; /** / the country in which the player resides, from Steam data */ @@ -6214,9 +6298,9 @@ declare module PlayFabClientModels { */ SteamCurrency?: string; /** - / what stage of game ownership the user is listed as being in, from Steam + / Steam identifier */ - SteamActivationStatus?: string; + SteamId?: string; } @@ -6225,21 +6309,17 @@ declare module PlayFabClientModels { */ export interface UserTitleInfo { /** - / name of the user, as it is displayed in-game - */ - DisplayName?: string; - /** - / source by which the user first joined the game, if known + / URL to the player's avatar. */ - Origination?: string; + AvatarUrl?: string; /** / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) */ Created: string; /** - / timestamp for the last user login for this title + / name of the user, as it is displayed in-game */ - LastLogin?: string; + DisplayName?: string; /** / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) */ @@ -6249,9 +6329,13 @@ declare module PlayFabClientModels { */ isBanned?: boolean; /** - / URL to the player's avatar. + / timestamp for the last user login for this title */ - AvatarUrl?: string; + LastLogin?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; } @@ -6285,14 +6369,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / ReceiptId returned by the Amazon App Store in-app purchase API - */ - ReceiptId: string; - /** - / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API - */ - UserId: string; /** / Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ @@ -6305,6 +6381,14 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice: number; + /** + / ReceiptId returned by the Amazon App Store in-app purchase API + */ + ReceiptId: string; + /** + / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API + */ + UserId: string; } @@ -6319,14 +6403,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Original JSON string returned by the Google Play IAB API. - */ - ReceiptJson: string; - /** - / Signature returned by the Google Play IAB API. - */ - Signature: string; /** / Currency used for the purchase. */ @@ -6335,6 +6411,14 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice?: number; + /** + / Original JSON string returned by the Google Play IAB API. + */ + ReceiptJson: string; + /** + / Signature returned by the Google Play IAB API. + */ + Signature: string; } @@ -6349,10 +6433,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. - */ - ReceiptData: string; /** / Currency used for the purchase. */ @@ -6361,6 +6441,10 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice: number; + /** + / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. + */ + ReceiptData: string; } @@ -6375,10 +6459,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / XML Receipt returned by the Windows App Store in-app purchase API - */ - Receipt: string; /** / Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ @@ -6391,6 +6471,10 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice: number; + /** + / XML Receipt returned by the Windows App Store in-app purchase API + */ + Receipt: string; } @@ -6440,17 +6524,17 @@ declare module PlayFabClientModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } @@ -6458,6 +6542,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -6470,10 +6558,6 @@ declare module PlayFabClientModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } @@ -6481,6 +6565,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ @@ -6489,10 +6577,6 @@ declare module PlayFabClientModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } @@ -6511,6 +6595,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ @@ -6519,10 +6607,6 @@ declare module PlayFabClientModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 3e752f0b..23cc1527 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -6,27 +6,27 @@ declare module PlayFabMatchmakerModule { / Validates a user with the PlayFab service / https://api.playfab.com/Documentation/Matchmaker/method/AuthUser */ - AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback): void; + AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified / https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined */ - PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback): void; + PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified / https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft */ - PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance / https://api.playfab.com/Documentation/Matchmaker/method/StartGame */ - StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches / https://api.playfab.com/Documentation/Matchmaker/method/UserInfo */ - UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback): void; + UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -81,49 +81,53 @@ declare module PlayFabMatchmakerModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -133,13 +137,9 @@ declare module PlayFabMatchmakerModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -200,29 +200,29 @@ declare module PlayFabMatchmakerModels { */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Previous lobby id if re-registering an existing game. - */ - LobbyId?: string; - /** - / IP address of the Game Server Instance. + / Unique identifier of the build running on the Game Server Instance. */ - ServerHost: string; + Build: string; /** - / Port number for communication with the Game Server Instance. + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ - ServerPort: string; + GameMode: string; /** - / Unique identifier of the build running on the Game Server Instance. + / Previous lobby id if re-registering an existing game. */ - Build: string; + LobbyId?: string; /** / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. */ Region: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + / IP address of the Game Server Instance. */ - GameMode: string; + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; /** / Tags for the Game Server Instance */ @@ -249,14 +249,6 @@ declare module PlayFabMatchmakerModels { / Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; - /** - / Region with which to associate the server, for filtering. - */ - Region: string; - /** - / Game mode for this Game Server Instance. - */ - GameMode: string; /** / Custom command line argument when starting game server process. */ @@ -265,6 +257,14 @@ declare module PlayFabMatchmakerModels { / HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an application/json body of { "EventName": "game_ended", "GameID": "" }. */ ExternalMatchmakerEventEndpoint: string; + /** + / Game mode for this Game Server Instance. + */ + GameMode: string; + /** + / Region with which to associate the server, for filtering. + */ + Region: string; } @@ -291,14 +291,14 @@ declare module PlayFabMatchmakerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab unique identifier of the user whose information is being requested. - */ - PlayFabId: string; /** / Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a catalog version of this or higher). */ MinCatalogVersion: number; + /** + / PlayFab unique identifier of the user whose information is being requested. + */ + PlayFabId: string; } @@ -306,22 +306,30 @@ declare module PlayFabMatchmakerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of inventory items in the user's current inventory. + */ + Inventory?: ItemInstance[]; + /** + / Boolean indicating whether the user is a developer. + */ + IsDeveloper: boolean; /** / PlayFab unique identifier of the user whose information was requested. */ PlayFabId?: string; /** - / PlayFab unique user name. + / Steam unique identifier, if the user has an associated Steam account. */ - Username?: string; + SteamId?: string; /** / Title specific display name, if set. */ TitleDisplayName?: string; /** - / Array of inventory items in the user's current inventory. + / PlayFab unique user name. */ - Inventory?: ItemInstance[]; + Username?: string; /** / Array of virtual currency balance(s) belonging to the user. */ @@ -330,14 +338,6 @@ declare module PlayFabMatchmakerModels { / Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; - /** - / Boolean indicating whether the user is a developer. - */ - IsDeveloper: boolean; - /** - / Steam unique identifier, if the user has an associated Steam account. - */ - SteamId?: string; } @@ -346,17 +346,17 @@ declare module PlayFabMatchmakerModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 0e60bc3c..73e5718b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2,627 +2,572 @@ declare module PlayFabServerModule { export interface IPlayFabServer { + /** + / Increments the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + */ + AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Server/method/AddFriend + */ + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + */ + AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + */ + AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validated a client's session ticket, and if successful, returns details for that user / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket */ - AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback): void; + AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + / Awards the specified users the specified Steam achievements + / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement */ - SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. / https://api.playfab.com/Documentation/Server/method/BanUsers */ - BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Server/method/ConsumeItem */ - GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; + ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + / Deletes the specific character ID from the specified user. + / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser */ - GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user - / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ - GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Server/method/GetUserBans + / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + / https://api.playfab.com/Documentation/Server/method/DeleteUsers */ - GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + / Inform the matchmaker that a Game Server Instance is removed. + / https://api.playfab.com/Documentation/Server/method/DeregisterGame */ - RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Server/method/RevokeBans + / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable */ - RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - / https://api.playfab.com/Documentation/Server/method/SendPushNotification + / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript */ - SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the specified player - / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups */ - UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; + GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Server/method/UpdateBans + / 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. + / https://api.playfab.com/Documentation/Server/method/GetAllSegments */ - UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. - / https://api.playfab.com/Documentation/Server/method/DeleteUsers + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters */ - DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; + GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Server/method/GetCatalogItems */ - GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetLeaderboard + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterData */ - GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData */ - GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. - / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory */ - GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current version and values for the indicated statistics, for the local player. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard */ - GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + / Retrieves the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData */ - GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserData + / Retrieves the details of all title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics */ - GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserInternalData + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. + / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ - GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard */ - GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Server/method/GetFriendsList */ - GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetLeaderboard */ - GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + / Retrieves a list of ranked characters for the given statistic, centered on the requested user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter */ - GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user - / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser */ - UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserData + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters */ - UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. + / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo */ - UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile */ - UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments */ - UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + / 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. + / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment */ - UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + / Retrieves the current version and values for the indicated statistics, for the local player. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics */ - UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Server/method/GetCatalogItems + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + */ + GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ - GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom publisher settings / https://api.playfab.com/Documentation/Server/method/GetPublisherData */ - GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights + / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + */ + GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + */ + GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the current server time / https://api.playfab.com/Documentation/Server/method/GetTime */ - GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom title settings / https://api.playfab.com/Documentation/Server/method/GetTitleData */ - GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom internal title settings / https://api.playfab.com/Documentation/Server/method/GetTitleInternalData */ - GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the title news feed, as configured in the developer portal / https://api.playfab.com/Documentation/Server/method/GetTitleNews */ - GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Server/method/SetPublisherData + / Retrieves the relevant details for a specified user + / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo */ - SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleData + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Server/method/GetUserBans */ - SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserData */ - SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserInternalData */ - AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetUserInventory */ - AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Server/method/ConsumeItem + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData */ - ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. - / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData */ - EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData */ - GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights - / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData */ - GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetUserInventory + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser */ - GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Adds the specified items to the specified character's inventory / https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter */ - GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Adds the specified items to the specified user's inventory / https://api.playfab.com/Documentation/Server/method/GrantItemsToUser */ - GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Adds the specified items to the specified user inventories / https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ - GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Modifies the number of remaining uses of a player's inventory item / https://api.playfab.com/Documentation/Server/method/ModifyItemUses */ - ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback): void; + ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Moves an item from a character's inventory into another of the users's character's inventory. / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter */ - MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; + MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Moves an item from a user's inventory into their character's inventory. / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser */ - MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Moves an item from a character's inventory into the owning user's inventory. / https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter */ - MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Server/method/RedeemCoupon - */ - RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Server/method/ReportPlayer - */ - ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem - */ - RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Decrements the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency - */ - SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency - */ - SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance - */ - UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem - */ - UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Updates the key-value pair data tagged to the specified item, which is read-only from the client. - / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData - */ - UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Server/method/AddFriend - */ - AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Server/method/GetFriendsList - */ - GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Removes the specified friend from the the user's friend list - / https://api.playfab.com/Documentation/Server/method/RemoveFriend - */ - RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Updates the tag list for a specified user in the friend list of another user - / https://api.playfab.com/Documentation/Server/method/SetFriendTags - */ - SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Inform the matchmaker that a Game Server Instance is removed. - / https://api.playfab.com/Documentation/Server/method/DeregisterGame - */ - DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback): void; + MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Informs the PlayFab match-making service that the user specified has left the Game Server Instance / https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft */ - NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Server/method/RedeemCoupon + */ + RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates a Game Server session ticket and returns details about the user / https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket */ - RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback): void; + RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. / https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat */ - RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback): void; + RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Inform the matchmaker that a new Game Server Instance is added. / https://api.playfab.com/Documentation/Server/method/RegisterGame */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Sets the custom data of the indicated Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData - */ - SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback): void; + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set the state of the indicated Game Server Instance. - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState - */ - SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Set custom tags for the specified Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags - */ - SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent - */ - WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent - */ - WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent - */ - WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers - */ - AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup - */ - CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + / Removes the specified friend from the the user's friend list + / https://api.playfab.com/Documentation/Server/method/RemoveFriend */ - DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag */ - GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ - RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData - */ - UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. - / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript - */ - ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback): void; - /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Server/method/ReportPlayer */ - GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the specific character ID from the specified user. - / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser */ - DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Server/method/RevokeBans */ - GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ - GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + / https://api.playfab.com/Documentation/Server/method/SendPushNotification */ - GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + / Updates the tag list for a specified user in the friend list of another user + / https://api.playfab.com/Documentation/Server/method/SetFriendTags */ - GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + / Sets the custom data of the indicated Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData */ - GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + / Set the state of the indicated Game Server Instance. + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState */ - GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + / Set custom tags for the specified Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags */ - UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterData + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret */ - GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Server/method/SetPublisherData */ - GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleData */ - GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData */ - UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + / Decrements the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency */ - UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ - UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance */ - AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups + / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem */ - GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetAllSegments + / Update the avatar URL of the specified player + / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl */ - GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Server/method/UpdateBans */ - GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + / Updates the title-specific custom data for the user's character which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + / Updates the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData */ - GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + / Updates the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData */ - RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Awards the specified users the specified Steam achievements - / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + / Updates the values of the specified title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics */ - AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; - - } -} - -declare module PlayFabServerModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ActionsOnPlayersInSegmentTaskSummary - */ - export interface ActionsOnPlayersInSegmentTaskSummary { + UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / ID of the task instance. + / Updates the values of the specified title-specific statistics for the user + / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics */ - TaskInstanceId?: string; + UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Identifier of the task this instance belongs to. + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData */ - TaskIdentifier?: NameIdentifier; + UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / UTC timestamp when the task started. + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserData */ - StartedAt: string; + UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / UTC timestamp when the task completed. + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData */ - CompletedAt?: string; + UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Current status of the task instance. + / Updates the key-value pair data tagged to the specified item, which is read-only from the client. + / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData */ - Status?: string; + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Progress represented as percentage. + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData */ - PercentComplete?: number; + UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Estimated time remaining in seconds. + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData */ - EstimatedSecondsRemaining?: number; + UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / If manually scheduled, ID of user who scheduled the task. + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData */ - ScheduledByUserId?: string; + UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Error message for last processing attempt, if an error occured. + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData */ - ErrorMessage?: string; + UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Flag indicating if the error was fatal, if false job will be retried. + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent */ - ErrorWasFatal?: boolean; + WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Total players in segment when task was started. + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent */ - TotalPlayersInSegment?: number; + WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Total number of players that have had the actions applied to. + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent */ - TotalPlayersProcessed?: number; + WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } +} +declare module PlayFabServerModels { /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -631,17 +576,17 @@ declare module PlayFabServerModels { */ export interface AdCampaignAttributionModel { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -650,21 +595,21 @@ declare module PlayFabServerModels { */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. + / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. */ - PlayFabId: string; + Amount: number; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Name of the virtual currency which is to be incremented. + / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. */ - VirtualCurrency: string; + PlayFabId: string; /** - / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + / Name of the virtual currency which is to be incremented. */ - Amount: number; + VirtualCurrency: string; } @@ -673,25 +618,25 @@ declare module PlayFabServerModels { */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab identifier of the player to add a new friend. + / Email address of the user being added. */ - PlayFabId: string; + FriendEmail?: string; /** / The PlayFab identifier of the user being added. */ FriendPlayFabId?: string; /** - / The PlayFab username of the user being added + / Title-specific display name of the user to being added. */ - FriendUsername?: string; + FriendTitleDisplayName?: string; /** - / Email address of the user being added. + / The PlayFab username of the user being added */ - FriendEmail?: string; + FriendUsername?: string; /** - / Title-specific display name of the user to being added. + / PlayFab identifier of the player to add a new friend. */ - FriendTitleDisplayName?: string; + PlayFabId: string; } @@ -721,14 +666,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -743,6 +688,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ @@ -751,10 +700,21 @@ declare module PlayFabServerModels { / Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg + */ + export interface AdvancedPushPlatformMsg { /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + / The Json the platform should receive. */ - Amount: number; + Json: string; + /** + / The platform that should receive the Json. + */ + Platform: string; } @@ -784,14 +744,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique Steam achievement name. */ AchievementName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; /** / Result of the award attempt (only valid on response, not on request). */ @@ -826,13 +786,21 @@ declare module PlayFabServerModels { */ export interface BanInfo { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ - PlayFabId?: string; + Active: boolean; /** / The unique Ban Id associated with this ban. */ BanId?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; /** / The IP address on which the ban was applied. May affect multiple players. */ @@ -842,21 +810,13 @@ declare module PlayFabServerModels { */ MACAddress?: string; /** - / The time when this ban was applied. - */ - Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Expires?: string; + PlayFabId?: string; /** / The reason why this ban was applied. */ Reason?: string; - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ - Active: boolean; } @@ -865,9 +825,9 @@ declare module PlayFabServerModels { */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The duration in hours for the ban. Leave this blank for a permanent ban. */ - PlayFabId: string; + DurationInHours?: number; /** / IP address to be banned. May affect multiple players. */ @@ -877,13 +837,13 @@ declare module PlayFabServerModels { */ MACAddress?: string; /** - / The reason for this ban. Maximum 140 characters. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Reason?: string; + PlayFabId: string; /** - / The duration in hours for the ban. Leave this blank for a permanent ban. + / The reason for this ban. Maximum 140 characters. */ - DurationInHours?: number; + Reason?: string; } @@ -914,57 +874,45 @@ declare module PlayFabServerModels { */ export interface CatalogItem { /** - / unique identifier for this item + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies */ - ItemId: string; + Bundle?: CatalogItemBundleInfo; /** - / class to which the item belongs + / if true, then an item instance of this type can be used to grant a character to a user. */ - ItemClass?: string; + CanBecomeCharacter: boolean; /** / catalog version for this item */ CatalogVersion?: string; /** - / text name for the item, to show in-game - */ - DisplayName?: string; - /** - / text description of item, to show in-game - */ - Description?: string; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ - VirtualCurrencyPrices?: { [key: string]: number }; - /** - / override prices for this item for specific currencies + / defines the consumable properties (number of uses, timeout) for the item */ - RealCurrencyPrices?: { [key: string]: number }; + Consumable?: CatalogItemConsumableInfo; /** - / list of item tags + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ - Tags?: string[]; + Container?: CatalogItemContainerInfo; /** / game specific custom data */ CustomData?: string; /** - / defines the consumable properties (number of uses, timeout) for the item + / text description of item, to show in-game */ - Consumable?: CatalogItemConsumableInfo; + Description?: string; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + / text name for the item, to show in-game */ - Container?: CatalogItemContainerInfo; + DisplayName?: string; /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. */ - Bundle?: CatalogItemBundleInfo; + InitialLimitedEditionCount: number; /** - / if true, then an item instance of this type can be used to grant a character to a user. + / BETA: If true, then only a fixed number can ever be granted. */ - CanBecomeCharacter: boolean; + IsLimitedEdition: boolean; /** / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ @@ -973,18 +921,30 @@ declare module PlayFabServerModels { / if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / unique identifier for this item + */ + ItemId: string; /** / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. */ ItemImageUrl?: string; /** - / BETA: If true, then only a fixed number can ever be granted. + / override prices for this item for specific currencies */ - IsLimitedEdition: boolean; + RealCurrencyPrices?: { [key: string]: number }; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + / list of item tags */ - InitialLimitedEditionCount: number; + Tags?: string[]; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -1030,14 +990,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) - */ - KeyItemId?: string; /** / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; /** / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) */ @@ -1068,10 +1028,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ @@ -1080,22 +1036,26 @@ declare module PlayFabServerModels { / Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ - DisplayName?: string; /** / Name of the character class for this entry. */ CharacterType?: string; /** - / Specific value of the user's statistic. + / Title-specific display name of the user for this leaderboard entry. */ - StatValue: number; + DisplayName?: string; + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; /** / User's overall position in the leaderboard. */ Position: number; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -1127,21 +1087,21 @@ declare module PlayFabServerModels { */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / Unique instance identifier of the item to be consumed. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId: string; + CharacterId?: string; /** / Number of uses to consume from the item. */ ConsumeCount: number; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Unique instance identifier of the item to be consumed. */ - CharacterId?: string; + ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -1164,14 +1124,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; /** / The verification status of the email */ @@ -1183,14 +1143,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; } @@ -1641,14 +1601,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; /** / If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those items. */ @@ -1729,14 +1689,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The unique identifier of the Random Result Table to use. - */ - TableId: string; /** / Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses default/primary catalog. */ CatalogVersion?: string; + /** + / The unique identifier of the Random Result Table to use. + */ + TableId: string; } @@ -1756,13 +1716,18 @@ declare module PlayFabServerModels { */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** - / The name of the function that executed + / Number of PlayFab API requests issued by the CloudScript function */ - FunctionName?: string; + APIRequestsIssued: number; /** - / The revision of the CloudScript that executed + / Information about the error, if any, that occurred during execution */ - Revision: number; + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** + / The name of the function that executed + */ + FunctionName?: string; /** / The object returned from the CloudScript function, if any */ @@ -1771,6 +1736,10 @@ declare module PlayFabServerModels { / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ @@ -1779,24 +1748,15 @@ declare module PlayFabServerModels { / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; - ExecutionTimeSeconds: number; + MemoryConsumedBytes: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. */ ProcessorTimeSeconds: number; - MemoryConsumedBytes: number; - /** - / Number of PlayFab API requests issued by the CloudScript function - */ - APIRequestsIssued: number; - /** - / Number of external HTTP requests issued by the CloudScript function - */ - HttpRequestsIssued: number; /** - / Information about the error, if any, that occurred during execution + / The revision of the CloudScript that executed */ - Error?: ScriptExecutionError; + Revision: number; } @@ -1804,10 +1764,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The unique user identifier for the player on whose behalf the script is being run - */ - PlayFabId: string; /** / The name of the CloudScript function to execute */ @@ -1816,6 +1772,14 @@ declare module PlayFabServerModels { / Object that is passed in to the function as the first argument */ FunctionParameter?: any; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + /** + / The unique user identifier for the player on whose behalf the script is being run + */ + PlayFabId: string; /** / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ @@ -1824,10 +1788,6 @@ declare module PlayFabServerModels { / The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; - /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. - */ - GeneratePlayStreamEvent?: boolean; } @@ -1850,22 +1810,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** - / PlayFab unique identifier for this friend. - */ - FriendPlayFabId?: string; - /** - / PlayFab unique username for this friend. - */ - Username?: string; - /** - / Title-specific display name for this friend. - */ - TitleDisplayName?: string; - /** - / Tags which have been associated with this friend. - */ - Tags?: string[]; /** / Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ @@ -1875,9 +1819,9 @@ declare module PlayFabServerModels { */ FacebookInfo?: UserFacebookInfo; /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). + / PlayFab unique identifier for this friend. */ - SteamInfo?: UserSteamInfo; + FriendPlayFabId?: string; /** / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ @@ -1886,6 +1830,22 @@ declare module PlayFabServerModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; } @@ -1896,14 +1856,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetActionGroupResult */ export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group name - */ - Name: string; /** / Action Group ID */ Id?: string; + /** + / Action Group name + */ + Name: string; } @@ -1969,22 +1929,22 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - IfChangedFromDataVersion?: number; + PlayFabId: string; } @@ -1993,21 +1953,21 @@ declare module PlayFabServerModels { */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; - /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + / Unique PlayFab assigned ID for a specific character owned by a user */ - DataVersion: number; + CharacterId?: string; /** / User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ - CharacterId?: string; + DataVersion: number; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; } @@ -2016,17 +1976,17 @@ declare module PlayFabServerModels { */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Used to limit results to only those from a specific catalog version. */ - PlayFabId: string; + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Used to limit results to only those from a specific catalog version. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId: string; } @@ -2034,10 +1994,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Unique identifier of the character for this inventory. */ @@ -2046,6 +2002,10 @@ declare module PlayFabServerModels { / Array of inventory items belonging to the character. */ Inventory?: ItemInstance[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; /** / Array of virtual currency balance(s) belonging to the character. */ @@ -2070,17 +2030,17 @@ declare module PlayFabServerModels { */ CharacterType?: string; /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. */ - StatisticName: string; + MaxResultsCount: number; /** / First entry in the leaderboard to be retrieved. */ StartPosition: number; /** - / Maximum number of entries to retrieve. + / Unique identifier for the title-specific statistic for the leaderboard. */ - MaxResultsCount: number; + StatisticName: string; } @@ -2099,14 +2059,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2114,10 +2074,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique identifier of the user whose character statistics are being returned. - */ - PlayFabId?: string; /** / Unique identifier of the character for the statistics. */ @@ -2126,6 +2082,10 @@ declare module PlayFabServerModels { / Character statistics for the requested user. */ CharacterStatistics?: { [key: string]: number }; + /** + / PlayFab unique identifier of the user whose character statistics are being returned. + */ + PlayFabId?: string; } @@ -2133,14 +2093,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ - Key: string; /** / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; /** / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. */ @@ -2164,37 +2124,37 @@ declare module PlayFabServerModels { */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The player whose friend leaderboard to get - */ - PlayFabId: string; - /** - / Statistic used to rank friends for this leaderboard. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - StatisticName: string; + IncludeFacebookFriends?: boolean; /** - / Position in the leaderboard to start this listing (defaults to the first entry). + / Indicates whether Steam service friends should be included in the response. Default is true. */ - StartPosition: number; + IncludeSteamFriends?: boolean; /** / Maximum number of entries to retrieve. */ MaxResultsCount: number; /** - / Indicates whether Steam service friends should be included in the response. Default is true. + / The player whose friend leaderboard to get */ - IncludeSteamFriends?: boolean; + PlayFabId: string; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - IncludeFacebookFriends?: boolean; + ProfileConstraints?: number; /** - / The version of the leaderboard to get. + / Position in the leaderboard to start this listing (defaults to the first entry). */ - Version?: number; + StartPosition: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + / Statistic used to rank friends for this leaderboard. */ - ProfileConstraints?: number; + StatisticName: string; + /** + / The version of the leaderboard to get. + */ + Version?: number; } @@ -2203,17 +2163,17 @@ declare module PlayFabServerModels { */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab identifier of the player whose friend list to get. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - PlayFabId: string; + IncludeFacebookFriends?: boolean; /** / Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / PlayFab identifier of the player whose friend list to get. */ - IncludeFacebookFriends?: boolean; + PlayFabId: string; /** / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ @@ -2236,14 +2196,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -2256,6 +2208,14 @@ declare module PlayFabServerModels { / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; } @@ -2275,21 +2235,21 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. */ - StatisticName: string; + MaxResultsCount: number; /** / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Maximum number of entries to retrieve. - */ - MaxResultsCount: number; /** / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; /** / The version of the leaderboard to get. */ @@ -2305,14 +2265,14 @@ declare module PlayFabServerModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2321,17 +2281,17 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. */ - StatisticName: string; + MaxResultsCount: number; /** / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / Maximum number of entries to retrieve. + / Unique identifier for the title-specific statistic for the leaderboard. */ - MaxResultsCount: number; + StatisticName: string; } @@ -2350,14 +2310,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; - /** - / First entry in the leaderboard to be retrieved. - */ - StartPosition: number; /** / Maximum number of entries to retrieve. */ @@ -2366,6 +2318,14 @@ declare module PlayFabServerModels { / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; /** / The version of the leaderboard to get. */ @@ -2381,14 +2341,14 @@ declare module PlayFabServerModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2396,14 +2356,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFabId of the user whose data will be returned - */ - PlayFabId: string; /** / Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + /** + / PlayFabId of the user whose data will be returned + */ + PlayFabId: string; } @@ -2412,65 +2372,65 @@ declare module PlayFabServerModels { */ export interface GetPlayerCombinedInfoRequestParams { /** - / Whether to get the player's account Info. Defaults to false + / Whether to get character inventories. Defaults to false. */ - GetUserAccountInfo: boolean; + GetCharacterInventories: boolean; /** - / Whether to get the player's inventory. Defaults to false + / Whether to get the list of characters. Defaults to false. */ - GetUserInventory: boolean; + GetCharacterList: boolean; /** - / Whether to get the player's virtual currency balances. Defaults to false + / Whether to get player profile. Defaults to false. */ - GetUserVirtualCurrency: boolean; + GetPlayerProfile: boolean; /** - / Whether to get the player's custom data. Defaults to false + / Whether to get player statistics. Defaults to false. */ - GetUserData: boolean; + GetPlayerStatistics: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + / Whether to get title data. Defaults to false. */ - UserDataKeys?: string[]; + GetTitleData: boolean; /** - / Whether to get the player's read only data. Defaults to false + / Whether to get the player's account Info. Defaults to false */ - GetUserReadOnlyData: boolean; + GetUserAccountInfo: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + / Whether to get the player's custom data. Defaults to false */ - UserReadOnlyDataKeys?: string[]; + GetUserData: boolean; /** - / Whether to get character inventories. Defaults to false. + / Whether to get the player's inventory. Defaults to false */ - GetCharacterInventories: boolean; + GetUserInventory: boolean; /** - / Whether to get the list of characters. Defaults to false. + / Whether to get the player's read only data. Defaults to false */ - GetCharacterList: boolean; + GetUserReadOnlyData: boolean; /** - / Whether to get title data. Defaults to false. + / Whether to get the player's virtual currency balances. Defaults to false */ - GetTitleData: boolean; + GetUserVirtualCurrency: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ - TitleDataKeys?: string[]; + PlayerStatisticNames?: string[]; /** - / Whether to get player statistics. Defaults to false. + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - GetPlayerStatistics: boolean; + ProfileConstraints?: number; /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ - PlayerStatisticNames?: string[]; + TitleDataKeys?: string[]; /** - / Whether to get player profile. Defaults to false. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ - GetPlayerProfile: boolean; + UserDataKeys?: string[]; /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false */ - ProfileConstraints?: number; + UserReadOnlyDataKeys?: string[]; } @@ -2478,14 +2438,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; } @@ -2498,17 +2458,25 @@ declare module PlayFabServerModels { */ AccountInfo?: UserAccountInfo; /** - / Array of inventory items in the user's current inventory. + / Inventories for each character for the user. */ - UserInventory?: ItemInstance[]; + CharacterInventories?: CharacterInventory[]; /** - / Dictionary of virtual currency balance(s) belonging to the user. + / List of characters for the user. */ - UserVirtualCurrency?: { [key: string]: number }; + CharacterList?: CharacterResult[]; /** - / Dictionary of remaining times and timestamps for virtual currencies. + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. */ - UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + PlayerProfile?: PlayerProfileModel; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; /** / User specific custom data. */ @@ -2517,6 +2485,10 @@ declare module PlayFabServerModels { / The version of the UserData that was returned. */ UserDataVersion: number; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; /** / User specific read-only data. */ @@ -2526,25 +2498,13 @@ declare module PlayFabServerModels { */ UserReadOnlyDataVersion: number; /** - / List of characters for the user. - */ - CharacterList?: CharacterResult[]; - /** - / Inventories for each character for the user. - */ - CharacterInventories?: CharacterInventory[]; - /** - / Title data for this title. - */ - TitleData?: { [key: string]: string }; - /** - / List of statistics for this player. + / Dictionary of virtual currency balance(s) belonging to the user. */ - PlayerStatistics?: StatisticValue[]; + UserVirtualCurrency?: { [key: string]: number }; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + / Dictionary of remaining times and timestamps for virtual currencies. */ - PlayerProfile?: PlayerProfileModel; + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } @@ -2590,21 +2550,21 @@ declare module PlayFabServerModels { */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for this segment. - */ - SegmentId: string; - /** - / 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). + / Continuation token if retrieving subsequent pages of results. */ - SecondsToLive?: number; + ContinuationToken?: string; /** / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** - / Continuation token if retrieving subsequent pages of results. + / 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). */ - ContinuationToken?: string; + SecondsToLive?: number; + /** + / Unique identifier for this segment. + */ + SegmentId: string; } @@ -2612,10 +2572,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Count of profiles matching this segment. - */ - ProfilesInSegment: number; /** / Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ @@ -2624,6 +2580,10 @@ declare module PlayFabServerModels { / Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; } @@ -2698,14 +2658,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Optional namespace to filter results by */ Namespace?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2820,6 +2780,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; /** / Unique identifier for this segment. */ @@ -2828,10 +2792,6 @@ declare module PlayFabServerModels { / Segment name. */ Name?: string; - /** - / Identifier of the segments AB Test, if it is attached to one. - */ - ABTestParent?: string; } @@ -2840,17 +2800,17 @@ declare module PlayFabServerModels { */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the shared group. + / If true, return the list of all members of the shared group. */ - SharedGroupId: string; + GetMembers?: boolean; /** / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). */ Keys?: string[]; /** - / If true, return the list of all members of the shared group. + / Unique identifier for the shared group. */ - GetMembers?: boolean; + SharedGroupId: string; } @@ -2980,17 +2940,17 @@ declare module PlayFabServerModels { */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. */ - PlayFabId: string; + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - IfChangedFromDataVersion?: number; + PlayFabId: string; } @@ -2999,17 +2959,17 @@ declare module PlayFabServerModels { */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / PlayFab unique identifier of the user whose custom data is being returned. + / User specific data for this title. */ - PlayFabId?: string; + Data?: { [key: string]: UserDataRecord }; /** / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; /** - / User specific data for this title. + / PlayFab unique identifier of the user whose custom data is being returned. */ - Data?: { [key: string]: UserDataRecord }; + PlayFabId?: string; } @@ -3028,14 +2988,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; /** / Array of virtual currency balance(s) belonging to the user. */ @@ -3051,10 +3011,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Non-unique display name of the character being granted (1-20 characters in length). */ @@ -3063,6 +3019,10 @@ declare module PlayFabServerModels { / Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3082,61 +3042,65 @@ declare module PlayFabServerModels { */ export interface GrantedItemInstance { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Game specific comment associated with this instance when it was added to the user inventory. */ - PlayFabId?: string; + Annotation?: string; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Array of unique items that were awarded when this catalog item was purchased. */ - CharacterId?: string; + BundleContents?: string[]; /** - / Result of this operation. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - Result: boolean; + BundleParent?: string; /** - / Unique identifier for the inventory item, as defined in the catalog. + / Catalog version for the inventory item, when this instance was created. */ - ItemId?: string; + CatalogVersion?: string; /** - / Unique item identifier for this specific instance of the item. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId?: string; + CharacterId?: string; /** - / Class name for the inventory item, as defined in the catalog. + / A set of custom key-value pairs on the inventory item. */ - ItemClass?: string; + CustomData?: { [key: string]: string }; /** - / Timestamp for when this instance was purchased. + / CatalogItem.DisplayName at the time this item was purchased. */ - PurchaseDate?: string; + DisplayName?: string; /** / Timestamp for when this instance will expire. */ Expiration?: string; /** - / Total number of remaining uses, if this is a consumable item. + / Class name for the inventory item, as defined in the catalog. */ - RemainingUses?: number; + ItemClass?: string; /** - / The number of uses that were added or removed to this item in this call. + / Unique identifier for the inventory item, as defined in the catalog. */ - UsesIncrementedBy?: number; + ItemId?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Unique item identifier for this specific instance of the item. */ - Annotation?: string; + ItemInstanceId?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Timestamp for when this instance was purchased. */ - BundleParent?: string; + PurchaseDate?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Total number of remaining uses, if this is a consumable item. */ - DisplayName?: string; + RemainingUses?: number; + /** + / Result of this operation. + */ + Result: boolean; /** / Currency type for the cost of the catalog item. */ @@ -3146,13 +3110,9 @@ declare module PlayFabServerModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3160,6 +3120,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; /** / Catalog version from which items are to be granted. */ @@ -3168,18 +3132,14 @@ declare module PlayFabServerModels { / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / String detailing any additional information concerning this operation. - */ - Annotation?: string; /** / Array of itemIds to grant to the user. */ ItemIds?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3198,22 +3158,22 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ - CatalogVersion?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / String detailing any additional information concerning this operation. */ Annotation?: string; + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; /** / Array of itemIds to grant to the user. */ ItemIds: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3258,14 +3218,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / Unique identifier of the catalog item to be granted to the user. - */ - ItemId: string; /** / String detailing any additional information concerning this operation. */ @@ -3278,10 +3230,18 @@ declare module PlayFabServerModels { / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; /** / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3290,49 +3250,53 @@ declare module PlayFabServerModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -3342,13 +3306,9 @@ declare module PlayFabServerModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3356,6 +3316,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; /** / Authentication platform */ @@ -3368,10 +3332,6 @@ declare module PlayFabServerModels { / Linked account username of the user on the platform, if available */ Username?: string; - /** - / Linked account email of the user on the platform, if available - */ - Email?: string; } @@ -3401,6 +3361,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { + /** + / City name. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3409,10 +3373,6 @@ declare module PlayFabServerModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / City name. - */ - City?: string; /** / Latitude coordinate of the geographic location. */ @@ -3443,15 +3403,42 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; /** / 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel + */ + export interface MembershipModel { /** - / Optional object accompanying the message as contextual information + / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ - Data?: any; + IsActive: boolean; + /** + / The time this membership expires + */ + MembershipExpiration: string; + /** + / The id of the membership + */ + MembershipId?: string; + /** + / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** + / The list of subscriptions that this player has for this membership + */ + Subscriptions?: SubscriptionModel[]; } @@ -3459,14 +3446,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Name of the virtual currency which was modified. - */ - VirtualCurrency?: string; /** / Balance of the virtual currency after modification. */ Balance: number; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } @@ -3474,14 +3461,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab unique identifier of the user whose item is being modified. - */ - PlayFabId: string; /** / Unique instance identifier of the item to be modified. */ ItemInstanceId: string; + /** + / PlayFab unique identifier of the user whose item is being modified. + */ + PlayFabId: string; /** / Number of uses to add to the item. Can be negative to remove uses. */ @@ -3509,44 +3496,44 @@ declare module PlayFabServerModels { */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** - / User currency was subtracted from. - */ - PlayFabId?: string; - /** - / Name of the virtual currency which was modified. + / Balance of the virtual currency after modification. */ - VirtualCurrency?: string; + Balance: number; /** / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. */ BalanceChange: number; /** - / Balance of the virtual currency after modification. + / User currency was subtracted from. */ - Balance: number; + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ - export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; + export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** / Unique identifier of the character that currently has the item. */ GivingCharacterId: string; - /** - / Unique identifier of the character that will be receiving the item. - */ - ReceivingCharacterId: string; /** / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the character that will be receiving the item. + */ + ReceivingCharacterId: string; } @@ -3561,10 +3548,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -3573,6 +3556,10 @@ declare module PlayFabServerModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3587,10 +3574,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -3599,6 +3582,10 @@ declare module PlayFabServerModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3609,15 +3596,6 @@ declare module PlayFabServerModels { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NameIdentifier - */ - export interface NameIdentifier { - Name?: string; - Id?: string; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ @@ -3653,18 +3631,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; /** - / Specific value of the user's statistic. + / PlayFab unique identifier of the user for this leaderboard entry. */ - StatValue: number; + PlayFabId?: string; /** / User's overall position in the leaderboard. */ @@ -3673,6 +3647,10 @@ declare module PlayFabServerModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -3680,6 +3658,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { + /** + / Linked account's email + */ + Email?: string; /** / Authentication platform */ @@ -3692,10 +3674,6 @@ declare module PlayFabServerModels { / Linked account's username */ Username?: string; - /** - / Linked account's email - */ - Email?: string; } @@ -3703,6 +3681,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { + /** + / City of the player's geographic location. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3711,10 +3693,6 @@ declare module PlayFabServerModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode: string; - /** - / City of the player's geographic location. - */ - City?: string; /** / Latitude coordinate of the player's geographic location. */ @@ -3731,85 +3709,85 @@ declare module PlayFabServerModels { */ export interface PlayerProfile { /** - / PlayFab Player ID - */ - PlayerId?: string; - /** - / Title ID this profile applies to + / Array of ad campaigns player has been attributed to */ - TitleId?: string; + AdCampaignAttributions?: AdCampaignAttribution[]; /** - / Player Display Name + / Image URL of the player's avatar. */ - DisplayName?: string; + AvatarUrl?: string; /** - / Publisher this player belongs to + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - PublisherId?: string; + BannedUntil?: string; /** - / Player account origination + / Array of contact email addresses associated with the player */ - Origination?: string; + ContactEmailAddresses?: ContactEmailInfo[]; /** / Player record created */ Created?: string; + /** + / Player Display Name + */ + DisplayName?: string; /** / Last login */ LastLogin?: string; /** - / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + / Array of third party accounts linked to this player */ - BannedUntil?: string; + LinkedAccounts?: PlayerLinkedAccount[]; /** - / Image URL of the player's avatar. + / Dictionary of player's locations by type. */ - AvatarUrl?: string; + Locations?: { [key: string]: PlayerLocation }; /** - / Dictionary of player's statistics using only the latest version's value + / Player account origination */ - Statistics?: { [key: string]: number }; + Origination?: string; /** - / A sum of player's total purchases in USD across all currencies. + / PlayFab Player ID */ - TotalValueToDateInUSD?: number; + PlayerId?: string; /** - / Dictionary of player's total purchases by currency. + / Array of player statistics */ - ValuesToDate?: { [key: string]: number }; + PlayerStatistics?: PlayerStatistic[]; /** - / List of player's tags for segmentation. + / Publisher this player belongs to */ - Tags?: string[]; + PublisherId?: string; /** - / Dictionary of player's locations by type. + / Array of configured push notification end points */ - Locations?: { [key: string]: PlayerLocation }; + PushNotificationRegistrations?: PushNotificationRegistration[]; /** - / Dictionary of player's virtual currency balances + / Dictionary of player's statistics using only the latest version's value */ - VirtualCurrencyBalances?: { [key: string]: number }; + Statistics?: { [key: string]: number }; /** - / Array of ad campaigns player has been attributed to + / List of player's tags for segmentation. */ - AdCampaignAttributions?: AdCampaignAttribution[]; + Tags?: string[]; /** - / Array of configured push notification end points + / Title ID this profile applies to */ - PushNotificationRegistrations?: PushNotificationRegistration[]; + TitleId?: string; /** - / Array of third party accounts linked to this player + / A sum of player's total purchases in USD across all currencies. */ - LinkedAccounts?: PlayerLinkedAccount[]; + TotalValueToDateInUSD?: number; /** - / Array of player statistics + / Dictionary of player's total purchases by currency. */ - PlayerStatistics?: PlayerStatistic[]; + ValuesToDate?: { [key: string]: number }; /** - / Array of contact email addresses associated with the player + / Dictionary of player's virtual currency balances */ - ContactEmailAddresses?: ContactEmailInfo[]; + VirtualCurrencyBalances?: { [key: string]: number }; } @@ -3818,65 +3796,73 @@ declare module PlayFabServerModels { */ export interface PlayerProfileModel { /** - / Publisher this player belongs to + / List of advertising campaigns the player has been attributed to */ - PublisherId?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Title ID this player profile applies to + / URL of the player's avatar image */ - TitleId?: string; + AvatarUrl?: string; /** - / PlayFab player account unique identifier + / If the player is currently banned, the UTC Date when the ban expires */ - PlayerId?: string; + BannedUntil?: string; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / Player record created */ Created?: string; /** - / Player account origination + / Player display name */ - Origination?: string; + DisplayName?: string; /** / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** - / If the player is currently banned, the UTC Date when the ban expires + / List of all authentication systems linked to this player account */ - BannedUntil?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player display name + / List of memberships for the player, along with whether are expired. */ - DisplayName?: string; + Memberships?: MembershipModel[]; /** - / URL of the player's avatar image + / Player account origination */ - AvatarUrl?: string; + Origination?: string; /** - / List of player's tags for segmentation + / PlayFab player account unique identifier */ - Tags?: TagModel[]; + PlayerId?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; /** / List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of all authentication systems linked to this player account + / List of leaderboard statistic values for the player */ - LinkedAccounts?: LinkedPlatformAccountModel[]; + Statistics?: StatisticModel[]; /** - / List of all contact email info associated with the player account + / List of player's tags for segmentation */ - ContactEmailAddresses?: ContactEmailInfoModel[]; + Tags?: TagModel[]; /** - / List of advertising campaigns the player has been attributed to + / Title ID this player profile applies to */ - AdCampaignAttributions?: AdCampaignAttributionModel[]; + TitleId?: string; /** / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ @@ -3889,10 +3875,6 @@ declare module PlayFabServerModels { / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; - /** - / List of leaderboard statistic values for the player - */ - Statistics?: StatisticModel[]; } @@ -3901,45 +3883,61 @@ declare module PlayFabServerModels { */ export interface PlayerProfileViewConstraints { /** - / Whether to show the display name. Defaults to false + / Whether to show player's avatar URL. Defaults to false */ - ShowDisplayName: boolean; + ShowAvatarUrl: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the created date. Defaults to false */ ShowCreated: boolean; /** - / Whether to show origination. Defaults to false + / Whether to show the display name. Defaults to false */ - ShowOrigination: boolean; + ShowDisplayName: boolean; /** / Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** - / Whether to show the banned until time. Defaults to false + / Whether to show the linked accounts. Defaults to false */ - ShowBannedUntil: boolean; + ShowLinkedAccounts: boolean; /** - / Reserved for future development + / Whether to show player's locations. Defaults to false */ - ShowStatistics: boolean; + ShowLocations: boolean; /** - / Whether to show campaign attributions. Defaults to false + / Whether to show player's membership information. Defaults to false */ - ShowCampaignAttributions: boolean; + ShowMemberships: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; /** / Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; /** - / Whether to show the linked accounts. Defaults to false + / Reserved for future development */ - ShowLinkedAccounts: boolean; + ShowStatistics: boolean; /** - / Whether to show contact email addresses. Defaults to false + / Whether to show tags. Defaults to false */ - ShowContactEmailAddresses: boolean; + ShowTags: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -3948,18 +3946,6 @@ declare module PlayFabServerModels { / Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; - /** - / Whether to show tags. Defaults to false - */ - ShowTags: boolean; - /** - / Whether to show player's locations. Defaults to false - */ - ShowLocations: boolean; - /** - / Whether to show player's avatar URL. Defaults to false - */ - ShowAvatarUrl: boolean; } @@ -3972,17 +3958,17 @@ declare module PlayFabServerModels { */ Id?: string; /** - / Statistic version (0 if not a versioned statistic) + / Statistic name */ - StatisticVersion: number; + Name?: string; /** / Current statistic value */ StatisticValue: number; /** - / Statistic name + / Statistic version (0 if not a versioned statistic) */ - Name?: string; + StatisticVersion: number; } @@ -3991,29 +3977,29 @@ declare module PlayFabServerModels { */ export interface PlayerStatisticVersion { /** - / name of the statistic when the version became active + / time when the statistic version became active */ - StatisticName?: string; + ActivationTime: string; /** - / version of the statistic + / time when the statistic version became inactive due to statistic version incrementing */ - Version: number; + DeactivationTime?: string; /** / time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time when the statistic version became active - */ - ActivationTime: string; /** / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; /** - / time when the statistic version became inactive due to statistic version incrementing + / name of the statistic when the version became active */ - DeactivationTime?: string; + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; } @@ -4022,29 +4008,29 @@ declare module PlayFabServerModels { */ export interface PushNotificationPackage { /** - / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. + / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object */ - ScheduleDate?: string; + CustomData?: string; /** - / Title/Subject of the message + / Icon file to display with the message */ - Title: string; + Icon?: string; /** / Content of the message */ Message: string; /** - / Icon file to display with the message + / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. */ - Icon?: string; + ScheduleDate?: string; /** / Sound file to play with the message */ Sound?: string; /** - / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object + / Title/Subject of the message */ - CustomData?: string; + Title: string; } @@ -4055,14 +4041,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -4070,14 +4056,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -4089,14 +4075,14 @@ declare module PlayFabServerModels { / Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Unique name for this drop table - */ - TableId: string; /** / Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; + /** + / Unique name for this drop table + */ + TableId: string; } @@ -4104,14 +4090,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generated coupon code to redeem. - */ - CouponCode: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Catalog version of the coupon. */ @@ -4120,6 +4098,14 @@ declare module PlayFabServerModels { / Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; + /** + / Generated coupon code to redeem. + */ + CouponCode: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4138,14 +4124,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Server authorization ticket passed back from a call to Matchmake or StartGame. - */ - Ticket: string; /** / Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; + /** + / Server authorization ticket passed back from a call to Matchmake or StartGame. + */ + Ticket: string; } @@ -4153,14 +4139,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Boolean indicating whether the ticket was validated by the PlayFab service. - */ - TicketIsValid: boolean; /** / Error value if the ticket was not validated. */ Error?: string; + /** + / Boolean indicating whether the ticket was validated by the PlayFab service. + */ + TicketIsValid: boolean; /** / User account information for the user validated. */ @@ -4199,29 +4185,29 @@ declare module PlayFabServerModels { */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Previous lobby id if re-registering an existing game. - */ - LobbyId?: string; - /** - / IP address of the Game Server Instance. + / Unique identifier of the build running on the Game Server Instance. */ - ServerHost: string; + Build: string; /** - / Port number for communication with the Game Server Instance. + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ - ServerPort: string; + GameMode: string; /** - / Unique identifier of the build running on the Game Server Instance. + / Previous lobby id if re-registering an existing game. */ - Build: string; + LobbyId?: string; /** / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. */ Region: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + / IP address of the Game Server Instance. */ - GameMode: string; + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; /** / Tags for the Game Server Instance */ @@ -4281,14 +4267,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -4304,17 +4290,17 @@ declare module PlayFabServerModels { */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFabId of the reporting player. + / Optional additional comment by reporting player. */ - ReporterId: string; + Comment?: string; /** / Unique PlayFab identifier of the reported player. */ ReporteeId: string; /** - / Optional additional comment by reporting player. + / PlayFabId of the reporting player. */ - Comment?: string; + ReporterId: string; } @@ -4333,14 +4319,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Whether this entry in the table is an item or a link to another table - */ - ResultItemType: string; /** / Either an ItemId, or the TableId of another random result table */ ResultItem: string; + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; /** / How likely this is to be rolled - larger numbers add more weight */ @@ -4399,10 +4385,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4411,6 +4393,10 @@ declare module PlayFabServerModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4445,23 +4431,27 @@ declare module PlayFabServerModels { */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFabId of the recipient of the push notification. + / Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver to custom plugin logic, fields, or functionality not natively supported by PlayFab. */ - Recipient: string; + AdvancedPlatformDelivery?: AdvancedPushPlatformMsg[]; /** / Text of message to send. */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc. Not supported for iOS devices. + / Defines all possible push attributes like message, title, icon, etc. Not fully supported for iOS devices. */ Package?: PushNotificationPackage; /** - / Subject of message to send (may not be displayed in all platforms. Not supported for Android devices (use Package instead). + / PlayFabId of the recipient of the push notification. + */ + Recipient: string; + /** + / Subject of message to send (may not be displayed in all platforms. */ Subject?: string; /** - / Platforms that should receive the message. If omitted, we will send to all available platforms. + / Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms. */ TargetPlatforms?: string[]; @@ -4478,14 +4468,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the player whose friend is to be updated. - */ - PlayFabId: string; /** / PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; + /** + / PlayFab identifier of the player whose friend is to be updated. + */ + PlayFabId: string; /** / Array of tags to set on the friend account. */ @@ -4497,14 +4487,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Instance to be updated, in decimal format. - */ - LobbyId: string; /** / Custom data to set for the specified game server instance. */ GameServerData: string; + /** + / Unique identifier of the Game Instance to be updated, in decimal format. + */ + LobbyId: string; } @@ -4630,21 +4620,21 @@ declare module PlayFabServerModels { */ export interface SharedGroupDataRecord { /** - / Data stored for the specified group data key. + / Timestamp for when this data was last updated. */ - Value?: string; + LastUpdated: string; /** / PlayFabId of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Timestamp for when this data was last updated. - */ - LastUpdated: string; /** / Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; + /** + / Data stored for the specified group data key. + */ + Value?: string; } @@ -4656,14 +4646,14 @@ declare module PlayFabServerModels { / Statistic name */ Name?: string; - /** - / Statistic version (0 if not a versioned statistic) - */ - Version: number; /** / Statistic value */ Value: number; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; } @@ -4690,14 +4680,14 @@ declare module PlayFabServerModels { / unique name of the statistic */ StatisticName: string; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. - */ - Version?: number; /** / statistic value for the player */ Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; } @@ -4724,37 +4714,81 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + */ + PlayFabId?: string; /** / Unique Steam identifier for a user. */ SteamStringId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel + */ + export interface SubscriptionModel { /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + / When this subscription expires. */ - PlayFabId?: string; + Expiration: string; + /** + / The time the subscription was orignially purchased + */ + InitialSubscriptionTime: string; + /** + / Whether this subscription is currently active. That is, if Expiration > now. + */ + IsActive: boolean; + /** + / The status of this subscription, according to the subscription provider. + */ + Status?: string; + /** + / The id for this subscription + */ + SubscriptionId?: string; + /** + / The item id for this subscription from the primary catalog + */ + SubscriptionItemId?: string; + /** + / The provider for this subscription. Apple or Google Play are supported today. + */ + SubscriptionProvider?: string; } + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Amount to be subtracted from the user balance of the specified virtual currency. */ - PlayFabId: string; + Amount: number; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Name of the virtual currency which is to be decremented. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - VirtualCurrency: string; + PlayFabId: string; /** - / Amount to be subtracted from the user balance of the specified virtual currency. + / Name of the virtual currency which is to be decremented. */ - Amount: number; + VirtualCurrency: string; } @@ -4762,6 +4796,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ @@ -4770,10 +4808,6 @@ declare module PlayFabServerModels { / Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ - Amount: number; } @@ -4788,13 +4822,6 @@ declare module PlayFabServerModels { } - type TaskInstanceStatus = "Succeeded" - | "Starting" - | "InProgress" - | "Failed" - | "Aborted" - | "Pending"; - type TitleActivationStatus = "None" | "ActivatedTitleKey" | "PendingSteam" @@ -4806,21 +4833,21 @@ declare module PlayFabServerModels { */ export interface TitleNewsItem { /** - / Date and time when the news items was posted. + / News item text. */ - Timestamp: string; + Body?: string; /** / Unique identifier of news item. */ NewsId?: string; /** - / Title of the news item. + / Date and time when the news items was posted. */ - Title?: string; + Timestamp: string; /** - / News item text. + / Title of the news item. */ - Body?: string; + Title?: string; } @@ -4829,9 +4856,9 @@ declare module PlayFabServerModels { */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. */ - PlayFabId: string; + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4845,9 +4872,9 @@ declare module PlayFabServerModels { */ KeyItemInstanceId?: string; /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId: string; } @@ -4856,9 +4883,9 @@ declare module PlayFabServerModels { */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. */ - PlayFabId: string; + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4868,9 +4895,9 @@ declare module PlayFabServerModels { */ ContainerItemId: string; /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId: string; } @@ -4878,6 +4905,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; /** / Unique instance identifier of the container unlocked. */ @@ -4886,10 +4917,6 @@ declare module PlayFabServerModels { / Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Items granted to the player as a result of unlocking the container. - */ - GrantedItems?: ItemInstance[]; /** / Virtual currency granted to the player as a result of unlocking the container. */ @@ -4901,14 +4928,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4917,13 +4944,13 @@ declare module PlayFabServerModels { */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The id of the ban to be updated. + / The updated active state for the ban. Null for no change. */ - BanId: string; + Active?: boolean; /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + / The id of the ban to be updated. */ - Reason?: string; + BanId: string; /** / The updated expiration date for the ban. Null for no change. */ @@ -4941,9 +4968,9 @@ declare module PlayFabServerModels { */ Permanent?: boolean; /** - / The updated active state for the ban. Null for no change. + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ - Active?: boolean; + Reason?: string; } @@ -4973,10 +5000,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4993,6 +5016,10 @@ declare module PlayFabServerModels { / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5011,10 +5038,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -5023,6 +5046,10 @@ declare module PlayFabServerModels { / Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5037,6 +5064,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. + */ + ForceUpdate?: boolean; /** / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -5045,10 +5076,6 @@ declare module PlayFabServerModels { / Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; - /** - / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. - */ - ForceUpdate?: boolean; } @@ -5063,10 +5090,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5079,6 +5102,10 @@ declare module PlayFabServerModels { / Permission to be applied to all user data keys in this request. */ Permission?: string; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -5093,10 +5120,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5109,6 +5132,10 @@ declare module PlayFabServerModels { / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5127,10 +5154,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5139,6 +5162,10 @@ declare module PlayFabServerModels { / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5146,26 +5173,26 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ - ItemInstanceId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; /** / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5174,69 +5201,69 @@ declare module PlayFabServerModels { */ export interface UserAccountInfo { /** - / Unique identifier for the user account + / User Android device information, if an Android device has been linked */ - PlayFabId?: string; + AndroidDeviceInfo?: UserAndroidDeviceInfo; /** / Timestamp indicating when the user account was created */ Created: string; /** - / User account name in the PlayFab service - */ - Username?: string; - /** - / Title-specific information for the user account - */ - TitleInfo?: UserTitleInfo; - /** - / Personal information for the user which is considered more sensitive + / Custom ID information, if a custom ID has been assigned */ - PrivateInfo?: UserPrivateAccountInfo; + CustomIdInfo?: UserCustomIdInfo; /** / User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Steam information, if a Steam account has been linked - */ - SteamInfo?: UserSteamInfo; /** / User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** - / User iOS device information, if an iOS device has been linked + / User Google account information, if a Google account has been linked */ - IosDeviceInfo?: UserIosDeviceInfo; + GoogleInfo?: UserGoogleInfo; /** - / User Android device information, if an Android device has been linked + / User iOS device information, if an iOS device has been linked */ - AndroidDeviceInfo?: UserAndroidDeviceInfo; + IosDeviceInfo?: UserIosDeviceInfo; /** / User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** - / User Twitch account information, if a Twitch account has been linked + / Unique identifier for the user account */ - TwitchInfo?: UserTwitchInfo; + PlayFabId?: string; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; /** / User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; /** - / User Google account information, if a Google account has been linked + / User Steam information, if a Steam account has been linked */ - GoogleInfo?: UserGoogleInfo; + SteamInfo?: UserSteamInfo; /** - / User XBox account information, if a XBox account has been linked + / Title-specific information for the user account */ - XboxInfo?: UserXboxInfo; + TitleInfo?: UserTitleInfo; /** - / Custom ID information, if a custom ID has been assigned + / User Twitch account information, if a Twitch account has been linked */ - CustomIdInfo?: UserCustomIdInfo; + TwitchInfo?: UserTwitchInfo; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; } @@ -5269,10 +5296,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Data stored for the specified user data key. - */ - Value?: string; /** / Timestamp for when this data was last updated. */ @@ -5281,6 +5304,10 @@ declare module PlayFabServerModels { / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. */ Permission?: string; + /** + / Data stored for the specified user data key. + */ + Value?: string; } @@ -5314,22 +5341,22 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Google ID - */ - GoogleId?: string; /** / Email address of the Google account */ GoogleEmail?: string; - /** - / Locale of the Google account - */ - GoogleLocale?: string; /** / Gender information of the Google account */ GoogleGender?: string; + /** + / Google ID + */ + GoogleId?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; } @@ -5409,9 +5436,9 @@ declare module PlayFabServerModels { */ export interface UserSteamInfo { /** - / Steam identifier + / what stage of game ownership the user is listed as being in, from Steam */ - SteamId?: string; + SteamActivationStatus?: string; /** / the country in which the player resides, from Steam data */ @@ -5421,9 +5448,9 @@ declare module PlayFabServerModels { */ SteamCurrency?: string; /** - / what stage of game ownership the user is listed as being in, from Steam + / Steam identifier */ - SteamActivationStatus?: string; + SteamId?: string; } @@ -5432,21 +5459,17 @@ declare module PlayFabServerModels { */ export interface UserTitleInfo { /** - / name of the user, as it is displayed in-game - */ - DisplayName?: string; - /** - / source by which the user first joined the game, if known + / URL to the player's avatar. */ - Origination?: string; + AvatarUrl?: string; /** / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) */ Created: string; /** - / timestamp for the last user login for this title + / name of the user, as it is displayed in-game */ - LastLogin?: string; + DisplayName?: string; /** / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) */ @@ -5456,9 +5479,13 @@ declare module PlayFabServerModels { */ isBanned?: boolean; /** - / URL to the player's avatar. + / timestamp for the last user login for this title */ - AvatarUrl?: string; + LastLogin?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; } @@ -5527,17 +5554,17 @@ declare module PlayFabServerModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } @@ -5557,9 +5584,9 @@ declare module PlayFabServerModels { */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Custom event properties. Each property consists of a name (string) and a value (JSON object). */ - PlayFabId: string; + Body?: { [key: string]: any }; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -5569,13 +5596,13 @@ declare module PlayFabServerModels { */ EventName: string; /** - / The time (in UTC) associated with this event. The value dafaults to the current time. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Timestamp?: string; + PlayFabId: string; /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). + / The time (in UTC) associated with this event. The value dafaults to the current time. */ - Body?: { [key: string]: any }; + Timestamp?: string; } @@ -5584,21 +5611,21 @@ declare module PlayFabServerModels { */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ - PlayFabId: string; + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; /** - / The time (in UTC) associated with this event. The value dafaults to the current time. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Timestamp?: string; + PlayFabId: string; /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + / The time (in UTC) associated with this event. The value dafaults to the current time. */ - Body?: { [key: string]: any }; + Timestamp?: string; } @@ -5606,6 +5633,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ @@ -5614,10 +5645,6 @@ declare module PlayFabServerModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index d5d8e6c7..5ac4d213 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -7,6 +7,7 @@ declare module PlayFabModule { export interface ISettings { titleId: string; developerSecretKey: string; + GlobalHeaderInjection?: { [key: string]: string }; advertisingIdType: string; advertisingIdValue: string; disableAdvertising: boolean; @@ -21,6 +22,8 @@ declare module PlayFabModule { errorCode: number; errorMessage: string; errorDetails?: { [key: string]: string[] }; + request?: any; + customData?: any; } export interface SuccessContainer extends IPlayFabError { data: TResult; @@ -33,6 +36,7 @@ declare module PlayFabModule { declare var PlayFab: { buildIdentifier: string; sdkVersion: string; + GenerateErrorReport(IPlayFabError): string; settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 7e11946b..0f65e064 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -4,7 +4,8 @@ var PlayFabApiTests = { titleId: null, developerSecretKey: null, userEmail: "put valid email associated with an existing account here", - characterName: "put any character name here" + characterName: "put any character name here", + extraHeaders: {} }, testData: { playFabId: null, @@ -53,6 +54,7 @@ var PlayFabApiTests = { QUnit.test("CloudScript", PlayFabApiTests.CloudScript); QUnit.test("CloudScriptError", PlayFabApiTests.CloudScriptError); QUnit.test("WriteEvent", PlayFabApiTests.WriteEvent); + QUnit.test("ForgetCredentials", PlayFabApiTests.ForgetCredentials); } }, SetUp: function (inputTitleData) { @@ -67,6 +69,7 @@ var PlayFabApiTests = { console.log("testTitleData input file did not parse correctly"); PlayFab.settings.titleId = PlayFabApiTests.titleData.titleId; PlayFab.settings.developerSecretKey = PlayFabApiTests.titleData.developerSecretKey; + PlayFab.settings.GlobalHeaderInjection = PlayFabApiTests.titleData.extraHeaders; return titleDataValid; }, CallbackWrapper: function (callbackName, callback, assert) { @@ -94,21 +97,12 @@ var PlayFabApiTests = { VerifyNullError: function (result, error, assert, message) { var success = (result !== null && error == null); if (error != null) { - assert.ok(false, "PlayFab error message: " + PlayFabApiTests.CompileErrorReport(error)); + assert.ok(false, "PlayFab error message: " + PlayFab.GenerateErrorReport(error)); } else { assert.ok(success, message); } }, - CompileErrorReport: 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; - }, /// /// CLIENT API /// Try to deliberately log in with an inappropriate password, @@ -146,7 +140,7 @@ var PlayFabApiTests = { assert.ok(error != null, "InvalidRegistration should have failed"); var expectedEmailMsg = "email address is not valid."; var expectedPasswordMsg = "password must be between"; - var errorReport = PlayFabApiTests.CompileErrorReport(error); + var errorReport = PlayFab.GenerateErrorReport(error); assert.ok(errorReport.toLowerCase().indexOf(expectedEmailMsg) > -1, "Expect errorMessage about invalid email: " + errorReport); assert.ok(errorReport.toLowerCase().indexOf(expectedPasswordMsg) > -1, "Expect errorMessage about invalid password: " + errorReport); invalidDone(); @@ -453,6 +447,15 @@ var PlayFabApiTests = { }; PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); }, + /// + /// CLIENT API + /// Test that the client can log out + /// + ForgetCredentials: function (assert) { + assert.ok(PlayFabClientSDK.IsClientLoggedIn(), "Client should be logged in."); + PlayFabClientSDK.ForgetClientCredentials(); + assert.ok(!PlayFabClientSDK.IsClientLoggedIn(), "Client should NOT be logged in."); + }, }; // The test report that will ultimately be relayed back to Cloud Script when the suite finishes var PfTestReport = [{ diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index c0af202d..dd6b450a 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -8,7 +8,8 @@ var PlayFabApiTests = { titleId: null, // put titleId here developerSecretKey: null, // put secretKey here userEmail: "put valid email associated with an existing account here", - characterName: "put any character name here" + characterName: "put any character name here", + extraHeaders: {} }, testData: { playFabId: null, // Filled during login @@ -62,6 +63,7 @@ var PlayFabApiTests = { QUnit.test("CloudScript", PlayFabApiTests.CloudScript); QUnit.test("CloudScriptError", PlayFabApiTests.CloudScriptError); QUnit.test("WriteEvent", PlayFabApiTests.WriteEvent); + QUnit.test("ForgetCredentials", PlayFabApiTests.ForgetCredentials); } }, @@ -79,6 +81,7 @@ var PlayFabApiTests = { PlayFab.settings.titleId = PlayFabApiTests.titleData.titleId; PlayFab.settings.developerSecretKey = PlayFabApiTests.titleData.developerSecretKey; + PlayFab.settings.GlobalHeaderInjection = PlayFabApiTests.titleData.extraHeaders; return titleDataValid; }, @@ -108,22 +111,12 @@ var PlayFabApiTests = { VerifyNullError: function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError, assert, message: string): void { var success = (result !== null && error == null); if (error != null) { - assert.ok(false, "PlayFab error message: " + PlayFabApiTests.CompileErrorReport(error)); + assert.ok(false, "PlayFab error message: " + PlayFab.GenerateErrorReport(error)); } else { assert.ok(success, message); } }, - CompileErrorReport: function (error: PlayFabModule.IPlayFabError): string { - 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; - }, - /// /// CLIENT API /// Try to deliberately log in with an inappropriate password, @@ -167,7 +160,7 @@ var PlayFabApiTests = { assert.ok(error != null, "InvalidRegistration should have failed"); var expectedEmailMsg = "email address is not valid."; var expectedPasswordMsg = "password must be between"; - var errorReport = PlayFabApiTests.CompileErrorReport(error); + var errorReport = PlayFab.GenerateErrorReport(error); assert.ok(errorReport.toLowerCase().indexOf(expectedEmailMsg) > -1, "Expect errorMessage about invalid email: " + errorReport); assert.ok(errorReport.toLowerCase().indexOf(expectedPasswordMsg) > -1, "Expect errorMessage about invalid password: " + errorReport); invalidDone(); @@ -522,6 +515,16 @@ var PlayFabApiTests = { PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); }, + + /// + /// CLIENT API + /// Test that the client can log out + /// + ForgetCredentials: function (assert): void { + assert.ok(PlayFabClientSDK.IsClientLoggedIn(), "Client should be logged in."); + PlayFabClientSDK.ForgetClientCredentials(); + assert.ok(!PlayFabClientSDK.IsClientLoggedIn(), "Client should NOT be logged in."); + }, }; // The test report that will ultimately be relayed back to Cloud Script when the suite finishes diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index c111350c..c5a696b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,609 +122,615 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.AdminApi = { - CreatePlayerSharedSecret: function (request, callback) { + AbortTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeletePlayerSharedSecret: function (request, callback) { + AddNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerSharedSecrets: function (request, callback) { + AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPolicy: function (request, callback) { + AddServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPlayerSecret: function (request, callback) { + AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePlayerSharedSecret: function (request, callback) { + AddVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePolicy: function (request, callback) { + BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - BanUsers: function (request, callback) { + CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeletePlayer: function (request, callback) { + CreateCloudScriptTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserAccountInfo: function (request, callback) { + CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserBans: function (request, callback) { + CreatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeletePlayer instead. - */ - ResetUsers: function (request, callback) { + DeleteContent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeAllBansForUser: function (request, callback) { + DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeBans: function (request, callback) { + DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SendAccountRecoveryEmail: function (request, callback) { + DeleteStore: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateBans: function (request, callback) { + DeleteTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserTitleDisplayName: function (request, callback) { + /** + * @deprecated Please use DeleteUser instead. + */ + DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreatePlayerStatisticDefinition: function (request, callback) { + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, /** - * @deprecated Please use DeleteUser instead. + * @deprecated Please use GetTasks instead. */ - DeleteUsers: function (request, callback) { + GetAllActionGroups: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetDataReport: function (request, callback) { + GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatisticDefinitions: function (request, callback) { + GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatisticVersions: function (request, callback) { + GetCloudScriptRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserData: function (request, callback) { + GetCloudScriptTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInternalData: function (request, callback) { + GetCloudScriptVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherData: function (request, callback) { + GetContentList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherInternalData: function (request, callback) { + GetContentUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherReadOnlyData: function (request, callback) { + GetDataReport: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserReadOnlyData: function (request, callback) { + GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - IncrementPlayerStatisticVersion: function (request, callback) { + GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RefundPurchase: function (request, callback) { + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ResetUserStatistics: function (request, callback) { + GetPlayerSharedSecrets: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ResolvePurchaseDispute: function (request, callback) { + GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePlayerStatisticDefinition: function (request, callback) { + GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserData: function (request, callback) { + GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserInternalData: function (request, callback) { + GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherData: function (request, callback) { + GetPolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherInternalData: function (request, callback) { + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherReadOnlyData: function (request, callback) { + GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserReadOnlyData: function (request, callback) { + GetServerBuildInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddNews: function (request, callback) { + GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddVirtualCurrencyTypes: function (request, callback) { + GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteStore: function (request, callback) { + GetTaskInstances: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCatalogItems: function (request, callback) { + GetTasks: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPublisherData: function (request, callback) { + GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetRandomResultTables: function (request, callback) { + GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetStoreItems: function (request, callback) { + GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleData: function (request, callback) { + GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleInternalData: function (request, callback) { + GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ListVirtualCurrencyTypes: function (request, callback) { + GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveVirtualCurrencyTypes: function (request, callback) { + GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetCatalogItems: function (request, callback) { + GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetStoreItems: function (request, callback) { + GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleData: function (request, callback) { + GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleInternalData: function (request, callback) { + GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetupPushNotification: function (request, callback) { + GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCatalogItems: function (request, callback) { + IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateRandomResultTables: function (request, callback) { + ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateStoreItems: function (request, callback) { + ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddUserVirtualCurrency: function (request, callback) { + ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInventory: function (request, callback) { + ModifyServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToUsers: function (request, callback) { + RefundPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeInventoryItem: function (request, callback) { + RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SubtractUserVirtualCurrency: function (request, callback) { + RemoveServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetMatchmakerGameInfo: function (request, callback) { + RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetMatchmakerGameModes: function (request, callback) { + ResetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ModifyMatchmakerGameModes: function (request, callback) { + /** + * @deprecated Please use DeletePlayer instead. + */ + ResetUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddServerBuild: function (request, callback) { + ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetServerBuildInfo: function (request, callback) { + ResolvePurchaseDispute: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetServerBuildUploadUrl: function (request, callback) { + RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ListServerBuilds: function (request, callback) { + RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ModifyServerBuild: function (request, callback) { + RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveServerBuild: function (request, callback) { + RunTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPublisherData: function (request, callback) { + SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCloudScriptRevision: function (request, callback) { + SetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCloudScriptVersions: function (request, callback) { + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPublishedRevision: function (request, callback) { + SetPublishedRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCloudScript: function (request, callback) { + SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteContent: function (request, callback) { + SetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetContentList: function (request, callback) { + SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetContentUploadUrl: function (request, callback) { + SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ResetCharacterStatistics: function (request, callback) { + SetupPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddPlayerTag: function (request, callback) { + SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetTasks instead. - */ - GetAllActionGroups: function (request, callback) { + UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetAllSegments: function (request, callback) { + UpdateCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerSegments: function (request, callback) { + UpdateCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayersInSegment: function (request, callback) { + UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerTags: function (request, callback) { + UpdatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemovePlayerTag: function (request, callback) { + UpdatePolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AbortTaskInstance: function (request, callback) { + UpdateRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateActionsOnPlayersInSegmentTask: function (request, callback) { + UpdateStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateCloudScriptTask: function (request, callback) { + UpdateTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteTask: function (request, callback) { + UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetTasks instead. - */ - GetActionsOnPlayersInSegmentTaskInstance: function (request, callback) { + UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCloudScriptTaskInstance: function (request, callback) { + UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTaskInstances: function (request, callback) { + UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTasks: function (request, callback) { + UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RunTask: function (request, callback) { + UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateTask: function (request, callback) { + UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 32be21fe..9a94e9bd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,909 +122,921 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.ClientApi = { IsClientLoggedIn: function () { return PlayFab._internalSettings.sessionTicket != null && PlayFab._internalSettings.sessionTicket.length > 0; }, + ForgetClientCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + }, - GetPhotonAuthenticationToken: function (request, callback) { + AcceptTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTitlePublicKey: function (request, callback) { + AddFriend: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetWindowsHelloChallenge: function (request, callback) { + AddGenericID: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithAndroidDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithCustomID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AddUsernamePassword: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithEmailAddress: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithFacebook: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AndroidDevicePushNotificationRegistration: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithGameCenter: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + AttributeInstall: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } + // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully + PlayFab.settings.advertisingIdType += "_Successful"; + if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); }, - LoginWithGoogleAccount: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + CancelTrade: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithIOSDeviceID: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + ConfirmPurchase: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithKongregate: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + ConsumeItem: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithPlayFab: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + CreateSharedGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithSteam: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + ExecuteCloudScript: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithTwitch: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetAccountInfo: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LoginWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RegisterPlayFabUser: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetCatalogItems: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RegisterWithWindowsHello: function (request, callback) { - request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + GetCharacterData: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - SetPlayerSecret: function (request, callback) { + GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AddGenericID: function (request, callback) { + GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AddUsernamePassword: function (request, callback) { + GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetAccountInfo: function (request, callback) { + GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerCombinedInfo: function (request, callback) { + GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerProfile: function (request, callback) { + GetCurrentGames: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromFacebookIDs: function (request, callback) { + GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromGameCenterIDs: function (request, callback) { + GetFriendLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromGenericIDs: function (request, callback) { + GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromGoogleIDs: function (request, callback) { + GetGameServerRegions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromKongregateIDs: function (request, callback) { + GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromSteamIDs: function (request, callback) { + GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayFabIDsFromTwitchIDs: function (request, callback) { + GetLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkAndroidDeviceID: function (request, callback) { + GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkCustomID: function (request, callback) { + GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkFacebookAccount: function (request, callback) { + GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkGameCenterAccount: function (request, callback) { + GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkGoogleAccount: function (request, callback) { + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkIOSDeviceID: function (request, callback) { + GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkKongregate: function (request, callback) { + GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkSteamAccount: function (request, callback) { + GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkTwitch: function (request, callback) { + GetPlayerTrades: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - LinkWindowsHello: function (request, callback) { + GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RemoveGenericID: function (request, callback) { + GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ReportPlayer: function (request, callback) { + GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - SendAccountRecoveryEmail: function (request, callback) { + GetPlayFabIDsFromGoogleIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkAndroidDeviceID: function (request, callback) { + GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkCustomID: function (request, callback) { + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkFacebookAccount: function (request, callback) { + GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkGameCenterAccount: function (request, callback) { + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkGoogleAccount: function (request, callback) { + GetPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkIOSDeviceID: function (request, callback) { + GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkKongregate: function (request, callback) { + GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkSteamAccount: function (request, callback) { + GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkTwitch: function (request, callback) { + GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlinkWindowsHello: function (request, callback) { + GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateAvatarUrl: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + GetTitlePublicKey: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback, customData, extraHeaders); }, - UpdateUserTitleDisplayName: function (request, callback) { + GetTradeStatus: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetFriendLeaderboard: function (request, callback) { + GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetFriendLeaderboardAroundPlayer: function (request, callback) { + GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboard: function (request, callback) { + GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboardAroundPlayer: function (request, callback) { + GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerStatistics: function (request, callback) { + GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerStatisticVersions: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback, customData, extraHeaders); }, - GetUserData: function (request, callback) { + GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetUserPublisherData: function (request, callback) { + LinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetUserPublisherReadOnlyData: function (request, callback) { + LinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetUserReadOnlyData: function (request, callback) { + LinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdatePlayerStatistics: function (request, callback) { + LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateUserData: function (request, callback) { + LinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateUserPublisherData: function (request, callback) { + LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCatalogItems: function (request, callback) { + LinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPublisherData: function (request, callback) { + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetStoreItems: function (request, callback) { + LinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTime: function (request, callback) { + LinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTitleData: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + 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.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback); }, - GetTitleNews: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + 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.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback); }, - AddUserVirtualCurrency: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback); }, - ConfirmPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithFacebook: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback); }, - ConsumeItem: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithGameCenter: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback); }, - GetCharacterInventory: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback); }, - GetPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback); }, - GetUserInventory: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithKongregate: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback); }, - PayForPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithPlayFab: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback); }, - PurchaseItem: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithSteam: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback); }, - RedeemCoupon: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithTwitch: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); }, - StartPurchase: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); }, - SubtractUserVirtualCurrency: function (request, callback) { + Matchmake: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlockContainerInstance: function (request, callback) { + OpenTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UnlockContainerItem: function (request, callback) { + PayForPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AddFriend: function (request, callback) { + PurchaseItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetFriendsList: function (request, callback) { + RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RemoveFriend: function (request, callback) { + RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - SetFriendTags: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + RegisterPlayFabUser: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); }, - GetCurrentGames: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + var overloadCallback = function (result, error) { + if (result != null && result.data.SessionTicket != null) { + PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, - GetGameServerRegions: function (request, callback) { + RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - Matchmake: function (request, callback) { + RemoveGenericID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - StartGame: function (request, callback) { + RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - WriteCharacterEvent: function (request, callback) { + ReportPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - WritePlayerEvent: function (request, callback) { + RestoreIOSPurchases: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - WriteTitleEvent: function (request, callback) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback, customData, extraHeaders); }, - AddSharedGroupMembers: function (request, callback) { + SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - CreateSharedGroup: function (request, callback) { + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetSharedGroupData: function (request, callback) { + StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RemoveSharedGroupMembers: function (request, callback) { + StartPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateSharedGroupData: function (request, callback) { + SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ExecuteCloudScript: function (request, callback) { + UnlinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetContentDownloadUrl: function (request, callback) { + UnlinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetAllUsersCharacters: function (request, callback) { + UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterLeaderboard: function (request, callback) { + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterStatistics: function (request, callback) { + UnlinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboardAroundCharacter: function (request, callback) { + UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetLeaderboardForUserCharacters: function (request, callback) { + UnlinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GrantCharacterToUser: function (request, callback) { + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateCharacterStatistics: function (request, callback) { + UnlinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterData: function (request, callback) { + UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetCharacterReadOnlyData: function (request, callback) { + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - UpdateCharacterData: function (request, callback) { + UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AcceptTrade: function (request, callback) { + UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - CancelTrade: function (request, callback) { + UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerTrades: function (request, callback) { + UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetTradeStatus: function (request, callback) { + UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - OpenTrade: function (request, callback) { + UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AttributeInstall: function (request, callback) { + UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { - // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully - PlayFab.settings.advertisingIdType += "_Successful"; - - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerSegments: function (request, callback) { + UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPlayerTags: function (request, callback) { + UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - AndroidDevicePushNotificationRegistration: function (request, callback) { + ValidateAmazonIAPReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RegisterForIOSPushNotification: function (request, callback) { + ValidateGooglePlayPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - RestoreIOSPurchases: function (request, callback) { + ValidateIOSReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateAmazonIAPReceipt: function (request, callback) { + ValidateWindowsStoreReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateGooglePlayPurchase: function (request, callback) { + WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateIOSReceipt: function (request, callback) { + WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ValidateWindowsStoreReceipt: function (request, callback) { + WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, _MultiStepClientLogin: function (needsAttribution) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index aca96d85..5ff437ea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,39 +122,48 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.MatchmakerApi = { - AuthUser: function (request, callback) { + AuthUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - PlayerJoined: function (request, callback) { + PlayerJoined: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - PlayerLeft: function (request, callback) { + PlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - StartGame: function (request, callback) { + StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UserInfo: function (request, callback) { + UserInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d7e892c7..0122e2f6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -8,6 +8,7 @@ if(!PlayFab.settings) { 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) advertisingIdType: null, advertisingIdValue: null, + GlobalHeaderInjection: null, // disableAdvertising is provided for completeness, but changing it is not suggested // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly @@ -29,26 +30,40 @@ if(!PlayFab._internalSettings) { return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; }, - ExecuteRequest: function (completeUrl, data, authkey, authValue, callback) { + 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]); + } + } + }, + + ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; - if (data == null) - data = {}; + if (request == null) + request = {}; var startTime = new Date(); - var requestBody = JSON.stringify(data); + var requestBody = JSON.stringify(request); 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); - - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection); + PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders); xhr.onloadend = function () { if (callback == null) @@ -69,6 +84,8 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; if (result.code === 200) callback(result, null); @@ -94,6 +111,9 @@ if(!PlayFab._internalSettings) { } result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + callback(null, result); } @@ -102,666 +122,675 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.11.170828"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.12.170925"; +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.ServerApi = { - AuthenticateSessionTicket: function (request, callback) { + AddCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPlayerSecret: function (request, callback) { + AddFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - BanUsers: function (request, callback) { + AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerProfile: function (request, callback) { + AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayFabIDsFromFacebookIDs: function (request, callback) { + AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayFabIDsFromSteamIDs: function (request, callback) { + AuthenticateSessionTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserAccountInfo: function (request, callback) { + AwardSteamAchievement: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserBans: function (request, callback) { + BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeAllBansForUser: function (request, callback) { + ConsumeItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeBans: function (request, callback) { + CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SendPushNotification: function (request, callback) { + DeleteCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateAvatarUrl: function (request, callback) { + DeleteSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateBans: function (request, callback) { + DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteUsers: function (request, callback) { + DeregisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetFriendLeaderboard: function (request, callback) { + EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboard: function (request, callback) { + ExecuteCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboardAroundUser: function (request, callback) { + /** + * @deprecated Please use GetAllSegments instead. + */ + GetAllActionGroups: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerCombinedInfo: function (request, callback) { + GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatistics: function (request, callback) { + GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerStatisticVersions: function (request, callback) { + GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserData: function (request, callback) { + GetCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInternalData: function (request, callback) { + GetCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherData: function (request, callback) { + GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherInternalData: function (request, callback) { + GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserPublisherReadOnlyData: function (request, callback) { + GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserReadOnlyData: function (request, callback) { + GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdatePlayerStatistics: function (request, callback) { + GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserData: function (request, callback) { + GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserInternalData: function (request, callback) { + GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherData: function (request, callback) { + GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherInternalData: function (request, callback) { + GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserPublisherReadOnlyData: function (request, callback) { + GetLeaderboardAroundUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserReadOnlyData: function (request, callback) { + GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCatalogItems: function (request, callback) { + GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPublisherData: function (request, callback) { + GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTime: function (request, callback) { + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleData: function (request, callback) { + GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleInternalData: function (request, callback) { + GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetTitleNews: function (request, callback) { + GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetPublisherData: function (request, callback) { + GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleData: function (request, callback) { + GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetTitleInternalData: function (request, callback) { + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddCharacterVirtualCurrency: function (request, callback) { + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddUserVirtualCurrency: function (request, callback) { + GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ConsumeItem: function (request, callback) { + GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - EvaluateRandomResultTable: function (request, callback) { + GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterInventory: function (request, callback) { + GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetRandomResultTables: function (request, callback) { + GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetUserInventory: function (request, callback) { + GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToCharacter: function (request, callback) { + GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToUser: function (request, callback) { + GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantItemsToUsers: function (request, callback) { + GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ModifyItemUses: function (request, callback) { + GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - MoveItemToCharacterFromCharacter: function (request, callback) { + GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - MoveItemToCharacterFromUser: function (request, callback) { + GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - MoveItemToUserFromCharacter: function (request, callback) { + GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RedeemCoupon: function (request, callback) { + GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ReportPlayer: function (request, callback) { + GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RevokeInventoryItem: function (request, callback) { + GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SubtractCharacterVirtualCurrency: function (request, callback) { + GrantItemsToCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SubtractUserVirtualCurrency: function (request, callback) { + GrantItemsToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UnlockContainerInstance: function (request, callback) { + GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UnlockContainerItem: function (request, callback) { + ModifyItemUses: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateUserInventoryItemCustomData: function (request, callback) { + MoveItemToCharacterFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddFriend: function (request, callback) { + MoveItemToCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetFriendsList: function (request, callback) { + MoveItemToUserFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveFriend: function (request, callback) { + NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetFriendTags: function (request, callback) { + RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeregisterGame: function (request, callback) { + RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - NotifyMatchmakerPlayerLeft: function (request, callback) { + RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RedeemMatchmakerTicket: function (request, callback) { + RegisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RefreshGameServerInstanceHeartbeat: function (request, callback) { + RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RegisterGame: function (request, callback) { + RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetGameServerInstanceData: function (request, callback) { + RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetGameServerInstanceState: function (request, callback) { + ReportPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetGameServerInstanceTags: function (request, callback) { + RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - WriteCharacterEvent: function (request, callback) { + RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - WritePlayerEvent: function (request, callback) { + RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - WriteTitleEvent: function (request, callback) { + SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddSharedGroupMembers: function (request, callback) { + SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateSharedGroup: function (request, callback) { + SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteSharedGroup: function (request, callback) { + SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetSharedGroupData: function (request, callback) { + SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveSharedGroupMembers: function (request, callback) { + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateSharedGroupData: function (request, callback) { + SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ExecuteCloudScript: function (request, callback) { + SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetContentDownloadUrl: function (request, callback) { + SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - DeleteCharacterFromUser: function (request, callback) { + SubtractCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetAllUsersCharacters: function (request, callback) { + SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterLeaderboard: function (request, callback) { + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterStatistics: function (request, callback) { + UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboardAroundCharacter: function (request, callback) { + UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetLeaderboardForUserCharacters: function (request, callback) { + UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GrantCharacterToUser: function (request, callback) { + UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterStatistics: function (request, callback) { + UpdateCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterData: function (request, callback) { + UpdateCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterInternalData: function (request, callback) { + UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetCharacterReadOnlyData: function (request, callback) { + UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterData: function (request, callback) { + UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterInternalData: function (request, callback) { + UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - UpdateCharacterReadOnlyData: function (request, callback) { + UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AddPlayerTag: function (request, callback) { + UpdateUserInventoryItemCustomData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetAllSegments instead. - */ - GetAllActionGroups: function (request, callback) { + UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetAllSegments: function (request, callback) { + UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerSegments: function (request, callback) { + UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayersInSegment: function (request, callback) { + UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetPlayerTags: function (request, callback) { + WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemovePlayerTag: function (request, callback) { + WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - AwardSteamAchievement: function (request, callback) { + WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index d5d8e6c7..5ac4d213 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -7,6 +7,7 @@ declare module PlayFabModule { export interface ISettings { titleId: string; developerSecretKey: string; + GlobalHeaderInjection?: { [key: string]: string }; advertisingIdType: string; advertisingIdValue: string; disableAdvertising: boolean; @@ -21,6 +22,8 @@ declare module PlayFabModule { errorCode: number; errorMessage: string; errorDetails?: { [key: string]: string[] }; + request?: any; + customData?: any; } export interface SuccessContainer extends IPlayFabError { data: TResult; @@ -33,6 +36,7 @@ declare module PlayFabModule { declare var PlayFab: { buildIdentifier: string; sdkVersion: string; + GenerateErrorReport(IPlayFabError): string; settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b0c15e56..ea45c5f6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3,495 +3,495 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { /** - / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret - */ - CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. - / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + / Abort an ongoing task instance. + / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ - DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns all Player Shared Secret Keys including disabled and expired. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + / Adds a new news item to the title's news feed + / https://api.playfab.com/Documentation/Admin/method/AddNews */ - GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback): void; + AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the requested policy. - / https://api.playfab.com/Documentation/Admin/method/GetPolicy + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag */ - GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback): void; + AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets or resets the player's secret. Player secrets are used to sign API requests. - / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/AddServerBuild */ - SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + / Increments the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency */ - UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback): void; + AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Changes a policy for a title - / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes */ - UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback): void; + AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. / https://api.playfab.com/Documentation/Admin/method/BanUsers */ - BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Removes a user's player account from a title and deletes all associated data - / https://api.playfab.com/Documentation/Admin/method/DeletePlayer - */ - DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback): void; + BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier - / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. + / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask */ - GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Admin/method/GetUserBans + / Create a CloudScript task, which can run a CloudScript on a schedule. + / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask */ - GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics - / https://api.playfab.com/Documentation/Admin/method/ResetUsers + / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret */ - ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback): void; + CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. + / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition */ - RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Admin/method/RevokeBans + / Delete a content file from the title. When deleting a file that does not exist, it returns success. + / https://api.playfab.com/Documentation/Admin/method/DeleteContent */ - RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + / Removes a user's player account from a title and deletes all associated data + / https://api.playfab.com/Documentation/Admin/method/DeletePlayer */ - SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Admin/method/UpdateBans + / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. + / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret */ - UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for a user - / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + / Deletes an existing virtual item store + / https://api.playfab.com/Documentation/Admin/method/DeleteStore */ - UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + / Delete a task. + / https://api.playfab.com/Documentation/Admin/method/DeleteTask */ - CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. This method does not remove the player's event history, login history, inventory items, nor virtual currencies. / https://api.playfab.com/Documentation/Admin/method/DeleteUsers */ - DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Retrieves a download URL for the requested report - / https://api.playfab.com/Documentation/Admin/method/GetDataReport - */ - GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback): void; + DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + / Get information about a ActionsOnPlayersInSegment task instance. + / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance */ - GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback): void; + GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups */ - GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserData + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetAllSegments */ - GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems */ - GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + / Gets the contents and information of a specific Cloud Script revision. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision */ - GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + / Get detail information about a CloudScript task instance. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance */ - GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. + / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions */ - GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + / List all contents of the title and get statistics such as size + / https://api.playfab.com/Documentation/Admin/method/GetContentList */ - GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets the indicated statistic, removing all player entries for it and backing up the old values. - / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. + / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl */ - IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback): void; + GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to process an order refund through the original real money payment provider. - / https://api.playfab.com/Documentation/Admin/method/RefundPurchase + / Retrieves a download URL for the requested report + / https://api.playfab.com/Documentation/Admin/method/GetDataReport */ - RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completely removes all statistics for the specified user, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + / Retrieves the details for a specific completed session, including links to standard out and standard error logs + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo */ - ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to resolve a dispute with the original order's payment provider. - / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + / Retrieves the details of defined game modes for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ - ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback): void; + GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments */ - UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserData + / Returns all Player Shared Secret Keys including disabled and expired. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets */ - UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + / 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. + / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment */ - UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions */ - UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions */ - UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags */ - UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + / Gets the requested policy. + / https://api.playfab.com/Documentation/Admin/method/GetPolicy */ - UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new news item to the title's news feed - / https://api.playfab.com/Documentation/Admin/method/AddNews + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/GetPublisherData */ - AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback): void; + GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + / Retrieves the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables */ - AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes an existing virtual item store - / https://api.playfab.com/Documentation/Admin/method/DeleteStore + / Retrieves the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo */ - DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback): void; + GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) + / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl */ - GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/GetPublisherData + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Admin/method/GetStoreItems */ - GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + / Query for task instances by task, status, or time range. + / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances */ - GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Admin/method/GetStoreItems + / Get definition information on a specified task or all tasks within a title. + / https://api.playfab.com/Documentation/Admin/method/GetTasks */ - GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom title settings which can be read by the client / https://api.playfab.com/Documentation/Admin/method/GetTitleData */ - GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom title settings which cannot be read by the client / https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData */ - GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retuns the list of all defined virtual currencies for the title - / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier + / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo */ - ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes one or more virtual currencies from the set defined for the title. - / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Admin/method/GetUserBans */ - RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates the catalog configuration of all virtual goods for the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserData */ - SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets all the items in one virtual store - / https://api.playfab.com/Documentation/Admin/method/SetStoreItems + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData */ - SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the key-value store of custom title settings which can be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleData + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Admin/method/GetUserInventory */ - SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings which cannot be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData */ - SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. - / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData */ - SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the catalog configuration for virtual goods in the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData */ - UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData */ - UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates an existing virtual item store with new or modified items - / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + / Adds the specified items to the specified user inventories + / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers */ - UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + / Resets the indicated statistic, removing all player entries for it and backing up the old values. + / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ - AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Admin/method/GetUserInventory + / Retrieves the build details for all game server executables which are currently defined for the title + / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds */ - GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user inventories - / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + / Retuns the list of all defined virtual currencies for the title + / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes */ - GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + / Updates the game server mode details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes */ - RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; + ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + / Updates the build details for the specified game server executable + / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild */ - SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details for a specific completed session, including links to standard out and standard error logs - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + / Attempts to process an order refund through the original real money payment provider. + / https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ - GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback): void; + RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of defined game modes for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag */ - GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the game server mode details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame + / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild */ - ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback): void; + RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/AddServerBuild + / Removes one or more virtual currencies from the set defined for the title. + / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes */ - AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + / Completely removes all statistics for the specified character, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics */ - GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback): void; + ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics + / https://api.playfab.com/Documentation/Admin/method/ResetUsers */ - GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback): void; + ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for all game server executables which are currently defined for the title - / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + / Completely removes all statistics for the specified user, for the current game + / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics */ - ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback): void; + ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + / Attempts to resolve a dispute with the original order's payment provider. + / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute */ - ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser */ - RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback): void; + RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/SetPublisherData + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Admin/method/RevokeBans */ - SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the contents and information of a specific Cloud Script revision. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem */ - GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback): void; + RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + / Run a task immediately regardless of its schedule. + / https://api.playfab.com/Documentation/Admin/method/RunTask + */ + RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + */ + SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Creates the catalog configuration of all virtual goods for the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ - GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback): void; + SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Sets or resets the player's secret. Player secrets are used to sign API requests. + / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + */ + SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Sets the currently published revision of a title Cloud Script / https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision */ - SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback): void; + SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. - / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Admin/method/SetPublisherData */ - UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a content file from the title. When deleting a file that does not exist, it returns success. - / https://api.playfab.com/Documentation/Admin/method/DeleteContent + / Sets all the items in one virtual store + / https://api.playfab.com/Documentation/Admin/method/SetStoreItems */ - DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback): void; + SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all contents of the title and get statistics such as size - / https://api.playfab.com/Documentation/Admin/method/GetContentList + / Creates and updates the key-value store of custom title settings which can be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleData */ - GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + / Updates the key-value store of custom title settings which cannot be read by the client + / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData */ - GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completely removes all statistics for the specified character, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. + / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification */ - ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + / Decrements the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency */ - AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Admin/method/UpdateBans */ - GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetAllSegments + / Updates the catalog configuration for virtual goods in the specified catalog version + / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems */ - GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. + / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript */ - GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + / 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. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret */ - GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. + / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition */ - GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + / Changes a policy for a title + / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy */ - RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Abort an ongoing task instance. - / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + / Updates the random drop table configuration for the title + / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables */ - AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. - / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + / Updates an existing virtual item store with new or modified items + / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems */ - CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create a CloudScript task, which can run a CloudScript on a schedule. - / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + / Update an existing task. + / https://api.playfab.com/Documentation/Admin/method/UpdateTask */ - CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a task. - / https://api.playfab.com/Documentation/Admin/method/DeleteTask + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserData */ - DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get information about a ActionsOnPlayersInSegment task instance. - / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData */ - GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get detail information about a CloudScript task instance. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData */ - GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Query for task instances by task, status, or time range. - / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData */ - GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get definition information on a specified task or all tasks within a title. - / https://api.playfab.com/Documentation/Admin/method/GetTasks + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData */ - GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Run a task immediately regardless of its schedule. - / https://api.playfab.com/Documentation/Admin/method/RunTask + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData */ - RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update an existing task. - / https://api.playfab.com/Documentation/Admin/method/UpdateTask + / Updates the title specific display name for a user + / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName */ - UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -512,14 +512,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { - /** - / ID of the segment to perform actions on. - */ - SegmentId: string; /** / ID of the action to perform on each player in segment. */ ActionId: string; + /** + / ID of the segment to perform actions on. + */ + SegmentId: string; } @@ -527,46 +527,46 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { - /** - / ID of the task instance. - */ - TaskInstanceId?: string; - /** - / Identifier of the task this instance belongs to. - */ - TaskIdentifier?: NameIdentifier; - /** - / UTC timestamp when the task started. - */ - StartedAt: string; /** / UTC timestamp when the task completed. */ CompletedAt?: string; /** - / Current status of the task instance. + / Error message for last processing attempt, if an error occured. */ - Status?: string; + ErrorMessage?: string; /** - / Progress represented as percentage. + / Flag indicating if the error was fatal, if false job will be retried. */ - PercentComplete?: number; + ErrorWasFatal?: boolean; /** / Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; /** / If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; /** - / Error message for last processing attempt, if an error occured. + / UTC timestamp when the task started. */ - ErrorMessage?: string; + StartedAt: string; /** - / Flag indicating if the error was fatal, if false job will be retried. + / Current status of the task instance. */ - ErrorWasFatal?: boolean; + Status?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / ID of the task instance. + */ + TaskInstanceId?: string; /** / Total players in segment when task was started. */ @@ -583,17 +583,17 @@ declare module PlayFabAdminModels { */ export interface AdCampaignAttribution { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -602,17 +602,17 @@ declare module PlayFabAdminModels { */ export interface AdCampaignAttributionModel { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -620,6 +620,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Body text of the news + */ + Body: string; /** / Time this news was published. If not set, defaults to now. */ @@ -628,10 +632,6 @@ declare module PlayFabAdminModels { / Title (headline) of the news item */ Title: string; - /** - / Body text of the news - */ - Body: string; } @@ -672,6 +672,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / server host regions in which this build should be running and available + */ + ActiveRegions?: string[]; /** / unique identifier for the build executable */ @@ -680,18 +684,14 @@ declare module PlayFabAdminModels { / appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ - ExecutablePath?: string; - /** - / server host regions in which this build should be running and available - */ - ActiveRegions?: 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 */ @@ -707,34 +707,38 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult 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; /** - / array of regions where this build can used, when it is active + / appended to the end of the command line when starting game servers */ - ActiveRegions?: string[]; + CommandLineTemplate?: string; /** - / maximum number of game server instances that can run on a single host machine + / developer comment(s) for this build */ - MaxGamesPerHost: number; + Comment?: string; /** - / 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) + / path to the game server executable. Defaults to gameserver.exe */ - MinFreeGameSlots: number; + ExecutablePath?: string; /** - / appended to the end of the command line when starting game servers + / maximum number of game server instances that can run on a single host machine */ - CommandLineTemplate?: string; + MaxGamesPerHost: number; /** - / path to the game server executable. Defaults to gameserver.exe + / 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) */ - ExecutablePath?: string; + MinFreeGameSlots: number; /** - / developer comment(s) for this build + / the current status of the build validation and processing steps */ - Comment?: string; + Status?: string; /** / time this build was last modified (or uploaded, if this build has never been modified) */ @@ -743,10 +747,6 @@ declare module PlayFabAdminModels { / 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; - /** - / the current status of the build validation and processing steps - */ - Status?: string; } @@ -754,6 +754,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ @@ -762,10 +766,6 @@ declare module PlayFabAdminModels { / Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; - /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. - */ - Amount: number; } @@ -796,13 +796,21 @@ declare module PlayFabAdminModels { */ export interface BanInfo { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ - PlayFabId?: string; + Active: boolean; /** / The unique Ban Id associated with this ban. */ BanId?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; /** / The IP address on which the ban was applied. May affect multiple players. */ @@ -812,21 +820,13 @@ declare module PlayFabAdminModels { */ MACAddress?: string; /** - / The time when this ban was applied. - */ - Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Expires?: string; + PlayFabId?: string; /** / The reason why this ban was applied. */ Reason?: string; - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ - Active: boolean; } @@ -835,9 +835,9 @@ declare module PlayFabAdminModels { */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The duration in hours for the ban. Leave this blank for a permanent ban. */ - PlayFabId: string; + DurationInHours?: number; /** / IP address to be banned. May affect multiple players. */ @@ -847,13 +847,13 @@ declare module PlayFabAdminModels { */ MACAddress?: string; /** - / The reason for this ban. Maximum 140 characters. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Reason?: string; + PlayFabId: string; /** - / The duration in hours for the ban. Leave this blank for a permanent ban. + / The reason for this ban. Maximum 140 characters. */ - DurationInHours?: number; + Reason?: string; } @@ -891,57 +891,45 @@ declare module PlayFabAdminModels { */ export interface CatalogItem { /** - / unique identifier for this item + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies */ - ItemId: string; + Bundle?: CatalogItemBundleInfo; /** - / class to which the item belongs + / if true, then an item instance of this type can be used to grant a character to a user. */ - ItemClass?: string; + CanBecomeCharacter: boolean; /** / catalog version for this item */ CatalogVersion?: string; /** - / text name for the item, to show in-game - */ - DisplayName?: string; - /** - / text description of item, to show in-game - */ - Description?: string; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ - VirtualCurrencyPrices?: { [key: string]: number }; - /** - / override prices for this item for specific currencies + / defines the consumable properties (number of uses, timeout) for the item */ - RealCurrencyPrices?: { [key: string]: number }; + Consumable?: CatalogItemConsumableInfo; /** - / list of item tags + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ - Tags?: string[]; + Container?: CatalogItemContainerInfo; /** / game specific custom data */ CustomData?: string; /** - / defines the consumable properties (number of uses, timeout) for the item + / text description of item, to show in-game */ - Consumable?: CatalogItemConsumableInfo; + Description?: string; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + / text name for the item, to show in-game */ - Container?: CatalogItemContainerInfo; + DisplayName?: string; /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. */ - Bundle?: CatalogItemBundleInfo; + InitialLimitedEditionCount: number; /** - / if true, then an item instance of this type can be used to grant a character to a user. + / BETA: If true, then only a fixed number can ever be granted. */ - CanBecomeCharacter: boolean; + IsLimitedEdition: boolean; /** / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ @@ -950,18 +938,30 @@ declare module PlayFabAdminModels { / if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / unique identifier for this item + */ + ItemId: string; /** / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. */ ItemImageUrl?: string; /** - / BETA: If true, then only a fixed number can ever be granted. + / override prices for this item for specific currencies */ - IsLimitedEdition: boolean; + RealCurrencyPrices?: { [key: string]: number }; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + / list of item tags */ - InitialLimitedEditionCount: number; + Tags?: string[]; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -1007,14 +1007,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) - */ - KeyItemId?: string; /** / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; /** / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) */ @@ -1030,14 +1030,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { - /** - / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. - */ - Filename: string; /** / Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; + /** + / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. + */ + Filename: string; } @@ -1045,14 +1045,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { - /** - / Name of the CloudScript function to execute. - */ - FunctionName?: string; /** / Argument to pass to the CloudScript function. */ Argument?: any; + /** + / Name of the CloudScript function to execute. + */ + FunctionName?: string; } @@ -1060,42 +1060,42 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { - /** - / ID of the task instance. - */ - TaskInstanceId?: string; - /** - / Identifier of the task this instance belongs to. - */ - TaskIdentifier?: NameIdentifier; - /** - / UTC timestamp when the task started. - */ - StartedAt: string; /** / UTC timestamp when the task completed. */ CompletedAt?: string; /** - / Current status of the task instance. + / Estimated time remaining in seconds. */ - Status?: string; + EstimatedSecondsRemaining?: number; /** / Progress represented as percentage. */ PercentComplete?: number; /** - / Estimated time remaining in seconds. + / Result of CloudScript execution */ - EstimatedSecondsRemaining?: number; + Result?: ExecuteCloudScriptResult; /** / If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; /** - / Result of CloudScript execution + / UTC timestamp when the task started. */ - Result?: ExecuteCloudScriptResult; + StartedAt: string; + /** + / Current status of the task instance. + */ + Status?: string; + /** + / Identifier of the task this instance belongs to. + */ + TaskIdentifier?: NameIdentifier; + /** + / ID of the task instance. + */ + TaskInstanceId?: string; } @@ -1104,17 +1104,17 @@ declare module PlayFabAdminModels { */ export interface CloudScriptVersionStatus { /** - / Version number + / Most recent revision for this Cloud Script version */ - Version: number; + LatestRevision: number; /** / Published code revision for this Cloud Script version */ PublishedRevision: number; /** - / Most recent revision for this Cloud Script version + / Version number */ - LatestRevision: number; + Version: number; } @@ -1126,14 +1126,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; /** / The verification status of the email */ @@ -1145,14 +1145,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; } @@ -1164,14 +1164,14 @@ declare module PlayFabAdminModels { / Key of the content */ Key?: string; - /** - / Size of the content in bytes - */ - Size: number; /** / Last modified time */ LastModified: string; + /** + / Size of the content in bytes + */ + Size: number; } @@ -1437,26 +1437,26 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ - Name: string; /** / Description the task */ Description?: string; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ - Schedule?: string; /** / Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; /** / Task details related to segment and action */ Parameter: ActionsOnPlayersInSegmentTaskParameter; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; } @@ -1464,26 +1464,26 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ - Name: string; /** / Description the task */ Description?: string; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ - Schedule?: string; /** / Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; /** / Task details related to CloudScript */ Parameter: CloudScriptTaskParameter; + /** + / Cron expression for the run schedule of the task. The expression should be in UTC. + */ + Schedule?: string; } @@ -1513,6 +1513,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; /** / unique name of the statistic */ @@ -1521,10 +1525,6 @@ declare module PlayFabAdminModels { / interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) */ VersionChangeInterval?: string; - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ - AggregationMethod?: string; } @@ -1834,13 +1834,18 @@ declare module PlayFabAdminModels { */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** - / The name of the function that executed + / Number of PlayFab API requests issued by the CloudScript function + */ + APIRequestsIssued: number; + /** + / Information about the error, if any, that occurred during execution */ - FunctionName?: string; + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; /** - / The revision of the CloudScript that executed + / The name of the function that executed */ - Revision: number; + FunctionName?: string; /** / The object returned from the CloudScript function, if any */ @@ -1849,6 +1854,10 @@ declare module PlayFabAdminModels { / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ @@ -1857,24 +1866,15 @@ declare module PlayFabAdminModels { / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; - ExecutionTimeSeconds: number; + MemoryConsumedBytes: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. */ ProcessorTimeSeconds: number; - MemoryConsumedBytes: number; /** - / Number of PlayFab API requests issued by the CloudScript function - */ - APIRequestsIssued: number; - /** - / Number of external HTTP requests issued by the CloudScript function - */ - HttpRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution + / The revision of the CloudScript that executed */ - Error?: ScriptExecutionError; + Revision: number; } @@ -1892,14 +1892,14 @@ declare module PlayFabAdminModels { / specific game mode type */ Gamemode: string; - /** - / minimum user count required for this Game Server Instance to continue (usually 1) - */ - MinPlayerCount: number; /** / 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) */ @@ -1911,14 +1911,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionGroupResult */ export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group name - */ - Name: string; /** / Action Group ID */ Id?: string; + /** + / Action Group name + */ + Name: string; } @@ -1926,14 +1926,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Status summary of the actions-on-players-in-segment task instance - */ - Summary?: ActionsOnPlayersInSegmentTaskSummary; /** / Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; + /** + / Status summary of the actions-on-players-in-segment task instance + */ + Summary?: ActionsOnPlayersInSegmentTaskSummary; } @@ -1999,14 +1999,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Version number. If left null, defaults to the latest version - */ - Version?: number; /** / Revision number. If left null, defaults to the latest revision */ Revision?: number; + /** + / Version number. If left null, defaults to the latest version + */ + Version?: number; } @@ -2014,14 +2014,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Version number. - */ - Version: number; - /** - / Revision number. - */ - Revision: number; /** / Time this revision was created */ @@ -2034,6 +2026,14 @@ declare module PlayFabAdminModels { / True if this is the currently published revision */ IsPublished: boolean; + /** + / Revision number. + */ + Revision: number; + /** + / Version number. + */ + Version: number; } @@ -2041,14 +2041,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Status summary of the CloudScript task instance - */ - Summary?: CloudScriptTaskSummary; /** / Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; + /** + / Status summary of the CloudScript task instance + */ + Summary?: CloudScriptTaskSummary; } @@ -2085,6 +2085,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { + /** + / List of content items. + */ + Contents?: ContentInfo[]; /** / Number of content items returned. We currently have a maximum of 1000 items limit. */ @@ -2093,10 +2097,6 @@ declare module PlayFabAdminModels { / The total size of listed contents in bytes. */ TotalSize: number; - /** - / List of content items. - */ - Contents?: ContentInfo[]; } @@ -2104,14 +2104,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to upload, usually formatted as a path, e.g. images/a.png - */ - Key: string; /** / A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. */ ContentType?: string; + /** + / Key of the content item to upload, usually formatted as a path, e.g. images/a.png + */ + Key: string; } @@ -2130,22 +2130,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Report name - */ - ReportName: string; /** / Reporting year (UTC) */ - Year: number; + Day: number; /** / Reporting month (UTC) */ Month: number; + /** + / Report name + */ + ReportName: string; /** / Reporting year (UTC) */ - Day: number; + Year: number; } @@ -2176,37 +2176,29 @@ declare module PlayFabAdminModels { */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** - / unique identifier of the lobby - */ - LobbyId?: string; - /** - / unique identifier of the Game Server Instance for this lobby - */ - TitleId?: string; - /** - / time when the Game Server Instance was created + / version identifier of the game server executable binary being run */ - StartTime: string; + 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; /** - / version identifier of the game server executable binary being run + / array of unique PlayFab identifiers for users currently connected to this Game Server Instance */ - BuildVersion?: string; + Players?: string[]; /** / region in which the Game Server Instance is running */ Region?: string; - /** - / array of unique PlayFab identifiers for users currently connected to this Game Server Instance - */ - Players?: string[]; /** / IP address for this Game Server Instance */ @@ -2215,6 +2207,14 @@ declare module PlayFabAdminModels { / communication port for this Game Server Instance */ ServerPort: number; + /** + / time when the Game Server Instance was created + */ + StartTime: string; + /** + / unique identifier of the Game Server Instance for this lobby + */ + TitleId?: string; } @@ -2300,21 +2300,21 @@ declare module PlayFabAdminModels { */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for this segment. - */ - SegmentId: string; - /** - / 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). + / Continuation token if retrieving subsequent pages of results. */ - SecondsToLive?: number; + ContinuationToken?: string; /** / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** - / Continuation token if retrieving subsequent pages of results. + / 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). */ - ContinuationToken?: string; + SecondsToLive?: number; + /** + / Unique identifier for this segment. + */ + SegmentId: string; } @@ -2322,10 +2322,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Count of profiles matching this segment. - */ - ProfilesInSegment: number; /** / Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ @@ -2334,6 +2330,10 @@ declare module PlayFabAdminModels { / Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; } @@ -2392,14 +2392,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Optional namespace to filter results by */ Namespace?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2492,6 +2492,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; /** / Unique identifier for this segment. */ @@ -2500,10 +2504,6 @@ declare module PlayFabAdminModels { / Segment name. */ Name?: string; - /** - / Identifier of the segments AB Test, if it is attached to one. - */ - ABTestParent?: string; } @@ -2522,14 +2522,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult 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; /** - / array of regions where this build can used, when it is active + / developer comment(s) for this build */ - ActiveRegions?: string[]; + Comment?: string; + /** + / error message, if any, about this build + */ + ErrorMessage?: string; /** / maximum number of game server instances that can run on a single host machine */ @@ -2539,9 +2547,9 @@ declare module PlayFabAdminModels { */ MinFreeGameSlots: number; /** - / developer comment(s) for this build + / the current status of the build validation and processing steps */ - Comment?: string; + Status?: string; /** / time this build was last modified (or uploaded, if this build has never been modified) */ @@ -2550,14 +2558,6 @@ declare module PlayFabAdminModels { / 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; - /** - / the current status of the build validation and processing steps - */ - Status?: string; - /** - / error message, if any, about this build - */ - ErrorMessage?: string; } @@ -2603,25 +2603,25 @@ declare module PlayFabAdminModels { */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** - / Array of items which can be purchased from this store. + / The base catalog that this store is a part of. */ - Store?: StoreItem[]; + CatalogVersion?: string; + /** + / Additional data about the store. + */ + MarketingData?: StoreMarketingModel; /** / How the store was last updated (Admin or a third party). */ Source?: string; /** - / The base catalog that this store is a part of. + / Array of items which can be purchased from this store. */ - CatalogVersion?: string; + Store?: StoreItem[]; /** / The ID of this store. */ StoreId?: string; - /** - / Additional data about the store. - */ - MarketingData?: StoreMarketingModel; } @@ -2640,14 +2640,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. - */ - TaskIdentifier?: NameIdentifier; - /** - / Optional filter for task instances that are of a specific status. - */ - StatusFilter?: string; /** / Optional range-from filter for task instances' StartedAt timestamp. */ @@ -2656,6 +2648,14 @@ declare module PlayFabAdminModels { / Optional range-to filter for task instances' StartedAt timestamp. */ StartedAtRangeTo?: string; + /** + / Optional filter for task instances that are of a specific status. + */ + StatusFilter?: string; + /** + / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. + */ + TaskIdentifier?: NameIdentifier; } @@ -2741,17 +2741,17 @@ declare module PlayFabAdminModels { */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. */ - PlayFabId: string; + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - IfChangedFromDataVersion?: number; + PlayFabId: string; } @@ -2760,17 +2760,17 @@ declare module PlayFabAdminModels { */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / PlayFab unique identifier of the user whose custom data is being returned. + / User specific data for this title. */ - PlayFabId?: string; + Data?: { [key: string]: UserDataRecord }; /** / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; /** - / User specific data for this title. + / PlayFab unique identifier of the user whose custom data is being returned. */ - Data?: { [key: string]: UserDataRecord }; + PlayFabId?: string; } @@ -2789,14 +2789,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; /** / Array of virtual currency balance(s) belonging to the user. */ @@ -2813,61 +2813,65 @@ declare module PlayFabAdminModels { */ export interface GrantedItemInstance { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Game specific comment associated with this instance when it was added to the user inventory. */ - PlayFabId?: string; + Annotation?: string; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Array of unique items that were awarded when this catalog item was purchased. */ - CharacterId?: string; + BundleContents?: string[]; /** - / Result of this operation. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - Result: boolean; + BundleParent?: string; /** - / Unique identifier for the inventory item, as defined in the catalog. + / Catalog version for the inventory item, when this instance was created. */ - ItemId?: string; + CatalogVersion?: string; /** - / Unique item identifier for this specific instance of the item. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId?: string; + CharacterId?: string; /** - / Class name for the inventory item, as defined in the catalog. + / A set of custom key-value pairs on the inventory item. */ - ItemClass?: string; + CustomData?: { [key: string]: string }; /** - / Timestamp for when this instance was purchased. + / CatalogItem.DisplayName at the time this item was purchased. */ - PurchaseDate?: string; + DisplayName?: string; /** / Timestamp for when this instance will expire. */ Expiration?: string; /** - / Total number of remaining uses, if this is a consumable item. + / Class name for the inventory item, as defined in the catalog. */ - RemainingUses?: number; + ItemClass?: string; /** - / The number of uses that were added or removed to this item in this call. + / Unique identifier for the inventory item, as defined in the catalog. */ - UsesIncrementedBy?: number; + ItemId?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Unique item identifier for this specific instance of the item. */ - Annotation?: string; + ItemInstanceId?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Timestamp for when this instance was purchased. */ - BundleParent?: string; + PurchaseDate?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Total number of remaining uses, if this is a consumable item. */ - DisplayName?: string; + RemainingUses?: number; + /** + / Result of this operation. + */ + Result: boolean; /** / Currency type for the cost of the catalog item. */ @@ -2877,13 +2881,9 @@ declare module PlayFabAdminModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -2939,14 +2939,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / Unique identifier of the catalog item to be granted to the user. - */ - ItemId: string; /** / String detailing any additional information concerning this operation. */ @@ -2959,10 +2951,18 @@ declare module PlayFabAdminModels { / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; /** / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2971,49 +2971,53 @@ declare module PlayFabAdminModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -3023,13 +3027,9 @@ declare module PlayFabAdminModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3037,6 +3037,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; /** / Authentication platform */ @@ -3049,10 +3053,6 @@ declare module PlayFabAdminModels { / Linked account username of the user on the platform, if available */ Username?: string; - /** - / Linked account email of the user on the platform, if available - */ - Email?: string; } @@ -3096,6 +3096,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { + /** + / City name. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3104,10 +3108,6 @@ declare module PlayFabAdminModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / City name. - */ - City?: string; /** / Latitude coordinate of the geographic location. */ @@ -3138,15 +3138,15 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; /** / 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; - /** - / Optional object accompanying the message as contextual information - */ - Data?: any; } @@ -3154,22 +3154,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / User email address attached to their account */ Email?: string; /** - / PlayFab username for the account (3-20 characters) + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Username?: string; + PlayFabId?: string; /** / Title specific username to match against existing user accounts */ TitleDisplayName?: string; + /** + / PlayFab username for the account (3-20 characters) + */ + Username?: string; } @@ -3184,6 +3184,33 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel + */ + export interface MembershipModel { + /** + / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. + */ + IsActive: boolean; + /** + / The time this membership expires + */ + MembershipExpiration: string; + /** + / The id of the membership + */ + MembershipId?: string; + /** + / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** + / The list of subscriptions that this player has for this membership + */ + Subscriptions?: SubscriptionModel[]; + + } + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ @@ -3210,18 +3237,26 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ 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; /** - / new timestamp + / appended to the end of the command line when starting game servers */ - Timestamp?: string; + CommandLineTemplate?: string; /** - / array of regions where this build can used, when it is active + / developer comment(s) for this build */ - ActiveRegions?: string[]; + 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 */ @@ -3231,17 +3266,9 @@ declare module PlayFabAdminModels { */ MinFreeGameSlots: number; /** - / appended to the end of the command line when starting game servers - */ - CommandLineTemplate?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ - ExecutablePath?: string; - /** - / developer comment(s) for this build + / new timestamp */ - Comment?: string; + Timestamp?: string; } @@ -3249,34 +3276,38 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - /** - / unique identifier for this build executable - */ - BuildId?: string; /** / array of regions where this build can used, when it is active */ ActiveRegions?: 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) + / unique identifier for this build executable */ - MinFreeGameSlots: number; + 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; /** - / developer comment(s) for this build + / maximum number of game server instances that can run on a single host machine */ - Comment?: string; + 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) */ @@ -3284,11 +3315,7 @@ declare module PlayFabAdminModels { /** / 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; - /** - / the current status of the build validation and processing steps - */ - Status?: string; + TitleId?: string; } @@ -3297,21 +3324,21 @@ declare module PlayFabAdminModels { */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** - / User currency was subtracted from. - */ - PlayFabId?: string; - /** - / Name of the virtual currency which was modified. + / Balance of the virtual currency after modification. */ - VirtualCurrency?: string; + Balance: number; /** / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. */ BalanceChange: number; /** - / Balance of the virtual currency after modification. + / User currency was subtracted from. */ - Balance: number; + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } @@ -3319,8 +3346,8 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { - Name?: string; Id?: string; + Name?: string; } @@ -3328,14 +3355,18 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { - /** - / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. - */ - Resource: string; /** / The action this statement effects. The only supported action is 'Execute'. */ Action: string; + /** + / Additional conditions to be applied for API Resources. + */ + ApiConditions?: ApiCondition; + /** + / A comment about the statement. Intended solely for bookeeping and debugging. + */ + Comment?: string; /** / The effect this statement will have. It could be either Allow or Deny */ @@ -3345,13 +3376,9 @@ declare module PlayFabAdminModels { */ Principal: string; /** - / A comment about the statement. Intended solely for bookeeping and debugging. - */ - Comment?: string; - /** - / Additional conditions to be applied for API Resources. + / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. */ - ApiConditions?: ApiCondition; + Resource: string; } @@ -3359,6 +3386,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { + /** + / Linked account's email + */ + Email?: string; /** / Authentication platform */ @@ -3371,10 +3402,6 @@ declare module PlayFabAdminModels { / Linked account's username */ Username?: string; - /** - / Linked account's email - */ - Email?: string; } @@ -3382,6 +3409,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { + /** + / City of the player's geographic location. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3390,10 +3421,6 @@ declare module PlayFabAdminModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode: string; - /** - / City of the player's geographic location. - */ - City?: string; /** / Latitude coordinate of the player's geographic location. */ @@ -3410,85 +3437,85 @@ declare module PlayFabAdminModels { */ export interface PlayerProfile { /** - / PlayFab Player ID - */ - PlayerId?: string; - /** - / Title ID this profile applies to + / Array of ad campaigns player has been attributed to */ - TitleId?: string; + AdCampaignAttributions?: AdCampaignAttribution[]; /** - / Player Display Name + / Image URL of the player's avatar. */ - DisplayName?: string; + AvatarUrl?: string; /** - / Publisher this player belongs to + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - PublisherId?: string; + BannedUntil?: string; /** - / Player account origination + / Array of contact email addresses associated with the player */ - Origination?: string; + ContactEmailAddresses?: ContactEmailInfo[]; /** / Player record created */ Created?: string; + /** + / Player Display Name + */ + DisplayName?: string; /** / Last login */ LastLogin?: string; /** - / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + / Array of third party accounts linked to this player */ - BannedUntil?: string; + LinkedAccounts?: PlayerLinkedAccount[]; /** - / Image URL of the player's avatar. + / Dictionary of player's locations by type. */ - AvatarUrl?: string; + Locations?: { [key: string]: PlayerLocation }; /** - / Dictionary of player's statistics using only the latest version's value + / Player account origination */ - Statistics?: { [key: string]: number }; + Origination?: string; /** - / A sum of player's total purchases in USD across all currencies. + / PlayFab Player ID */ - TotalValueToDateInUSD?: number; + PlayerId?: string; /** - / Dictionary of player's total purchases by currency. + / Array of player statistics */ - ValuesToDate?: { [key: string]: number }; + PlayerStatistics?: PlayerStatistic[]; /** - / List of player's tags for segmentation. + / Publisher this player belongs to */ - Tags?: string[]; + PublisherId?: string; /** - / Dictionary of player's locations by type. + / Array of configured push notification end points */ - Locations?: { [key: string]: PlayerLocation }; + PushNotificationRegistrations?: PushNotificationRegistration[]; /** - / Dictionary of player's virtual currency balances + / Dictionary of player's statistics using only the latest version's value */ - VirtualCurrencyBalances?: { [key: string]: number }; + Statistics?: { [key: string]: number }; /** - / Array of ad campaigns player has been attributed to + / List of player's tags for segmentation. */ - AdCampaignAttributions?: AdCampaignAttribution[]; + Tags?: string[]; /** - / Array of configured push notification end points + / Title ID this profile applies to */ - PushNotificationRegistrations?: PushNotificationRegistration[]; + TitleId?: string; /** - / Array of third party accounts linked to this player + / A sum of player's total purchases in USD across all currencies. */ - LinkedAccounts?: PlayerLinkedAccount[]; + TotalValueToDateInUSD?: number; /** - / Array of player statistics + / Dictionary of player's total purchases by currency. */ - PlayerStatistics?: PlayerStatistic[]; + ValuesToDate?: { [key: string]: number }; /** - / Array of contact email addresses associated with the player + / Dictionary of player's virtual currency balances */ - ContactEmailAddresses?: ContactEmailInfo[]; + VirtualCurrencyBalances?: { [key: string]: number }; } @@ -3497,65 +3524,73 @@ declare module PlayFabAdminModels { */ export interface PlayerProfileModel { /** - / Publisher this player belongs to + / List of advertising campaigns the player has been attributed to */ - PublisherId?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Title ID this player profile applies to + / URL of the player's avatar image */ - TitleId?: string; + AvatarUrl?: string; /** - / PlayFab player account unique identifier + / If the player is currently banned, the UTC Date when the ban expires */ - PlayerId?: string; + BannedUntil?: string; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / Player record created */ Created?: string; /** - / Player account origination + / Player display name */ - Origination?: string; + DisplayName?: string; /** / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** - / If the player is currently banned, the UTC Date when the ban expires + / List of all authentication systems linked to this player account */ - BannedUntil?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player display name + / List of memberships for the player, along with whether are expired. */ - DisplayName?: string; + Memberships?: MembershipModel[]; /** - / URL of the player's avatar image + / Player account origination */ - AvatarUrl?: string; + Origination?: string; /** - / List of player's tags for segmentation + / PlayFab player account unique identifier */ - Tags?: TagModel[]; + PlayerId?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; /** / List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of all authentication systems linked to this player account + / List of leaderboard statistic values for the player */ - LinkedAccounts?: LinkedPlatformAccountModel[]; + Statistics?: StatisticModel[]; /** - / List of all contact email info associated with the player account + / List of player's tags for segmentation */ - ContactEmailAddresses?: ContactEmailInfoModel[]; + Tags?: TagModel[]; /** - / List of advertising campaigns the player has been attributed to + / Title ID this player profile applies to */ - AdCampaignAttributions?: AdCampaignAttributionModel[]; + TitleId?: string; /** / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ @@ -3568,10 +3603,6 @@ declare module PlayFabAdminModels { / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; - /** - / List of leaderboard statistic values for the player - */ - Statistics?: StatisticModel[]; } @@ -3580,45 +3611,61 @@ declare module PlayFabAdminModels { */ export interface PlayerProfileViewConstraints { /** - / Whether to show the display name. Defaults to false + / Whether to show player's avatar URL. Defaults to false */ - ShowDisplayName: boolean; + ShowAvatarUrl: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the created date. Defaults to false */ ShowCreated: boolean; /** - / Whether to show origination. Defaults to false + / Whether to show the display name. Defaults to false */ - ShowOrigination: boolean; + ShowDisplayName: boolean; /** / Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** - / Whether to show the banned until time. Defaults to false + / Whether to show the linked accounts. Defaults to false */ - ShowBannedUntil: boolean; + ShowLinkedAccounts: boolean; /** - / Reserved for future development + / Whether to show player's locations. Defaults to false */ - ShowStatistics: boolean; + ShowLocations: boolean; /** - / Whether to show campaign attributions. Defaults to false + / Whether to show player's membership information. Defaults to false */ - ShowCampaignAttributions: boolean; + ShowMemberships: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; /** / Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; /** - / Whether to show the linked accounts. Defaults to false + / Reserved for future development */ - ShowLinkedAccounts: boolean; + ShowStatistics: boolean; /** - / Whether to show contact email addresses. Defaults to false + / Whether to show tags. Defaults to false */ - ShowContactEmailAddresses: boolean; + ShowTags: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -3627,18 +3674,6 @@ declare module PlayFabAdminModels { / Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; - /** - / Whether to show tags. Defaults to false - */ - ShowTags: boolean; - /** - / Whether to show player's locations. Defaults to false - */ - ShowLocations: boolean; - /** - / Whether to show player's avatar URL. Defaults to false - */ - ShowAvatarUrl: boolean; } @@ -3651,17 +3686,17 @@ declare module PlayFabAdminModels { */ Id?: string; /** - / Statistic version (0 if not a versioned statistic) + / Statistic name */ - StatisticVersion: number; + Name?: string; /** / Current statistic value */ StatisticValue: number; /** - / Statistic name + / Statistic version (0 if not a versioned statistic) */ - Name?: string; + StatisticVersion: number; } @@ -3670,21 +3705,21 @@ declare module PlayFabAdminModels { */ export interface PlayerStatisticDefinition { /** - / unique name of the statistic + / the aggregation method to use in updating the statistic (defaults to last) */ - StatisticName?: string; + AggregationMethod?: string; /** / current active version of the statistic, incremented each time the statistic resets */ - CurrentVersion: number; + CurrentVersion: number; + /** + / unique name of the statistic + */ + StatisticName?: string; /** / interval at which the values of the statistic for all players are reset automatically */ VersionChangeInterval?: string; - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ - AggregationMethod?: string; } @@ -3693,37 +3728,37 @@ declare module PlayFabAdminModels { */ export interface PlayerStatisticVersion { /** - / name of the statistic when the version became active + / time when the statistic version became active */ - StatisticName?: string; + ActivationTime: string; /** - / version of the statistic + / URL for the downloadable archive of player statistic values, if available */ - Version: number; + ArchiveDownloadUrl?: string; /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval + / time when the statistic version became inactive due to statistic version incrementing */ - ScheduledActivationTime?: string; + DeactivationTime?: string; /** - / time when the statistic version became active + / time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ - ActivationTime: string; + ScheduledActivationTime?: string; /** / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; /** - / time when the statistic version became inactive due to statistic version incrementing + / name of the statistic when the version became active */ - DeactivationTime?: string; + StatisticName?: string; /** / status of the statistic version */ Status?: string; /** - / URL for the downloadable archive of player statistic values, if available + / version of the statistic */ - ArchiveDownloadUrl?: string; + Version: number; } @@ -3734,14 +3769,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -3749,14 +3784,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -3768,14 +3803,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { - /** - / Unique name for this drop table - */ - TableId: string; /** / Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; + /** + / Unique name for this drop table + */ + TableId: string; } @@ -3787,14 +3822,14 @@ declare module PlayFabAdminModels { / Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Unique name for this drop table - */ - TableId: string; /** / Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; + /** + / Unique name for this drop table + */ + TableId: string; } @@ -3802,14 +3837,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique order ID for the purchase in question. */ OrderId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; /** / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ @@ -3891,14 +3926,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3946,22 +3981,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique order ID for the purchase in question. */ OrderId: string; - /** - / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) - */ - Reason?: string; /** / Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and Manual. Manual will cause no change to the order state. */ Outcome: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + */ + Reason?: string; } @@ -3980,14 +4015,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Whether this entry in the table is an item or a link to another table - */ - ResultItemType: string; /** / Either an ItemId, or the TableId of another random result table */ ResultItem: string; + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; /** / How likely this is to be rolled - larger numbers add more weight */ @@ -4046,10 +4081,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4058,6 +4089,10 @@ declare module PlayFabAdminModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4094,42 +4129,42 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { - /** - / ID of the task - */ - TaskId?: string; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ - Name: string; /** / Description the task */ Description?: string; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ - Schedule?: string; /** / Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; /** - / Task type. + / UTC time of last run */ - Type?: string; + LastRunTime?: string; + /** + / Name of the task. This is a unique identifier for tasks in the title. + */ + Name: string; + /** + / UTC time of next run + */ + NextRunTime?: string; /** / Task parameter. Different types of task have different parameter structure. See each task type's create API documentation for the details. */ Parameter?: any; /** - / UTC time of last run + / Cron expression for the run schedule of the task. The expression should be in UTC. */ - LastRunTime?: string; + Schedule?: string; /** - / UTC time of next run + / ID of the task */ - NextRunTime?: string; + TaskId?: string; + /** + / Task type. + */ + Type?: string; } @@ -4199,14 +4234,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Version number - */ - Version: number; /** / Revision to make the current published revision */ Revision: number; + /** + / Version number + */ + Version: number; } @@ -4266,25 +4301,25 @@ declare module PlayFabAdminModels { */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; - /** - / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ - Platform: string; + Credential: string; /** / for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; /** - / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM + / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) */ - Credential: string; + Name: string; /** / replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if notifications have already setup for this platform. */ OverwriteOldARN: boolean; + /** + / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + */ + Platform: string; } @@ -4304,17 +4339,17 @@ declare module PlayFabAdminModels { */ export interface SharedSecret { /** - / The player shared secret to use when calling Client/GetTitlePublicKey + / Flag to indicate if this key is disabled */ - SecretKey?: string; + Disabled: boolean; /** / Friendly name for this key */ FriendlyName?: string; /** - / Flag to indicate if this key is disabled + / The player shared secret to use when calling Client/GetTitlePublicKey */ - Disabled: boolean; + SecretKey?: string; } @@ -4337,14 +4372,14 @@ declare module PlayFabAdminModels { / Statistic name */ Name?: string; - /** - / Statistic version (0 if not a versioned statistic) - */ - Version: number; /** / Statistic value */ Value: number; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; } @@ -4371,25 +4406,25 @@ declare module PlayFabAdminModels { */ export interface StoreItem { /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ - ItemId: string; + CustomData?: any; /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + / Intended display position for this item. Note that 0 is the first position */ - VirtualCurrencyPrices?: { [key: string]: number }; + DisplayPosition?: number; /** - / Override prices for this item for specific currencies + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog */ - RealCurrencyPrices?: { [key: string]: number }; + ItemId: string; /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + / Override prices for this item for specific currencies */ - CustomData?: any; + RealCurrencyPrices?: { [key: string]: number }; /** - / Intended display position for this item. Note that 0 is the first position + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ - DisplayPosition?: number; + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -4397,14 +4432,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Display name of a store as it will appear to users. - */ - DisplayName?: string; /** / Tagline for a store. */ Description?: string; + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; /** / Custom data about a store. */ @@ -4412,10 +4447,58 @@ declare module PlayFabAdminModels { } + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel + */ + export interface SubscriptionModel { + /** + / When this subscription expires. + */ + Expiration: string; + /** + / The time the subscription was orignially purchased + */ + InitialSubscriptionTime: string; + /** + / Whether this subscription is currently active. That is, if Expiration > now. + */ + IsActive: boolean; + /** + / The status of this subscription, according to the subscription provider. + */ + Status?: string; + /** + / The id for this subscription + */ + SubscriptionId?: string; + /** + / The item id for this subscription from the primary catalog + */ + SubscriptionItemId?: string; + /** + / The provider for this subscription. Apple or Google Play are supported today. + */ + SubscriptionProvider?: string; + + } + + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ @@ -4424,10 +4507,6 @@ declare module PlayFabAdminModels { / Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ - Amount: number; } @@ -4447,37 +4526,37 @@ declare module PlayFabAdminModels { */ export interface TaskInstanceBasicSummary { /** - / ID of the task instance. + / UTC timestamp when the task completed. */ - TaskInstanceId?: string; + CompletedAt?: string; + /** + / Estimated time remaining in seconds. + */ + EstimatedSecondsRemaining?: number; + /** + / Progress represented as percentage. + */ + PercentComplete?: number; /** - / Identifier of the task this instance belongs to. + / If manually scheduled, ID of user who scheduled the task. */ - TaskIdentifier?: NameIdentifier; + ScheduledByUserId?: string; /** / UTC timestamp when the task started. */ StartedAt: string; - /** - / UTC timestamp when the task completed. - */ - CompletedAt?: string; /** / Current status of the task instance. */ Status?: string; /** - / Progress represented as percentage. - */ - PercentComplete?: number; - /** - / Estimated time remaining in seconds. + / Identifier of the task this instance belongs to. */ - EstimatedSecondsRemaining?: number; + TaskIdentifier?: NameIdentifier; /** - / If manually scheduled, ID of user who scheduled the task. + / ID of the task instance. */ - ScheduledByUserId?: string; + TaskInstanceId?: string; /** / Type of the task. */ @@ -4503,13 +4582,13 @@ declare module PlayFabAdminModels { */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The id of the ban to be updated. + / The updated active state for the ban. Null for no change. */ - BanId: string; + Active?: boolean; /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + / The id of the ban to be updated. */ - Reason?: string; + BanId: string; /** / The updated expiration date for the ban. Null for no change. */ @@ -4527,9 +4606,9 @@ declare module PlayFabAdminModels { */ Permanent?: boolean; /** - / The updated active state for the ban. Null for no change. + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ - Active?: boolean; + Reason?: string; } @@ -4559,6 +4638,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. + */ + Catalog?: CatalogItem[]; /** / Which catalog is being updated. If null, uses the default catalog. */ @@ -4567,10 +4650,6 @@ declare module PlayFabAdminModels { / Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will always set it. */ SetAsDefaultCatalog?: boolean; - /** - / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. - */ - Catalog?: CatalogItem[]; } @@ -4585,6 +4664,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / PlayFab user ID of the developer initiating the request. + */ + DeveloperPlayFabId?: string; /** / List of Cloud Script files to upload to create the new revision. Must have at least one file. */ @@ -4593,10 +4676,6 @@ declare module PlayFabAdminModels { / Immediately publish the new revision */ Publish: boolean; - /** - / PlayFab user ID of the developer initiating the request. - */ - DeveloperPlayFabId?: string; } @@ -4604,14 +4683,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Cloud Script version updated - */ - Version: number; /** / New revision number created */ Revision: number; + /** + / Cloud Script version updated + */ + Version: number; } @@ -4620,17 +4699,17 @@ declare module PlayFabAdminModels { */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The shared secret key to update + / Disable or Enable this key */ - SecretKey?: string; + Disabled: boolean; /** / Friendly name for this key */ FriendlyName?: string; /** - / Disable or Enable this key + / The shared secret key to update */ - Disabled: boolean; + SecretKey?: string; } @@ -4645,6 +4724,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / the aggregation method to use in updating the statistic (defaults to last) + */ + AggregationMethod?: string; /** / unique name of the statistic */ @@ -4653,10 +4736,6 @@ declare module PlayFabAdminModels { / interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of the new interval boundary) */ VersionChangeInterval?: string; - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ - AggregationMethod?: string; } @@ -4675,6 +4754,10 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ 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' */ @@ -4683,10 +4766,6 @@ declare module PlayFabAdminModels { / The new statements to include in the policy. */ Statements: PermissionStatement[]; - /** - / Whether to overwrite or append to the existing policy. - */ - OverwritePolicy: boolean; } @@ -4735,10 +4814,6 @@ declare module PlayFabAdminModels { / Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; - /** - / Unique identifier for the store which is to be updated - */ - StoreId: string; /** / Additional data about the store */ @@ -4747,6 +4822,10 @@ declare module PlayFabAdminModels { / Array of store items - references to catalog items, with specific pricing - to be added */ Store?: StoreItem[]; + /** + / Unique identifier for the store which is to be updated + */ + StoreId: string; } @@ -4761,34 +4840,34 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Description the task + */ + Description?: string; /** / Specify either the task ID or the name of the task to be updated. */ Identifier?: NameIdentifier; + /** + / Whether the schedule is active. Inactive schedule will not trigger task execution. + */ + IsActive: boolean; /** / Name of the task. This is a unique identifier for tasks in the title. */ Name: string; /** - / Description the task + / Parameter object specific to the task type. See each task type's create API documentation for details. */ - Description?: string; + Parameter?: any; /** / Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ - IsActive: boolean; /** / Task type. */ Type: string; - /** - / Parameter object specific to the task type. See each task type's create API documentation for details. - */ - Parameter?: any; } @@ -4796,10 +4875,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -4812,6 +4887,10 @@ declare module PlayFabAdminModels { / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4830,10 +4909,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -4842,6 +4917,10 @@ declare module PlayFabAdminModels { / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4849,14 +4928,14 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab unique identifier of the user whose title specific display name is to be changed - */ - PlayFabId: string; /** / New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; + /** + / PlayFab unique identifier of the user whose title specific display name is to be changed + */ + PlayFabId: string; } @@ -4876,69 +4955,69 @@ declare module PlayFabAdminModels { */ export interface UserAccountInfo { /** - / Unique identifier for the user account + / User Android device information, if an Android device has been linked */ - PlayFabId?: string; + AndroidDeviceInfo?: UserAndroidDeviceInfo; /** / Timestamp indicating when the user account was created */ Created: string; /** - / User account name in the PlayFab service - */ - Username?: string; - /** - / Title-specific information for the user account - */ - TitleInfo?: UserTitleInfo; - /** - / Personal information for the user which is considered more sensitive + / Custom ID information, if a custom ID has been assigned */ - PrivateInfo?: UserPrivateAccountInfo; + CustomIdInfo?: UserCustomIdInfo; /** / User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Steam information, if a Steam account has been linked - */ - SteamInfo?: UserSteamInfo; /** / User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** - / User iOS device information, if an iOS device has been linked + / User Google account information, if a Google account has been linked */ - IosDeviceInfo?: UserIosDeviceInfo; + GoogleInfo?: UserGoogleInfo; /** - / User Android device information, if an Android device has been linked + / User iOS device information, if an iOS device has been linked */ - AndroidDeviceInfo?: UserAndroidDeviceInfo; + IosDeviceInfo?: UserIosDeviceInfo; /** / User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** - / User Twitch account information, if a Twitch account has been linked + / Unique identifier for the user account */ - TwitchInfo?: UserTwitchInfo; + PlayFabId?: string; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; /** / User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; /** - / User Google account information, if a Google account has been linked + / User Steam information, if a Steam account has been linked */ - GoogleInfo?: UserGoogleInfo; + SteamInfo?: UserSteamInfo; /** - / User XBox account information, if a XBox account has been linked + / Title-specific information for the user account */ - XboxInfo?: UserXboxInfo; + TitleInfo?: UserTitleInfo; /** - / Custom ID information, if a custom ID has been assigned + / User Twitch account information, if a Twitch account has been linked */ - CustomIdInfo?: UserCustomIdInfo; + TwitchInfo?: UserTwitchInfo; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; } @@ -4982,10 +5061,6 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Data stored for the specified user data key. - */ - Value?: string; /** / Timestamp for when this data was last updated. */ @@ -4994,6 +5069,10 @@ declare module PlayFabAdminModels { / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. */ Permission?: string; + /** + / Data stored for the specified user data key. + */ + Value?: string; } @@ -5027,22 +5106,22 @@ declare module PlayFabAdminModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Google ID - */ - GoogleId?: string; /** / Email address of the Google account */ GoogleEmail?: string; - /** - / Locale of the Google account - */ - GoogleLocale?: string; /** / Gender information of the Google account */ GoogleGender?: string; + /** + / Google ID + */ + GoogleId?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; } @@ -5122,9 +5201,9 @@ declare module PlayFabAdminModels { */ export interface UserSteamInfo { /** - / Steam identifier + / what stage of game ownership the user is listed as being in, from Steam */ - SteamId?: string; + SteamActivationStatus?: string; /** / the country in which the player resides, from Steam data */ @@ -5134,9 +5213,9 @@ declare module PlayFabAdminModels { */ SteamCurrency?: string; /** - / what stage of game ownership the user is listed as being in, from Steam + / Steam identifier */ - SteamActivationStatus?: string; + SteamId?: string; } @@ -5145,21 +5224,17 @@ declare module PlayFabAdminModels { */ export interface UserTitleInfo { /** - / name of the user, as it is displayed in-game - */ - DisplayName?: string; - /** - / source by which the user first joined the game, if known + / URL to the player's avatar. */ - Origination?: string; + AvatarUrl?: string; /** / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) */ Created: string; /** - / timestamp for the last user login for this title + / name of the user, as it is displayed in-game */ - LastLogin?: string; + DisplayName?: string; /** / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) */ @@ -5169,9 +5244,13 @@ declare module PlayFabAdminModels { */ isBanned?: boolean; /** - / URL to the player's avatar. + / timestamp for the last user login for this title */ - AvatarUrl?: string; + LastLogin?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; } @@ -5251,14 +5330,14 @@ declare module PlayFabAdminModels { / amount to automatically grant users upon first login to the title */ InitialDeposit?: number; - /** - / rate at which the currency automatically be added to over time, in units per day (24 hours) - */ - RechargeRate?: number; /** / maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) */ RechargeMax?: number; + /** + / rate at which the currency automatically be added to over time, in units per day (24 hours) + */ + RechargeRate?: number; } @@ -5267,17 +5346,17 @@ declare module PlayFabAdminModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 20c2dc88..df404203 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3,657 +3,658 @@ declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; + ForgetClientCredentials(): void; /** - / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. - / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken - */ - GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Returns the title's base 64 encoded RSA CSP blob. - / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey - */ - GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge - */ - GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID - */ - LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID - */ - LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. - / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress - */ - LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook - */ - LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. + / https://api.playfab.com/Documentation/Client/method/AcceptTrade */ - LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback): void; + AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Client/method/AddFriend */ - LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. + / https://api.playfab.com/Documentation/Client/method/AddGenericID */ - LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Kongregate player account. - / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ - LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback): void; + AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. - / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. + / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword */ - LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback): void; + AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithSteam + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency */ - LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback): void; + AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Twitch access token. - / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + / Registers the Android device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration */ - LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback): void; + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. - / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + / Attributes an install for advertisment. + / https://api.playfab.com/Documentation/Client/method/AttributeInstall */ - LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. - / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). + / https://api.playfab.com/Documentation/Client/method/CancelTrade */ - RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback): void; + CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate + / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase */ - RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback): void; + ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Client/method/ConsumeItem */ - SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. - / https://api.playfab.com/Documentation/Client/method/AddGenericID + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ - AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. - / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript */ - AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback): void; + ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the user's PlayFab account details / https://api.playfab.com/Documentation/Client/method/GetAccountInfo */ - GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves all of the user's different kinds of info. - / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters */ - GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Client/method/GetCatalogItems */ - GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; + GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + / Retrieves the title-specific custom data for the character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterData */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory */ - GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard */ - GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + / Retrieves the title-specific custom data for the character which can only be read by the client + / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData */ - GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + / Retrieves the details of all title-specific statistics for the user + / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics */ - GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. + / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ - GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + / Get details about all current running game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetCurrentGames */ - GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback): void; + GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Android device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard */ - LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the custom identifier, generated by the title, to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkCustomID + / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer */ - LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Client/method/GetFriendsList */ - LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + / Get details about the regions hosting game servers matching the given parameters. + / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions */ - LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the currently signed-in user account to their Google account, using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Client/method/GetLeaderboard */ - LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the vendor-specific iOS device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter */ - LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Kongregate identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkKongregate + / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer */ - LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters */ - LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Twitch account associated with the token to the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/LinkTwitch + / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ - LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Link Windows Hello authentication to the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + / Retrieves all of the user's different kinds of info. + / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the specified generic service identifier from the player's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/RemoveGenericID + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile */ - RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Client/method/ReportPlayer + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments */ - ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics */ - SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Android device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions */ - UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related custom identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ - UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Facebook account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + / Gets all trades the player has either opened or accepted, optionally filtered by trade status. + / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades */ - UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Game Center account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs */ - UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). - / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs */ - UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related iOS device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs */ - UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Kongregate identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs */ - UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Steam account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs */ - UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Twitch account from the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs */ - UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlink Windows Hello authentication from the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the player - / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + / Retrieves the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Client/method/GetPublisherData */ - UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; + GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for the user - / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. + / https://api.playfab.com/Documentation/Client/method/GetPurchase */ - UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback): void; + GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ - GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + / Retrieves the set of items defined for the specified store, including all prices defined + / https://api.playfab.com/Documentation/Client/method/GetStoreItems */ - GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetLeaderboard + / Retrieves the current server time + / https://api.playfab.com/Documentation/Client/method/GetTime */ - GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + / Retrieves the key-value store of custom title settings + / https://api.playfab.com/Documentation/Client/method/GetTitleData */ - GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + / Retrieves the title news feed, as configured in the developer portal + / https://api.playfab.com/Documentation/Client/method/GetTitleNews */ - GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + / Returns the title's base 64 encoded RSA CSP blob. + / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey */ - GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Gets the current status of an existing trade. + / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + */ + GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the title-specific custom data for the user which is readable and writable by the client / https://api.playfab.com/Documentation/Client/method/GetUserData */ - GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves the user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Client/method/GetUserInventory + */ + GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the publisher-specific custom data for the user which is readable and writable by the client / https://api.playfab.com/Documentation/Client/method/GetUserPublisherData */ - GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the publisher-specific custom data for the user which can only be read by the client / https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData */ - GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the title-specific custom data for the user which can only be read by the client / https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData */ - GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge */ - UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserData + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser */ - UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + / Links the Android device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID */ - UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Client/method/GetCatalogItems + / Links the custom identifier, generated by the title, to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkCustomID */ - GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Client/method/GetPublisherData + / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount */ - GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Client/method/GetStoreItems + / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount */ - GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback): void; + LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current server time - / https://api.playfab.com/Documentation/Client/method/GetTime + / Links the currently signed-in user account to their Google account, using their Google account credentials + / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount */ - GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings - / https://api.playfab.com/Documentation/Client/method/GetTitleData + / Links the vendor-specific iOS device identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID */ - GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title news feed, as configured in the developer portal - / https://api.playfab.com/Documentation/Client/method/GetTitleNews + / Links the Kongregate identifier to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkKongregate */ - GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount */ - AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate - / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + / Links the Twitch account associated with the token to the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/LinkTwitch */ - ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Client/method/ConsumeItem + / Link Windows Hello authentication to the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello */ - ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID */ - GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. - / https://api.playfab.com/Documentation/Client/method/GetPurchase + / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID */ - GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetUserInventory + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. + / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress */ - GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Selects a payment option for purchase order created via StartPurchase - / https://api.playfab.com/Documentation/Client/method/PayForPurchase + / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook */ - PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. - / https://api.playfab.com/Documentation/Client/method/PurchaseItem + / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter */ - PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Client/method/RedeemCoupon + / Signs the user in using their Google account credentials + / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount */ - RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates an order for a list of items from the title catalog - / https://api.playfab.com/Documentation/Client/method/StartPurchase + / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID */ - StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + / Signs the user in using a Kongregate player account. + / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate */ - SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. + / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ - UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/LoginWithSteam */ - UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Client/method/AddFriend + / Signs the user in using a Twitch access token. + / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch */ - AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Client/method/GetFriendsList + / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. + / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello */ - GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; + LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes a specified user from the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/RemoveFriend + / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. + / https://api.playfab.com/Documentation/Client/method/Matchmake */ - RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; + Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the tag list for a specified user in the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/SetFriendTags + / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. + / https://api.playfab.com/Documentation/Client/method/OpenTrade */ - SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; + OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about all current running game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetCurrentGames + / Selects a payment option for purchase order created via StartPurchase + / https://api.playfab.com/Documentation/Client/method/PayForPurchase */ - GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback): void; + PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about the regions hosting game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. + / https://api.playfab.com/Documentation/Client/method/PurchaseItem */ - GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback): void; + PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. - / https://api.playfab.com/Documentation/Client/method/Matchmake + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ - Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback): void; + RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Start a new game server with a given configuration, add the current player and return the connection information. - / https://api.playfab.com/Documentation/Client/method/StartGame + / Registers the iOS device to receive push notifications + / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification */ - StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. + / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser */ - WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; + RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user + / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ - WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; + RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + / Removes a specified user from the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/RemoveFriend */ - WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; + RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + / Removes the specified generic service identifier from the player's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/RemoveGenericID */ - AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ - CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Client/method/ReportPlayer */ - GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + / Restores all in-app purchases based on the given restore receipt + / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases */ - RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password + / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail */ - UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. - / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + / Updates the tag list for a specified user in the friend list of the local user + / https://api.playfab.com/Documentation/Client/method/SetFriendTags */ - ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback): void; + SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret */ - GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + / Start a new game server with a given configuration, add the current player and return the connection information. + / https://api.playfab.com/Documentation/Client/method/StartGame */ - GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + / Creates an order for a list of items from the title catalog + / https://api.playfab.com/Documentation/Client/method/StartPurchase */ - GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the user - / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency */ - GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + / Unlinks the related Android device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID */ - GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + / Unlinks the related custom identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID */ - GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + / Unlinks the related Facebook account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount */ - GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + / Unlinks the related Game Center account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount */ - UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterData + / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount */ - GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + / Unlinks the related iOS device identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + */ + UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Unlinks the related Kongregate identifier from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + */ + UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Unlinks the related Steam account from the user's PlayFab account + / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount */ - GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + / Unlinks the related Twitch account from the user's PlayFab account. + / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ - UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. - / https://api.playfab.com/Documentation/Client/method/AcceptTrade + / Unlink Windows Hello authentication from the current PlayFab Account + / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello */ - AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback): void; + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). - / https://api.playfab.com/Documentation/Client/method/CancelTrade + / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance */ - CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all trades the player has either opened or accepted, optionally filtered by trade status. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem */ - GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the current status of an existing trade. - / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + / Update the avatar URL of the player + / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl */ - GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback): void; + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. - / https://api.playfab.com/Documentation/Client/method/OpenTrade + / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ - OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attributes an install for advertisment. - / https://api.playfab.com/Documentation/Client/method/AttributeInstall + / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics */ - AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics */ - GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTags + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData */ - GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the Android device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + / Creates and updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserData */ - AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the iOS device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData */ - RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Restores all in-app purchases based on the given restore receipt - / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + / Updates the title specific display name for the user + / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName */ - RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback): void; + UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt */ - ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback): void; + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates a Google Play purchase and gives the corresponding item to the player. / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase */ - ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback): void; + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt */ - ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback): void; + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt */ - ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback): void; + ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + */ + WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + */ + WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + */ + WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -663,6 +664,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. + */ + AcceptedInventoryInstanceIds?: string[]; /** / Player who opened the trade. */ @@ -671,10 +676,6 @@ declare module PlayFabClientModels { / Trade identifier. */ TradeId: string; - /** - / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. - */ - AcceptedInventoryInstanceIds?: string[]; } @@ -694,17 +695,17 @@ declare module PlayFabClientModels { */ export interface AdCampaignAttributionModel { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -712,22 +713,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the user to attempt to add to the local user's friend list. - */ - FriendPlayFabId?: string; - /** - / PlayFab username of the user to attempt to add to the local user's friend list. - */ - FriendUsername?: string; /** / Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; + /** + / PlayFab identifier of the user to attempt to add to the local user's friend list. + */ + FriendPlayFabId?: string; /** / Title-specific display name of the user to attempt to add to the local user's friend list. */ FriendTitleDisplayName?: string; + /** + / PlayFab username of the user to attempt to add to the local user's friend list. + */ + FriendUsername?: string; } @@ -764,14 +765,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -786,10 +787,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab username for the account (3-20 characters) - */ - Username: string; /** / User email address attached to their account */ @@ -798,6 +795,10 @@ declare module PlayFabClientModels { / Password for the PlayFab account (6-100 characters) */ Password: string; + /** + / PlayFab username for the account (3-20 characters) + */ + Username: string; } @@ -816,14 +817,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Name of the virtual currency which is to be incremented. - */ - VirtualCurrency: string; /** / Amount to be added to the user balance of the specified virtual currency. */ Amount: number; + /** + / Name of the virtual currency which is to be incremented. + */ + VirtualCurrency: string; } @@ -831,6 +832,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; /** / Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). */ @@ -839,10 +844,6 @@ declare module PlayFabClientModels { / If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; - /** - / Message to display when confirming push notification. - */ - ConfirmationMessage?: string; } @@ -857,14 +858,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The IdentifierForAdvertisers for iOS Devices. - */ - Idfa?: string; /** / The adid for this device. */ Adid?: string; + /** + / The IdentifierForAdvertisers for iOS Devices. + */ + Idfa?: string; } @@ -902,29 +903,25 @@ declare module PlayFabClientModels { */ export interface CartItem { /** - / Unique identifier for the catalog item. - */ - ItemId?: string; - /** - / Class name to which catalog item belongs. - */ - ItemClass?: string; - /** - / Unique instance identifier for this catalog item. + / Description of the catalog item. */ - ItemInstanceId?: string; + Description?: string; /** / Display name for the catalog item. */ DisplayName?: string; /** - / Description of the catalog item. + / Class name to which catalog item belongs. */ - Description?: string; + ItemClass?: string; /** - / Cost of the catalog item for each applicable virtual currency. + / Unique identifier for the catalog item. */ - VirtualCurrencyPrices?: { [key: string]: number }; + ItemId?: string; + /** + / Unique instance identifier for this catalog item. + */ + ItemInstanceId?: string; /** / Cost of the catalog item for each applicable real world currency. */ @@ -933,6 +930,10 @@ declare module PlayFabClientModels { / Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. */ VCAmount?: { [key: string]: number }; + /** + / Cost of the catalog item for each applicable virtual currency. + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -941,57 +942,45 @@ declare module PlayFabClientModels { */ export interface CatalogItem { /** - / unique identifier for this item + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies */ - ItemId: string; + Bundle?: CatalogItemBundleInfo; /** - / class to which the item belongs + / if true, then an item instance of this type can be used to grant a character to a user. */ - ItemClass?: string; + CanBecomeCharacter: boolean; /** / catalog version for this item */ CatalogVersion?: string; /** - / text name for the item, to show in-game - */ - DisplayName?: string; - /** - / text description of item, to show in-game - */ - Description?: string; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ - VirtualCurrencyPrices?: { [key: string]: number }; - /** - / override prices for this item for specific currencies + / defines the consumable properties (number of uses, timeout) for the item */ - RealCurrencyPrices?: { [key: string]: number }; + Consumable?: CatalogItemConsumableInfo; /** - / list of item tags + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ - Tags?: string[]; + Container?: CatalogItemContainerInfo; /** / game specific custom data */ CustomData?: string; /** - / defines the consumable properties (number of uses, timeout) for the item + / text description of item, to show in-game */ - Consumable?: CatalogItemConsumableInfo; + Description?: string; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + / text name for the item, to show in-game */ - Container?: CatalogItemContainerInfo; + DisplayName?: string; /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. */ - Bundle?: CatalogItemBundleInfo; + InitialLimitedEditionCount: number; /** - / if true, then an item instance of this type can be used to grant a character to a user. + / BETA: If true, then only a fixed number can ever be granted. */ - CanBecomeCharacter: boolean; + IsLimitedEdition: boolean; /** / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ @@ -1000,18 +989,30 @@ declare module PlayFabClientModels { / if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / unique identifier for this item + */ + ItemId: string; /** / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. */ ItemImageUrl?: string; /** - / BETA: If true, then only a fixed number can ever be granted. + / override prices for this item for specific currencies */ - IsLimitedEdition: boolean; + RealCurrencyPrices?: { [key: string]: number }; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + / list of item tags */ - InitialLimitedEditionCount: number; + Tags?: string[]; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -1057,14 +1058,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) - */ - KeyItemId?: string; /** / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; /** / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) */ @@ -1095,10 +1096,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ @@ -1107,22 +1104,26 @@ declare module PlayFabClientModels { / Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ - DisplayName?: string; /** / Name of the character class for this entry. */ CharacterType?: string; /** - / Specific value of the user's statistic. + / Title-specific display name of the user for this leaderboard entry. */ - StatValue: number; + DisplayName?: string; + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; /** / User's overall position in the leaderboard. */ Position: number; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -1153,14 +1154,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { - /** - / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule - */ - Includes?: Container_Dictionary_String_String[]; /** / List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; + /** + / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule + */ + Includes?: Container_Dictionary_String_String[]; } @@ -1179,6 +1180,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of items purchased. + */ + Items?: ItemInstance[]; /** / Purchase order identifier. */ @@ -1187,10 +1192,6 @@ declare module PlayFabClientModels { / Date and time of the purchase. */ PurchaseDate: string; - /** - / Array of items purchased. - */ - Items?: ItemInstance[]; } @@ -1199,17 +1200,17 @@ declare module PlayFabClientModels { */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique instance identifier of the item to be consumed. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId: string; + CharacterId?: string; /** / Number of uses to consume from the item. */ ConsumeCount: number; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Unique instance identifier of the item to be consumed. */ - CharacterId?: string; + ItemInstanceId: string; } @@ -1232,14 +1233,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; } @@ -1701,10 +1702,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Region to check for Game Server Instances. - */ - Region?: string; /** / Build to match against. */ @@ -1713,6 +1710,10 @@ declare module PlayFabClientModels { / Game mode to look for. */ GameMode?: string; + /** + / Region to check for Game Server Instances. + */ + Region?: string; /** / Statistic name to find statistic-based matches. */ @@ -1728,6 +1729,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { + /** + / number of games running + */ + GameCount: number; /** / array of games found */ @@ -1736,10 +1741,6 @@ declare module PlayFabClientModels { / total number of players across all servers */ PlayerCount: number; - /** - / number of games running - */ - GameCount: number; } @@ -1762,6 +1763,10 @@ declare module PlayFabClientModels { / Object that is passed in to the function as the first argument */ FunctionParameter?: any; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; /** / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ @@ -1770,10 +1775,6 @@ declare module PlayFabClientModels { / The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; - /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. - */ - GeneratePlayStreamEvent?: boolean; } @@ -1782,13 +1783,18 @@ declare module PlayFabClientModels { */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** - / The name of the function that executed + / Number of PlayFab API requests issued by the CloudScript function */ - FunctionName?: string; + APIRequestsIssued: number; /** - / The revision of the CloudScript that executed + / Information about the error, if any, that occurred during execution */ - Revision: number; + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** + / The name of the function that executed + */ + FunctionName?: string; /** / The object returned from the CloudScript function, if any */ @@ -1797,6 +1803,10 @@ declare module PlayFabClientModels { / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ @@ -1805,24 +1815,15 @@ declare module PlayFabClientModels { / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; - ExecutionTimeSeconds: number; + MemoryConsumedBytes: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. */ ProcessorTimeSeconds: number; - MemoryConsumedBytes: number; - /** - / Number of PlayFab API requests issued by the CloudScript function - */ - APIRequestsIssued: number; - /** - / Number of external HTTP requests issued by the CloudScript function - */ - HttpRequestsIssued: number; /** - / Information about the error, if any, that occurred during execution + / The revision of the CloudScript that executed */ - Error?: ScriptExecutionError; + Revision: number; } @@ -1845,22 +1846,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** - / PlayFab unique identifier for this friend. - */ - FriendPlayFabId?: string; - /** - / PlayFab unique username for this friend. - */ - Username?: string; - /** - / Title-specific display name for this friend. - */ - TitleDisplayName?: string; - /** - / Tags which have been associated with this friend. - */ - Tags?: string[]; /** / Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ @@ -1870,9 +1855,9 @@ declare module PlayFabClientModels { */ FacebookInfo?: UserFacebookInfo; /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). + / PlayFab unique identifier for this friend. */ - SteamInfo?: UserSteamInfo; + FriendPlayFabId?: string; /** / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ @@ -1881,6 +1866,22 @@ declare module PlayFabClientModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; } @@ -1903,14 +1904,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { - /** - / region to which this server is associated - */ - Region?: string; - /** - / unique lobby identifier for this game server - */ - LobbyID?: string; /** / build version this server is running */ @@ -1920,41 +1913,41 @@ declare module PlayFabClientModels { */ GameMode?: string; /** - / stastic used to match this game in player statistic matchmaking + / game session custom data */ - StatisticName?: string; + GameServerData?: string; /** - / maximum players this server can support + / game specific string denoting server configuration */ - MaxPlayers?: number; + GameServerState?: number; /** - / array of current player IDs on this server + / game specific string denoting server configuration */ - PlayerUserIds?: string[]; + GameServerStateEnum?: string; /** - / duration in seconds this server has been running + / last heartbeat of the game server instance, used in external game server provider mode */ - RunTime: number; + LastHeartbeat?: string; /** - / game specific string denoting server configuration + / unique lobby identifier for this game server */ - GameServerState?: number; + LobbyID?: string; /** - / game specific string denoting server configuration + / maximum players this server can support */ - GameServerStateEnum?: string; + MaxPlayers?: number; /** - / game session custom data + / array of current player IDs on this server */ - GameServerData?: string; + PlayerUserIds?: string[]; /** - / game session tags + / region to which this server is associated */ - Tags?: { [key: string]: string }; + Region?: string; /** - / last heartbeat of the game server instance, used in external game server provider mode + / duration in seconds this server has been running */ - LastHeartbeat?: string; + RunTime: number; /** / IP address of the server */ @@ -1963,6 +1956,14 @@ declare module PlayFabClientModels { / port number to use for non-http communications with the server */ ServerPort?: number; + /** + / stastic used to match this game in player statistic matchmaking + */ + StatisticName?: string; + /** + / game session tags + */ + Tags?: { [key: string]: string }; } @@ -2029,22 +2030,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. - */ - PlayFabId?: string; - /** - / PlayFab Username for the account to find (if no PlayFabId is specified). - */ - Username?: string; /** / User email address for the account to find (if no Username is specified). */ Email?: string; + /** + / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. + */ + PlayFabId?: string; /** / Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. */ TitleDisplayName?: string; + /** + / PlayFab Username for the account to find (if no PlayFabId is specified). + */ + Username?: string; } @@ -2085,22 +2086,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. - */ - PlayFabId?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. */ - IfChangedFromDataVersion?: number; + PlayFabId?: string; } @@ -2127,14 +2128,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ - CharacterId: string; /** / Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; + /** + / Unique PlayFab assigned ID for a specific character owned by a user + */ + CharacterId: string; } @@ -2170,17 +2171,17 @@ declare module PlayFabClientModels { */ CharacterType?: string; /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. Default 10, maximum 100. */ - StatisticName: string; + MaxResultsCount?: number; /** / First entry in the leaderboard to be retrieved. */ StartPosition: number; /** - / Maximum number of entries to retrieve. Default 10, maximum 100. + / Unique identifier for the title-specific statistic for the leaderboard. */ - MaxResultsCount?: number; + StatisticName: string; } @@ -2221,14 +2222,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ - Key: string; /** / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; /** / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. */ @@ -2252,9 +2253,13 @@ declare module PlayFabClientModels { */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Statistic used to rank players for this leaderboard. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - StatisticName: string; + IncludeFacebookFriends?: boolean; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; /** / Maximum number of entries to retrieve. Default 10, maximum 100. */ @@ -2264,21 +2269,17 @@ declare module PlayFabClientModels { */ PlayFabId?: string; /** - / Indicates whether Steam service friends should be included in the response. Default is true. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - IncludeSteamFriends?: boolean; + ProfileConstraints?: number; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / Statistic used to rank players for this leaderboard. */ - IncludeFacebookFriends?: boolean; + StatisticName: string; /** / The version of the leaderboard to get. */ Version?: number; - /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. - */ - ProfileConstraints?: number; } @@ -2290,14 +2291,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2306,33 +2307,33 @@ declare module PlayFabClientModels { */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Statistic used to rank friends for this leaderboard. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - StatisticName: string; + IncludeFacebookFriends?: boolean; /** - / Position in the leaderboard to start this listing (defaults to the first entry). + / Indicates whether Steam service friends should be included in the response. Default is true. */ - StartPosition: number; + IncludeSteamFriends?: boolean; /** / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** - / Indicates whether Steam service friends should be included in the response. Default is true. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - IncludeSteamFriends?: boolean; + ProfileConstraints?: number; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / Position in the leaderboard to start this listing (defaults to the first entry). */ - IncludeFacebookFriends?: boolean; + StartPosition: number; /** - / The version of the leaderboard to get. + / Statistic used to rank friends for this leaderboard. */ - Version?: number; + StatisticName: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + / The version of the leaderboard to get. */ - ProfileConstraints?: number; + Version?: number; } @@ -2340,14 +2341,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ - IncludeSteamFriends?: boolean; /** / Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; + /** + / Indicates whether Steam service friends should be included in the response. Default is true. + */ + IncludeSteamFriends?: boolean; /** / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ @@ -2370,10 +2371,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; /** / Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ @@ -2386,6 +2383,10 @@ declare module PlayFabClientModels { / Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; } @@ -2404,26 +2405,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Maximum number of entries to retrieve. Default 10, maximum 100. + */ + MaxResultsCount?: number; /** / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ PlayFabId?: string; /** - / Statistic used to rank players for this leaderboard. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - StatisticName: string; + ProfileConstraints?: number; /** - / Maximum number of entries to retrieve. Default 10, maximum 100. + / Statistic used to rank players for this leaderboard. */ - MaxResultsCount?: number; + StatisticName: string; /** / The version of the leaderboard to get. */ Version?: number; - /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. - */ - ProfileConstraints?: number; } @@ -2435,14 +2436,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2450,14 +2451,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; /** / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; } @@ -2477,25 +2478,25 @@ declare module PlayFabClientModels { */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Statistic used to rank players for this leaderboard. + / Maximum number of entries to retrieve. Default 10, maximum 100. */ - StatisticName: string; + MaxResultsCount?: number; + /** + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + */ + ProfileConstraints?: number; /** / Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** - / Maximum number of entries to retrieve. Default 10, maximum 100. + / Statistic used to rank players for this leaderboard. */ - MaxResultsCount?: number; + StatisticName: string; /** / The version of the leaderboard to get. */ Version?: number; - /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. - */ - ProfileConstraints?: number; } @@ -2507,14 +2508,14 @@ declare module PlayFabClientModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2544,14 +2545,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. - */ - PlayFabId?: string; /** / Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + /** + / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. + */ + PlayFabId?: string; } @@ -2560,65 +2561,65 @@ declare module PlayFabClientModels { */ export interface GetPlayerCombinedInfoRequestParams { /** - / Whether to get the player's account Info. Defaults to false + / Whether to get character inventories. Defaults to false. */ - GetUserAccountInfo: boolean; + GetCharacterInventories: boolean; /** - / Whether to get the player's inventory. Defaults to false + / Whether to get the list of characters. Defaults to false. */ - GetUserInventory: boolean; + GetCharacterList: boolean; /** - / Whether to get the player's virtual currency balances. Defaults to false + / Whether to get player profile. Defaults to false. */ - GetUserVirtualCurrency: boolean; + GetPlayerProfile: boolean; /** - / Whether to get the player's custom data. Defaults to false + / Whether to get player statistics. Defaults to false. */ - GetUserData: boolean; + GetPlayerStatistics: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + / Whether to get title data. Defaults to false. */ - UserDataKeys?: string[]; + GetTitleData: boolean; /** - / Whether to get the player's read only data. Defaults to false + / Whether to get the player's account Info. Defaults to false */ - GetUserReadOnlyData: boolean; + GetUserAccountInfo: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + / Whether to get the player's custom data. Defaults to false */ - UserReadOnlyDataKeys?: string[]; + GetUserData: boolean; /** - / Whether to get character inventories. Defaults to false. + / Whether to get the player's inventory. Defaults to false */ - GetCharacterInventories: boolean; + GetUserInventory: boolean; /** - / Whether to get the list of characters. Defaults to false. + / Whether to get the player's read only data. Defaults to false */ - GetCharacterList: boolean; + GetUserReadOnlyData: boolean; /** - / Whether to get title data. Defaults to false. + / Whether to get the player's virtual currency balances. Defaults to false */ - GetTitleData: boolean; + GetUserVirtualCurrency: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ - TitleDataKeys?: string[]; + PlayerStatisticNames?: string[]; /** - / Whether to get player statistics. Defaults to false. + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - GetPlayerStatistics: boolean; + ProfileConstraints?: number; /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ - PlayerStatisticNames?: string[]; + TitleDataKeys?: string[]; /** - / Whether to get player profile. Defaults to false. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ - GetPlayerProfile: boolean; + UserDataKeys?: string[]; /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false */ - ProfileConstraints?: number; + UserReadOnlyDataKeys?: string[]; } @@ -2626,14 +2627,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; } @@ -2646,17 +2647,25 @@ declare module PlayFabClientModels { */ AccountInfo?: UserAccountInfo; /** - / Array of inventory items in the user's current inventory. + / Inventories for each character for the user. */ - UserInventory?: ItemInstance[]; + CharacterInventories?: CharacterInventory[]; /** - / Dictionary of virtual currency balance(s) belonging to the user. + / List of characters for the user. */ - UserVirtualCurrency?: { [key: string]: number }; + CharacterList?: CharacterResult[]; /** - / Dictionary of remaining times and timestamps for virtual currencies. + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. */ - UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + PlayerProfile?: PlayerProfileModel; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; /** / User specific custom data. */ @@ -2665,6 +2674,10 @@ declare module PlayFabClientModels { / The version of the UserData that was returned. */ UserDataVersion: number; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; /** / User specific read-only data. */ @@ -2674,25 +2687,13 @@ declare module PlayFabClientModels { */ UserReadOnlyDataVersion: number; /** - / List of characters for the user. - */ - CharacterList?: CharacterResult[]; - /** - / Inventories for each character for the user. - */ - CharacterInventories?: CharacterInventory[]; - /** - / Title data for this title. - */ - TitleData?: { [key: string]: string }; - /** - / List of statistics for this player. + / Dictionary of virtual currency balance(s) belonging to the user. */ - PlayerStatistics?: StatisticValue[]; + UserVirtualCurrency?: { [key: string]: number }; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + / Dictionary of remaining times and timestamps for virtual currencies. */ - PlayerProfile?: PlayerProfileModel; + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } @@ -2792,14 +2793,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Optional namespace to filter results by */ Namespace?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2833,14 +2834,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The trades for this player which are currently available to be accepted. - */ - OpenedTrades?: TradeInfo[]; /** / History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; + /** + / The trades for this player which are currently available to be accepted. + */ + OpenedTrades?: TradeInfo[]; } @@ -3043,6 +3044,10 @@ declare module PlayFabClientModels { / Payment provider used for transaction (If not VC) */ PaymentProvider?: string; + /** + / Date and time of the purchase. + */ + PurchaseDate: string; /** / Provider transaction ID (If not VC) */ @@ -3051,10 +3056,6 @@ declare module PlayFabClientModels { / PlayFab transaction status */ TransactionStatus?: string; - /** - / Date and time of the purchase. - */ - PurchaseDate: string; } @@ -3062,6 +3063,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; /** / Unique identifier for this segment. */ @@ -3070,10 +3075,6 @@ declare module PlayFabClientModels { / Segment name. */ Name?: string; - /** - / Identifier of the segments AB Test, if it is attached to one. - */ - ABTestParent?: string; } @@ -3082,17 +3083,17 @@ declare module PlayFabClientModels { */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the shared group. + / If true, return the list of all members of the shared group. */ - SharedGroupId: string; + GetMembers?: boolean; /** / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). */ Keys?: string[]; /** - / If true, return the list of all members of the shared group. + / Unique identifier for the shared group. */ - GetMembers?: boolean; + SharedGroupId: string; } @@ -3131,25 +3132,25 @@ declare module PlayFabClientModels { */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** - / Array of items which can be purchased from this store. + / The base catalog that this store is a part of. + */ + CatalogVersion?: string; + /** + / Additional data about the store. */ - Store?: StoreItem[]; + MarketingData?: StoreMarketingModel; /** / How the store was last updated (Admin or a third party). */ Source?: string; /** - / The base catalog that this store is a part of. + / Array of items which can be purchased from this store. */ - CatalogVersion?: string; + Store?: StoreItem[]; /** / The ID of this store. */ StoreId?: string; - /** - / Additional data about the store. - */ - MarketingData?: StoreMarketingModel; } @@ -3271,6 +3272,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom data. Leave null to get all keys. */ @@ -3279,10 +3284,6 @@ declare module PlayFabClientModels { / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a PlayFab id of another player, then this will only return public keys for that account. */ PlayFabId?: string; - /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. - */ - IfChangedFromDataVersion?: number; } @@ -3331,14 +3332,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: 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; } @@ -3376,14 +3377,14 @@ declare module PlayFabClientModels { / Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. - */ - ItemId: string; /** / Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; + /** + / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. + */ + ItemId: string; } @@ -3411,49 +3412,53 @@ declare module PlayFabClientModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -3463,13 +3468,9 @@ declare module PlayFabClientModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3477,6 +3478,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Title-specific text concerning this purchase. + */ + Annotation?: string; /** / Unique ItemId of the item to purchase. */ @@ -3485,10 +3490,6 @@ declare module PlayFabClientModels { / How many of this item to purchase. */ Quantity: number; - /** - / Title-specific text concerning this purchase. - */ - Annotation?: string; /** / Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). */ @@ -3515,22 +3516,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Android device identifier for the user's device. - */ - AndroidDeviceId: string; - /** - / Specific Operating System version for the user's device. - */ - OS?: string; /** / Specific model of the user's device. */ AndroidDevice?: string; + /** + / Android device identifier for the user's device. + */ + AndroidDeviceId: string; /** / If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; } @@ -3567,6 +3568,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; /** / Authentication platform */ @@ -3579,10 +3584,6 @@ declare module PlayFabClientModels { / Linked account username of the user on the platform, if available */ Username?: string; - /** - / Linked account email of the user on the platform, if available - */ - Email?: string; } @@ -3612,14 +3613,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Game Center identifier for the player account to be linked. - */ - GameCenterId: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Game Center identifier for the player account to be linked. + */ + GameCenterId: string; } @@ -3634,14 +3635,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. - */ - ServerAuthCode?: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. + */ + ServerAuthCode?: string; } @@ -3660,10 +3661,6 @@ declare module PlayFabClientModels { / Vendor-specific iOS identifier for the user's device. */ DeviceId: string; - /** - / Specific Operating System version for the user's device. - */ - OS?: string; /** / Specific model of the user's device. */ @@ -3672,6 +3669,10 @@ declare module PlayFabClientModels { / If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; } @@ -3686,10 +3687,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Numeric user ID assigned by Kongregate - */ - KongregateId: string; /** / Valid session auth ticket issued by Kongregate */ @@ -3698,6 +3695,10 @@ declare module PlayFabClientModels { / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Numeric user ID assigned by Kongregate + */ + KongregateId: string; } @@ -3712,14 +3713,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). - */ - SteamTicket: string; /** / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + */ + SteamTicket: string; } @@ -3756,14 +3757,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player's user named used by Windows Hello. - */ - UserName: string; - /** - / PublicKey generated by Windows Hello. - */ - PublicKey: string; /** / Device name. */ @@ -3772,6 +3765,14 @@ declare module PlayFabClientModels { / If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; + /** + / PublicKey generated by Windows Hello. + */ + PublicKey: string; + /** + / Player's user named used by Windows Hello. + */ + UserName: string; } @@ -3808,6 +3809,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { + /** + / City name. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3816,10 +3821,6 @@ declare module PlayFabClientModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / City name. - */ - City?: string; /** / Latitude coordinate of the geographic location. */ @@ -3851,29 +3852,29 @@ declare module PlayFabClientModels { */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** - / Unique token authorizing the user and game at the server level, for the current session. + / Results for requested info. */ - SessionTicket?: string; + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** - / Player's unique PlayFabId. + / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ - PlayFabId?: string; + LastLoginTime?: string; /** / True if the account was newly created on this login. */ NewlyCreated: boolean; /** - / Settings specific to this user. + / Player's unique PlayFabId. */ - SettingsForUser?: UserSettings; + PlayFabId?: string; /** - / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue + / Unique token authorizing the user and game at the server level, for the current session. */ - LastLoginTime?: string; + SessionTicket?: string; /** - / Results for requested info. + / Settings specific to this user. */ - InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + SettingsForUser?: UserSettings; } @@ -3881,38 +3882,38 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Android device identifier for the user's device. - */ - AndroidDeviceId?: string; - /** - / Specific Operating System version for the user's device. - */ - OS?: string; /** / Specific model of the user's device. */ AndroidDevice?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this ID. + / Android device identifier for the user's device. */ - CreateAccount?: boolean; + AndroidDeviceId?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ - TitleId?: string; + CreateAccount?: boolean; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / Specific Operating System version for the user's device. + */ + OS?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -3920,30 +3921,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom unique identifier for the user, generated by the title. - */ - CustomId?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Custom unique identifier for the user, generated by the title. */ - TitleId?: string; + CustomId?: string; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -3951,22 +3952,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / Email address for the account. */ Email: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -3982,22 +3983,22 @@ declare module PlayFabClientModels { / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4005,30 +4006,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique Game Center player id. - */ - PlayerId?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** + / Unique Game Center player id. + */ + PlayerId?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4036,30 +4037,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. - */ - ServerAuthCode?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + ServerAuthCode?: 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; } @@ -4068,37 +4069,37 @@ declare module PlayFabClientModels { */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Vendor-specific iOS identifier for the user's device. + / Automatically create a PlayFab account if one is not currently linked to this ID. */ - DeviceId?: string; + CreateAccount?: boolean; /** - / Specific Operating System version for the user's device. + / Vendor-specific iOS identifier for the user's device. */ - OS?: string; + DeviceId?: string; /** / Specific model of the user's device. */ DeviceModel?: string; /** - / Automatically create a PlayFab account if one is not currently linked to this ID. + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - CreateAccount?: boolean; + EncryptedRequest?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Flags for which pieces of info to return for the user. */ - TitleId?: string; + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + / Specific Operating System version for the user's device. */ - EncryptedRequest?: string; + OS?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4106,10 +4107,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Numeric user ID assigned by Kongregate - */ - KongregateId?: string; /** / Token issued by Kongregate's client API for the user. */ @@ -4119,21 +4116,25 @@ declare module PlayFabClientModels { */ CreateAccount?: boolean; /** - / Flags for which pieces of info to return for the user. + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + EncryptedRequest?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + / Flags for which pieces of info to return for the user. */ - TitleId?: string; + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + / Numeric user ID assigned by Kongregate */ - EncryptedRequest?: string; + KongregateId?: string; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: 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; } @@ -4142,21 +4143,21 @@ declare module PlayFabClientModels { */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / 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; - /** - / PlayFab username for the account. + / Flags for which pieces of info to return for the user. */ - Username: string; + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; + /** + / PlayFab username for the account. + */ + Username: string; } @@ -4164,30 +4165,30 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). - */ - SteamTicket?: string; /** / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + SteamTicket?: 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; } @@ -4203,22 +4204,22 @@ declare module PlayFabClientModels { / Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4226,22 +4227,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / 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; /** / The signed response from the user for the Challenge. */ ChallengeSignature: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** - / Flags for which pieces of info to return for the user. + / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + TitleId?: string; } @@ -4249,15 +4250,15 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; /** / 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; - /** - / Optional object accompanying the message as contextual information - */ - Data?: any; } @@ -4270,9 +4271,9 @@ declare module PlayFabClientModels { */ BuildVersion?: string; /** - / Region to match make against. [Note: Required if LobbyId is not specified] + / Character to use for stats based matching. Leave null to use account stats. */ - Region?: string; + CharacterId?: string; /** / Game mode to match make against. [Note: Required if LobbyId is not specified] */ @@ -4282,17 +4283,17 @@ declare module PlayFabClientModels { */ LobbyId?: string; /** - / Player statistic to use in finding a match. May be null for no stat-based matching. - */ - StatisticName?: string; - /** - / Character to use for stats based matching. Leave null to use account stats. + / Region to match make against. [Note: Required if LobbyId is not specified] */ - CharacterId?: string; + Region?: string; /** / Start a game session if one with an open slot is not found. Defaults to true. */ StartNewIfNoneFound?: boolean; + /** + / Player statistic to use in finding a match. May be null for no stat-based matching. + */ + StatisticName?: string; /** / Filter to include and/or exclude Game Server Instances associated with certain Tags */ @@ -4304,10 +4305,18 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { + /** + / timestamp for when the server will expire, if applicable + */ + Expires?: string; /** / unique lobby identifier of the server matched */ LobbyID?: string; + /** + / time in milliseconds the application is configured to wait on matchmaking results + */ + PollWaitTimeMS?: number; /** / IP address of the server */ @@ -4316,22 +4325,14 @@ declare module PlayFabClientModels { / port number to use for non-http communications with the server */ ServerPort?: number; - /** - / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) - */ - Ticket?: string; - /** - / timestamp for when the server will expire, if applicable - */ - Expires?: string; - /** - / time in milliseconds the application is configured to wait on matchmaking results - */ - PollWaitTimeMS?: number; /** / result of match making process */ Status?: string; + /** + / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) + */ + Ticket?: string; } @@ -4342,25 +4343,52 @@ declare module PlayFabClientModels { | "SessionClosed"; /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ - export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { + export interface MembershipModel { /** - / User currency was subtracted from. + / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ - PlayFabId?: string; + IsActive: boolean; /** - / Name of the virtual currency which was modified. + / The time this membership expires */ - VirtualCurrency?: string; + MembershipExpiration: string; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + / The id of the membership */ - BalanceChange: number; + MembershipId?: string; + /** + / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** + / The list of subscriptions that this player has for this membership + */ + Subscriptions?: SubscriptionModel[]; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult + */ + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** / Balance of the virtual currency after modification. */ Balance: number; + /** + / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + BalanceChange: number; + /** + / User currency was subtracted from. + */ + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } @@ -4368,8 +4396,8 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { - Name?: string; Id?: string; + Name?: string; } @@ -4377,6 +4405,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. + */ + AllowedPlayerIds?: string[]; /** / Player inventory items offered for trade. If not set, the trade is effectively a gift request */ @@ -4385,10 +4417,6 @@ declare module PlayFabClientModels { / Catalog items accepted for the trade. If not set, the trade is effectively a gift. */ RequestedCatalogItemIds?: string[]; - /** - / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. - */ - AllowedPlayerIds?: string[]; } @@ -4407,6 +4435,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Currency to use to fund the purchase. + */ + Currency: string; /** / Purchase order identifier returned from StartPurchase. */ @@ -4415,10 +4447,6 @@ declare module PlayFabClientModels { / Payment provider to use to fund the purchase. */ ProviderName: string; - /** - / Currency to use to fund the purchase. - */ - Currency: string; /** / Payment provider transaction identifier. Required for Facebook Payments. */ @@ -4430,18 +4458,26 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Local credit applied to the transaction (provider specific). + */ + CreditApplied: number; /** / Purchase order identifier. */ OrderId?: string; /** - / Status of the transaction. + / Provider used for the transaction. */ - Status?: string; + ProviderData?: string; /** - / Virtual currency cost of the transaction. + / A token generated by the provider to authenticate the request (provider-specific). */ - VCAmount?: { [key: string]: number }; + ProviderToken?: string; + /** + / URL to the purchase provider page that details the purchase. + */ + PurchaseConfirmationPageURL?: string; /** / Real world currency for the transaction. */ @@ -4451,25 +4487,17 @@ declare module PlayFabClientModels { */ PurchasePrice: number; /** - / Local credit applied to the transaction (provider specific). - */ - CreditApplied: number; - /** - / Provider used for the transaction. + / Status of the transaction. */ - ProviderData?: string; + Status?: string; /** - / URL to the purchase provider page that details the purchase. + / Virtual currency cost of the transaction. */ - PurchaseConfirmationPageURL?: string; + VCAmount?: { [key: string]: number }; /** / Current virtual currency totals for the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / A token generated by the provider to authenticate the request (provider-specific). - */ - ProviderToken?: string; } @@ -4481,14 +4509,14 @@ declare module PlayFabClientModels { / Specific currency to use to fund the purchase. */ Currency?: string; - /** - / Name of the purchase provider for this option. - */ - ProviderName?: string; /** / Amount of the specified currency needed for the purchase. */ Price: number; + /** + / Name of the purchase provider for this option. + */ + ProviderName?: string; /** / Amount of existing credit the user has with the provider. */ @@ -4500,18 +4528,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; /** - / Specific value of the user's statistic. + / PlayFab unique identifier of the user for this leaderboard entry. */ - StatValue: number; + PlayFabId?: string; /** / User's overall position in the leaderboard. */ @@ -4520,6 +4544,10 @@ declare module PlayFabClientModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -4528,65 +4556,73 @@ declare module PlayFabClientModels { */ export interface PlayerProfileModel { /** - / Publisher this player belongs to + / List of advertising campaigns the player has been attributed to */ - PublisherId?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Title ID this player profile applies to + / URL of the player's avatar image */ - TitleId?: string; + AvatarUrl?: string; /** - / PlayFab player account unique identifier + / If the player is currently banned, the UTC Date when the ban expires */ - PlayerId?: string; + BannedUntil?: string; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / Player record created */ Created?: string; /** - / Player account origination + / Player display name */ - Origination?: string; + DisplayName?: string; /** / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** - / If the player is currently banned, the UTC Date when the ban expires + / List of all authentication systems linked to this player account */ - BannedUntil?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player display name + / List of memberships for the player, along with whether are expired. */ - DisplayName?: string; + Memberships?: MembershipModel[]; /** - / URL of the player's avatar image + / Player account origination */ - AvatarUrl?: string; + Origination?: string; /** - / List of player's tags for segmentation + / PlayFab player account unique identifier */ - Tags?: TagModel[]; + PlayerId?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; /** / List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of all authentication systems linked to this player account + / List of leaderboard statistic values for the player */ - LinkedAccounts?: LinkedPlatformAccountModel[]; + Statistics?: StatisticModel[]; /** - / List of all contact email info associated with the player account + / List of player's tags for segmentation */ - ContactEmailAddresses?: ContactEmailInfoModel[]; + Tags?: TagModel[]; /** - / List of advertising campaigns the player has been attributed to + / Title ID this player profile applies to */ - AdCampaignAttributions?: AdCampaignAttributionModel[]; + TitleId?: string; /** / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ @@ -4599,10 +4635,6 @@ declare module PlayFabClientModels { / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; - /** - / List of leaderboard statistic values for the player - */ - Statistics?: StatisticModel[]; } @@ -4611,45 +4643,61 @@ declare module PlayFabClientModels { */ export interface PlayerProfileViewConstraints { /** - / Whether to show the display name. Defaults to false + / Whether to show player's avatar URL. Defaults to false */ - ShowDisplayName: boolean; + ShowAvatarUrl: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the created date. Defaults to false */ ShowCreated: boolean; /** - / Whether to show origination. Defaults to false + / Whether to show the display name. Defaults to false */ - ShowOrigination: boolean; + ShowDisplayName: boolean; /** / Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** - / Whether to show the banned until time. Defaults to false + / Whether to show the linked accounts. Defaults to false */ - ShowBannedUntil: boolean; + ShowLinkedAccounts: boolean; /** - / Reserved for future development + / Whether to show player's locations. Defaults to false */ - ShowStatistics: boolean; + ShowLocations: boolean; /** - / Whether to show campaign attributions. Defaults to false + / Whether to show player's membership information. Defaults to false */ - ShowCampaignAttributions: boolean; + ShowMemberships: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; /** / Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; /** - / Whether to show the linked accounts. Defaults to false + / Reserved for future development */ - ShowLinkedAccounts: boolean; + ShowStatistics: boolean; /** - / Whether to show contact email addresses. Defaults to false + / Whether to show tags. Defaults to false */ - ShowContactEmailAddresses: boolean; + ShowTags: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -4658,18 +4706,6 @@ declare module PlayFabClientModels { / Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; - /** - / Whether to show tags. Defaults to false - */ - ShowTags: boolean; - /** - / Whether to show player's locations. Defaults to false - */ - ShowLocations: boolean; - /** - / Whether to show player's avatar URL. Defaults to false - */ - ShowAvatarUrl: boolean; } @@ -4678,29 +4714,29 @@ declare module PlayFabClientModels { */ export interface PlayerStatisticVersion { /** - / name of the statistic when the version became active + / time when the statistic version became active */ - StatisticName?: string; + ActivationTime: string; /** - / version of the statistic + / time when the statistic version became inactive due to statistic version incrementing */ - Version: number; + DeactivationTime?: string; /** / time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time when the statistic version became active - */ - ActivationTime: string; /** / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; /** - / time when the statistic version became inactive due to statistic version incrementing + / name of the statistic when the version became active */ - DeactivationTime?: string; + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; } @@ -4709,29 +4745,29 @@ declare module PlayFabClientModels { */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the item to purchase. + / Catalog version for the items to be purchased (defaults to most recent version. */ - ItemId: string; + CatalogVersion?: string; /** - / Virtual currency to use to purchase the item. + / Unique PlayFab assigned ID for a specific character owned by a user */ - VirtualCurrency: string; + CharacterId?: string; /** - / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). + / Unique identifier of the item to purchase. */ - Price: number; + ItemId: string; /** - / Catalog version for the items to be purchased (defaults to most recent version. + / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). */ - CatalogVersion?: string; + Price: number; /** / Store to buy this item through. If not set, prices default to those in the catalog. */ StoreId?: string; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Virtual currency to use to purchase the item. */ - CharacterId?: string; + VirtualCurrency: string; } @@ -4753,14 +4789,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -4768,10 +4804,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generated coupon code to redeem. - */ - CouponCode: string; /** / Catalog version of the coupon. If null, uses the default catalog */ @@ -4780,6 +4812,10 @@ declare module PlayFabClientModels { / Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; + /** + / Generated coupon code to redeem. + */ + CouponCode: string; } @@ -4807,21 +4843,21 @@ declare module PlayFabClientModels { */ export interface RegionInfo { /** - / unique identifier for the region + / indicates whether the server specified is available in this region */ - Region?: string; + Available: boolean; /** / name of the region */ Name?: string; - /** - / indicates whether the server specified is available in this region - */ - Available: boolean; /** / url to ping to get roundtrip time */ PingUrl?: string; + /** + / unique identifier for the region + */ + Region?: string; } @@ -4829,6 +4865,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Message to display when confirming push notification. + */ + ConfirmationMessage?: string; /** / Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. */ @@ -4837,10 +4877,6 @@ declare module PlayFabClientModels { / If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; - /** - / Message to display when confirming push notification. - */ - ConfirmationMessage?: string; } @@ -4856,41 +4892,41 @@ declare module PlayFabClientModels { */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab username for the account (3-20 characters) + / An optional parameter for setting the display name for this title (3-25 characters). */ - Username?: string; + DisplayName?: string; /** / User email address attached to their account */ Email?: string; + /** + / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). + */ + EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Password for the PlayFab account (6-100 characters) */ Password?: string; + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret?: string; /** / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. */ RequireBothUsernameAndEmail?: boolean; - /** - / An optional parameter for setting the display name for this title (3-25 characters). - */ - DisplayName?: 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; /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ - EncryptedRequest?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ - PlayerSecret?: string; - /** - / Flags for which pieces of info to return for the user. + / PlayFab username for the account (3-20 characters) */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + Username?: string; } @@ -4906,14 +4942,14 @@ declare module PlayFabClientModels { / Unique token identifying the user and game at the server level, for the current session. */ SessionTicket?: string; - /** - / PlayFab unique user name. - */ - Username?: string; /** / Settings specific to this user. */ SettingsForUser?: UserSettings; + /** + / PlayFab unique user name. + */ + Username?: string; } @@ -4921,34 +4957,34 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player's user name used by Windows Hello. - */ - UserName?: string; - /** - / PublicKey generated by Windows Hello. - */ - PublicKey?: string; /** / Device name. */ DeviceName?: 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; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Flags for which pieces of info to return for the user. + */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** / Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Flags for which pieces of info to return for the user. + / PublicKey generated by Windows Hello. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + PublicKey?: 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; + /** + / Player's user name used by Windows Hello. + */ + UserName?: string; } @@ -4992,14 +5028,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -5014,14 +5050,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab identifier of the reported player. - */ - ReporteeId: string; /** / Optional additional comment by reporting player. */ Comment?: string; + /** + / Unique PlayFab identifier of the reported player. + */ + ReporteeId: string; } @@ -5121,14 +5157,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ - PlayerSecret?: string; /** / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; + /** + / Player secret that is used to verify API request signatures (Enterprise Only). + */ + PlayerSecret?: string; } @@ -5144,21 +5180,21 @@ declare module PlayFabClientModels { */ export interface SharedGroupDataRecord { /** - / Data stored for the specified group data key. + / Timestamp for when this data was last updated. */ - Value?: string; + LastUpdated: string; /** / Unique PlayFab identifier of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Timestamp for when this data was last updated. - */ - LastUpdated: string; /** / Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; + /** + / Data stored for the specified group data key. + */ + Value?: string; } @@ -5177,25 +5213,25 @@ declare module PlayFabClientModels { */ BuildVersion: string; /** - / the region to associate this server with for match filtering + / character to use for stats based matching. Leave null to use account stats */ - Region: string; + CharacterId?: string; /** - / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) + / custom command line argument when starting game server process */ - GameMode: string; + CustomCommandLineData?: string; /** - / player statistic for others to use in finding this game. May be null for no stat-based matching + / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ - StatisticName?: string; + GameMode: string; /** - / character to use for stats based matching. Leave null to use account stats + / the region to associate this server with for match filtering */ - CharacterId?: string; + Region: string; /** - / custom command line argument when starting game server process + / player statistic for others to use in finding this game. May be null for no stat-based matching */ - CustomCommandLineData?: string; + StatisticName?: string; } @@ -5203,10 +5239,18 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { + /** + / timestamp for when the server should expire, if applicable + */ + Expires?: string; /** / unique identifier for the lobby of the server started */ LobbyID?: string; + /** + / password required to log into the server + */ + Password?: string; /** / server IP address */ @@ -5219,14 +5263,6 @@ declare module PlayFabClientModels { / unique identifier for the server */ Ticket?: string; - /** - / timestamp for when the server should expire, if applicable - */ - Expires?: string; - /** - / password required to log into the server - */ - Password?: string; } @@ -5238,14 +5274,14 @@ declare module PlayFabClientModels { / Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; - /** - / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. - */ - StoreId?: string; /** / Array of items to purchase. */ Items: ItemPurchaseRequest[]; + /** + / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. + */ + StoreId?: string; } @@ -5253,14 +5289,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Purchase order identifier. - */ - OrderId?: string; /** / Cart items to be purchased. */ Contents?: CartItem[]; + /** + / Purchase order identifier. + */ + OrderId?: string; /** / Available methods by which the user can pay. */ @@ -5280,14 +5316,14 @@ declare module PlayFabClientModels { / Statistic name */ Name?: string; - /** - / Statistic version (0 if not a versioned statistic) - */ - Version: number; /** / Statistic value */ Value: number; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; } @@ -5314,14 +5350,14 @@ declare module PlayFabClientModels { / unique name of the statistic */ StatisticName: string; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. - */ - Version?: number; /** / statistic value for the player */ Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; } @@ -5348,14 +5384,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { - /** - / Unique Steam identifier for a user. - */ - SteamStringId?: string; /** / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; + /** + / Unique Steam identifier for a user. + */ + SteamStringId?: string; } @@ -5364,25 +5400,25 @@ declare module PlayFabClientModels { */ export interface StoreItem { /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ - ItemId: string; + CustomData?: any; /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + / Intended display position for this item. Note that 0 is the first position */ - VirtualCurrencyPrices?: { [key: string]: number }; + DisplayPosition?: number; /** - / Override prices for this item for specific currencies + / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog */ - RealCurrencyPrices?: { [key: string]: number }; + ItemId: string; /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances + / Override prices for this item for specific currencies */ - CustomData?: any; + RealCurrencyPrices?: { [key: string]: number }; /** - / Intended display position for this item. Note that 0 is the first position + / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ - DisplayPosition?: number; + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -5390,14 +5426,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Display name of a store as it will appear to users. - */ - DisplayName?: string; /** / Tagline for a store. */ Description?: string; + /** + / Display name of a store as it will appear to users. + */ + DisplayName?: string; /** / Custom data about a store. */ @@ -5406,17 +5442,61 @@ declare module PlayFabClientModels { } /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ - export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface SubscriptionModel { /** - / Name of the virtual currency which is to be decremented. + / When this subscription expires. */ - VirtualCurrency: string; + Expiration: string; + /** + / The time the subscription was orignially purchased + */ + InitialSubscriptionTime: string; + /** + / Whether this subscription is currently active. That is, if Expiration > now. + */ + IsActive: boolean; + /** + / The status of this subscription, according to the subscription provider. + */ + Status?: string; + /** + / The id for this subscription + */ + SubscriptionId?: string; + /** + / The item id for this subscription from the primary catalog + */ + SubscriptionItemId?: string; + /** + / The provider for this subscription. Apple or Google Play are supported today. + */ + SubscriptionProvider?: string; + + } + + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest + */ + export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** / Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** + / Name of the virtual currency which is to be decremented. + */ + VirtualCurrency: string; } @@ -5442,21 +5522,21 @@ declare module PlayFabClientModels { */ export interface TitleNewsItem { /** - / Date and time when the news items was posted. + / News item text. */ - Timestamp: string; + Body?: string; /** / Unique identifier of news item. */ NewsId?: string; /** - / Title of the news item. + / Date and time when the news items was posted. */ - Title?: string; + Timestamp: string; /** - / News item text. + / Title of the news item. */ - Body?: string; + Title?: string; } @@ -5465,57 +5545,57 @@ declare module PlayFabClientModels { */ export interface TradeInfo { /** - / Describes the current state of this trade. + / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ - Status?: string; + AcceptedInventoryInstanceIds?: string[]; /** - / The identifier for this trade. + / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. */ - TradeId?: string; + AcceptedPlayerId?: string; /** - / The PlayFabId for the offering player. + / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ - OfferingPlayerId?: string; + AllowedPlayerIds?: string[]; /** - / The itemInstance Ids that are being offered. + / If set, The UTC time when this trade was canceled. */ - OfferedInventoryInstanceIds?: string[]; + CancelledAt?: string; /** - / The catalogItem Ids of the item instances being offered. + / If set, The UTC time when this trade was fulfilled. */ - OfferedCatalogItemIds?: string[]; + FilledAt?: string; /** - / The catalogItem Ids requested in exchange. + / If set, The UTC time when this trade was made invalid. */ - RequestedCatalogItemIds?: string[]; + InvalidatedAt?: string; /** - / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. + / The catalogItem Ids of the item instances being offered. */ - AllowedPlayerIds?: string[]; + OfferedCatalogItemIds?: string[]; /** - / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. + / The itemInstance Ids that are being offered. */ - AcceptedPlayerId?: string; + OfferedInventoryInstanceIds?: string[]; /** - / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. + / The PlayFabId for the offering player. */ - AcceptedInventoryInstanceIds?: string[]; + OfferingPlayerId?: string; /** / The UTC time when this trade was created. */ OpenedAt?: string; /** - / If set, The UTC time when this trade was fulfilled. + / The catalogItem Ids requested in exchange. */ - FilledAt?: string; + RequestedCatalogItemIds?: string[]; /** - / If set, The UTC time when this trade was canceled. + / Describes the current state of this trade. */ - CancelledAt?: string; + Status?: string; /** - / If set, The UTC time when this trade was made invalid. + / The identifier for this trade. */ - InvalidatedAt?: string; + TradeId?: string; } @@ -5552,14 +5632,14 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { - /** - / Unique Twitch identifier for a user. - */ - TwitchId?: string; /** / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; + /** + / Unique Twitch identifier for a user. + */ + TwitchId?: string; } @@ -5723,6 +5803,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + */ + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -5735,10 +5819,6 @@ declare module PlayFabClientModels { / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. */ KeyItemInstanceId?: string; - /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. - */ - CatalogVersion?: string; } @@ -5746,10 +5826,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog ItemId of the container type to unlock. - */ - ContainerItemId: string; /** / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. */ @@ -5758,6 +5834,10 @@ declare module PlayFabClientModels { / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; + /** + / Catalog ItemId of the container type to unlock. + */ + ContainerItemId: string; } @@ -5765,6 +5845,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; /** / Unique instance identifier of the container unlocked. */ @@ -5773,10 +5857,6 @@ declare module PlayFabClientModels { / Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Items granted to the player as a result of unlocking the container. - */ - GrantedItems?: ItemInstance[]; /** / Virtual currency granted to the player as a result of unlocking the container. */ @@ -5873,10 +5953,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5889,6 +5965,10 @@ declare module PlayFabClientModels { / Permission to be applied to all user data keys in this request. */ Permission?: string; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -5956,69 +6036,69 @@ declare module PlayFabClientModels { */ export interface UserAccountInfo { /** - / Unique identifier for the user account + / User Android device information, if an Android device has been linked */ - PlayFabId?: string; + AndroidDeviceInfo?: UserAndroidDeviceInfo; /** / Timestamp indicating when the user account was created */ Created: string; /** - / User account name in the PlayFab service - */ - Username?: string; - /** - / Title-specific information for the user account - */ - TitleInfo?: UserTitleInfo; - /** - / Personal information for the user which is considered more sensitive + / Custom ID information, if a custom ID has been assigned */ - PrivateInfo?: UserPrivateAccountInfo; + CustomIdInfo?: UserCustomIdInfo; /** / User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Steam information, if a Steam account has been linked - */ - SteamInfo?: UserSteamInfo; /** / User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** - / User iOS device information, if an iOS device has been linked + / User Google account information, if a Google account has been linked */ - IosDeviceInfo?: UserIosDeviceInfo; + GoogleInfo?: UserGoogleInfo; /** - / User Android device information, if an Android device has been linked + / User iOS device information, if an iOS device has been linked */ - AndroidDeviceInfo?: UserAndroidDeviceInfo; + IosDeviceInfo?: UserIosDeviceInfo; /** / User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** - / User Twitch account information, if a Twitch account has been linked + / Unique identifier for the user account */ - TwitchInfo?: UserTwitchInfo; + PlayFabId?: string; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; /** / User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; /** - / User Google account information, if a Google account has been linked + / User Steam information, if a Steam account has been linked */ - GoogleInfo?: UserGoogleInfo; + SteamInfo?: UserSteamInfo; /** - / User XBox account information, if a XBox account has been linked + / Title-specific information for the user account */ - XboxInfo?: UserXboxInfo; + TitleInfo?: UserTitleInfo; /** - / Custom ID information, if a custom ID has been assigned + / User Twitch account information, if a Twitch account has been linked */ - CustomIdInfo?: UserCustomIdInfo; + TwitchInfo?: UserTwitchInfo; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; } @@ -6051,10 +6131,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Data stored for the specified user data key. - */ - Value?: string; /** / Timestamp for when this data was last updated. */ @@ -6063,6 +6139,10 @@ declare module PlayFabClientModels { / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. */ Permission?: string; + /** + / Data stored for the specified user data key. + */ + Value?: string; } @@ -6096,22 +6176,22 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Google ID - */ - GoogleId?: string; /** / Email address of the Google account */ GoogleEmail?: string; - /** - / Locale of the Google account - */ - GoogleLocale?: string; /** / Gender information of the Google account */ GoogleGender?: string; + /** + / Google ID + */ + GoogleId?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; } @@ -6190,6 +6270,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { + /** + / Boolean for whether this player is eligible for gathering device info. + */ + GatherDeviceInfo: boolean; /** / Boolean for whether this player is eligible for ad tracking. */ @@ -6202,9 +6286,9 @@ declare module PlayFabClientModels { */ export interface UserSteamInfo { /** - / Steam identifier + / what stage of game ownership the user is listed as being in, from Steam */ - SteamId?: string; + SteamActivationStatus?: string; /** / the country in which the player resides, from Steam data */ @@ -6214,9 +6298,9 @@ declare module PlayFabClientModels { */ SteamCurrency?: string; /** - / what stage of game ownership the user is listed as being in, from Steam + / Steam identifier */ - SteamActivationStatus?: string; + SteamId?: string; } @@ -6225,21 +6309,17 @@ declare module PlayFabClientModels { */ export interface UserTitleInfo { /** - / name of the user, as it is displayed in-game - */ - DisplayName?: string; - /** - / source by which the user first joined the game, if known + / URL to the player's avatar. */ - Origination?: string; + AvatarUrl?: string; /** / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) */ Created: string; /** - / timestamp for the last user login for this title + / name of the user, as it is displayed in-game */ - LastLogin?: string; + DisplayName?: string; /** / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) */ @@ -6249,9 +6329,13 @@ declare module PlayFabClientModels { */ isBanned?: boolean; /** - / URL to the player's avatar. + / timestamp for the last user login for this title */ - AvatarUrl?: string; + LastLogin?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; } @@ -6285,14 +6369,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / ReceiptId returned by the Amazon App Store in-app purchase API - */ - ReceiptId: string; - /** - / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API - */ - UserId: string; /** / Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ @@ -6305,6 +6381,14 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice: number; + /** + / ReceiptId returned by the Amazon App Store in-app purchase API + */ + ReceiptId: string; + /** + / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API + */ + UserId: string; } @@ -6319,14 +6403,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Original JSON string returned by the Google Play IAB API. - */ - ReceiptJson: string; - /** - / Signature returned by the Google Play IAB API. - */ - Signature: string; /** / Currency used for the purchase. */ @@ -6335,6 +6411,14 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice?: number; + /** + / Original JSON string returned by the Google Play IAB API. + */ + ReceiptJson: string; + /** + / Signature returned by the Google Play IAB API. + */ + Signature: string; } @@ -6349,10 +6433,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. - */ - ReceiptData: string; /** / Currency used for the purchase. */ @@ -6361,6 +6441,10 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice: number; + /** + / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. + */ + ReceiptData: string; } @@ -6375,10 +6459,6 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / XML Receipt returned by the Windows App Store in-app purchase API - */ - Receipt: string; /** / Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ @@ -6391,6 +6471,10 @@ declare module PlayFabClientModels { / Amount of the stated currency paid for the object. */ PurchasePrice: number; + /** + / XML Receipt returned by the Windows App Store in-app purchase API + */ + Receipt: string; } @@ -6440,17 +6524,17 @@ declare module PlayFabClientModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } @@ -6458,6 +6542,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -6470,10 +6558,6 @@ declare module PlayFabClientModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } @@ -6481,6 +6565,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ @@ -6489,10 +6577,6 @@ declare module PlayFabClientModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } @@ -6511,6 +6595,10 @@ declare module PlayFabClientModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ @@ -6519,10 +6607,6 @@ declare module PlayFabClientModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 3e752f0b..23cc1527 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -6,27 +6,27 @@ declare module PlayFabMatchmakerModule { / Validates a user with the PlayFab service / https://api.playfab.com/Documentation/Matchmaker/method/AuthUser */ - AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback): void; + AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified / https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined */ - PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback): void; + PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified / https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft */ - PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance / https://api.playfab.com/Documentation/Matchmaker/method/StartGame */ - StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback): void; + StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches / https://api.playfab.com/Documentation/Matchmaker/method/UserInfo */ - UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback): void; + UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -81,49 +81,53 @@ declare module PlayFabMatchmakerModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -133,13 +137,9 @@ declare module PlayFabMatchmakerModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -200,29 +200,29 @@ declare module PlayFabMatchmakerModels { */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Previous lobby id if re-registering an existing game. - */ - LobbyId?: string; - /** - / IP address of the Game Server Instance. + / Unique identifier of the build running on the Game Server Instance. */ - ServerHost: string; + Build: string; /** - / Port number for communication with the Game Server Instance. + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ - ServerPort: string; + GameMode: string; /** - / Unique identifier of the build running on the Game Server Instance. + / Previous lobby id if re-registering an existing game. */ - Build: string; + LobbyId?: string; /** / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. */ Region: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + / IP address of the Game Server Instance. */ - GameMode: string; + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; /** / Tags for the Game Server Instance */ @@ -249,14 +249,6 @@ declare module PlayFabMatchmakerModels { / Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; - /** - / Region with which to associate the server, for filtering. - */ - Region: string; - /** - / Game mode for this Game Server Instance. - */ - GameMode: string; /** / Custom command line argument when starting game server process. */ @@ -265,6 +257,14 @@ declare module PlayFabMatchmakerModels { / HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an application/json body of { "EventName": "game_ended", "GameID": "" }. */ ExternalMatchmakerEventEndpoint: string; + /** + / Game mode for this Game Server Instance. + */ + GameMode: string; + /** + / Region with which to associate the server, for filtering. + */ + Region: string; } @@ -291,14 +291,14 @@ declare module PlayFabMatchmakerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab unique identifier of the user whose information is being requested. - */ - PlayFabId: string; /** / Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a catalog version of this or higher). */ MinCatalogVersion: number; + /** + / PlayFab unique identifier of the user whose information is being requested. + */ + PlayFabId: string; } @@ -306,22 +306,30 @@ declare module PlayFabMatchmakerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { + /** + / Array of inventory items in the user's current inventory. + */ + Inventory?: ItemInstance[]; + /** + / Boolean indicating whether the user is a developer. + */ + IsDeveloper: boolean; /** / PlayFab unique identifier of the user whose information was requested. */ PlayFabId?: string; /** - / PlayFab unique user name. + / Steam unique identifier, if the user has an associated Steam account. */ - Username?: string; + SteamId?: string; /** / Title specific display name, if set. */ TitleDisplayName?: string; /** - / Array of inventory items in the user's current inventory. + / PlayFab unique user name. */ - Inventory?: ItemInstance[]; + Username?: string; /** / Array of virtual currency balance(s) belonging to the user. */ @@ -330,14 +338,6 @@ declare module PlayFabMatchmakerModels { / Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; - /** - / Boolean indicating whether the user is a developer. - */ - IsDeveloper: boolean; - /** - / Steam unique identifier, if the user has an associated Steam account. - */ - SteamId?: string; } @@ -346,17 +346,17 @@ declare module PlayFabMatchmakerModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 0e60bc3c..73e5718b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2,627 +2,572 @@ declare module PlayFabServerModule { export interface IPlayFabServer { + /** + / Increments the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + */ + AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + / https://api.playfab.com/Documentation/Server/method/AddFriend + */ + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + */ + AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + */ + AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Increments the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + */ + AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validated a client's session ticket, and if successful, returns details for that user / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket */ - AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback): void; + AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + / Awards the specified users the specified Steam achievements + / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement */ - SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback): void; + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. / https://api.playfab.com/Documentation/Server/method/BanUsers */ - BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback): void; + BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + / https://api.playfab.com/Documentation/Server/method/ConsumeItem */ - GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback): void; + ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback): void; + CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + / Deletes the specific character ID from the specified user. + / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser */ - GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback): void; + DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user - / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ - GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback): void; + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Server/method/GetUserBans + / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + / https://api.playfab.com/Documentation/Server/method/DeleteUsers */ - GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback): void; + DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + / Inform the matchmaker that a Game Server Instance is removed. + / https://api.playfab.com/Documentation/Server/method/DeregisterGame */ - RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback): void; + DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Server/method/RevokeBans + / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable */ - RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback): void; + EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - / https://api.playfab.com/Documentation/Server/method/SendPushNotification + / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript */ - SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback): void; + ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the specified player - / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + / Retrieve a list of all PlayStream actions groups. + / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups */ - UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback): void; + GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Server/method/UpdateBans + / 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. + / https://api.playfab.com/Documentation/Server/method/GetAllSegments */ - UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback): void; + GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. - / https://api.playfab.com/Documentation/Server/method/DeleteUsers + / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters */ - DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback): void; + GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + / https://api.playfab.com/Documentation/Server/method/GetCatalogItems */ - GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetLeaderboard + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterData */ - GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData */ - GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. - / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + / Retrieves the specified character's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory */ - GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current version and values for the indicated statistics, for the local player. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard */ - GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + / Retrieves the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData */ - GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserData + / Retrieves the details of all title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics */ - GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserInternalData + / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. + / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ - GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard */ - GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + / https://api.playfab.com/Documentation/Server/method/GetFriendsList */ - GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + / https://api.playfab.com/Documentation/Server/method/GetLeaderboard */ - GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + / Retrieves a list of ranked characters for the given statistic, centered on the requested user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter */ - GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user - / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser */ - UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserData + / Retrieves a list of all of the user's characters for the given statistic. + / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters */ - UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. + / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo */ - UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + / Retrieves the player's profile + / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile */ - UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + / List all segments that a player currently belongs to at this moment in time. + / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments */ - UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + / 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. + / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment */ - UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + / Retrieves the current version and values for the indicated statistics, for the local player. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics */ - UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Server/method/GetCatalogItems + / Retrieves the information on the available versions of the specified statistic. + / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + */ + GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Get all tags with a given Namespace (optional) from a player profile. + / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + */ + GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + */ + GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ - GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom publisher settings / https://api.playfab.com/Documentation/Server/method/GetPublisherData */ - GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights + / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + */ + GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + */ + GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the current server time / https://api.playfab.com/Documentation/Server/method/GetTime */ - GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback): void; + GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom title settings / https://api.playfab.com/Documentation/Server/method/GetTitleData */ - GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the key-value store of custom internal title settings / https://api.playfab.com/Documentation/Server/method/GetTitleInternalData */ - GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Retrieves the title news feed, as configured in the developer portal / https://api.playfab.com/Documentation/Server/method/GetTitleNews */ - GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback): void; + GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Server/method/SetPublisherData + / Retrieves the relevant details for a specified user + / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo */ - SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleData + / Gets all bans for a user. + / https://api.playfab.com/Documentation/Server/method/GetUserBans */ - SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + / Retrieves the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserData */ - SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback): void; + GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + / Retrieves the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserInternalData */ - AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + / Retrieves the specified user's current inventory of virtual goods + / https://api.playfab.com/Documentation/Server/method/GetUserInventory */ - AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; + GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Server/method/ConsumeItem + / Retrieves the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData */ - ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. - / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData */ - EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + / Retrieves the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData */ - GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback): void; + GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights - / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + / Retrieves the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData */ - GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback): void; + GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetUserInventory + / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. + / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser */ - GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback): void; + GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Adds the specified items to the specified character's inventory / https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter */ - GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Adds the specified items to the specified user's inventory / https://api.playfab.com/Documentation/Server/method/GrantItemsToUser */ - GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Adds the specified items to the specified user inventories / https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ - GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback): void; + GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Modifies the number of remaining uses of a player's inventory item / https://api.playfab.com/Documentation/Server/method/ModifyItemUses */ - ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback): void; + ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Moves an item from a character's inventory into another of the users's character's inventory. / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter */ - MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; + MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Moves an item from a user's inventory into their character's inventory. / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser */ - MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Moves an item from a character's inventory into the owning user's inventory. / https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter */ - MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Server/method/RedeemCoupon - */ - RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Server/method/ReportPlayer - */ - ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem - */ - RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Decrements the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency - */ - SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency - */ - SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance - */ - UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem - */ - UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Updates the key-value pair data tagged to the specified item, which is read-only from the client. - / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData - */ - UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Server/method/AddFriend - */ - AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Server/method/GetFriendsList - */ - GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Removes the specified friend from the the user's friend list - / https://api.playfab.com/Documentation/Server/method/RemoveFriend - */ - RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Updates the tag list for a specified user in the friend list of another user - / https://api.playfab.com/Documentation/Server/method/SetFriendTags - */ - SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Inform the matchmaker that a Game Server Instance is removed. - / https://api.playfab.com/Documentation/Server/method/DeregisterGame - */ - DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback): void; + MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Informs the PlayFab match-making service that the user specified has left the Game Server Instance / https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft */ - NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback): void; + NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. + / https://api.playfab.com/Documentation/Server/method/RedeemCoupon + */ + RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Validates a Game Server session ticket and returns details about the user / https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket */ - RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback): void; + RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. / https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat */ - RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback): void; + RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Inform the matchmaker that a new Game Server Instance is added. / https://api.playfab.com/Documentation/Server/method/RegisterGame */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Sets the custom data of the indicated Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData - */ - SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback): void; + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set the state of the indicated Game Server Instance. - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState - */ - SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Set custom tags for the specified Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags - */ - SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent - */ - WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent - */ - WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent - */ - WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers - */ - AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup - */ - CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + / Removes the specified friend from the the user's friend list + / https://api.playfab.com/Documentation/Server/method/RemoveFriend */ - DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback): void; + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag */ - GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ - RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback): void; - /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData - */ - UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback): void; + RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. - / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript - */ - ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback): void; - /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. + / https://api.playfab.com/Documentation/Server/method/ReportPlayer */ - GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback): void; + ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the specific character ID from the specified user. - / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + / Revoke all active bans for a user. + / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser */ - DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback): void; + RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + / Revoke all active bans specified with BanId. + / https://api.playfab.com/Documentation/Server/method/RevokeBans */ - GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + / Revokes access to an item in a user's inventory + / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ - GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback): void; + RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + / https://api.playfab.com/Documentation/Server/method/SendPushNotification */ - GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + / Updates the tag list for a specified user in the friend list of another user + / https://api.playfab.com/Documentation/Server/method/SetFriendTags */ - GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback): void; + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + / Sets the custom data of the indicated Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData */ - GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback): void; + SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + / Set the state of the indicated Game Server Instance. + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState */ - GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback): void; + SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + / Set custom tags for the specified Game Server Instance + / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags */ - UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback): void; + SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterData + / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. + / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret */ - GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + / Updates the key-value store of custom publisher settings + / https://api.playfab.com/Documentation/Server/method/SetPublisherData */ - GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleData */ - GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + / Updates the key-value store of custom title settings + / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData */ - UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + / Decrements the character's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency */ - UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + / Decrements the user's balance of the specified virtual currency by the stated amount + / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ - UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback): void; + SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance */ - AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups + / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem */ - GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback): void; + UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetAllSegments + / Update the avatar URL of the specified player + / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl */ - GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + / Updates information of a list of existing bans specified with Ban Ids. + / https://api.playfab.com/Documentation/Server/method/UpdateBans */ - GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + / Updates the title-specific custom data for the user's character which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + / Updates the title-specific custom data for the user's character which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData */ - GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + / Updates the title-specific custom data for the user's character which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData */ - RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback): void; + UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Awards the specified users the specified Steam achievements - / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + / Updates the values of the specified title-specific statistics for the specific character + / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics */ - AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback): void; - - } -} - -declare module PlayFabServerModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ActionsOnPlayersInSegmentTaskSummary - */ - export interface ActionsOnPlayersInSegmentTaskSummary { + UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / ID of the task instance. + / Updates the values of the specified title-specific statistics for the user + / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics */ - TaskInstanceId?: string; + UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Identifier of the task this instance belongs to. + / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData */ - TaskIdentifier?: NameIdentifier; + UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / UTC timestamp when the task started. + / Updates the title-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserData */ - StartedAt: string; + UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / UTC timestamp when the task completed. + / Updates the title-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData */ - CompletedAt?: string; + UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Current status of the task instance. + / Updates the key-value pair data tagged to the specified item, which is read-only from the client. + / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData */ - Status?: string; + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Progress represented as percentage. + / Updates the publisher-specific custom data for the user which is readable and writable by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData */ - PercentComplete?: number; + UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Estimated time remaining in seconds. + / Updates the publisher-specific custom data for the user which cannot be accessed by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData */ - EstimatedSecondsRemaining?: number; + UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / If manually scheduled, ID of user who scheduled the task. + / Updates the publisher-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData */ - ScheduledByUserId?: string; + UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Error message for last processing attempt, if an error occured. + / Updates the title-specific custom data for the user which can only be read by the client + / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData */ - ErrorMessage?: string; + UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Flag indicating if the error was fatal, if false job will be retried. + / Writes a character-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent */ - ErrorWasFatal?: boolean; + WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Total players in segment when task was started. + / Writes a player-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent */ - TotalPlayersInSegment?: number; + WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Total number of players that have had the actions applied to. + / Writes a title-based event into PlayStream. + / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent */ - TotalPlayersProcessed?: number; + WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } +} +declare module PlayFabServerModels { /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -631,17 +576,17 @@ declare module PlayFabServerModels { */ export interface AdCampaignAttributionModel { /** - / Attribution network name + / UTC time stamp of attribution */ - Platform?: string; + AttributedAt: string; /** / Attribution campaign identifier */ CampaignId?: string; /** - / UTC time stamp of attribution + / Attribution network name */ - AttributedAt: string; + Platform?: string; } @@ -650,21 +595,21 @@ declare module PlayFabServerModels { */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. + / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. */ - PlayFabId: string; + Amount: number; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Name of the virtual currency which is to be incremented. + / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. */ - VirtualCurrency: string; + PlayFabId: string; /** - / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + / Name of the virtual currency which is to be incremented. */ - Amount: number; + VirtualCurrency: string; } @@ -673,25 +618,25 @@ declare module PlayFabServerModels { */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab identifier of the player to add a new friend. + / Email address of the user being added. */ - PlayFabId: string; + FriendEmail?: string; /** / The PlayFab identifier of the user being added. */ FriendPlayFabId?: string; /** - / The PlayFab username of the user being added + / Title-specific display name of the user to being added. */ - FriendUsername?: string; + FriendTitleDisplayName?: string; /** - / Email address of the user being added. + / The PlayFab username of the user being added */ - FriendEmail?: string; + FriendUsername?: string; /** - / Title-specific display name of the user to being added. + / PlayFab identifier of the player to add a new friend. */ - FriendTitleDisplayName?: string; + PlayFabId: string; } @@ -721,14 +666,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -743,6 +688,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ @@ -751,10 +700,21 @@ declare module PlayFabServerModels { / Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg + */ + export interface AdvancedPushPlatformMsg { /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + / The Json the platform should receive. */ - Amount: number; + Json: string; + /** + / The platform that should receive the Json. + */ + Platform: string; } @@ -784,14 +744,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique Steam achievement name. */ AchievementName: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; /** / Result of the award attempt (only valid on response, not on request). */ @@ -826,13 +786,21 @@ declare module PlayFabServerModels { */ export interface BanInfo { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ - PlayFabId?: string; + Active: boolean; /** / The unique Ban Id associated with this ban. */ BanId?: string; + /** + / The time when this ban was applied. + */ + Created?: string; + /** + / The time when this ban expires. Permanent bans do not have expiration date. + */ + Expires?: string; /** / The IP address on which the ban was applied. May affect multiple players. */ @@ -842,21 +810,13 @@ declare module PlayFabServerModels { */ MACAddress?: string; /** - / The time when this ban was applied. - */ - Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Expires?: string; + PlayFabId?: string; /** / The reason why this ban was applied. */ Reason?: string; - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ - Active: boolean; } @@ -865,9 +825,9 @@ declare module PlayFabServerModels { */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The duration in hours for the ban. Leave this blank for a permanent ban. */ - PlayFabId: string; + DurationInHours?: number; /** / IP address to be banned. May affect multiple players. */ @@ -877,13 +837,13 @@ declare module PlayFabServerModels { */ MACAddress?: string; /** - / The reason for this ban. Maximum 140 characters. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Reason?: string; + PlayFabId: string; /** - / The duration in hours for the ban. Leave this blank for a permanent ban. + / The reason for this ban. Maximum 140 characters. */ - DurationInHours?: number; + Reason?: string; } @@ -914,57 +874,45 @@ declare module PlayFabServerModels { */ export interface CatalogItem { /** - / unique identifier for this item + / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies */ - ItemId: string; + Bundle?: CatalogItemBundleInfo; /** - / class to which the item belongs + / if true, then an item instance of this type can be used to grant a character to a user. */ - ItemClass?: string; + CanBecomeCharacter: boolean; /** / catalog version for this item */ CatalogVersion?: string; /** - / text name for the item, to show in-game - */ - DisplayName?: string; - /** - / text description of item, to show in-game - */ - Description?: string; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ - VirtualCurrencyPrices?: { [key: string]: number }; - /** - / override prices for this item for specific currencies + / defines the consumable properties (number of uses, timeout) for the item */ - RealCurrencyPrices?: { [key: string]: number }; + Consumable?: CatalogItemConsumableInfo; /** - / list of item tags + / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ - Tags?: string[]; + Container?: CatalogItemContainerInfo; /** / game specific custom data */ CustomData?: string; /** - / defines the consumable properties (number of uses, timeout) for the item + / text description of item, to show in-game */ - Consumable?: CatalogItemConsumableInfo; + Description?: string; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + / text name for the item, to show in-game */ - Container?: CatalogItemContainerInfo; + DisplayName?: string; /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. */ - Bundle?: CatalogItemBundleInfo; + InitialLimitedEditionCount: number; /** - / if true, then an item instance of this type can be used to grant a character to a user. + / BETA: If true, then only a fixed number can ever be granted. */ - CanBecomeCharacter: boolean; + IsLimitedEdition: boolean; /** / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ @@ -973,18 +921,30 @@ declare module PlayFabServerModels { / if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; + /** + / class to which the item belongs + */ + ItemClass?: string; + /** + / unique identifier for this item + */ + ItemId: string; /** / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. */ ItemImageUrl?: string; /** - / BETA: If true, then only a fixed number can ever be granted. + / override prices for this item for specific currencies */ - IsLimitedEdition: boolean; + RealCurrencyPrices?: { [key: string]: number }; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + / list of item tags */ - InitialLimitedEditionCount: number; + Tags?: string[]; + /** + / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) + */ + VirtualCurrencyPrices?: { [key: string]: number }; } @@ -1030,14 +990,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) - */ - KeyItemId?: string; /** / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; + /** + / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + */ + KeyItemId?: string; /** / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) */ @@ -1068,10 +1028,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ @@ -1080,22 +1036,26 @@ declare module PlayFabServerModels { / Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ - DisplayName?: string; /** / Name of the character class for this entry. */ CharacterType?: string; /** - / Specific value of the user's statistic. + / Title-specific display name of the user for this leaderboard entry. */ - StatValue: number; + DisplayName?: string; + /** + / PlayFab unique identifier of the user for this leaderboard entry. + */ + PlayFabId?: string; /** / User's overall position in the leaderboard. */ Position: number; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -1127,21 +1087,21 @@ declare module PlayFabServerModels { */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / Unique instance identifier of the item to be consumed. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId: string; + CharacterId?: string; /** / Number of uses to consume from the item. */ ConsumeCount: number; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Unique instance identifier of the item to be consumed. */ - CharacterId?: string; + ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -1164,14 +1124,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; /** / The verification status of the email */ @@ -1183,14 +1143,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The name of the email info data - */ - Name?: string; /** / The email address */ EmailAddress?: string; + /** + / The name of the email info data + */ + Name?: string; } @@ -1641,14 +1601,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; /** / If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those items. */ @@ -1729,14 +1689,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The unique identifier of the Random Result Table to use. - */ - TableId: string; /** / Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses default/primary catalog. */ CatalogVersion?: string; + /** + / The unique identifier of the Random Result Table to use. + */ + TableId: string; } @@ -1756,13 +1716,18 @@ declare module PlayFabServerModels { */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** - / The name of the function that executed + / Number of PlayFab API requests issued by the CloudScript function */ - FunctionName?: string; + APIRequestsIssued: number; /** - / The revision of the CloudScript that executed + / Information about the error, if any, that occurred during execution */ - Revision: number; + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** + / The name of the function that executed + */ + FunctionName?: string; /** / The object returned from the CloudScript function, if any */ @@ -1771,6 +1736,10 @@ declare module PlayFabServerModels { / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; + /** + / Number of external HTTP requests issued by the CloudScript function + */ + HttpRequestsIssued: number; /** / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. */ @@ -1779,24 +1748,15 @@ declare module PlayFabServerModels { / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; - ExecutionTimeSeconds: number; + MemoryConsumedBytes: number; /** / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. */ ProcessorTimeSeconds: number; - MemoryConsumedBytes: number; - /** - / Number of PlayFab API requests issued by the CloudScript function - */ - APIRequestsIssued: number; - /** - / Number of external HTTP requests issued by the CloudScript function - */ - HttpRequestsIssued: number; /** - / Information about the error, if any, that occurred during execution + / The revision of the CloudScript that executed */ - Error?: ScriptExecutionError; + Revision: number; } @@ -1804,10 +1764,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The unique user identifier for the player on whose behalf the script is being run - */ - PlayFabId: string; /** / The name of the CloudScript function to execute */ @@ -1816,6 +1772,14 @@ declare module PlayFabServerModels { / Object that is passed in to the function as the first argument */ FunctionParameter?: any; + /** + / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + /** + / The unique user identifier for the player on whose behalf the script is being run + */ + PlayFabId: string; /** / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ @@ -1824,10 +1788,6 @@ declare module PlayFabServerModels { / The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; - /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. - */ - GeneratePlayStreamEvent?: boolean; } @@ -1850,22 +1810,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** - / PlayFab unique identifier for this friend. - */ - FriendPlayFabId?: string; - /** - / PlayFab unique username for this friend. - */ - Username?: string; - /** - / Title-specific display name for this friend. - */ - TitleDisplayName?: string; - /** - / Tags which have been associated with this friend. - */ - Tags?: string[]; /** / Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ @@ -1875,9 +1819,9 @@ declare module PlayFabServerModels { */ FacebookInfo?: UserFacebookInfo; /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). + / PlayFab unique identifier for this friend. */ - SteamInfo?: UserSteamInfo; + FriendPlayFabId?: string; /** / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ @@ -1886,6 +1830,22 @@ declare module PlayFabServerModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Available Steam information (if the user and PlayFab friend are also connected in Steam). + */ + SteamInfo?: UserSteamInfo; + /** + / Tags which have been associated with this friend. + */ + Tags?: string[]; + /** + / Title-specific display name for this friend. + */ + TitleDisplayName?: string; + /** + / PlayFab unique username for this friend. + */ + Username?: string; } @@ -1896,14 +1856,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetActionGroupResult */ export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group name - */ - Name: string; /** / Action Group ID */ Id?: string; + /** + / Action Group name + */ + Name: string; } @@ -1969,22 +1929,22 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + */ + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - IfChangedFromDataVersion?: number; + PlayFabId: string; } @@ -1993,21 +1953,21 @@ declare module PlayFabServerModels { */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; - /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + / Unique PlayFab assigned ID for a specific character owned by a user */ - DataVersion: number; + CharacterId?: string; /** / User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ - CharacterId?: string; + DataVersion: number; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; } @@ -2016,17 +1976,17 @@ declare module PlayFabServerModels { */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Used to limit results to only those from a specific catalog version. */ - PlayFabId: string; + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Used to limit results to only those from a specific catalog version. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId: string; } @@ -2034,10 +1994,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Unique identifier of the character for this inventory. */ @@ -2046,6 +2002,10 @@ declare module PlayFabServerModels { / Array of inventory items belonging to the character. */ Inventory?: ItemInstance[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; /** / Array of virtual currency balance(s) belonging to the character. */ @@ -2070,17 +2030,17 @@ declare module PlayFabServerModels { */ CharacterType?: string; /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. */ - StatisticName: string; + MaxResultsCount: number; /** / First entry in the leaderboard to be retrieved. */ StartPosition: number; /** - / Maximum number of entries to retrieve. + / Unique identifier for the title-specific statistic for the leaderboard. */ - MaxResultsCount: number; + StatisticName: string; } @@ -2099,14 +2059,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2114,10 +2074,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique identifier of the user whose character statistics are being returned. - */ - PlayFabId?: string; /** / Unique identifier of the character for the statistics. */ @@ -2126,6 +2082,10 @@ declare module PlayFabServerModels { / Character statistics for the requested user. */ CharacterStatistics?: { [key: string]: number }; + /** + / PlayFab unique identifier of the user whose character statistics are being returned. + */ + PlayFabId?: string; } @@ -2133,14 +2093,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ - Key: string; /** / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; + /** + / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png + */ + Key: string; /** / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. */ @@ -2164,37 +2124,37 @@ declare module PlayFabServerModels { */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The player whose friend leaderboard to get - */ - PlayFabId: string; - /** - / Statistic used to rank friends for this leaderboard. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - StatisticName: string; + IncludeFacebookFriends?: boolean; /** - / Position in the leaderboard to start this listing (defaults to the first entry). + / Indicates whether Steam service friends should be included in the response. Default is true. */ - StartPosition: number; + IncludeSteamFriends?: boolean; /** / Maximum number of entries to retrieve. */ MaxResultsCount: number; /** - / Indicates whether Steam service friends should be included in the response. Default is true. + / The player whose friend leaderboard to get */ - IncludeSteamFriends?: boolean; + PlayFabId: string; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ - IncludeFacebookFriends?: boolean; + ProfileConstraints?: number; /** - / The version of the leaderboard to get. + / Position in the leaderboard to start this listing (defaults to the first entry). */ - Version?: number; + StartPosition: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + / Statistic used to rank friends for this leaderboard. */ - ProfileConstraints?: number; + StatisticName: string; + /** + / The version of the leaderboard to get. + */ + Version?: number; } @@ -2203,17 +2163,17 @@ declare module PlayFabServerModels { */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFab identifier of the player whose friend list to get. + / Indicates whether Facebook friends should be included in the response. Default is true. */ - PlayFabId: string; + IncludeFacebookFriends?: boolean; /** / Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; /** - / Indicates whether Facebook friends should be included in the response. Default is true. + / PlayFab identifier of the player whose friend list to get. */ - IncludeFacebookFriends?: boolean; + PlayFabId: string; /** / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ @@ -2236,14 +2196,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -2256,6 +2208,14 @@ declare module PlayFabServerModels { / Maximum number of entries to retrieve. */ MaxResultsCount: number; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; } @@ -2275,21 +2235,21 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. */ - StatisticName: string; + MaxResultsCount: number; /** / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Maximum number of entries to retrieve. - */ - MaxResultsCount: number; /** / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; /** / The version of the leaderboard to get. */ @@ -2305,14 +2265,14 @@ declare module PlayFabServerModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2321,17 +2281,17 @@ declare module PlayFabServerModels { */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title-specific statistic for the leaderboard. + / Maximum number of entries to retrieve. */ - StatisticName: string; + MaxResultsCount: number; /** / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / Maximum number of entries to retrieve. + / Unique identifier for the title-specific statistic for the leaderboard. */ - MaxResultsCount: number; + StatisticName: string; } @@ -2350,14 +2310,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ - StatisticName: string; - /** - / First entry in the leaderboard to be retrieved. - */ - StartPosition: number; /** / Maximum number of entries to retrieve. */ @@ -2366,6 +2318,14 @@ declare module PlayFabServerModels { / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** + / First entry in the leaderboard to be retrieved. + */ + StartPosition: number; + /** + / Unique identifier for the title-specific statistic for the leaderboard. + */ + StatisticName: string; /** / The version of the leaderboard to get. */ @@ -2381,14 +2341,14 @@ declare module PlayFabServerModels { / Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The version of the leaderboard returned. - */ - Version: number; /** / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; + /** + / The version of the leaderboard returned. + */ + Version: number; } @@ -2396,14 +2356,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFabId of the user whose data will be returned - */ - PlayFabId: string; /** / Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; + /** + / PlayFabId of the user whose data will be returned + */ + PlayFabId: string; } @@ -2412,65 +2372,65 @@ declare module PlayFabServerModels { */ export interface GetPlayerCombinedInfoRequestParams { /** - / Whether to get the player's account Info. Defaults to false + / Whether to get character inventories. Defaults to false. */ - GetUserAccountInfo: boolean; + GetCharacterInventories: boolean; /** - / Whether to get the player's inventory. Defaults to false + / Whether to get the list of characters. Defaults to false. */ - GetUserInventory: boolean; + GetCharacterList: boolean; /** - / Whether to get the player's virtual currency balances. Defaults to false + / Whether to get player profile. Defaults to false. */ - GetUserVirtualCurrency: boolean; + GetPlayerProfile: boolean; /** - / Whether to get the player's custom data. Defaults to false + / Whether to get player statistics. Defaults to false. */ - GetUserData: boolean; + GetPlayerStatistics: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false + / Whether to get title data. Defaults to false. */ - UserDataKeys?: string[]; + GetTitleData: boolean; /** - / Whether to get the player's read only data. Defaults to false + / Whether to get the player's account Info. Defaults to false */ - GetUserReadOnlyData: boolean; + GetUserAccountInfo: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + / Whether to get the player's custom data. Defaults to false */ - UserReadOnlyDataKeys?: string[]; + GetUserData: boolean; /** - / Whether to get character inventories. Defaults to false. + / Whether to get the player's inventory. Defaults to false */ - GetCharacterInventories: boolean; + GetUserInventory: boolean; /** - / Whether to get the list of characters. Defaults to false. + / Whether to get the player's read only data. Defaults to false */ - GetCharacterList: boolean; + GetUserReadOnlyData: boolean; /** - / Whether to get title data. Defaults to false. + / Whether to get the player's virtual currency balances. Defaults to false */ - GetTitleData: boolean; + GetUserVirtualCurrency: boolean; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false + / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ - TitleDataKeys?: string[]; + PlayerStatisticNames?: string[]; /** - / Whether to get player statistics. Defaults to false. + / Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - GetPlayerStatistics: boolean; + ProfileConstraints?: number; /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ - PlayerStatisticNames?: string[]; + TitleDataKeys?: string[]; /** - / Whether to get player profile. Defaults to false. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ - GetPlayerProfile: boolean; + UserDataKeys?: string[]; /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. + / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false */ - ProfileConstraints?: number; + UserReadOnlyDataKeys?: string[]; } @@ -2478,14 +2438,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; } @@ -2498,17 +2458,25 @@ declare module PlayFabServerModels { */ AccountInfo?: UserAccountInfo; /** - / Array of inventory items in the user's current inventory. + / Inventories for each character for the user. */ - UserInventory?: ItemInstance[]; + CharacterInventories?: CharacterInventory[]; /** - / Dictionary of virtual currency balance(s) belonging to the user. + / List of characters for the user. */ - UserVirtualCurrency?: { [key: string]: number }; + CharacterList?: CharacterResult[]; /** - / Dictionary of remaining times and timestamps for virtual currencies. + / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. */ - UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; + PlayerProfile?: PlayerProfileModel; + /** + / List of statistics for this player. + */ + PlayerStatistics?: StatisticValue[]; + /** + / Title data for this title. + */ + TitleData?: { [key: string]: string }; /** / User specific custom data. */ @@ -2517,6 +2485,10 @@ declare module PlayFabServerModels { / The version of the UserData that was returned. */ UserDataVersion: number; + /** + / Array of inventory items in the user's current inventory. + */ + UserInventory?: ItemInstance[]; /** / User specific read-only data. */ @@ -2526,25 +2498,13 @@ declare module PlayFabServerModels { */ UserReadOnlyDataVersion: number; /** - / List of characters for the user. - */ - CharacterList?: CharacterResult[]; - /** - / Inventories for each character for the user. - */ - CharacterInventories?: CharacterInventory[]; - /** - / Title data for this title. - */ - TitleData?: { [key: string]: string }; - /** - / List of statistics for this player. + / Dictionary of virtual currency balance(s) belonging to the user. */ - PlayerStatistics?: StatisticValue[]; + UserVirtualCurrency?: { [key: string]: number }; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + / Dictionary of remaining times and timestamps for virtual currencies. */ - PlayerProfile?: PlayerProfileModel; + UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } @@ -2590,21 +2550,21 @@ declare module PlayFabServerModels { */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for this segment. - */ - SegmentId: string; - /** - / 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). + / Continuation token if retrieving subsequent pages of results. */ - SecondsToLive?: number; + ContinuationToken?: string; /** / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** - / Continuation token if retrieving subsequent pages of results. + / 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). */ - ContinuationToken?: string; + SecondsToLive?: number; + /** + / Unique identifier for this segment. + */ + SegmentId: string; } @@ -2612,10 +2572,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Count of profiles matching this segment. - */ - ProfilesInSegment: number; /** / Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ @@ -2624,6 +2580,10 @@ declare module PlayFabServerModels { / Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; + /** + / Count of profiles matching this segment. + */ + ProfilesInSegment: number; } @@ -2698,14 +2658,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Optional namespace to filter results by */ Namespace?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -2820,6 +2780,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Identifier of the segments AB Test, if it is attached to one. + */ + ABTestParent?: string; /** / Unique identifier for this segment. */ @@ -2828,10 +2792,6 @@ declare module PlayFabServerModels { / Segment name. */ Name?: string; - /** - / Identifier of the segments AB Test, if it is attached to one. - */ - ABTestParent?: string; } @@ -2840,17 +2800,17 @@ declare module PlayFabServerModels { */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the shared group. + / If true, return the list of all members of the shared group. */ - SharedGroupId: string; + GetMembers?: boolean; /** / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). */ Keys?: string[]; /** - / If true, return the list of all members of the shared group. + / Unique identifier for the shared group. */ - GetMembers?: boolean; + SharedGroupId: string; } @@ -2980,17 +2940,17 @@ declare module PlayFabServerModels { */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. */ - PlayFabId: string; + IfChangedFromDataVersion?: number; /** / Specific keys to search for in the custom user data. */ Keys?: string[]; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - IfChangedFromDataVersion?: number; + PlayFabId: string; } @@ -2999,17 +2959,17 @@ declare module PlayFabServerModels { */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / PlayFab unique identifier of the user whose custom data is being returned. + / User specific data for this title. */ - PlayFabId?: string; + Data?: { [key: string]: UserDataRecord }; /** / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; /** - / User specific data for this title. + / PlayFab unique identifier of the user whose custom data is being returned. */ - Data?: { [key: string]: UserDataRecord }; + PlayFabId?: string; } @@ -3028,14 +2988,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId?: string; /** / Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId?: string; /** / Array of virtual currency balance(s) belonging to the user. */ @@ -3051,10 +3011,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Non-unique display name of the character being granted (1-20 characters in length). */ @@ -3063,6 +3019,10 @@ declare module PlayFabServerModels { / Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3082,61 +3042,65 @@ declare module PlayFabServerModels { */ export interface GrantedItemInstance { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Game specific comment associated with this instance when it was added to the user inventory. */ - PlayFabId?: string; + Annotation?: string; /** - / Unique PlayFab assigned ID for a specific character owned by a user + / Array of unique items that were awarded when this catalog item was purchased. */ - CharacterId?: string; + BundleContents?: string[]; /** - / Result of this operation. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - Result: boolean; + BundleParent?: string; /** - / Unique identifier for the inventory item, as defined in the catalog. + / Catalog version for the inventory item, when this instance was created. */ - ItemId?: string; + CatalogVersion?: string; /** - / Unique item identifier for this specific instance of the item. + / Unique PlayFab assigned ID for a specific character owned by a user */ - ItemInstanceId?: string; + CharacterId?: string; /** - / Class name for the inventory item, as defined in the catalog. + / A set of custom key-value pairs on the inventory item. */ - ItemClass?: string; + CustomData?: { [key: string]: string }; /** - / Timestamp for when this instance was purchased. + / CatalogItem.DisplayName at the time this item was purchased. */ - PurchaseDate?: string; + DisplayName?: string; /** / Timestamp for when this instance will expire. */ Expiration?: string; /** - / Total number of remaining uses, if this is a consumable item. + / Class name for the inventory item, as defined in the catalog. */ - RemainingUses?: number; + ItemClass?: string; /** - / The number of uses that were added or removed to this item in this call. + / Unique identifier for the inventory item, as defined in the catalog. */ - UsesIncrementedBy?: number; + ItemId?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Unique item identifier for this specific instance of the item. */ - Annotation?: string; + ItemInstanceId?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Timestamp for when this instance was purchased. */ - BundleParent?: string; + PurchaseDate?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Total number of remaining uses, if this is a consumable item. */ - DisplayName?: string; + RemainingUses?: number; + /** + / Result of this operation. + */ + Result: boolean; /** / Currency type for the cost of the catalog item. */ @@ -3146,13 +3110,9 @@ declare module PlayFabServerModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3160,6 +3120,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / String detailing any additional information concerning this operation. + */ + Annotation?: string; /** / Catalog version from which items are to be granted. */ @@ -3168,18 +3132,14 @@ declare module PlayFabServerModels { / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / String detailing any additional information concerning this operation. - */ - Annotation?: string; /** / Array of itemIds to grant to the user. */ ItemIds?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3198,22 +3158,22 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ - CatalogVersion?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / String detailing any additional information concerning this operation. */ Annotation?: string; + /** + / Catalog version from which items are to be granted. + */ + CatalogVersion?: string; /** / Array of itemIds to grant to the user. */ ItemIds: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3258,14 +3218,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; - /** - / Unique identifier of the catalog item to be granted to the user. - */ - ItemId: string; /** / String detailing any additional information concerning this operation. */ @@ -3278,10 +3230,18 @@ declare module PlayFabServerModels { / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; + /** + / Unique identifier of the catalog item to be granted to the user. + */ + ItemId: string; /** / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3290,49 +3250,53 @@ declare module PlayFabServerModels { */ export interface ItemInstance { /** - / Unique identifier for the inventory item, as defined in the catalog. + / Game specific comment associated with this instance when it was added to the user inventory. */ - ItemId?: string; + Annotation?: string; /** - / Unique item identifier for this specific instance of the item. + / Array of unique items that were awarded when this catalog item was purchased. */ - ItemInstanceId?: string; + BundleContents?: string[]; /** - / Class name for the inventory item, as defined in the catalog. + / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. */ - ItemClass?: string; + BundleParent?: string; /** - / Timestamp for when this instance was purchased. + / Catalog version for the inventory item, when this instance was created. */ - PurchaseDate?: string; + CatalogVersion?: string; /** - / Timestamp for when this instance will expire. + / A set of custom key-value pairs on the inventory item. */ - Expiration?: string; + CustomData?: { [key: string]: string }; /** - / Total number of remaining uses, if this is a consumable item. + / CatalogItem.DisplayName at the time this item was purchased. */ - RemainingUses?: number; + DisplayName?: string; /** - / The number of uses that were added or removed to this item in this call. + / Timestamp for when this instance will expire. */ - UsesIncrementedBy?: number; + Expiration?: string; /** - / Game specific comment associated with this instance when it was added to the user inventory. + / Class name for the inventory item, as defined in the catalog. */ - Annotation?: string; + ItemClass?: string; /** - / Catalog version for the inventory item, when this instance was created. + / Unique identifier for the inventory item, as defined in the catalog. */ - CatalogVersion?: string; + ItemId?: string; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + / Unique item identifier for this specific instance of the item. */ - BundleParent?: string; + ItemInstanceId?: string; /** - / CatalogItem.DisplayName at the time this item was purchased. + / Timestamp for when this instance was purchased. */ - DisplayName?: string; + PurchaseDate?: string; + /** + / Total number of remaining uses, if this is a consumable item. + */ + RemainingUses?: number; /** / Currency type for the cost of the catalog item. */ @@ -3342,13 +3306,9 @@ declare module PlayFabServerModels { */ UnitPrice: number; /** - / Array of unique items that were awarded when this catalog item was purchased. - */ - BundleContents?: string[]; - /** - / A set of custom key-value pairs on the inventory item. + / The number of uses that were added or removed to this item in this call. */ - CustomData?: { [key: string]: string }; + UsesIncrementedBy?: number; } @@ -3356,6 +3316,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { + /** + / Linked account email of the user on the platform, if available + */ + Email?: string; /** / Authentication platform */ @@ -3368,10 +3332,6 @@ declare module PlayFabServerModels { / Linked account username of the user on the platform, if available */ Username?: string; - /** - / Linked account email of the user on the platform, if available - */ - Email?: string; } @@ -3401,6 +3361,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { + /** + / City name. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3409,10 +3373,6 @@ declare module PlayFabServerModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / City name. - */ - City?: string; /** / Latitude coordinate of the geographic location. */ @@ -3443,15 +3403,42 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { + /** + / Optional object accompanying the message as contextual information + */ + Data?: any; /** / 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel + */ + export interface MembershipModel { /** - / Optional object accompanying the message as contextual information + / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ - Data?: any; + IsActive: boolean; + /** + / The time this membership expires + */ + MembershipExpiration: string; + /** + / The id of the membership + */ + MembershipId?: string; + /** + / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** + / The list of subscriptions that this player has for this membership + */ + Subscriptions?: SubscriptionModel[]; } @@ -3459,14 +3446,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Name of the virtual currency which was modified. - */ - VirtualCurrency?: string; /** / Balance of the virtual currency after modification. */ Balance: number; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } @@ -3474,14 +3461,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab unique identifier of the user whose item is being modified. - */ - PlayFabId: string; /** / Unique instance identifier of the item to be modified. */ ItemInstanceId: string; + /** + / PlayFab unique identifier of the user whose item is being modified. + */ + PlayFabId: string; /** / Number of uses to add to the item. Can be negative to remove uses. */ @@ -3509,44 +3496,44 @@ declare module PlayFabServerModels { */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** - / User currency was subtracted from. - */ - PlayFabId?: string; - /** - / Name of the virtual currency which was modified. + / Balance of the virtual currency after modification. */ - VirtualCurrency?: string; + Balance: number; /** / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. */ BalanceChange: number; /** - / Balance of the virtual currency after modification. + / User currency was subtracted from. */ - Balance: number; + PlayFabId?: string; + /** + / Name of the virtual currency which was modified. + */ + VirtualCurrency?: string; } /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ - export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; + export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** / Unique identifier of the character that currently has the item. */ GivingCharacterId: string; - /** - / Unique identifier of the character that will be receiving the item. - */ - ReceivingCharacterId: string; /** / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; + /** + / Unique identifier of the character that will be receiving the item. + */ + ReceivingCharacterId: string; } @@ -3561,10 +3548,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -3573,6 +3556,10 @@ declare module PlayFabServerModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3587,10 +3574,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -3599,6 +3582,10 @@ declare module PlayFabServerModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -3609,15 +3596,6 @@ declare module PlayFabServerModels { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NameIdentifier - */ - export interface NameIdentifier { - Name?: string; - Id?: string; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ @@ -3653,18 +3631,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ - PlayFabId?: string; /** / Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; /** - / Specific value of the user's statistic. + / PlayFab unique identifier of the user for this leaderboard entry. */ - StatValue: number; + PlayFabId?: string; /** / User's overall position in the leaderboard. */ @@ -3673,6 +3647,10 @@ declare module PlayFabServerModels { / The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** + / Specific value of the user's statistic. + */ + StatValue: number; } @@ -3680,6 +3658,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { + /** + / Linked account's email + */ + Email?: string; /** / Authentication platform */ @@ -3692,10 +3674,6 @@ declare module PlayFabServerModels { / Linked account's username */ Username?: string; - /** - / Linked account's email - */ - Email?: string; } @@ -3703,6 +3681,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { + /** + / City of the player's geographic location. + */ + City?: string; /** / The two-character continent code for this location */ @@ -3711,10 +3693,6 @@ declare module PlayFabServerModels { / The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode: string; - /** - / City of the player's geographic location. - */ - City?: string; /** / Latitude coordinate of the player's geographic location. */ @@ -3731,85 +3709,85 @@ declare module PlayFabServerModels { */ export interface PlayerProfile { /** - / PlayFab Player ID - */ - PlayerId?: string; - /** - / Title ID this profile applies to + / Array of ad campaigns player has been attributed to */ - TitleId?: string; + AdCampaignAttributions?: AdCampaignAttribution[]; /** - / Player Display Name + / Image URL of the player's avatar. */ - DisplayName?: string; + AvatarUrl?: string; /** - / Publisher this player belongs to + / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - PublisherId?: string; + BannedUntil?: string; /** - / Player account origination + / Array of contact email addresses associated with the player */ - Origination?: string; + ContactEmailAddresses?: ContactEmailInfo[]; /** / Player record created */ Created?: string; + /** + / Player Display Name + */ + DisplayName?: string; /** / Last login */ LastLogin?: string; /** - / Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. + / Array of third party accounts linked to this player */ - BannedUntil?: string; + LinkedAccounts?: PlayerLinkedAccount[]; /** - / Image URL of the player's avatar. + / Dictionary of player's locations by type. */ - AvatarUrl?: string; + Locations?: { [key: string]: PlayerLocation }; /** - / Dictionary of player's statistics using only the latest version's value + / Player account origination */ - Statistics?: { [key: string]: number }; + Origination?: string; /** - / A sum of player's total purchases in USD across all currencies. + / PlayFab Player ID */ - TotalValueToDateInUSD?: number; + PlayerId?: string; /** - / Dictionary of player's total purchases by currency. + / Array of player statistics */ - ValuesToDate?: { [key: string]: number }; + PlayerStatistics?: PlayerStatistic[]; /** - / List of player's tags for segmentation. + / Publisher this player belongs to */ - Tags?: string[]; + PublisherId?: string; /** - / Dictionary of player's locations by type. + / Array of configured push notification end points */ - Locations?: { [key: string]: PlayerLocation }; + PushNotificationRegistrations?: PushNotificationRegistration[]; /** - / Dictionary of player's virtual currency balances + / Dictionary of player's statistics using only the latest version's value */ - VirtualCurrencyBalances?: { [key: string]: number }; + Statistics?: { [key: string]: number }; /** - / Array of ad campaigns player has been attributed to + / List of player's tags for segmentation. */ - AdCampaignAttributions?: AdCampaignAttribution[]; + Tags?: string[]; /** - / Array of configured push notification end points + / Title ID this profile applies to */ - PushNotificationRegistrations?: PushNotificationRegistration[]; + TitleId?: string; /** - / Array of third party accounts linked to this player + / A sum of player's total purchases in USD across all currencies. */ - LinkedAccounts?: PlayerLinkedAccount[]; + TotalValueToDateInUSD?: number; /** - / Array of player statistics + / Dictionary of player's total purchases by currency. */ - PlayerStatistics?: PlayerStatistic[]; + ValuesToDate?: { [key: string]: number }; /** - / Array of contact email addresses associated with the player + / Dictionary of player's virtual currency balances */ - ContactEmailAddresses?: ContactEmailInfo[]; + VirtualCurrencyBalances?: { [key: string]: number }; } @@ -3818,65 +3796,73 @@ declare module PlayFabServerModels { */ export interface PlayerProfileModel { /** - / Publisher this player belongs to + / List of advertising campaigns the player has been attributed to */ - PublisherId?: string; + AdCampaignAttributions?: AdCampaignAttributionModel[]; /** - / Title ID this player profile applies to + / URL of the player's avatar image */ - TitleId?: string; + AvatarUrl?: string; /** - / PlayFab player account unique identifier + / If the player is currently banned, the UTC Date when the ban expires */ - PlayerId?: string; + BannedUntil?: string; + /** + / List of all contact email info associated with the player account + */ + ContactEmailAddresses?: ContactEmailInfoModel[]; /** / Player record created */ Created?: string; /** - / Player account origination + / Player display name */ - Origination?: string; + DisplayName?: string; /** / UTC time when the player most recently logged in to the title */ LastLogin?: string; /** - / If the player is currently banned, the UTC Date when the ban expires + / List of all authentication systems linked to this player account */ - BannedUntil?: string; + LinkedAccounts?: LinkedPlatformAccountModel[]; /** / List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; /** - / Player display name + / List of memberships for the player, along with whether are expired. */ - DisplayName?: string; + Memberships?: MembershipModel[]; /** - / URL of the player's avatar image + / Player account origination */ - AvatarUrl?: string; + Origination?: string; /** - / List of player's tags for segmentation + / PlayFab player account unique identifier */ - Tags?: TagModel[]; + PlayerId?: string; + /** + / Publisher this player belongs to + */ + PublisherId?: string; /** / List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; /** - / List of all authentication systems linked to this player account + / List of leaderboard statistic values for the player */ - LinkedAccounts?: LinkedPlatformAccountModel[]; + Statistics?: StatisticModel[]; /** - / List of all contact email info associated with the player account + / List of player's tags for segmentation */ - ContactEmailAddresses?: ContactEmailInfoModel[]; + Tags?: TagModel[]; /** - / List of advertising campaigns the player has been attributed to + / Title ID this player profile applies to */ - AdCampaignAttributions?: AdCampaignAttributionModel[]; + TitleId?: string; /** / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ @@ -3889,10 +3875,6 @@ declare module PlayFabServerModels { / List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; - /** - / List of leaderboard statistic values for the player - */ - Statistics?: StatisticModel[]; } @@ -3901,45 +3883,61 @@ declare module PlayFabServerModels { */ export interface PlayerProfileViewConstraints { /** - / Whether to show the display name. Defaults to false + / Whether to show player's avatar URL. Defaults to false */ - ShowDisplayName: boolean; + ShowAvatarUrl: boolean; + /** + / Whether to show the banned until time. Defaults to false + */ + ShowBannedUntil: boolean; + /** + / Whether to show campaign attributions. Defaults to false + */ + ShowCampaignAttributions: boolean; + /** + / Whether to show contact email addresses. Defaults to false + */ + ShowContactEmailAddresses: boolean; /** / Whether to show the created date. Defaults to false */ ShowCreated: boolean; /** - / Whether to show origination. Defaults to false + / Whether to show the display name. Defaults to false */ - ShowOrigination: boolean; + ShowDisplayName: boolean; /** / Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** - / Whether to show the banned until time. Defaults to false + / Whether to show the linked accounts. Defaults to false */ - ShowBannedUntil: boolean; + ShowLinkedAccounts: boolean; /** - / Reserved for future development + / Whether to show player's locations. Defaults to false */ - ShowStatistics: boolean; + ShowLocations: boolean; /** - / Whether to show campaign attributions. Defaults to false + / Whether to show player's membership information. Defaults to false */ - ShowCampaignAttributions: boolean; + ShowMemberships: boolean; + /** + / Whether to show origination. Defaults to false + */ + ShowOrigination: boolean; /** / Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; /** - / Whether to show the linked accounts. Defaults to false + / Reserved for future development */ - ShowLinkedAccounts: boolean; + ShowStatistics: boolean; /** - / Whether to show contact email addresses. Defaults to false + / Whether to show tags. Defaults to false */ - ShowContactEmailAddresses: boolean; + ShowTags: boolean; /** / Whether to show the total value to date in usd. Defaults to false */ @@ -3948,18 +3946,6 @@ declare module PlayFabServerModels { / Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; - /** - / Whether to show tags. Defaults to false - */ - ShowTags: boolean; - /** - / Whether to show player's locations. Defaults to false - */ - ShowLocations: boolean; - /** - / Whether to show player's avatar URL. Defaults to false - */ - ShowAvatarUrl: boolean; } @@ -3972,17 +3958,17 @@ declare module PlayFabServerModels { */ Id?: string; /** - / Statistic version (0 if not a versioned statistic) + / Statistic name */ - StatisticVersion: number; + Name?: string; /** / Current statistic value */ StatisticValue: number; /** - / Statistic name + / Statistic version (0 if not a versioned statistic) */ - Name?: string; + StatisticVersion: number; } @@ -3991,29 +3977,29 @@ declare module PlayFabServerModels { */ export interface PlayerStatisticVersion { /** - / name of the statistic when the version became active + / time when the statistic version became active */ - StatisticName?: string; + ActivationTime: string; /** - / version of the statistic + / time when the statistic version became inactive due to statistic version incrementing */ - Version: number; + DeactivationTime?: string; /** / time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time when the statistic version became active - */ - ActivationTime: string; /** / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; /** - / time when the statistic version became inactive due to statistic version incrementing + / name of the statistic when the version became active */ - DeactivationTime?: string; + StatisticName?: string; + /** + / version of the statistic + */ + Version: number; } @@ -4022,29 +4008,29 @@ declare module PlayFabServerModels { */ export interface PushNotificationPackage { /** - / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. + / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object */ - ScheduleDate?: string; + CustomData?: string; /** - / Title/Subject of the message + / Icon file to display with the message */ - Title: string; + Icon?: string; /** / Content of the message */ Message: string; /** - / Icon file to display with the message + / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. */ - Icon?: string; + ScheduleDate?: string; /** / Sound file to play with the message */ Sound?: string; /** - / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object + / Title/Subject of the message */ - CustomData?: string; + Title: string; } @@ -4055,14 +4041,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -4070,14 +4056,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Push notification platform - */ - Platform?: string; /** / Notification configured endpoint */ NotificationEndpointARN?: string; + /** + / Push notification platform + */ + Platform?: string; } @@ -4089,14 +4075,14 @@ declare module PlayFabServerModels { / Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Unique name for this drop table - */ - TableId: string; /** / Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; + /** + / Unique name for this drop table + */ + TableId: string; } @@ -4104,14 +4090,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generated coupon code to redeem. - */ - CouponCode: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Catalog version of the coupon. */ @@ -4120,6 +4098,14 @@ declare module PlayFabServerModels { / Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; + /** + / Generated coupon code to redeem. + */ + CouponCode: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4138,14 +4124,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Server authorization ticket passed back from a call to Matchmake or StartGame. - */ - Ticket: string; /** / Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; + /** + / Server authorization ticket passed back from a call to Matchmake or StartGame. + */ + Ticket: string; } @@ -4153,14 +4139,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Boolean indicating whether the ticket was validated by the PlayFab service. - */ - TicketIsValid: boolean; /** / Error value if the ticket was not validated. */ Error?: string; + /** + / Boolean indicating whether the ticket was validated by the PlayFab service. + */ + TicketIsValid: boolean; /** / User account information for the user validated. */ @@ -4199,29 +4185,29 @@ declare module PlayFabServerModels { */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Previous lobby id if re-registering an existing game. - */ - LobbyId?: string; - /** - / IP address of the Game Server Instance. + / Unique identifier of the build running on the Game Server Instance. */ - ServerHost: string; + Build: string; /** - / Port number for communication with the Game Server Instance. + / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ - ServerPort: string; + GameMode: string; /** - / Unique identifier of the build running on the Game Server Instance. + / Previous lobby id if re-registering an existing game. */ - Build: string; + LobbyId?: string; /** / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. */ Region: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + / IP address of the Game Server Instance. */ - GameMode: string; + ServerHost: string; + /** + / Port number for communication with the Game Server Instance. + */ + ServerPort: string; /** / Tags for the Game Server Instance */ @@ -4281,14 +4267,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -4304,17 +4290,17 @@ declare module PlayFabServerModels { */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFabId of the reporting player. + / Optional additional comment by reporting player. */ - ReporterId: string; + Comment?: string; /** / Unique PlayFab identifier of the reported player. */ ReporteeId: string; /** - / Optional additional comment by reporting player. + / PlayFabId of the reporting player. */ - Comment?: string; + ReporterId: string; } @@ -4333,14 +4319,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Whether this entry in the table is an item or a link to another table - */ - ResultItemType: string; /** / Either an ItemId, or the TableId of another random result table */ ResultItem: string; + /** + / Whether this entry in the table is an item or a link to another table + */ + ResultItemType: string; /** / How likely this is to be rolled - larger numbers add more weight */ @@ -4399,10 +4385,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4411,6 +4393,10 @@ declare module PlayFabServerModels { / Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4445,23 +4431,27 @@ declare module PlayFabServerModels { */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / PlayFabId of the recipient of the push notification. + / Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver to custom plugin logic, fields, or functionality not natively supported by PlayFab. */ - Recipient: string; + AdvancedPlatformDelivery?: AdvancedPushPlatformMsg[]; /** / Text of message to send. */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc. Not supported for iOS devices. + / Defines all possible push attributes like message, title, icon, etc. Not fully supported for iOS devices. */ Package?: PushNotificationPackage; /** - / Subject of message to send (may not be displayed in all platforms. Not supported for Android devices (use Package instead). + / PlayFabId of the recipient of the push notification. + */ + Recipient: string; + /** + / Subject of message to send (may not be displayed in all platforms. */ Subject?: string; /** - / Platforms that should receive the message. If omitted, we will send to all available platforms. + / Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms. */ TargetPlatforms?: string[]; @@ -4478,14 +4468,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the player whose friend is to be updated. - */ - PlayFabId: string; /** / PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; + /** + / PlayFab identifier of the player whose friend is to be updated. + */ + PlayFabId: string; /** / Array of tags to set on the friend account. */ @@ -4497,14 +4487,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Instance to be updated, in decimal format. - */ - LobbyId: string; /** / Custom data to set for the specified game server instance. */ GameServerData: string; + /** + / Unique identifier of the Game Instance to be updated, in decimal format. + */ + LobbyId: string; } @@ -4630,21 +4620,21 @@ declare module PlayFabServerModels { */ export interface SharedGroupDataRecord { /** - / Data stored for the specified group data key. + / Timestamp for when this data was last updated. */ - Value?: string; + LastUpdated: string; /** / PlayFabId of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Timestamp for when this data was last updated. - */ - LastUpdated: string; /** / Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; + /** + / Data stored for the specified group data key. + */ + Value?: string; } @@ -4656,14 +4646,14 @@ declare module PlayFabServerModels { / Statistic name */ Name?: string; - /** - / Statistic version (0 if not a versioned statistic) - */ - Version: number; /** / Statistic value */ Value: number; + /** + / Statistic version (0 if not a versioned statistic) + */ + Version: number; } @@ -4690,14 +4680,14 @@ declare module PlayFabServerModels { / unique name of the statistic */ StatisticName: string; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. - */ - Version?: number; /** / statistic value for the player */ Value: number; + /** + / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + */ + Version?: number; } @@ -4724,37 +4714,81 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { + /** + / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + */ + PlayFabId?: string; /** / Unique Steam identifier for a user. */ SteamStringId?: string; + + } + + /** + / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel + */ + export interface SubscriptionModel { /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. + / When this subscription expires. */ - PlayFabId?: string; + Expiration: string; + /** + / The time the subscription was orignially purchased + */ + InitialSubscriptionTime: string; + /** + / Whether this subscription is currently active. That is, if Expiration > now. + */ + IsActive: boolean; + /** + / The status of this subscription, according to the subscription provider. + */ + Status?: string; + /** + / The id for this subscription + */ + SubscriptionId?: string; + /** + / The item id for this subscription from the primary catalog + */ + SubscriptionItemId?: string; + /** + / The provider for this subscription. Apple or Google Play are supported today. + */ + SubscriptionProvider?: string; } + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Amount to be subtracted from the user balance of the specified virtual currency. */ - PlayFabId: string; + Amount: number; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Name of the virtual currency which is to be decremented. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - VirtualCurrency: string; + PlayFabId: string; /** - / Amount to be subtracted from the user balance of the specified virtual currency. + / Name of the virtual currency which is to be decremented. */ - Amount: number; + VirtualCurrency: string; } @@ -4762,6 +4796,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Amount to be subtracted from the user balance of the specified virtual currency. + */ + Amount: number; /** / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ @@ -4770,10 +4808,6 @@ declare module PlayFabServerModels { / Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ - Amount: number; } @@ -4788,13 +4822,6 @@ declare module PlayFabServerModels { } - type TaskInstanceStatus = "Succeeded" - | "Starting" - | "InProgress" - | "Failed" - | "Aborted" - | "Pending"; - type TitleActivationStatus = "None" | "ActivatedTitleKey" | "PendingSteam" @@ -4806,21 +4833,21 @@ declare module PlayFabServerModels { */ export interface TitleNewsItem { /** - / Date and time when the news items was posted. + / News item text. */ - Timestamp: string; + Body?: string; /** / Unique identifier of news item. */ NewsId?: string; /** - / Title of the news item. + / Date and time when the news items was posted. */ - Title?: string; + Timestamp: string; /** - / News item text. + / Title of the news item. */ - Body?: string; + Title?: string; } @@ -4829,9 +4856,9 @@ declare module PlayFabServerModels { */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. */ - PlayFabId: string; + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4845,9 +4872,9 @@ declare module PlayFabServerModels { */ KeyItemInstanceId?: string; /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId: string; } @@ -4856,9 +4883,9 @@ declare module PlayFabServerModels { */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. */ - PlayFabId: string; + CatalogVersion?: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4868,9 +4895,9 @@ declare module PlayFabServerModels { */ ContainerItemId: string; /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - CatalogVersion?: string; + PlayFabId: string; } @@ -4878,6 +4905,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { + /** + / Items granted to the player as a result of unlocking the container. + */ + GrantedItems?: ItemInstance[]; /** / Unique instance identifier of the container unlocked. */ @@ -4886,10 +4917,6 @@ declare module PlayFabServerModels { / Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Items granted to the player as a result of unlocking the container. - */ - GrantedItems?: ItemInstance[]; /** / Virtual currency granted to the player as a result of unlocking the container. */ @@ -4901,14 +4928,14 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -4917,13 +4944,13 @@ declare module PlayFabServerModels { */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The id of the ban to be updated. + / The updated active state for the ban. Null for no change. */ - BanId: string; + Active?: boolean; /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. + / The id of the ban to be updated. */ - Reason?: string; + BanId: string; /** / The updated expiration date for the ban. Null for no change. */ @@ -4941,9 +4968,9 @@ declare module PlayFabServerModels { */ Permanent?: boolean; /** - / The updated active state for the ban. Null for no change. + / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ - Active?: boolean; + Reason?: string; } @@ -4973,10 +5000,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -4993,6 +5016,10 @@ declare module PlayFabServerModels { / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5011,10 +5038,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -5023,6 +5046,10 @@ declare module PlayFabServerModels { / Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5037,6 +5064,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. + */ + ForceUpdate?: boolean; /** / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -5045,10 +5076,6 @@ declare module PlayFabServerModels { / Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; - /** - / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. - */ - ForceUpdate?: boolean; } @@ -5063,10 +5090,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ - SharedGroupId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5079,6 +5102,10 @@ declare module PlayFabServerModels { / Permission to be applied to all user data keys in this request. */ Permission?: string; + /** + / Unique identifier for the shared group. + */ + SharedGroupId: string; } @@ -5093,10 +5120,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5109,6 +5132,10 @@ declare module PlayFabServerModels { / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5127,10 +5154,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ @@ -5139,6 +5162,10 @@ declare module PlayFabServerModels { / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5146,26 +5173,26 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabId: string; /** / Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ - ItemInstanceId: string; /** / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. */ Data?: { [key: string]: string }; + /** + / Unique PlayFab assigned instance identifier of the item + */ + ItemInstanceId: string; /** / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; + /** + / Unique PlayFab assigned ID of the user on whom the operation will be performed. + */ + PlayFabId: string; } @@ -5174,69 +5201,69 @@ declare module PlayFabServerModels { */ export interface UserAccountInfo { /** - / Unique identifier for the user account + / User Android device information, if an Android device has been linked */ - PlayFabId?: string; + AndroidDeviceInfo?: UserAndroidDeviceInfo; /** / Timestamp indicating when the user account was created */ Created: string; /** - / User account name in the PlayFab service - */ - Username?: string; - /** - / Title-specific information for the user account - */ - TitleInfo?: UserTitleInfo; - /** - / Personal information for the user which is considered more sensitive + / Custom ID information, if a custom ID has been assigned */ - PrivateInfo?: UserPrivateAccountInfo; + CustomIdInfo?: UserCustomIdInfo; /** / User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Steam information, if a Steam account has been linked - */ - SteamInfo?: UserSteamInfo; /** / User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** - / User iOS device information, if an iOS device has been linked + / User Google account information, if a Google account has been linked */ - IosDeviceInfo?: UserIosDeviceInfo; + GoogleInfo?: UserGoogleInfo; /** - / User Android device information, if an Android device has been linked + / User iOS device information, if an iOS device has been linked */ - AndroidDeviceInfo?: UserAndroidDeviceInfo; + IosDeviceInfo?: UserIosDeviceInfo; /** / User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** - / User Twitch account information, if a Twitch account has been linked + / Unique identifier for the user account */ - TwitchInfo?: UserTwitchInfo; + PlayFabId?: string; + /** + / Personal information for the user which is considered more sensitive + */ + PrivateInfo?: UserPrivateAccountInfo; /** / User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; /** - / User Google account information, if a Google account has been linked + / User Steam information, if a Steam account has been linked */ - GoogleInfo?: UserGoogleInfo; + SteamInfo?: UserSteamInfo; /** - / User XBox account information, if a XBox account has been linked + / Title-specific information for the user account */ - XboxInfo?: UserXboxInfo; + TitleInfo?: UserTitleInfo; /** - / Custom ID information, if a custom ID has been assigned + / User Twitch account information, if a Twitch account has been linked */ - CustomIdInfo?: UserCustomIdInfo; + TwitchInfo?: UserTwitchInfo; + /** + / User account name in the PlayFab service + */ + Username?: string; + /** + / User XBox account information, if a XBox account has been linked + */ + XboxInfo?: UserXboxInfo; } @@ -5269,10 +5296,6 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Data stored for the specified user data key. - */ - Value?: string; /** / Timestamp for when this data was last updated. */ @@ -5281,6 +5304,10 @@ declare module PlayFabServerModels { / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. */ Permission?: string; + /** + / Data stored for the specified user data key. + */ + Value?: string; } @@ -5314,22 +5341,22 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Google ID - */ - GoogleId?: string; /** / Email address of the Google account */ GoogleEmail?: string; - /** - / Locale of the Google account - */ - GoogleLocale?: string; /** / Gender information of the Google account */ GoogleGender?: string; + /** + / Google ID + */ + GoogleId?: string; + /** + / Locale of the Google account + */ + GoogleLocale?: string; } @@ -5409,9 +5436,9 @@ declare module PlayFabServerModels { */ export interface UserSteamInfo { /** - / Steam identifier + / what stage of game ownership the user is listed as being in, from Steam */ - SteamId?: string; + SteamActivationStatus?: string; /** / the country in which the player resides, from Steam data */ @@ -5421,9 +5448,9 @@ declare module PlayFabServerModels { */ SteamCurrency?: string; /** - / what stage of game ownership the user is listed as being in, from Steam + / Steam identifier */ - SteamActivationStatus?: string; + SteamId?: string; } @@ -5432,21 +5459,17 @@ declare module PlayFabServerModels { */ export interface UserTitleInfo { /** - / name of the user, as it is displayed in-game - */ - DisplayName?: string; - /** - / source by which the user first joined the game, if known + / URL to the player's avatar. */ - Origination?: string; + AvatarUrl?: string; /** / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) */ Created: string; /** - / timestamp for the last user login for this title + / name of the user, as it is displayed in-game */ - LastLogin?: string; + DisplayName?: string; /** / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) */ @@ -5456,9 +5479,13 @@ declare module PlayFabServerModels { */ isBanned?: boolean; /** - / URL to the player's avatar. + / timestamp for the last user login for this title */ - AvatarUrl?: string; + LastLogin?: string; + /** + / source by which the user first joined the game, if known + */ + Origination?: string; } @@ -5527,17 +5554,17 @@ declare module PlayFabServerModels { */ export interface VirtualCurrencyRechargeTime { /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. + / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. */ - SecondsToRecharge: number; + RechargeMax: number; /** / Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + / Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - RechargeMax: number; + SecondsToRecharge: number; } @@ -5557,9 +5584,9 @@ declare module PlayFabServerModels { */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Custom event properties. Each property consists of a name (string) and a value (JSON object). */ - PlayFabId: string; + Body?: { [key: string]: any }; /** / Unique PlayFab assigned ID for a specific character owned by a user */ @@ -5569,13 +5596,13 @@ declare module PlayFabServerModels { */ EventName: string; /** - / The time (in UTC) associated with this event. The value dafaults to the current time. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Timestamp?: string; + PlayFabId: string; /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). + / The time (in UTC) associated with this event. The value dafaults to the current time. */ - Body?: { [key: string]: any }; + Timestamp?: string; } @@ -5584,21 +5611,21 @@ declare module PlayFabServerModels { */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. + / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ - PlayFabId: string; + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; /** - / The time (in UTC) associated with this event. The value dafaults to the current time. + / Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - Timestamp?: string; + PlayFabId: string; /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). + / The time (in UTC) associated with this event. The value dafaults to the current time. */ - Body?: { [key: string]: any }; + Timestamp?: string; } @@ -5606,6 +5633,10 @@ declare module PlayFabServerModels { / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + / Custom event properties. Each property consists of a name (string) and a value (JSON object). + */ + Body?: { [key: string]: any }; /** / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ @@ -5614,10 +5645,6 @@ declare module PlayFabServerModels { / The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ - Body?: { [key: string]: any }; } From eb1bb70e4a075bc8c5b39b38d8bc194c6be08c14 Mon Sep 17 00:00:00 2001 From: playfabjenkinsbot Date: Mon, 16 Oct 2017 18:26:17 +0000 Subject: [PATCH 045/253] https://api.playfab.com/releaseNotes/#171016 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 12 +--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 18 +++++- .../src/PlayFab/PlayFabMatchmakerApi.js | 3 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 +--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 38 ------------ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 4 -- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 58 ++++--------------- .../src/PlayFab/PlayFabAdminApi.js | 12 +--- .../src/PlayFab/PlayFabClientApi.js | 18 +++++- .../src/PlayFab/PlayFabMatchmakerApi.js | 3 +- .../src/PlayFab/PlayFabServerApi.js | 12 +--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 38 ------------ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 4 -- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 58 ++++--------------- 14 files changed, 70 insertions(+), 220 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index c5a696b0..68a2565c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -247,15 +247,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetTasks instead. - */ - GetAllActionGroups: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -735,3 +726,4 @@ PlayFab.AdminApi = { }; var PlayFabAdminSDK = PlayFab.AdminApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 9a94e9bd..25e7deec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1054,3 +1054,19 @@ PlayFab.ClientApi = { }; var PlayFabClientSDK = PlayFab.ClientApi; + +PlayFab.RegisterWithPhaser = function() { + if ( typeof Phaser === 'undefined') + return; + + Phaser.Plugin.PlayFab = function (game, parent) { + Phaser.Plugin.call(this, game, parent); + }; + Phaser.Plugin.PlayFab.prototype = Object.create(Phaser.Plugin.prototype); + Phaser.Plugin.PlayFab.prototype.constructor = Phaser.Plugin.PlayFab; + Phaser.Plugin.PlayFab.prototype.PlayFab = PlayFab; + Phaser.Plugin.PlayFab.prototype.settings = PlayFab.settings; + Phaser.Plugin.PlayFab.prototype.ClientApi = PlayFab.ClientApi; +}; +PlayFab.RegisterWithPhaser(); + diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 5ff437ea..a2fdd8e3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -168,3 +168,4 @@ PlayFab.MatchmakerApi = { }; var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0122e2f6..409ddbac 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -232,15 +232,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetAllSegments instead. - */ - GetAllActionGroups: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -795,3 +786,4 @@ PlayFab.ServerApi = { }; var PlayFabServerSDK = PlayFab.ServerApi; + diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index ea45c5f6..e2083e22 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -92,11 +92,6 @@ declare module PlayFabAdminModule { / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance */ GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups - */ - GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / 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. / https://api.playfab.com/Documentation/Admin/method/GetAllSegments @@ -1907,21 +1902,6 @@ declare module PlayFabAdminModels { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionGroupResult - */ - export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group ID - */ - Id?: string; - /** - / Action Group name - */ - Name: string; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ @@ -1937,24 +1917,6 @@ declare module PlayFabAdminModels { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsRequest - */ - export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsResult - */ - export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of Action Groups. - */ - ActionGroups: GetActionGroupResult[]; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index df404203..e6ed0e63 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1916,10 +1916,6 @@ declare module PlayFabClientModels { / game session custom data */ GameServerData?: string; - /** - / game specific string denoting server configuration - */ - GameServerState?: number; /** / game specific string denoting server configuration */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 73e5718b..fb869081 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -82,11 +82,6 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups - */ - GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / 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. / https://api.playfab.com/Documentation/Server/method/GetAllSegments @@ -1852,39 +1847,6 @@ declare module PlayFabServerModels { type GameInstanceState = "Open" | "Closed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetActionGroupResult - */ - export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group ID - */ - Id?: string; - /** - / Action Group name - */ - Name: string; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsRequest - */ - export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsResult - */ - export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of Action Groups. - */ - ActionGroups: GetActionGroupResult[]; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ @@ -4008,27 +3970,31 @@ declare module PlayFabServerModels { */ export interface PushNotificationPackage { /** - / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object + / Numerical badge to display on App icon (iOS only) + */ + Badge: number; + /** + / This must be a JSON formatted object. For use with developer-created custom Push Notification plugins */ CustomData?: string; /** - / Icon file to display with the message + / Icon file to display with the message (Not supported for iOS) */ Icon?: string; /** - / Content of the message + / Content of the message (all platforms) */ Message: string; /** - / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. + / This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported platform-specific fields */ ScheduleDate?: string; /** - / Sound file to play with the message + / Sound file to play with the message (all platforms) */ Sound?: string; /** - / Title/Subject of the message + / Title/Subject of the message. Not supported for iOS */ Title: string; @@ -4439,7 +4405,7 @@ declare module PlayFabServerModels { */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc. Not fully supported for iOS devices. + / Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details. */ Package?: PushNotificationPackage; /** @@ -4447,7 +4413,7 @@ declare module PlayFabServerModels { */ Recipient: string; /** - / Subject of message to send (may not be displayed in all platforms. + / Subject of message to send (may not be displayed in all platforms) */ Subject?: string; /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index c5a696b0..68a2565c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -247,15 +247,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetTasks instead. - */ - GetAllActionGroups: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -735,3 +726,4 @@ PlayFab.AdminApi = { }; var PlayFabAdminSDK = PlayFab.AdminApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 9a94e9bd..25e7deec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1054,3 +1054,19 @@ PlayFab.ClientApi = { }; var PlayFabClientSDK = PlayFab.ClientApi; + +PlayFab.RegisterWithPhaser = function() { + if ( typeof Phaser === 'undefined') + return; + + Phaser.Plugin.PlayFab = function (game, parent) { + Phaser.Plugin.call(this, game, parent); + }; + Phaser.Plugin.PlayFab.prototype = Object.create(Phaser.Plugin.prototype); + Phaser.Plugin.PlayFab.prototype.constructor = Phaser.Plugin.PlayFab; + Phaser.Plugin.PlayFab.prototype.PlayFab = PlayFab; + Phaser.Plugin.PlayFab.prototype.settings = PlayFab.settings; + Phaser.Plugin.PlayFab.prototype.ClientApi = PlayFab.ClientApi; +}; +PlayFab.RegisterWithPhaser(); + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 5ff437ea..a2fdd8e3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -168,3 +168,4 @@ PlayFab.MatchmakerApi = { }; var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0122e2f6..409ddbac 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.12.170925"; +PlayFab.sdkVersion = "1.13.171016"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -232,15 +232,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use GetAllSegments instead. - */ - GetAllActionGroups: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllActionGroups", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -795,3 +786,4 @@ PlayFab.ServerApi = { }; var PlayFabServerSDK = PlayFab.ServerApi; + diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ea45c5f6..e2083e22 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -92,11 +92,6 @@ declare module PlayFabAdminModule { / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance */ GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Admin/method/GetAllActionGroups - */ - GetAllActionGroups(request: PlayFabAdminModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / 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. / https://api.playfab.com/Documentation/Admin/method/GetAllSegments @@ -1907,21 +1902,6 @@ declare module PlayFabAdminModels { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionGroupResult - */ - export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group ID - */ - Id?: string; - /** - / Action Group name - */ - Name: string; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ @@ -1937,24 +1917,6 @@ declare module PlayFabAdminModels { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsRequest - */ - export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllActionGroupsResult - */ - export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of Action Groups. - */ - ActionGroups: GetActionGroupResult[]; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index df404203..e6ed0e63 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1916,10 +1916,6 @@ declare module PlayFabClientModels { / game session custom data */ GameServerData?: string; - /** - / game specific string denoting server configuration - */ - GameServerState?: number; /** / game specific string denoting server configuration */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 73e5718b..fb869081 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -82,11 +82,6 @@ declare module PlayFabServerModule { / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - / Retrieve a list of all PlayStream actions groups. - / https://api.playfab.com/Documentation/Server/method/GetAllActionGroups - */ - GetAllActionGroups(request: PlayFabServerModels.GetAllActionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** / 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. / https://api.playfab.com/Documentation/Server/method/GetAllSegments @@ -1852,39 +1847,6 @@ declare module PlayFabServerModels { type GameInstanceState = "Open" | "Closed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetActionGroupResult - */ - export interface GetActionGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Action Group ID - */ - Id?: string; - /** - / Action Group name - */ - Name: string; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsRequest - */ - export interface GetAllActionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllActionGroupsResult - */ - export interface GetAllActionGroupsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of Action Groups. - */ - ActionGroups: GetActionGroupResult[]; - - } - /** / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ @@ -4008,27 +3970,31 @@ declare module PlayFabServerModels { */ export interface PushNotificationPackage { /** - / Arbitrary string that will be delivered with the message. Suggested use: JSON formatted object + / Numerical badge to display on App icon (iOS only) + */ + Badge: number; + /** + / This must be a JSON formatted object. For use with developer-created custom Push Notification plugins */ CustomData?: string; /** - / Icon file to display with the message + / Icon file to display with the message (Not supported for iOS) */ Icon?: string; /** - / Content of the message + / Content of the message (all platforms) */ Message: string; /** - / If set, represents a timestamp for when the device should display the message. Local format should be formatted as: yyyy-MM-dd HH:mm:ss or UTC timestamp formatted as yyyy-MM-ddTHH:mm:ssZ. Delivery is not delayed, scheduling is expected to be handled by the device. + / This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported platform-specific fields */ ScheduleDate?: string; /** - / Sound file to play with the message + / Sound file to play with the message (all platforms) */ Sound?: string; /** - / Title/Subject of the message + / Title/Subject of the message. Not supported for iOS */ Title: string; @@ -4439,7 +4405,7 @@ declare module PlayFabServerModels { */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc. Not fully supported for iOS devices. + / Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details. */ Package?: PushNotificationPackage; /** @@ -4447,7 +4413,7 @@ declare module PlayFabServerModels { */ Recipient: string; /** - / Subject of message to send (may not be displayed in all platforms. + / Subject of message to send (may not be displayed in all platforms) */ Subject?: string; /** From 5abbd00b6ebabba6426815cdfef404200462caca Mon Sep 17 00:00:00 2001 From: playfabjenkinsbot Date: Thu, 26 Oct 2017 23:04:44 +0000 Subject: [PATCH 046/253] https://api.playfab.com/releaseNotes/#171026 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 3950 ++++--------- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 5036 ++++++----------- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 290 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 4243 +++++--------- .../src/PlayFab/PlayFabAdminApi.js | 20 +- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 3950 ++++--------- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5036 ++++++----------- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 290 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4243 +++++--------- 16 files changed, 8422 insertions(+), 18680 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 68a2565c..56b7dd28 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -232,13 +232,10 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeleteUser instead. - */ - DeleteUsers: function (request, callback, customData, extraHeaders) { + DeleteTitle: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { @@ -523,15 +520,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeletePlayer instead. - */ - ResetUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 25e7deec..82201db4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index a2fdd8e3..e131a3dc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 409ddbac..6e8c3c0f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index e2083e22..9fed4abc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3,488 +3,503 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { /** - / Abort an ongoing task instance. - / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + * Abort an ongoing task instance. + * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new news item to the title's news feed - / https://api.playfab.com/Documentation/Admin/method/AddNews + * Adds a new news item to the title's news feed + * https://api.playfab.com/Documentation/Admin/method/AddNews */ AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Admin/method/AddPlayerTag */ AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/AddServerBuild + * Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a + * client is permitted to request in a call to StartGame + * https://api.playfab.com/Documentation/Admin/method/AddServerBuild */ AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + * Increments the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + * 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes */ AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - / https://api.playfab.com/Documentation/Admin/method/BanUsers + * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + * https://api.playfab.com/Documentation/Admin/method/BanUsers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. - / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. + * https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask */ CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create a CloudScript task, which can run a CloudScript on a schedule. - / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + * Create a CloudScript task, which can run a CloudScript on a schedule. + * https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret + * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after + * this API returns. + * https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret */ CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + * Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval + * and an aggregation method. + * https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition */ CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a content file from the title. When deleting a file that does not exist, it returns success. - / https://api.playfab.com/Documentation/Admin/method/DeleteContent + * Delete a content file from the title. When deleting a file that does not exist, it returns success. + * https://api.playfab.com/Documentation/Admin/method/DeleteContent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes a user's player account from a title and deletes all associated data - / https://api.playfab.com/Documentation/Admin/method/DeletePlayer + * Removes a user's player account from a title and deletes all associated data + * https://api.playfab.com/Documentation/Admin/method/DeletePlayer */ DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. - / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + * Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API + * returns. + * https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret */ DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes an existing virtual item store - / https://api.playfab.com/Documentation/Admin/method/DeleteStore + * Deletes an existing virtual item store + * https://api.playfab.com/Documentation/Admin/method/DeleteStore */ DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a task. - / https://api.playfab.com/Documentation/Admin/method/DeleteTask + * Delete a task. + * https://api.playfab.com/Documentation/Admin/method/DeleteTask */ DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. This method does not remove the player's event history, login history, inventory items, nor virtual currencies. - / https://api.playfab.com/Documentation/Admin/method/DeleteUsers + * Permanently deletes a title and all associated configuration + * https://api.playfab.com/Documentation/Admin/method/DeleteTitle */ - DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get information about a ActionsOnPlayersInSegment task instance. - / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + * Get information about a ActionsOnPlayersInSegment task instance. + * https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance */ GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetAllSegments + * 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. + * https://api.playfab.com/Documentation/Admin/method/GetAllSegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + * https://api.playfab.com/Documentation/Admin/method/GetCatalogItems */ GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the contents and information of a specific Cloud Script revision. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + * Gets the contents and information of a specific Cloud Script revision. + * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision */ GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get detail information about a CloudScript task instance. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + * Get detail information about a CloudScript task instance. + * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance */ GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + * Lists all the current cloud script versions. For each version, information about the current published and latest + * revisions is also listed. + * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions */ GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all contents of the title and get statistics such as size - / https://api.playfab.com/Documentation/Admin/method/GetContentList + * List all contents of the title and get statistics such as size + * https://api.playfab.com/Documentation/Admin/method/GetContentList */ GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + * Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the + * content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN + * rates apply. + * https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl */ GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a download URL for the requested report - / https://api.playfab.com/Documentation/Admin/method/GetDataReport + * Retrieves a download URL for the requested report + * https://api.playfab.com/Documentation/Admin/method/GetDataReport */ GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details for a specific completed session, including links to standard out and standard error logs - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + * Retrieves the details for a specific completed session, including links to standard out and standard error logs + * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo */ GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of defined game modes for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + * Retrieves the details of defined game modes for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + * List all segments that a player currently belongs to at this moment in time. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments */ GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns all Player Shared Secret Keys including disabled and expired. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + * Returns all Player Shared Secret Keys including disabled and expired. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + * 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. + * https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have + * a reset interval. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions */ GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + * Retrieves the information on the available versions of the specified statistic. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions */ GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + * Get all tags with a given Namespace (optional) from a player profile. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerTags */ GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the requested policy. - / https://api.playfab.com/Documentation/Admin/method/GetPolicy + * Gets the requested policy. + * https://api.playfab.com/Documentation/Admin/method/GetPolicy */ GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/GetPublisherData + * Retrieves the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Admin/method/GetPublisherData */ GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + * Retrieves the random drop table configuration for the title + * https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables */ GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + * Retrieves the build details for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo */ GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + * Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for + * use - see AddServerBuild) + * https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl */ GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Admin/method/GetStoreItems + * Retrieves the set of items defined for the specified store, including all prices defined + * https://api.playfab.com/Documentation/Admin/method/GetStoreItems */ GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Query for task instances by task, status, or time range. - / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + * Query for task instances by task, status, or time range. + * https://api.playfab.com/Documentation/Admin/method/GetTaskInstances */ GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get definition information on a specified task or all tasks within a title. - / https://api.playfab.com/Documentation/Admin/method/GetTasks + * Get definition information on a specified task or all tasks within a title. + * https://api.playfab.com/Documentation/Admin/method/GetTasks */ GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings which can be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetTitleData + * Retrieves the key-value store of custom title settings which can be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetTitleData */ GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings which cannot be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData + * Retrieves the key-value store of custom title settings which cannot be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData */ GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier - / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + * Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier + * https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo */ GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Admin/method/GetUserBans + * Gets all bans for a user. + * https://api.playfab.com/Documentation/Admin/method/GetUserBans */ GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserData */ GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + * Retrieves the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserInternalData */ GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Admin/method/GetUserInventory + * Retrieves the specified user's current inventory of virtual goods + * https://api.playfab.com/Documentation/Admin/method/GetUserInventory */ GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + * Retrieves the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData */ GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData */ GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + * Retrieves the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData */ GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + * Retrieves the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData */ GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user inventories - / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + * Adds the specified items to the specified user inventories + * https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets the indicated statistic, removing all player entries for it and backing up the old values. - / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + * Resets the indicated statistic, removing all player entries for it and backing up the old values. + * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for all game server executables which are currently defined for the title - / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + * Retrieves the build details for all game server executables which are currently defined for the title + * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds */ ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retuns the list of all defined virtual currencies for the title - / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + * Retuns the list of all defined virtual currencies for the title + * https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the game server mode details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + * Updates the game server mode details for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes */ ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + * Updates the build details for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild */ ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to process an order refund through the original real money payment provider. - / https://api.playfab.com/Documentation/Admin/method/RefundPurchase + * Attempts to process an order refund through the original real money payment provider. + * https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag */ RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + * Removes the game server executable specified from the set of those a client is permitted to request in a call to + * StartGame + * https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild */ RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes one or more virtual currencies from the set defined for the title. - / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + * Removes one or more virtual currencies from the set defined for the title. + * https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes */ RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completely removes all statistics for the specified character, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + * Completely removes all statistics for the specified character, for the current game + * https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics */ ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics - / https://api.playfab.com/Documentation/Admin/method/ResetUsers - */ - ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - / Completely removes all statistics for the specified user, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + * Completely removes all statistics for the specified user, for the current game + * https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics */ ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to resolve a dispute with the original order's payment provider. - / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + * Attempts to resolve a dispute with the original order's payment provider. + * https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute */ ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + * Revoke all active bans for a user. + * https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser */ RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Admin/method/RevokeBans + * Revoke all active bans specified with BanId. + * https://api.playfab.com/Documentation/Admin/method/RevokeBans */ RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + * Revokes access to an item in a user's inventory + * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Run a task immediately regardless of its schedule. - / https://api.playfab.com/Documentation/Admin/method/RunTask + * Run a task immediately regardless of its schedule. + * https://api.playfab.com/Documentation/Admin/method/RunTask */ RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + * Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to + * change the password + * https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates the catalog configuration of all virtual goods for the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + * Creates the catalog configuration of all virtual goods for the specified catalog version + * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets or resets the player's secret. Player secrets are used to sign API requests. - / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + * Sets or resets the player's secret. Player secrets are used to sign API requests. + * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret */ SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the currently published revision of a title Cloud Script - / https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision + * Sets the currently published revision of a title Cloud Script + * https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision */ SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/SetPublisherData + * Updates the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Admin/method/SetPublisherData */ SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets all the items in one virtual store - / https://api.playfab.com/Documentation/Admin/method/SetStoreItems + * Sets all the items in one virtual store + * https://api.playfab.com/Documentation/Admin/method/SetStoreItems */ SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the key-value store of custom title settings which can be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleData + * Creates and updates the key-value store of custom title settings which can be read by the client + * https://api.playfab.com/Documentation/Admin/method/SetTitleData */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings which cannot be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + * Updates the key-value store of custom title settings which cannot be read by the client + * https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. - / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can + * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device + * Messaging is not supported. + * https://api.playfab.com/Documentation/Admin/method/SetupPushNotification */ SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + * Decrements the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Admin/method/UpdateBans + * Updates information of a list of existing bans specified with Ban Ids. + * https://api.playfab.com/Documentation/Admin/method/UpdateBans */ UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the catalog configuration for virtual goods in the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + * Updates the catalog configuration for virtual goods in the specified catalog version + * https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems */ UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. - / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + * Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be + * submitted in the revision. + * https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + * 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. + * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret */ UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + * Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. + * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition */ UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Changes a policy for a title - / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + * Changes a policy for a title + * https://api.playfab.com/Documentation/Admin/method/UpdatePolicy */ UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + * Updates the random drop table configuration for the title + * https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables */ UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates an existing virtual item store with new or modified items - / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + * Updates an existing virtual item store with new or modified items + * https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems */ UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update an existing task. - / https://api.playfab.com/Documentation/Admin/method/UpdateTask + * Update an existing task. + * https://api.playfab.com/Documentation/Admin/method/UpdateTask */ UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserData + * Updates the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserData */ UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + * Updates the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData */ UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + * Updates the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData */ UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + * Updates the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData */ UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + * Updates the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData */ UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + * Updates the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData */ UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for a user - / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + * Updates the title specific display name for a user + * https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -492,623 +507,405 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / ID of a task instance that is being aborted. - */ + /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { - /** - / ID of the action to perform on each player in segment. - */ + /** ID of the action to perform on each player in segment. */ ActionId: string; - /** - / ID of the segment to perform actions on. - */ + /** ID of the segment to perform actions on. */ SegmentId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { - /** - / UTC timestamp when the task completed. - */ + /** UTC timestamp when the task completed. */ CompletedAt?: string; - /** - / Error message for last processing attempt, if an error occured. - */ + /** Error message for last processing attempt, if an error occured. */ ErrorMessage?: string; - /** - / Flag indicating if the error was fatal, if false job will be retried. - */ + /** Flag indicating if the error was fatal, if false job will be retried. */ ErrorWasFatal?: boolean; - /** - / Estimated time remaining in seconds. - */ + /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; - /** - / Progress represented as percentage. - */ + /** Progress represented as percentage. */ PercentComplete?: number; - /** - / If manually scheduled, ID of user who scheduled the task. - */ + /** If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; - /** - / UTC timestamp when the task started. - */ + /** UTC timestamp when the task started. */ StartedAt: string; - /** - / Current status of the task instance. - */ + /** Current status of the task instance. */ Status?: string; - /** - / Identifier of the task this instance belongs to. - */ + /** Identifier of the task this instance belongs to. */ TaskIdentifier?: NameIdentifier; - /** - / ID of the task instance. - */ + /** ID of the task instance. */ TaskInstanceId?: string; - /** - / Total players in segment when task was started. - */ + /** Total players in segment when task was started. */ TotalPlayersInSegment?: number; - /** - / Total number of players that have had the actions applied to. - */ + /** Total number of players that have had the actions applied to. */ TotalPlayersProcessed?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Body text of the news - */ + /** Body text of the news */ Body: string; - /** - / Time this news was published. If not set, defaults to now. - */ + /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; - /** - / Title (headline) of the news item - */ + /** Title (headline) of the news item */ Title: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique id of the new news item - */ + /** Unique id of the new news item */ NewsId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / server host regions in which this build should be running and available - */ + /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; - /** - / unique identifier for the build executable - */ + /** unique identifier for the build executable */ BuildId: string; - /** - / appended to the end of the command line when starting game servers - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions where this build can used, when it is active - */ + /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; - /** - / unique identifier for this build executable - */ + /** unique identifier for this build executable */ BuildId?: string; - /** - / appended to the end of the command line when starting game servers - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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 - */ + /** 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) - */ + /** 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. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). + * Any increase over this value will be discarded. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be increased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) to the title + * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) + * to the title */ VirtualCurrencies: VirtualCurrencyData[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { - /** - / Require that API calls contain an RSA encrypted payload or signed headers. - */ + /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ + /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; - /** - / The unique Ban Id associated with this ban. - */ + /** The unique Ban Id associated with this ban. */ BanId?: string; - /** - / The time when this ban was applied. - */ + /** The time when this ban was applied. */ Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. - */ + /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** - / The IP address on which the ban was applied. May affect multiple players. - */ + /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** - / The MAC address on which the ban was applied. May affect multiple players. - */ + /** The MAC address on which the ban was applied. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / The reason why this ban was applied. - */ + /** The reason why this ban was applied. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The duration in hours for the ban. Leave this blank for a permanent ban. - */ + /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** - / IP address to be banned. May affect multiple players. - */ + /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** - / MAC address to be banned. May affect multiple players. - */ + /** MAC address to be banned. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The reason for this ban. Maximum 140 characters. - */ + /** The reason for this ban. Maximum 140 characters. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of ban requests to be applied. Maximum 100. - */ + /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were applied - */ + /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables + * and virtual currencies */ Bundle?: CatalogItemBundleInfo; - /** - / if true, then an item instance of this type can be used to grant a character to a user. - */ + /** if true, then an item instance of this type can be used to grant a character to a user. */ CanBecomeCharacter: boolean; - /** - / catalog version for this item - */ + /** catalog version for this item */ CatalogVersion?: string; - /** - / defines the consumable properties (number of uses, timeout) for the item - */ + /** defines the consumable properties (number of uses, timeout) for the item */ Consumable?: CatalogItemConsumableInfo; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + * defines the container properties for the item - what items it contains, including random drop tables and virtual + * currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ Container?: CatalogItemContainerInfo; - /** - / game specific custom data - */ + /** game specific custom data */ CustomData?: string; - /** - / text description of item, to show in-game - */ + /** text description of item, to show in-game */ Description?: string; - /** - / text name for the item, to show in-game - */ + /** text name for the item, to show in-game */ DisplayName?: string; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + * If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited + * edition item, this value determines the total number of instances to allocate for the title. Once this limit has been + * reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of + * false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less + * than zero, it will be ignored. */ InitialLimitedEditionCount: number; - /** - / BETA: If true, then only a fixed number can ever be granted. - */ + /** BETA: If true, then only a fixed number can ever be granted. */ IsLimitedEdition: boolean; /** - / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + * if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. + * RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ IsStackable: boolean; - /** - / if true, then an item instance of this type can be traded between players using the trading APIs - */ + /** if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; - /** - / class to which the item belongs - */ + /** class to which the item belongs */ ItemClass?: string; - /** - / unique identifier for this item - */ + /** unique identifier for this item */ ItemId: string; /** - / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + * URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP + * URL. */ ItemImageUrl?: string; - /** - / override prices for this item for specific currencies - */ + /** override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / list of item tags - */ + /** list of item tags */ Tags?: string[]; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { - /** - / unique ItemId values for all items which will be added to the player inventory when the bundle is added - */ + /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; /** - / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + * unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and + * add the relevant items to the player inventory when the bundle is added) */ BundledResultTables?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the bundle is added - */ + /** virtual currency types and balances which will be added to the player inventory when the bundle is added */ BundledVirtualCurrencies?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { - /** - / number of times this object can be used, after which it will be removed from the player inventory - */ + /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; /** - / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + * duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed + * (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on + * this item's details have completed) */ UsagePeriod?: number; /** - / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + * all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values + * added together, and share the result - when that period has elapsed, all the items in the group will be removed */ UsagePeriodGroup?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked - */ + /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + * ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will + * open the container, adding the contents to the player inventory and currency balances) */ KeyItemId?: string; /** - / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + * unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables + * will be resolved and add the relevant items to the player inventory) */ ResultTableContents?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the container is unlocked - */ + /** virtual currency types and balances which will be added to the player inventory when the container is unlocked */ VirtualCurrencyContents?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { - /** - / Contents of the Cloud Script javascript. Must be string-escaped javascript. - */ + /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; /** - / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. + * Name of the javascript file. These names are not used internally by the server, they are only for developer + * organizational purposes. */ Filename: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { - /** - / Argument to pass to the CloudScript function. - */ + /** Argument to pass to the CloudScript function. */ Argument?: any; - /** - / Name of the CloudScript function to execute. - */ + /** Name of the CloudScript function to execute. */ FunctionName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { - /** - / UTC timestamp when the task completed. - */ + /** UTC timestamp when the task completed. */ CompletedAt?: string; - /** - / Estimated time remaining in seconds. - */ + /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; - /** - / Progress represented as percentage. - */ + /** Progress represented as percentage. */ PercentComplete?: number; - /** - / Result of CloudScript execution - */ + /** Result of CloudScript execution */ Result?: ExecuteCloudScriptResult; - /** - / If manually scheduled, ID of user who scheduled the task. - */ + /** If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; - /** - / UTC timestamp when the task started. - */ + /** UTC timestamp when the task started. */ StartedAt: string; - /** - / Current status of the task instance. - */ + /** Current status of the task instance. */ Status?: string; - /** - / Identifier of the task this instance belongs to. - */ + /** Identifier of the task this instance belongs to. */ TaskIdentifier?: NameIdentifier; - /** - / ID of the task instance. - */ + /** ID of the task instance. */ TaskInstanceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { - /** - / Most recent revision for this Cloud Script version - */ + /** Most recent revision for this Cloud Script version */ LatestRevision: number; - /** - / Published code revision for this Cloud Script version - */ + /** Published code revision for this Cloud Script version */ PublishedRevision: number; - /** - / Version number - */ + /** Version number */ Version: number; } @@ -1117,55 +914,35 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; - /** - / The verification status of the email - */ + /** The verification status of the email */ VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { - /** - / Key of the content - */ + /** Key of the content */ Key?: string; - /** - / Last modified time - */ + /** Last modified time */ LastModified: string; - /** - / Size of the content in bytes - */ + /** Size of the content in bytes */ Size: number; } @@ -1428,119 +1205,71 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / Task details related to segment and action - */ + /** Task details related to segment and action */ Parameter: ActionsOnPlayersInSegmentTaskParameter; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / Task details related to CloudScript - */ + /** Task details related to CloudScript */ Parameter: CloudScriptTaskParameter; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Friendly name for this key - */ + /** Friendly name for this key */ FriendlyName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The player shared secret to use when calling Client/GetTitlePublicKey - */ + /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ + /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) - */ + /** interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) */ VersionChangeInterval?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / created statistic definition - */ + /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { - /** - / ID of the task - */ + /** ID of the task */ TaskId?: string; } @@ -1708,104 +1437,81 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to be deleted - */ + /** Key of the content item to be deleted */ Key: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The shared secret key to delete - */ + /** The shared secret key to delete */ SecretKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version of the store to delete. If null, uses the default catalog. - */ + /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; - /** - / unqiue identifier for the store which is to be deleted - */ + /** unqiue identifier for the store which is to be deleted */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specify either the task ID or the name of task to be deleted. - */ + /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest - */ - export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabIds: 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; + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ + export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ + export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ + export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabIds: 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; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1817,58 +1523,46 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Number of PlayFab API requests issued by the CloudScript function - */ + /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution - */ + /** Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; ExecutionTimeSeconds: number; - /** - / The name of the function that executed - */ + /** The name of the function that executed */ FunctionName?: string; - /** - / The object returned from the CloudScript function, if any - */ + /** The object returned from the CloudScript function, if any */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; - /** - / Number of external HTTP requests issued by the CloudScript function - */ + /** Number of external HTTP requests issued by the CloudScript function */ HttpRequestsIssued: number; /** - / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; MemoryConsumedBytes: number; /** - / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. */ ProcessorTimeSeconds: number; - /** - / The revision of the CloudScript that executed - */ + /** The revision of the CloudScript that executed */ Revision: number; } @@ -1879,1204 +1573,761 @@ declare module PlayFabAdminModels { | "Processing" | "FailedToProcess"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { - /** - / specific game mode type - */ + /** specific game mode type */ Gamemode: string; - /** - / maximum user count a specific Game Server Instance can support - */ + /** 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) - */ + /** 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) - */ + /** whether to start as an open session, meaning that players can matchmake into it (defaults to true) */ StartOpen?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Parameter of this task instance - */ + /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; - /** - / Status summary of the actions-on-players-in-segment task instance - */ + /** Status summary of the actions-on-players-in-segment task instance */ Summary?: ActionsOnPlayersInSegmentTaskSummary; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments for this title. - */ + /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Which catalog is being requested. If null, uses the default catalog. - */ + /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items which can be purchased. - */ + /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Revision number. If left null, defaults to the latest revision - */ + /** Revision number. If left null, defaults to the latest revision */ Revision?: number; - /** - / Version number. If left null, defaults to the latest version - */ + /** Version number. If left null, defaults to the latest version */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Time this revision was created - */ + /** Time this revision was created */ CreatedAt: string; - /** - / List of Cloud Script files in this revision. - */ + /** List of Cloud Script files in this revision. */ Files?: CloudScriptFile[]; - /** - / True if this is the currently published revision - */ + /** True if this is the currently published revision */ IsPublished: boolean; - /** - / Revision number. - */ + /** Revision number. */ Revision: number; - /** - / Version number. - */ + /** Version number. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Parameter of this task instance - */ + /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; - /** - / Status summary of the CloudScript task instance - */ + /** Status summary of the CloudScript task instance */ Summary?: CloudScriptTaskSummary; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of versions - */ + /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, or for a specified version, etc. + * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, + * or for a specified version, etc. */ Prefix?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of content items. - */ + /** List of content items. */ Contents?: ContentInfo[]; - /** - / Number of content items returned. We currently have a maximum of 1000 items limit. - */ + /** Number of content items returned. We currently have a maximum of 1000 items limit. */ ItemCount: number; - /** - / The total size of listed contents in bytes. - */ + /** The total size of listed contents in bytes. */ TotalSize: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. + * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when + * uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. */ ContentType?: string; - /** - / Key of the content item to upload, usually formatted as a path, e.g. images/a.png - */ + /** Key of the content item to upload, usually formatted as a path, e.g. images/a.png */ Key: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** - / URL for uploading content via HTTP PUT method. The URL will expire in 1 hour. - */ + /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Reporting year (UTC) - */ + /** Reporting year (UTC) */ Day: number; - /** - / Reporting month (UTC) - */ + /** Reporting month (UTC) */ Month: number; - /** - / Report name - */ + /** Report name */ ReportName: string; - /** - / Reporting year (UTC) - */ + /** Reporting year (UTC) */ Year: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The URL where the requested report can be downloaded. - */ + /** The URL where the requested report can be downloaded. */ DownloadUrl?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the lobby for which info is being requested - */ + /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version identifier of the game server executable binary being run - */ + /** version identifier of the game server executable binary being run */ BuildVersion?: string; - /** - / time when Game Server Instance is currently scheduled to end - */ + /** time when Game Server Instance is currently scheduled to end */ EndTime?: string; - /** - / unique identifier of the lobby - */ + /** unique identifier of the lobby */ LobbyId?: string; - /** - / game mode for this Game Server Instance - */ + /** game mode for this Game Server Instance */ Mode?: string; - /** - / array of unique PlayFab identifiers for users currently connected to this Game Server Instance - */ + /** 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 in which the Game Server Instance is running */ Region?: string; - /** - / IP address for this Game Server Instance - */ + /** IP address for this Game Server Instance */ ServerAddress?: string; - /** - / communication port for this Game Server Instance - */ + /** communication port for this Game Server Instance */ ServerPort: number; - /** - / time when the Game Server Instance was created - */ + /** time when the Game Server Instance was created */ StartTime: string; - /** - / unique identifier of the Game Server Instance for this lobby - */ + /** unique identifier of the Game Server Instance for this lobby */ TitleId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / previously uploaded build version for which game modes are being requested - */ + /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of game modes available for the specified build - */ + /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** - / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments the requested player currently belongs to. - */ + /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The player shared secret to use when calling Client/GetTitlePublicKey - */ + /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Continuation token if retrieving subsequent pages of results. - */ + /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; - /** - / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. - */ + /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ 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). + * 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. - */ + /** Unique identifier for this segment. */ SegmentId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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. - */ + /** 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. - */ + /** Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; - /** - / Count of profiles matching this segment. - */ + /** Count of profiles matching this segment. */ ProfilesInSegment: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / the player statistic definitions for the title - */ + /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional namespace to filter results by - */ + /** Optional namespace to filter results by */ Namespace?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Canonical tags (including namespace and tag's name) for the requested user - */ + /** Canonical tags (including namespace and tag's name) for the requested user */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ 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 supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The name of the policy read. - */ + /** The name of the policy read. */ PolicyName?: string; - /** - / The statements in the requested policy. - */ + /** The statements in the requested policy. */ Statements?: PermissionStatement[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of keys to get back data from the Publisher data blob, set by the admin tools - */ + /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version to fetch tables from. Use default catalog version if null - */ + /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of random result tables currently available - */ + /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Identifier of the segments AB Test, if it is attached to one. - */ + /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; - /** - / Unique identifier for this segment. - */ + /** Unique identifier for this segment. */ Id: string; - /** - / Segment name. - */ + /** Segment name. */ Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the previously uploaded build executable for which information is being requested - */ + /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions where this build can used, when it is active - */ + /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; - /** - / unique identifier for this build executable - */ + /** unique identifier for this build executable */ BuildId?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / error message, if any, about this build - */ + /** error message, if any, about this build */ ErrorMessage?: string; - /** - / maximum number of game server instances that can run on a single host machine - */ + /** 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) + * 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 - */ + /** 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) - */ + /** 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. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the game server build to upload - */ + /** unique identifier of the game server build to upload */ BuildId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { - /** - / pre-authorized URL for uploading the game server build package - */ + /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version to store items from. Use default catalog version if null - */ + /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; - /** - / Unqiue identifier for the store which is being requested. - */ + /** Unqiue identifier for the store which is being requested. */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The base catalog that this store is a part of. - */ + /** The base catalog that this store is a part of. */ CatalogVersion?: string; - /** - / Additional data about the store. - */ + /** Additional data about the store. */ MarketingData?: StoreMarketingModel; - /** - / How the store was last updated (Admin or a third party). - */ + /** How the store was last updated (Admin or a third party). */ Source?: string; - /** - / Array of items which can be purchased from this store. - */ + /** Array of items which can be purchased from this store. */ Store?: StoreItem[]; - /** - / The ID of this store. - */ + /** The ID of this store. */ StoreId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / ID of the requested task instance. - */ + /** ID of the requested task instance. */ TaskInstanceId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional range-from filter for task instances' StartedAt timestamp. - */ + /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; - /** - / Optional range-to filter for task instances' StartedAt timestamp. - */ + /** Optional range-to filter for task instances' StartedAt timestamp. */ StartedAtRangeTo?: string; - /** - / Optional filter for task instances that are of a specific status. - */ + /** Optional filter for task instances that are of a specific status. */ StatusFilter?: string; /** - / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. + * Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy + * conditions set by other filters. */ TaskIdentifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** - / Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get detailed status summary, use Get*TaskInstance API according to task type (e.g. GetActionsOnPlayersInSegmentTaskInstance). + * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get + * detailed status summary, use Get*TaskInstance API according to task type (e.g. + * GetActionsOnPlayersInSegmentTaskInstance). */ Summaries?: TaskInstanceBasicSummary[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. - */ + /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Result tasks. Empty if there is no task found. - */ + /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific keys to search for in the title data (leave null to get all keys) - */ + /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information about the bans - */ + /** Information about the bans */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; - /** - / PlayFab unique identifier of the user whose custom data is being returned. - */ + /** PlayFab unique identifier of the user whose custom data is being returned. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items belonging to the user. - */ + /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Result of this operation. - */ + /** Result of this operation. */ Result: boolean; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Array of items to grant and the users to whom the items are to be granted. - */ + /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; - /** - / Unique identifier of the catalog item to be granted to the user. - */ + /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { - /** - / Linked account email of the user on the platform, if available - */ + /** Linked account email of the user on the platform, if available */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Unique account identifier of the user on the platform - */ + /** Unique account identifier of the user on the platform */ PlatformUserId?: string; - /** - / Linked account username of the user on the platform, if available - */ + /** Linked account username of the user on the platform, if available */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of uploaded game server builds - */ + /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of virtual currency names defined for this title - */ + /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { - /** - / City name. - */ + /** City name. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / Latitude coordinate of the geographic location. - */ + /** Latitude coordinate of the geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the geographic location. - */ + /** Longitude coordinate of the geographic location. */ Longitude?: number; } @@ -3096,630 +2347,367 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { - /** - / Optional object accompanying the message as contextual information - */ + /** Optional object accompanying the message as contextual information */ Data?: any; - /** - / 'Debug', 'Info', or 'Error' - */ + /** 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Title specific username to match against existing user accounts - */ + /** Title specific username to match against existing user accounts */ TitleDisplayName?: string; - /** - / PlayFab username for the account (3-20 characters) - */ + /** PlayFab username for the account (3-20 characters) */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User info for the user matching the request - */ + /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { - /** - / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. - */ + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; - /** - / The time this membership expires - */ + /** The time this membership expires */ MembershipExpiration: string; - /** - / The id of the membership - */ + /** The id of the membership */ MembershipId?: string; /** - / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. */ OverrideExpiration?: string; - /** - / The list of subscriptions that this player has for this membership - */ + /** The list of subscriptions that this player has for this membership */ Subscriptions?: SubscriptionModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / previously uploaded build version for which game modes are being specified - */ + /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; - /** - / array of game modes (Note: this will replace all game modes for the indicated build version) - */ + /** array of game modes (Note: this will replace all game modes for the indicated build version) */ GameModes: GameModeInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of regions where this build can used, when it is active - */ + /** 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 - */ + /** 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 - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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 - */ + /** new timestamp */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions where this build can used, when it is active - */ + /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; - /** - / unique identifier for this build executable - */ + /** unique identifier for this build executable */ BuildId?: string; - /** - / appended to the end of the command line when starting game servers - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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 - */ + /** 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) - */ + /** 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. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase + * over this value will be discarded. */ BalanceChange: number; - /** - / User currency was subtracted from. - */ + /** User currency was subtracted from. */ PlayFabId?: string; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { - /** - / The action this statement effects. The only supported action is 'Execute'. - */ + /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; - /** - / Additional conditions to be applied for API Resources. - */ + /** Additional conditions to be applied for API Resources. */ ApiConditions?: ApiCondition; - /** - / A comment about the statement. Intended solely for bookeeping and debugging. - */ + /** 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 - */ + /** 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. The only supported principal is '*'. */ Principal: string; /** - / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. + * The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or + * 'pfrn:api--/Client/ConfirmPurchase' for specific apis. */ Resource: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { - /** - / Linked account's email - */ + /** Linked account's email */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Platform user identifier - */ + /** Platform user identifier */ PlatformUserId?: string; - /** - / Linked account's username - */ + /** Linked account's username */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { - /** - / City of the player's geographic location. - */ + /** City of the player's geographic location. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** 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 coordinate of the player's geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the player's geographic location. - */ + /** Longitude coordinate of the player's geographic location. */ Longitude?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { - /** - / Array of ad campaigns player has been attributed to - */ + /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; - /** - / Image URL of the player's avatar. - */ + /** 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. - */ + /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; - /** - / Array of contact email addresses associated with the player - */ + /** Array of contact email addresses associated with the player */ ContactEmailAddresses?: ContactEmailInfo[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player Display Name - */ + /** Player Display Name */ DisplayName?: string; - /** - / Last login - */ + /** Last login */ LastLogin?: string; - /** - / Array of third party accounts linked to this player - */ + /** Array of third party accounts linked to this player */ LinkedAccounts?: PlayerLinkedAccount[]; - /** - / Dictionary of player's locations by type. - */ + /** Dictionary of player's locations by type. */ Locations?: { [key: string]: PlayerLocation }; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab Player ID - */ + /** PlayFab Player ID */ PlayerId?: string; - /** - / Array of player statistics - */ + /** Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / Array of configured push notification end points - */ + /** Array of configured push notification end points */ PushNotificationRegistrations?: PushNotificationRegistration[]; - /** - / Dictionary of player's statistics using only the latest version's value - */ + /** Dictionary of player's statistics using only the latest version's value */ Statistics?: { [key: string]: number }; - /** - / List of player's tags for segmentation. - */ + /** List of player's tags for segmentation. */ Tags?: string[]; - /** - / Title ID this profile applies to - */ + /** Title ID this profile applies to */ TitleId?: string; - /** - / A sum of player's total purchases in USD across all currencies. - */ + /** A sum of player's total purchases in USD across all currencies. */ TotalValueToDateInUSD?: number; - /** - / Dictionary of player's total purchases by currency. - */ + /** Dictionary of player's total purchases by currency. */ ValuesToDate?: { [key: string]: number }; - /** - / Dictionary of player's virtual currency balances - */ + /** Dictionary of player's virtual currency balances */ VirtualCurrencyBalances?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { - /** - / List of advertising campaigns the player has been attributed to - */ + /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; - /** - / URL of the player's avatar image - */ + /** URL of the player's avatar image */ AvatarUrl?: string; - /** - / If the player is currently banned, the UTC Date when the ban expires - */ + /** If the player is currently banned, the UTC Date when the ban expires */ BannedUntil?: string; - /** - / List of all contact email info associated with the player account - */ + /** List of all contact email info associated with the player account */ ContactEmailAddresses?: ContactEmailInfoModel[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player display name - */ + /** Player display name */ DisplayName?: string; - /** - / UTC time when the player most recently logged in to the title - */ + /** UTC time when the player most recently logged in to the title */ LastLogin?: string; - /** - / List of all authentication systems linked to this player account - */ + /** List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; - /** - / List of geographic locations from which the player has logged in to the title - */ + /** List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; - /** - / List of memberships for the player, along with whether are expired. - */ + /** List of memberships for the player, along with whether are expired. */ Memberships?: MembershipModel[]; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab player account unique identifier - */ + /** PlayFab player account unique identifier */ PlayerId?: string; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / List of configured end points registered for sending the player push notifications - */ + /** List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; - /** - / List of leaderboard statistic values for the player - */ + /** List of leaderboard statistic values for the player */ Statistics?: StatisticModel[]; - /** - / List of player's tags for segmentation - */ + /** List of player's tags for segmentation */ Tags?: TagModel[]; - /** - / Title ID this player profile applies to - */ + /** Title ID this player profile applies to */ TitleId?: string; /** - / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; - /** - / List of the player's lifetime purchase totals, summed by real-money currency - */ + /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** - / List of the player's virtual currency balances - */ + /** List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { - /** - / Whether to show player's avatar URL. Defaults to false - */ + /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; - /** - / Whether to show the banned until time. Defaults to false - */ + /** Whether to show the banned until time. Defaults to false */ ShowBannedUntil: boolean; - /** - / Whether to show campaign attributions. Defaults to false - */ + /** Whether to show campaign attributions. Defaults to false */ ShowCampaignAttributions: boolean; - /** - / Whether to show contact email addresses. Defaults to false - */ + /** Whether to show contact email addresses. Defaults to false */ ShowContactEmailAddresses: boolean; - /** - / Whether to show the created date. Defaults to false - */ + /** Whether to show the created date. Defaults to false */ ShowCreated: boolean; - /** - / Whether to show the display name. Defaults to false - */ + /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; - /** - / Whether to show the last login time. Defaults to false - */ + /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; - /** - / Whether to show the linked accounts. Defaults to false - */ + /** Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; - /** - / Whether to show player's locations. Defaults to false - */ + /** Whether to show player's locations. Defaults to false */ ShowLocations: boolean; - /** - / Whether to show player's membership information. Defaults to false - */ + /** Whether to show player's membership information. Defaults to false */ ShowMemberships: boolean; - /** - / Whether to show origination. Defaults to false - */ + /** Whether to show origination. Defaults to false */ ShowOrigination: boolean; - /** - / Whether to show push notification registrations. Defaults to false - */ + /** Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; - /** - / Reserved for future development - */ + /** Reserved for future development */ ShowStatistics: boolean; - /** - / Whether to show tags. Defaults to false - */ + /** Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the total value to date in usd. Defaults to false - */ + /** Whether to show the total value to date in usd. Defaults to false */ ShowTotalValueToDateInUsd: boolean; - /** - / Whether to show the values to date. Defaults to false - */ + /** Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { - /** - / Statistic ID - */ + /** Statistic ID */ Id?: string; - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Current statistic value - */ + /** Current statistic value */ StatisticValue: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ StatisticVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ + /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; - /** - / current active version of the statistic, incremented each time the statistic resets - */ + /** current active version of the statistic, incremented each time the statistic resets */ CurrentVersion: number; - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; - /** - / interval at which the values of the statistic for all players are reset automatically - */ + /** interval at which the values of the statistic for all players are reset automatically */ VersionChangeInterval?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { - /** - / time when the statistic version became active - */ + /** time when the statistic version became active */ ActivationTime: string; - /** - / URL for the downloadable archive of player statistic values, if available - */ + /** URL for the downloadable archive of player statistic values, if available */ ArchiveDownloadUrl?: string; - /** - / time when the statistic version became inactive due to statistic version incrementing - */ + /** time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; - /** - / name of the statistic when the version became active - */ + /** name of the statistic when the version became active */ StatisticName?: string; - /** - / status of the statistic version - */ + /** status of the statistic version */ Status?: string; - /** - / version of the statistic - */ + /** version of the statistic */ Version: number; } @@ -3727,32 +2715,20 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } @@ -3761,66 +2737,43 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { - /** - / Child nodes that indicate what kind of drop table item this actually is. - */ + /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; - /** - / Unique name for this drop table - */ + /** Unique name for this drop table */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { - /** - / Catalog version this table is associated with - */ + /** Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Child nodes that indicate what kind of drop table item this actually is. - */ + /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; - /** - / Unique name for this drop table - */ + /** Unique name for this drop table */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique order ID for the purchase in question. - */ + /** Unique order ID for the purchase in question. */ OrderId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The order's updated purchase status. - */ + /** The order's updated purchase status. */ PurchaseStatus?: string; } @@ -3833,104 +2786,61 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the previously uploaded build executable to be removed - */ + /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of virtual currencies to delete - */ + /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUsersRequest - */ - export interface ResetUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of users to reset - */ - Users: UserCredentials[]; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3939,55 +2849,39 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique order ID for the purchase in question. - */ + /** Unique order ID for the purchase in question. */ OrderId: string; /** - / Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and Manual. Manual will cause no change to the order state. + * Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and + * Manual. Manual will cause no change to the order state. */ Outcome: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The order's updated purchase status. - */ + /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Either an ItemId, or the TableId of another random result table - */ + /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; - /** - / Whether this entry in the table is an item or a link to another table - */ + /** Whether this entry in the table is an item or a link to another table */ ResultItemType: string; - /** - / How likely this is to be rolled - larger numbers add more weight - */ + /** How likely this is to be rolled - larger numbers add more weight */ Weight: number; } @@ -3995,137 +2889,89 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked. - */ + /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Ids of the bans to be revoked. Maximum 100. - */ + /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked - */ + /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Provide either the task ID or the task name to run a task. - */ + /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** - / ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call to retrieve status for the task instance. + * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call + * to retrieve status for the task instance. */ TaskInstanceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / UTC time of last run - */ + /** UTC time of last run */ LastRunTime?: string; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / UTC time of next run - */ + /** UTC time of next run */ NextRunTime?: string; /** - / Task parameter. Different types of task have different parameter structure. See each task type's create API documentation for the details. + * Task parameter. Different types of task have different parameter structure. See each task type's create API + * documentation for the details. */ Parameter?: any; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; - /** - / ID of the task - */ + /** ID of the task */ TaskId?: string; - /** - / Task type. - */ + /** Task type. */ Type?: string; } @@ -4133,184 +2979,132 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** - / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError */ Error?: string; - /** - / Details about the error - */ + /** Details about the error */ Message?: string; - /** - / Point during the execution of the script at which the error occurred, if any - */ + /** Point during the execution of the script at which the error occurred, if any */ StackTrace?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ 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 (Enterprise Only). */ PlayerSecret: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Revision to make the current published revision - */ + /** Revision to make the current published revision */ Revision: number; - /** - / Version number - */ + /** Version number */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM - */ + /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; - /** - / for APNS, this is the PlatformPrincipal (SSL Certificate) - */ + /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; /** - / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII + * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) */ Name: string; /** - / replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if notifications have already setup for this platform. + * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if + * notifications have already setup for this platform. */ OverwriteOldARN: boolean; /** - / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + * supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud + * Messaging (GCM) for Android */ Platform: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Amazon Resource Name for the created notification topic. - */ + /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { - /** - / Flag to indicate if this key is disabled - */ + /** Flag to indicate if this key is disabled */ Disabled: boolean; - /** - / Friendly name for this key - */ + /** Friendly name for this key */ FriendlyName?: string; - /** - / The player shared secret to use when calling Client/GetTitlePublicKey - */ + /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } @@ -4326,21 +3120,13 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Statistic value - */ + /** Statistic value */ Value: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ Version: number; } @@ -4363,83 +3149,50 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem - */ - export interface StoreItem { - /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ + export interface StoreItem { + /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; - /** - / Intended display position for this item. Note that 0 is the first position - */ + /** Intended display position for this item. Note that 0 is the first position */ DisplayPosition?: number; /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + * Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the + * catalog */ ItemId: string; - /** - / Override prices for this item for specific currencies - */ + /** Override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Tagline for a store. - */ + /** Tagline for a store. */ Description?: string; - /** - / Display name of a store as it will appear to users. - */ + /** Display name of a store as it will appear to users. */ DisplayName?: string; - /** - / Custom data about a store. - */ + /** Custom data about a store. */ Metadata?: any; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { - /** - / When this subscription expires. - */ + /** When this subscription expires. */ Expiration: string; - /** - / The time the subscription was orignially purchased - */ + /** The time the subscription was orignially purchased */ InitialSubscriptionTime: string; - /** - / Whether this subscription is currently active. That is, if Expiration > now. - */ + /** Whether this subscription is currently active. That is, if Expiration > now. */ IsActive: boolean; - /** - / The status of this subscription, according to the subscription provider. - */ + /** The status of this subscription, according to the subscription provider. */ Status?: string; - /** - / The id for this subscription - */ + /** The id for this subscription */ SubscriptionId?: string; - /** - / The item id for this subscription from the primary catalog - */ + /** The item id for this subscription from the primary catalog */ SubscriptionItemId?: string; - /** - / The provider for this subscription. Apple or Google Play are supported today. - */ + /** The provider for this subscription. Apple or Google Play are supported today. */ SubscriptionProvider?: string; } @@ -4453,75 +3206,43 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { - /** - / Full value of the tag, including namespace - */ + /** Full value of the tag, including namespace */ TagValue?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { - /** - / UTC timestamp when the task completed. - */ + /** UTC timestamp when the task completed. */ CompletedAt?: string; - /** - / Estimated time remaining in seconds. - */ + /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; - /** - / Progress represented as percentage. - */ + /** Progress represented as percentage. */ PercentComplete?: number; - /** - / If manually scheduled, ID of user who scheduled the task. - */ + /** If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; - /** - / UTC timestamp when the task started. - */ + /** UTC timestamp when the task started. */ StartedAt: string; - /** - / Current status of the task instance. - */ + /** Current status of the task instance. */ Status?: string; - /** - / Identifier of the task this instance belongs to. - */ + /** Identifier of the task this instance belongs to. */ TaskIdentifier?: NameIdentifier; - /** - / ID of the task instance. - */ + /** ID of the task instance. */ TaskInstanceId?: string; - /** - / Type of the task. - */ + /** Type of the task. */ Type?: string; } @@ -4539,479 +3260,301 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The updated active state for the ban. Null for no change. - */ + /** The updated active state for the ban. Null for no change. */ Active?: boolean; - /** - / The id of the ban to be updated. - */ + /** The id of the ban to be updated. */ BanId: string; - /** - / The updated expiration date for the ban. Null for no change. - */ + /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** - / The updated IP address for the ban. Null for no change. - */ + /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** - / The updated MAC address for the ban. Null for no change. - */ + /** The updated MAC address for the ban. Null for no change. */ MACAddress?: string; - /** - / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. - */ + /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; - /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. - */ + /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of bans to be updated. Maximum 100. - */ + /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were updated - */ + /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. + * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not + * required and ignored in this call. */ Catalog?: CatalogItem[]; - /** - / Which catalog is being updated. If null, uses the default catalog. - */ + /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; /** - / Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will always set it. + * Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will + * always set it. */ SetAsDefaultCatalog?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab user ID of the developer initiating the request. - */ + /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; - /** - / List of Cloud Script files to upload to create the new revision. Must have at least one file. - */ + /** List of Cloud Script files to upload to create the new revision. Must have at least one file. */ Files: CloudScriptFile[]; - /** - / Immediately publish the new revision - */ + /** Immediately publish the new revision */ Publish: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / New revision number created - */ + /** New revision number created */ Revision: number; - /** - / Cloud Script version updated - */ + /** Cloud Script version updated */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Disable or Enable this key - */ + /** Disable or Enable this key */ Disabled: boolean; - /** - / Friendly name for this key - */ + /** Friendly name for this key */ FriendlyName?: string; - /** - / The shared secret key to update - */ + /** The shared secret key to update */ SecretKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ + /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; /** - / interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of the new interval boundary) + * interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of + * the new interval boundary) */ VersionChangeInterval?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / updated statistic definition - */ + /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Whether to overwrite or append to the existing policy. - */ + /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; - /** - / The name of the policy being updated. Only supported name is 'ApiPolicy' - */ + /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ PolicyName: string; - /** - / The new statements to include in the policy. - */ + /** The new statements to include in the policy. */ Statements: PermissionStatement[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The name of the policy that was updated. - */ + /** The name of the policy that was updated. */ PolicyName?: string; - /** - / The statements included in the new version of the policy. - */ + /** The statements included in the new version of the policy. */ Statements?: PermissionStatement[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / which catalog is being updated. If null, update the current default catalog version - */ + /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; /** - / array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that table, while any others will be added to the available set) + * array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that + * table, while any others will be added to the available set) */ Tables?: RandomResultTable[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version of the store to update. If null, uses the default catalog. - */ + /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; - /** - / Additional data about the store - */ + /** Additional data about the store */ MarketingData?: StoreMarketingModel; - /** - / Array of store items - references to catalog items, with specific pricing - to be added - */ + /** Array of store items - references to catalog items, with specific pricing - to be added */ Store?: StoreItem[]; - /** - / Unique identifier for the store which is to be updated - */ + /** Unique identifier for the store which is to be updated */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Specify either the task ID or the name of the task to be updated. - */ + /** Specify either the task ID or the name of the task to be updated. */ Identifier?: NameIdentifier; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / Parameter object specific to the task type. See each task type's create API documentation for details. - */ + /** Parameter object specific to the task type. See each task type's create API documentation for details. */ Parameter?: any; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; - /** - / Task type. - */ + /** Task type. */ Type: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / New title display name for the user - must be between 3 and 25 characters - */ + /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; - /** - / PlayFab unique identifier of the user whose title specific display name is to be changed - */ + /** PlayFab unique identifier of the user whose title specific display name is to be changed */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { - /** - / current title display name for the user (this will be the original display name if the rename attempt failed) - */ + /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { - /** - / User Android device information, if an Android device has been linked - */ + /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; - /** - / Timestamp indicating when the user account was created - */ + /** Timestamp indicating when the user account was created */ Created: string; - /** - / Custom ID information, if a custom ID has been assigned - */ + /** Custom ID information, if a custom ID has been assigned */ CustomIdInfo?: UserCustomIdInfo; - /** - / User Facebook information, if a Facebook account has been linked - */ + /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Gamecenter information, if a Gamecenter account has been linked - */ + /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; - /** - / User Google account information, if a Google account has been linked - */ + /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; - /** - / User iOS device information, if an iOS device has been linked - */ + /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; - /** - / User Kongregate account information, if a Kongregate account has been linked - */ + /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; - /** - / Unique identifier for the user account - */ + /** Unique identifier for the user account */ PlayFabId?: string; - /** - / Personal information for the user which is considered more sensitive - */ + /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** - / User PSN account information, if a PSN account has been linked - */ + /** User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; - /** - / User Steam information, if a Steam account has been linked - */ + /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; - /** - / Title-specific information for the user account - */ + /** Title-specific information for the user account */ TitleInfo?: UserTitleInfo; - /** - / User Twitch account information, if a Twitch account has been linked - */ + /** User Twitch account information, if a Twitch account has been linked */ TwitchInfo?: UserTwitchInfo; - /** - / User account name in the PlayFab service - */ + /** User account name in the PlayFab service */ Username?: string; - /** - / User XBox account information, if a XBox account has been linked - */ + /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { - /** - / Android device ID - */ + /** Android device ID */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCredentials - */ - export interface UserCredentials { - /** - / Username of user to reset - */ - Username: string; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { - /** - / Custom ID - */ + /** Custom ID */ CustomId?: string; } @@ -5019,96 +3562,61 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; /** - / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + * Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData + * requests being made by one player about another player. */ Permission?: string; - /** - / Data stored for the specified user data key. - */ + /** Data stored for the specified user data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { - /** - / Facebook identifier - */ + /** Facebook identifier */ FacebookId?: string; - /** - / Facebook full name - */ + /** Facebook full name */ FullName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { - /** - / Gamecenter identifier - */ + /** Gamecenter identifier */ GameCenterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Email address of the Google account - */ + /** Email address of the Google account */ GoogleEmail?: string; - /** - / Gender information of the Google account - */ + /** Gender information of the Google account */ GoogleGender?: string; - /** - / Google ID - */ + /** Google ID */ GoogleId?: string; - /** - / Locale of the Google account - */ + /** Locale of the Google account */ GoogleLocale?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { - /** - / iOS device ID - */ + /** iOS device ID */ IosDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { - /** - / Kongregate ID - */ + /** Kongregate ID */ KongregateId?: string; - /** - / Kongregate Username - */ + /** Kongregate Username */ KongregateName?: string; } @@ -5132,192 +3640,128 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { - /** - / user email address - */ + /** user email address */ Email?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { - /** - / PSN account ID - */ + /** PSN account ID */ PsnAccountId?: string; - /** - / PSN online ID - */ + /** PSN online ID */ PsnOnlineId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { - /** - / what stage of game ownership the user is listed as being in, from Steam - */ + /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; - /** - / the country in which the player resides, from Steam data - */ + /** the country in which the player resides, from Steam data */ SteamCountry?: string; - /** - / currency type set in the user Steam account - */ + /** currency type set in the user Steam account */ SteamCurrency?: string; - /** - / Steam identifier - */ + /** Steam identifier */ SteamId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { - /** - / URL to the player's avatar. - */ + /** URL to the player's avatar. */ AvatarUrl?: string; /** - / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + * timestamp indicating when the user was first associated with this game (this can differ significantly from when the user + * first registered with PlayFab) */ Created: string; - /** - / name of the user, as it is displayed in-game - */ + /** name of the user, as it is displayed in-game */ DisplayName?: string; /** - / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + * timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other + * events, such as issuing a beta key to the user, can associate the title to the user) */ FirstLogin?: string; - /** - / boolean indicating whether or not the user is currently banned for a title - */ + /** boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; - /** - / timestamp for the last user login for this title - */ + /** timestamp for the last user login for this title */ LastLogin?: string; - /** - / source by which the user first joined the game, if known - */ + /** source by which the user first joined the game, if known */ Origination?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { - /** - / Twitch ID - */ + /** Twitch ID */ TwitchId?: string; - /** - / Twitch Username - */ + /** Twitch Username */ TwitchUserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { - /** - / XBox user ID - */ + /** XBox user ID */ XboxUserId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { - /** - / ISO 4217 code of the currency used in the purchases - */ + /** ISO 4217 code of the currency used in the purchases */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel */ export interface VirtualCurrencyBalanceModel { - /** - / Name of the virtual currency - */ + /** Name of the virtual currency */ Currency?: string; - /** - / Balance of the virtual currency - */ + /** Balance of the virtual currency */ TotalValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { - /** - / unique two-character identifier for this currency type (e.g.: "CC") - */ + /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; - /** - / friendly name to show in the developer portal, reports, etc. - */ + /** friendly name to show in the developer portal, reports, etc. */ DisplayName?: string; - /** - / amount to automatically grant users upon first login to the title - */ + /** amount to automatically grant users upon first login to the title */ InitialDeposit?: number; - /** - / maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) - */ + /** maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) */ RechargeMax?: number; - /** - / rate at which the currency automatically be added to over time, in units per day (24 hours) - */ + /** rate at which the currency automatically be added to over time, in units per day (24 hours) */ RechargeRate?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index e6ed0e63..640c00ca 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -6,653 +6,740 @@ declare module PlayFabClientModule { ForgetClientCredentials(): void; /** - / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. - / https://api.playfab.com/Documentation/Client/method/AcceptTrade + * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the + * allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted + * items will be swapped between the two players' inventories. + * https://api.playfab.com/Documentation/Client/method/AcceptTrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Client/method/AddFriend + * Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At + * least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + * https://api.playfab.com/Documentation/Client/method/AddFriend */ AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. - / https://api.playfab.com/Documentation/Client/method/AddGenericID + * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab + * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as + * authentication credentials, as the intent is that it is easily accessible by other players. + * https://api.playfab.com/Documentation/Client/method/AddGenericID */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only + * users in the group can add new members. Shared Groups are designed for sharing data between a very small number of + * players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. - / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + * Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device + * ID login. + * https://api.playfab.com/Documentation/Client/method/AddUsernamePassword */ AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + * Increments the user's balance of the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the Android device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + * Registers the Android device to receive push notifications + * https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration */ AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attributes an install for advertisment. - / https://api.playfab.com/Documentation/Client/method/AttributeInstall + * Attributes an install for advertisment. + * https://api.playfab.com/Documentation/Client/method/AttributeInstall */ AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). - / https://api.playfab.com/Documentation/Client/method/CancelTrade + * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade + * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other + * players from accepting them, for trades that can be claimed by more than one player). + * https://api.playfab.com/Documentation/Client/method/CancelTrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate - / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual + * currency balances as appropriate + * https://api.playfab.com/Documentation/Client/method/ConfirmPurchase */ ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Client/method/ConsumeItem + * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + * https://api.playfab.com/Documentation/Client/method/ConsumeItem */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing + * data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. - / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + * Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + * https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the user's PlayFab account details - / https://api.playfab.com/Documentation/Client/method/GetAccountInfo + * Retrieves the user's PlayFab account details + * https://api.playfab.com/Documentation/Client/method/GetAccountInfo */ GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be + * evaluated with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters */ GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Client/method/GetCatalogItems + * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + * https://api.playfab.com/Documentation/Client/method/GetCatalogItems */ GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterData + * Retrieves the title-specific custom data for the character which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/GetCharacterData */ GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + * Retrieves the specified character's current inventory of virtual goods + * https://api.playfab.com/Documentation/Client/method/GetCharacterInventory */ GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard */ GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + * Retrieves the title-specific custom data for the character which can only be read by the client + * https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData */ GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the user - / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + * Retrieves the details of all title-specific statistics for the user + * https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics */ GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * the query to retrieve the data will fail. See this post for more information: + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. + * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates + * apply. + * https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about all current running game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetCurrentGames + * Get details about all current running game servers matching the given parameters. + * https://api.playfab.com/Documentation/Client/method/GetCurrentGames */ GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + * Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in + * the leaderboard + * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard */ GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + * Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab + * user. If PlayFabId is empty or null will return currently logged in user. + * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer */ GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Client/method/GetFriendsList + * Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from + * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + * https://api.playfab.com/Documentation/Client/method/GetFriendsList */ GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about the regions hosting game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + * Get details about the regions hosting game servers matching the given parameters. + * https://api.playfab.com/Documentation/Client/method/GetGameServerRegions */ GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetLeaderboard + * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Client/method/GetLeaderboard */ GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + * Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID + * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter */ GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + * Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or + * null will return currently logged in user. + * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer */ GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + * Retrieves a list of all of the user's characters for the given statistic. + * https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters */ GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. - / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken + * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See + * https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + * https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves all of the user's different kinds of info. - / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + * Retrieves all of the user's different kinds of info. + * https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + * Retrieves the player's profile + * https://api.playfab.com/Documentation/Client/method/GetPlayerProfile */ GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + * List all segments that a player currently belongs to at this moment in time. + * https://api.playfab.com/Documentation/Client/method/GetPlayerSegments */ GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + * Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local + * player. + * https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics */ GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + * Retrieves the information on the available versions of the specified statistic. + * https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions */ GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTags + * Get all tags with a given Namespace (optional) from a player profile. + * https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all trades the player has either opened or accepted, optionally filtered by trade status. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + * Gets all trades the player has either opened or accepted, optionally filtered by trade status. + * https://api.playfab.com/Documentation/Client/method/GetPlayerTrades */ GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center + * Programming Guide as the Player Identifier). + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs */ GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the + * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was + * added to the player account. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs */ GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + * Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for + * the user accounts, available as "id" in the Google+ People API calls. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs */ GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the + * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: + * http://developers.kongregate.com/docs/client/getUserId). + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + * 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs */ GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + * 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: + * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs */ GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Client/method/GetPublisherData + * Retrieves the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Client/method/GetPublisherData */ GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. - / https://api.playfab.com/Documentation/Client/method/GetPurchase + * Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still + * active. + * https://api.playfab.com/Documentation/Client/method/GetPurchase */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group + * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Shared Groups are designed for sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Client/method/GetStoreItems + * Retrieves the set of items defined for the specified store, including all prices defined + * https://api.playfab.com/Documentation/Client/method/GetStoreItems */ GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current server time - / https://api.playfab.com/Documentation/Client/method/GetTime + * Retrieves the current server time + * https://api.playfab.com/Documentation/Client/method/GetTime */ GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings - / https://api.playfab.com/Documentation/Client/method/GetTitleData + * Retrieves the key-value store of custom title settings + * https://api.playfab.com/Documentation/Client/method/GetTitleData */ GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title news feed, as configured in the developer portal - / https://api.playfab.com/Documentation/Client/method/GetTitleNews + * Retrieves the title news feed, as configured in the developer portal + * https://api.playfab.com/Documentation/Client/method/GetTitleNews */ GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns the title's base 64 encoded RSA CSP blob. - / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey + * Returns the title's base 64 encoded RSA CSP blob. + * https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey */ GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the current status of an existing trade. - / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + * Gets the current status of an existing trade. + * https://api.playfab.com/Documentation/Client/method/GetTradeStatus */ GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetUserData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/GetUserData */ GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetUserInventory + * Retrieves the user's current inventory of virtual goods + * https://api.playfab.com/Documentation/Client/method/GetUserInventory */ GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetUserPublisherData + * Retrieves the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/GetUserPublisherData */ GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData + * Retrieves the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData */ GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData + * Retrieves the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge + * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + * https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge */ GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated + * with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser */ GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Android device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + * Links the Android device identifier to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID */ LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the custom identifier, generated by the title, to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkCustomID + * Links the custom identifier, generated by the title, to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkCustomID */ LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + * Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount */ LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the currently signed-in user account to their Google account, using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + * Links the currently signed-in user account to their Google account, using their Google account credentials + * https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the vendor-specific iOS device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + * Links the vendor-specific iOS device identifier to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID */ LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Kongregate identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkKongregate + * Links the Kongregate identifier to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkKongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount */ LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Twitch account associated with the token to the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/LinkTwitch + * Links the Twitch account associated with the token to the user's PlayFab account. + * https://api.playfab.com/Documentation/Client/method/LinkTwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Link Windows Hello authentication to the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + * Link Windows Hello authentication to the current PlayFab Account + * https://api.playfab.com/Documentation/Client/method/LinkWindowsHello */ LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID + * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID */ LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithCustomID */ LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. - / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress + * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls + * which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the + * creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via + * RegisterPlayFabUser. + * https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress */ LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook + * Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API + * calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithFacebook */ LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be + * used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + * Signs the user in using their Google account credentials + * https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently + * be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID */ LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Kongregate player account. - / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + * Signs the user in using a Kongregate player account. + * https://api.playfab.com/Documentation/Client/method/LoginWithKongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. - / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls + * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation + * of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via + * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. + * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithSteam + * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithSteam */ LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Twitch access token. - / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + * Signs the user in using a Twitch access token. + * https://api.playfab.com/Documentation/Client/method/LoginWithTwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. - / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. + * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge + * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the + * server. + * https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello */ LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. - / https://api.playfab.com/Documentation/Client/method/Matchmake + * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific + * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required + * parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is + * found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the + * availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be + * GameNotFound. + * https://api.playfab.com/Documentation/Client/method/Matchmake */ Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. - / https://api.playfab.com/Documentation/Client/method/OpenTrade + * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. + * https://api.playfab.com/Documentation/Client/method/OpenTrade */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Selects a payment option for purchase order created via StartPurchase - / https://api.playfab.com/Documentation/Client/method/PayForPurchase + * Selects a payment option for purchase order created via StartPurchase + * https://api.playfab.com/Documentation/Client/method/PayForPurchase */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. - / https://api.playfab.com/Documentation/Client/method/PurchaseItem + * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as + * what the client believes the price to be. This lets the server fail the purchase if the price has changed. + * https://api.playfab.com/Documentation/Client/method/PurchaseItem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Client/method/RedeemCoupon + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Economy->Catalogs tab in the PlayFab Game Manager. + * https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the iOS device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + * Registers the iOS device to receive push notifications + * https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification */ RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. - / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user. You must supply either a username or an email address. + * https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can + * subsequently be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes a specified user from the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/RemoveFriend + * Removes a specified user from the friend list of the local user + * https://api.playfab.com/Documentation/Client/method/RemoveFriend */ RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the specified generic service identifier from the player's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/RemoveGenericID + * Removes the specified generic service identifier from the player's PlayFab account. + * https://api.playfab.com/Documentation/Client/method/RemoveGenericID */ RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the + * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Client/method/ReportPlayer + * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title + * can take action concerning potentially toxic players. + * https://api.playfab.com/Documentation/Client/method/ReportPlayer */ ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Restores all in-app purchases based on the given restore receipt - / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + * Restores all in-app purchases based on the given restore receipt + * https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to + * change the password + * https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the tag list for a specified user in the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/SetFriendTags + * Updates the tag list for a specified user in the friend list of the local user + * https://api.playfab.com/Documentation/Client/method/SetFriendTags */ SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's + * secret use the Admin or Server API method SetPlayerSecret. + * https://api.playfab.com/Documentation/Client/method/SetPlayerSecret */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Start a new game server with a given configuration, add the current player and return the connection information. - / https://api.playfab.com/Documentation/Client/method/StartGame + * Start a new game server with a given configuration, add the current player and return the connection information. + * https://api.playfab.com/Documentation/Client/method/StartGame */ StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates an order for a list of items from the title catalog - / https://api.playfab.com/Documentation/Client/method/StartPurchase + * Creates an order for a list of items from the title catalog + * https://api.playfab.com/Documentation/Client/method/StartPurchase */ StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC + * balance negative with this API. + * https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Android device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + * Unlinks the related Android device identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID */ UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related custom identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + * Unlinks the related custom identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkCustomID */ UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Facebook account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + * Unlinks the related Facebook account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount */ UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Game Center account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + * Unlinks the related Game Center account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount */ UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). - / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + * Unlinks the related Google account from the user's PlayFab account + * (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + * https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount */ UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related iOS device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + * Unlinks the related iOS device identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID */ UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Kongregate identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + * Unlinks the related Kongregate identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkKongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Steam account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + * Unlinks the related Steam account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount */ UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Twitch account from the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + * Unlinks the related Twitch account from the user's PlayFab account. + * https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlink Windows Hello authentication from the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + * Unlink Windows Hello authentication from the current PlayFab Account + * https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello */ UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. + * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, + * consistent with the operation of ConsumeItem. + * https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance */ UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an + * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are + * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + * https://api.playfab.com/Documentation/Client/method/UnlockContainerItem */ UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the player - / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + * Update the avatar URL of the player + * https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl */ UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + * Creates and updates the title-specific custom data for the user's character which is readable and writable by the + * client + * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + * Updates the values of the specified title-specific statistics for the specific character. By default, clients are not + * permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + * https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics */ UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to + * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + * https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics */ UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated + * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. + * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for + * sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserData + * Creates and updates the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/UpdateUserData */ UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + * Creates and updates the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData */ UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for the user - / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + * Updates the title specific display name for the user + * https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName */ UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the + * purchased catalog item + * https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates a Google Play purchase and gives the corresponding item to the player. - / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + * Validates a Google Play purchase and gives the corresponding item to the player. + * https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase */ ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased + * catalog item + * https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt */ ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt + * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the + * purchased catalog item + * https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt */ ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + * Writes a character-based event into PlayStream. + * https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent */ WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + * Writes a player-based event into PlayStream. + * https://api.playfab.com/Documentation/Client/method/WritePlayerEvent */ WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + * Writes a title-based event into PlayStream. + * https://api.playfab.com/Documentation/Client/method/WriteTitleEvent */ WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -660,488 +747,324 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. + * Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a + * gift, this will be null. */ AcceptedInventoryInstanceIds?: string[]; - /** - / Player who opened the trade. - */ + /** Player who opened the trade. */ OfferingPlayerId: string; - /** - / Trade identifier. - */ + /** Trade identifier. */ TradeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Details about trade which was just accepted. - */ + /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Email address of the user to attempt to add to the local user's friend list. - */ + /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; - /** - / PlayFab identifier of the user to attempt to add to the local user's friend list. - */ + /** PlayFab identifier of the user to attempt to add to the local user's friend list. */ FriendPlayFabId?: string; - /** - / Title-specific display name of the user to attempt to add to the local user's friend list. - */ + /** Title-specific display name of the user to attempt to add to the local user's friend list. */ FriendTitleDisplayName?: string; - /** - / PlayFab username of the user to attempt to add to the local user's friend list. - */ + /** PlayFab username of the user to attempt to add to the local user's friend list. */ FriendUsername?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { - /** - / True if the friend request was processed successfully. - */ + /** True if the friend request was processed successfully. */ Created: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generic service identifier to add to the player account. - */ + /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email: string; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password: string; - /** - / PlayFab username for the account (3-20 characters) - */ + /** PlayFab username for the account (3-20 characters) */ Username: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique user name. - */ + /** PlayFab unique user name. */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be added to the user balance of the specified virtual currency. - */ + /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Message to display when confirming push notification. - */ + /** Message to display when confirming push notification. */ ConfirmationMessage?: string; /** - / Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). + * Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications + * (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). */ DeviceToken: string; - /** - / If true, send a test push message immediately after sucessful registration. Defaults to false. - */ + /** If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The adid for this device. - */ + /** The adid for this device. */ Adid?: string; - /** - / The IdentifierForAdvertisers for iOS Devices. - */ + /** The IdentifierForAdvertisers for iOS Devices. */ Idfa?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Trade identifier. - */ + /** Trade identifier. */ TradeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Details about trade which was just canceled. - */ + /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { - /** - / Description of the catalog item. - */ + /** Description of the catalog item. */ Description?: string; - /** - / Display name for the catalog item. - */ + /** Display name for the catalog item. */ DisplayName?: string; - /** - / Class name to which catalog item belongs. - */ + /** Class name to which catalog item belongs. */ ItemClass?: string; - /** - / Unique identifier for the catalog item. - */ + /** Unique identifier for the catalog item. */ ItemId?: string; - /** - / Unique instance identifier for this catalog item. - */ + /** Unique instance identifier for this catalog item. */ ItemInstanceId?: string; - /** - / Cost of the catalog item for each applicable real world currency. - */ + /** Cost of the catalog item for each applicable real world currency. */ RealCurrencyPrices?: { [key: string]: number }; - /** - / Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. - */ + /** Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. */ VCAmount?: { [key: string]: number }; - /** - / Cost of the catalog item for each applicable virtual currency. - */ + /** Cost of the catalog item for each applicable virtual currency. */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables + * and virtual currencies */ Bundle?: CatalogItemBundleInfo; - /** - / if true, then an item instance of this type can be used to grant a character to a user. - */ + /** if true, then an item instance of this type can be used to grant a character to a user. */ CanBecomeCharacter: boolean; - /** - / catalog version for this item - */ + /** catalog version for this item */ CatalogVersion?: string; - /** - / defines the consumable properties (number of uses, timeout) for the item - */ + /** defines the consumable properties (number of uses, timeout) for the item */ Consumable?: CatalogItemConsumableInfo; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + * defines the container properties for the item - what items it contains, including random drop tables and virtual + * currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ Container?: CatalogItemContainerInfo; - /** - / game specific custom data - */ + /** game specific custom data */ CustomData?: string; - /** - / text description of item, to show in-game - */ + /** text description of item, to show in-game */ Description?: string; - /** - / text name for the item, to show in-game - */ + /** text name for the item, to show in-game */ DisplayName?: string; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + * If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited + * edition item, this value determines the total number of instances to allocate for the title. Once this limit has been + * reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of + * false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less + * than zero, it will be ignored. */ InitialLimitedEditionCount: number; - /** - / BETA: If true, then only a fixed number can ever be granted. - */ + /** BETA: If true, then only a fixed number can ever be granted. */ IsLimitedEdition: boolean; /** - / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + * if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. + * RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ IsStackable: boolean; - /** - / if true, then an item instance of this type can be traded between players using the trading APIs - */ + /** if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; - /** - / class to which the item belongs - */ + /** class to which the item belongs */ ItemClass?: string; - /** - / unique identifier for this item - */ + /** unique identifier for this item */ ItemId: string; /** - / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + * URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP + * URL. */ ItemImageUrl?: string; - /** - / override prices for this item for specific currencies - */ + /** override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / list of item tags - */ + /** list of item tags */ Tags?: string[]; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { - /** - / unique ItemId values for all items which will be added to the player inventory when the bundle is added - */ + /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; /** - / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + * unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and + * add the relevant items to the player inventory when the bundle is added) */ BundledResultTables?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the bundle is added - */ + /** virtual currency types and balances which will be added to the player inventory when the bundle is added */ BundledVirtualCurrencies?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { - /** - / number of times this object can be used, after which it will be removed from the player inventory - */ + /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; /** - / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + * duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed + * (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on + * this item's details have completed) */ UsagePeriod?: number; /** - / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + * all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values + * added together, and share the result - when that period has elapsed, all the items in the group will be removed */ UsagePeriodGroup?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked - */ + /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + * ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will + * open the container, adding the contents to the player inventory and currency balances) */ KeyItemId?: string; /** - / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + * unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables + * will be resolved and add the relevant items to the player inventory) */ ResultTableContents?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the container is unlocked - */ + /** virtual currency types and balances which will be added to the player inventory when the container is unlocked */ VirtualCurrencyContents?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { - /** - / The id of this character. - */ + /** The id of this character. */ CharacterId?: string; - /** - / The inventory of this character. - */ + /** The inventory of this character. */ Inventory?: ItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; - /** - / Title-specific display name of the character for this leaderboard entry. - */ + /** Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Name of the character class for this entry. - */ + /** Name of the character class for this entry. */ CharacterType?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The id for this character on this player. - */ + /** The id for this character on this player. */ CharacterId?: string; - /** - / The name of this character. - */ + /** The name of this character. */ CharacterName?: string; - /** - / The type-string that was given to this character on creation. - */ + /** The type-string that was given to this character on creation. */ CharacterType?: string; } @@ -1150,107 +1073,70 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { - /** - / List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. - */ + /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; /** - / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule + * List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by + * one of the Exclude rule */ Includes?: Container_Dictionary_String_String[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Purchase order identifier returned from StartPurchase. - */ + /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items purchased. - */ + /** Array of items purchased. */ Items?: ItemInstance[]; - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Date and time of the purchase. - */ + /** Date and time of the purchase. */ PurchaseDate: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Number of uses to consume from the item. - */ + /** Number of uses to consume from the item. */ ConsumeCount: number; - /** - / Unique instance identifier of the item to be consumed. - */ + /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique instance identifier of the item with uses consumed. - */ + /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; - /** - / Number of uses remaining on the item. - */ + /** Number of uses remaining on the item. */ RemainingUses: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { - /** - / Content of data - */ + /** Content of data */ Data?: { [key: string]: string }; } @@ -1513,24 +1399,16 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). - */ + /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId?: string; } @@ -1698,267 +1576,174 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Build to match against. - */ + /** Build to match against. */ BuildVersion?: string; - /** - / Game mode to look for. - */ + /** Game mode to look for. */ GameMode?: string; - /** - / Region to check for Game Server Instances. - */ + /** Region to check for Game Server Instances. */ Region?: string; - /** - / Statistic name to find statistic-based matches. - */ + /** Statistic name to find statistic-based matches. */ StatisticName?: string; - /** - / Filter to include and/or exclude Game Server Instances associated with certain tags. - */ + /** Filter to include and/or exclude Game Server Instances associated with certain tags. */ TagFilter?: CollectionFilter; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / number of games running - */ + /** number of games running */ GameCount: number; - /** - / array of games found - */ + /** array of games found */ Games?: GameInfo[]; - /** - / total number of players across all servers - */ + /** total number of players across all servers */ PlayerCount: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult - */ + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The name of the CloudScript function to execute - */ + /** The name of the CloudScript function to execute */ FunctionName: string; - /** - / Object that is passed in to the function as the first argument - */ + /** Object that is passed in to the function as the first argument */ FunctionParameter?: any; /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + * Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. */ GeneratePlayStreamEvent?: boolean; /** - / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ RevisionSelection?: string; - /** - / The specivic revision to execute, when RevisionSelection is set to 'Specific' - */ + /** The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Number of PlayFab API requests issued by the CloudScript function - */ + /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution - */ + /** Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; ExecutionTimeSeconds: number; - /** - / The name of the function that executed - */ + /** The name of the function that executed */ FunctionName?: string; - /** - / The object returned from the CloudScript function, if any - */ + /** The object returned from the CloudScript function, if any */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; - /** - / Number of external HTTP requests issued by the CloudScript function - */ + /** Number of external HTTP requests issued by the CloudScript function */ HttpRequestsIssued: number; /** - / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; MemoryConsumedBytes: number; /** - / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. */ ProcessorTimeSeconds: number; - /** - / The revision of the CloudScript that executed - */ + /** The revision of the CloudScript that executed */ Revision: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { - /** - / Unique Facebook identifier for a user. - */ + /** Unique Facebook identifier for a user. */ FacebookId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** - / Unique lobby identifier of the Game Server Instance to which this player is currently connected. - */ + /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; - /** - / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). - */ + /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; - /** - / PlayFab unique identifier for this friend. - */ + /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** - / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). - */ + /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). - */ + /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; - /** - / Tags which have been associated with this friend. - */ + /** Tags which have been associated with this friend. */ Tags?: string[]; - /** - / Title-specific display name for this friend. - */ + /** Title-specific display name for this friend. */ TitleDisplayName?: string; - /** - / PlayFab unique username for this friend. - */ + /** PlayFab unique username for this friend. */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { - /** - / Unique Game Center identifier for a user. - */ + /** Unique Game Center identifier for a user. */ GameCenterId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Game Center identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Game Center identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { - /** - / build version this server is running - */ + /** build version this server is running */ BuildVersion?: string; - /** - / game mode this server is running - */ + /** game mode this server is running */ GameMode?: string; - /** - / game session custom data - */ + /** game session custom data */ GameServerData?: string; - /** - / game specific string denoting server configuration - */ + /** game specific string denoting server configuration */ GameServerStateEnum?: string; - /** - / last heartbeat of the game server instance, used in external game server provider mode - */ + /** last heartbeat of the game server instance, used in external game server provider mode */ LastHeartbeat?: string; - /** - / unique lobby identifier for this game server - */ + /** unique lobby identifier for this game server */ LobbyID?: string; - /** - / maximum players this server can support - */ + /** maximum players this server can support */ MaxPlayers?: number; - /** - / array of current player IDs on this server - */ + /** array of current player IDs on this server */ PlayerUserIds?: string[]; - /** - / region to which this server is associated - */ + /** region to which this server is associated */ Region?: string; - /** - / duration in seconds this server has been running - */ + /** duration in seconds this server has been running */ RunTime: number; - /** - / IP address of the server - */ + /** IPV4 address of the server */ ServerHostname?: string; - /** - / port number to use for non-http communications with the server - */ + /** IPV6 address of the server */ + ServerIPV6Address?: string; + /** port number to use for non-http communications with the server */ ServerPort?: number; - /** - / stastic used to match this game in player statistic matchmaking - */ + /** stastic used to match this game in player statistic matchmaking */ StatisticName?: string; - /** - / game session tags - */ + /** game session tags */ Tags?: { [key: string]: string }; } @@ -1966,1864 +1751,1197 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / version of game server for which stats are being requested - */ + /** version of game server for which stats are being requested */ BuildVersion: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions found matching the request parameters - */ + /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { - /** - / Unique generic service identifier for a user. - */ + /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { - /** - / Name of the service for which the player has a unique identifier. - */ + /** Name of the service for which the player has a unique identifier. */ ServiceName: string; - /** - / Unique identifier of the player in that service. - */ + /** Unique identifier of the player in that service. */ UserId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address for the account to find (if no Username is specified). - */ + /** User email address for the account to find (if no Username is specified). */ Email?: string; /** - / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. + * Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no + * other lookup identifier set. */ PlayFabId?: string; /** - / Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. + * Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names + * option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. */ TitleDisplayName?: string; - /** - / PlayFab Username for the account to find (if no PlayFabId is specified). - */ + /** PlayFab Username for the account to find (if no PlayFabId is specified). */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Account information for the local user. - */ + /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Which catalog is being requested. If null, uses the default catalog. - */ + /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items which can be purchased. - */ + /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. - */ + /** Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Used to limit results to only those from a specific catalog version. - */ + /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier of the character for this inventory. - */ + /** Unique identifier of the character for this inventory. */ CharacterId?: string; - /** - / Array of inventory items belonging to the character. - */ + /** Array of inventory items belonging to the character. */ Inventory?: ItemInstance[]; - /** - / Array of virtual currency balance(s) belonging to the character. - */ + /** Array of virtual currency balance(s) belonging to the character. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / First entry in the leaderboard to be retrieved. - */ + /** First entry in the leaderboard to be retrieved. */ StartPosition: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The requested character statistics. - */ + /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. - */ + /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ + /** Key of the content item to fetch, usually formatted as a path, e.g. images/a.png */ Key: string; /** - / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + * True to download through CDN. CDN provides higher download bandwidth and lower latency. However, if you want the latest, + * non-cached version of the content during development, set this to false. Default is true. */ ThruCDN?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** - / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. - */ + /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. - */ + /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ PlayFabId?: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Statistic used to rank players for this leaderboard. - */ + /** Statistic used to rank players for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Position in the leaderboard to start this listing (defaults to the first entry). - */ + /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; - /** - / Statistic used to rank friends for this leaderboard. - */ + /** Statistic used to rank friends for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of friends found. - */ + /** Array of friends found. */ Friends?: FriendInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character on which to center the leaderboard. - */ + /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. - */ + /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ PlayFabId?: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Statistic used to rank players for this leaderboard. - */ + /** Statistic used to rank players for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Position in the leaderboard to start this listing (defaults to the first entry). - */ + /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; - /** - / Statistic used to rank players for this leaderboard. - */ + /** Statistic used to rank players for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The Photon applicationId for the game you wish to log into. - */ + /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The Photon authentication token for this game-session. - */ + /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; - /** - / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. - */ + /** PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { - /** - / Whether to get character inventories. Defaults to false. - */ + /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; - /** - / Whether to get the list of characters. Defaults to false. - */ + /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** - / Whether to get player profile. Defaults to false. - */ + /** Whether to get player profile. Defaults to false. */ GetPlayerProfile: boolean; - /** - / Whether to get player statistics. Defaults to false. - */ + /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; - /** - / Whether to get title data. Defaults to false. - */ + /** Whether to get title data. Defaults to false. */ GetTitleData: boolean; - /** - / Whether to get the player's account Info. Defaults to false - */ + /** Whether to get the player's account Info. Defaults to false */ GetUserAccountInfo: boolean; - /** - / Whether to get the player's custom data. Defaults to false - */ + /** Whether to get the player's custom data. Defaults to false */ GetUserData: boolean; - /** - / Whether to get the player's inventory. Defaults to false - */ + /** Whether to get the player's inventory. Defaults to false */ GetUserInventory: boolean; - /** - / Whether to get the player's read only data. Defaults to false - */ + /** Whether to get the player's read only data. Defaults to false */ GetUserReadOnlyData: boolean; - /** - / Whether to get the player's virtual currency balances. Defaults to false - */ + /** Whether to get the player's virtual currency balances. Defaults to false */ GetUserVirtualCurrency: boolean; - /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false - */ + /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; - /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. - */ + /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ ProfileConstraints?: number; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ UserDataKeys?: string[]; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + * Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is + * false */ UserReadOnlyDataKeys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Results for requested info. - */ + /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { - /** - / Account information for the user. This is always retrieved. - */ + /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; - /** - / Inventories for each character for the user. - */ + /** Inventories for each character for the user. */ CharacterInventories?: CharacterInventory[]; - /** - / List of characters for the user. - */ + /** List of characters for the user. */ CharacterList?: CharacterResult[]; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; - /** - / List of statistics for this player. - */ + /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; - /** - / Title data for this title. - */ + /** Title data for this title. */ TitleData?: { [key: string]: string }; - /** - / User specific custom data. - */ + /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; - /** - / The version of the UserData that was returned. - */ + /** The version of the UserData that was returned. */ UserDataVersion: number; - /** - / Array of inventory items in the user's current inventory. - */ + /** Array of inventory items in the user's current inventory. */ UserInventory?: ItemInstance[]; - /** - / User specific read-only data. - */ + /** User specific read-only data. */ UserReadOnlyData?: { [key: string]: UserDataRecord }; - /** - / The version of the Read-Only UserData that was returned. - */ + /** The version of the Read-Only UserData that was returned. */ UserReadOnlyDataVersion: number; - /** - / Dictionary of virtual currency balance(s) belonging to the user. - */ + /** Dictionary of virtual currency balance(s) belonging to the user. */ UserVirtualCurrency?: { [key: string]: number }; - /** - / Dictionary of remaining times and timestamps for virtual currencies. - */ + /** Dictionary of remaining times and timestamps for virtual currencies. */ UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** - / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments the requested player currently belongs to. - */ + /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / statistics to return (current version will be returned for each) - */ + /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; /** - / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + * statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be + * returned) */ StatisticNameVersions?: StatisticNameVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User statistics for the requested user. - */ + /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional namespace to filter results by - */ + /** Optional namespace to filter results by */ Namespace?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Canonical tags (including namespace and tag's name) for the requested user - */ + /** Canonical tags (including namespace and tag's name) for the requested user */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Returns only trades with the given status. If null, returns all trades. - */ + /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / History of trades which this player has accepted. - */ + /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; - /** - / The trades for this player which are currently available to be accepted. - */ + /** The trades for this player which are currently available to be accepted. */ OpenedTrades?: TradeInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Facebook identifiers to PlayFab identifiers. - */ + /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Game Center identifiers to PlayFab identifiers. - */ + /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a maximum of 10 in a single request. + * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a + * maximum of 10 in a single request. */ GenericIDs: GenericServiceId[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of generic service identifiers to PlayFab identifiers. - */ + /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Google identifiers to PlayFab identifiers. - */ + /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Kongregate identifiers to PlayFab identifiers. - */ + /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Steam identifiers to PlayFab identifiers. - */ + /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Twitch identifiers to PlayFab identifiers. - */ + /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of keys to get back data from the Publisher data blob, set by the admin tools - */ + /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Payment provider used for transaction (If not VC) - */ + /** Payment provider used for transaction (If not VC) */ PaymentProvider?: string; - /** - / Date and time of the purchase. - */ + /** Date and time of the purchase. */ PurchaseDate: string; - /** - / Provider transaction ID (If not VC) - */ + /** Provider transaction ID (If not VC) */ TransactionId?: string; - /** - / PlayFab transaction status - */ + /** PlayFab transaction status */ TransactionStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Identifier of the segments AB Test, if it is attached to one. - */ + /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; - /** - / Unique identifier for this segment. - */ + /** Unique identifier for this segment. */ Id: string; - /** - / Segment name. - */ + /** Segment name. */ Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If true, return the list of all members of the shared group. - */ + /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; /** - / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + * Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array + * indicates that no keys should be returned). */ Keys?: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Data for the requested keys. - */ + /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; - /** - / List of PlayFabId identifiers for the members of this group, if requested. - */ + /** List of PlayFabId identifiers for the members of this group, if requested. */ Members?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version to store items from. Use default catalog version if null - */ + /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; - /** - / Unqiue identifier for the store which is being requested. - */ + /** Unqiue identifier for the store which is being requested. */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The base catalog that this store is a part of. - */ + /** The base catalog that this store is a part of. */ CatalogVersion?: string; - /** - / Additional data about the store. - */ + /** Additional data about the store. */ MarketingData?: StoreMarketingModel; - /** - / How the store was last updated (Admin or a third party). - */ + /** How the store was last updated (Admin or a third party). */ Source?: string; - /** - / Array of items which can be purchased from this store. - */ + /** Array of items which can be purchased from this store. */ Store?: StoreItem[]; - /** - / The ID of this store. - */ + /** The ID of this store. */ StoreId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Current server time when the request was received, in UTC - */ + /** Current server time when the request was received, in UTC */ Time: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific keys to search for in the title data (leave null to get all keys) - */ + /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Limits the results to the last n entries. Defaults to 10 if not set. - */ + /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of news items. - */ + /** Array of news items. */ News?: TitleNewsItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / The shared secret key for this title - */ + /** The shared secret key for this title */ TitleSharedSecret: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Base64 encoded RSA CSP byte array blob containing the title's public RSA key - */ + /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player who opened trade. - */ + /** Player who opened trade. */ OfferingPlayerId: string; - /** - / Trade identifier as returned by OpenTradeOffer. - */ + /** Trade identifier as returned by OpenTradeOffer. */ TradeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Information about the requested trade. - */ + /** Information about the requested trade. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. */ Keys?: string[]; /** - / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a PlayFab id of another player, then this will only return public keys for that account. + * Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a + * PlayFab id of another player, then this will only return public keys for that account. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items belonging to the user. - */ + /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / SHA256 hash of the PublicKey generated by Windows Hello. - */ + /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Server generated challenge to be signed by the user. - */ + /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { - /** - / Unique Google identifier for a user. - */ + /** Unique Google identifier for a user. */ GoogleId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Non-unique display name of the character being granted (1-20 characters in length). - */ + /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; /** - / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. + * Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be + * created. */ ItemId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier tagged to this character. - */ + /** Unique identifier tagged to this character. */ CharacterId?: string; - /** - / Type of character that was created. - */ + /** Type of character that was created. */ CharacterType?: string; - /** - / Indicates whether this character was created successfully. - */ + /** Indicates whether this character was created successfully. */ Result: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Title-specific text concerning this purchase. - */ + /** Title-specific text concerning this purchase. */ Annotation?: string; - /** - / Unique ItemId of the item to purchase. - */ + /** Unique ItemId of the item to purchase. */ ItemId: string; - /** - / How many of this item to purchase. - */ + /** How many of this item to purchase. */ Quantity: number; - /** - / Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). - */ + /** Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). */ UpgradeFromItems?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { - /** - / Unique Kongregate identifier for a user. - */ + /** Unique Kongregate identifier for a user. */ KongregateId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Kongregate identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Kongregate identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ AndroidDevice?: string; - /** - / Android device identifier for the user's device. - */ + /** Android device identifier for the user's device. */ AndroidDeviceId: string; - /** - / If another user is already linked to the device, unlink the other user and re-link. - */ + /** If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom unique identifier for the user, generated by the title. - */ + /** Custom unique identifier for the user, generated by the title. */ CustomId: string; - /** - / If another user is already linked to the custom ID, unlink the other user and re-link. - */ + /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { - /** - / Linked account email of the user on the platform, if available - */ + /** Linked account email of the user on the platform, if available */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Unique account identifier of the user on the platform - */ + /** Unique account identifier of the user on the platform */ PlatformUserId?: string; - /** - / Linked account username of the user on the platform, if available - */ + /** Linked account username of the user on the platform, if available */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier from Facebook for the user. - */ + /** Unique identifier from Facebook for the user. */ AccessToken: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Game Center identifier for the player account to be linked. - */ + /** Game Center identifier for the player account to be linked. */ GameCenterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** - / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. + * Server authentication code obtained on the client by calling getServerAuthCode() + * (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. */ ServerAuthCode?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Vendor-specific iOS identifier for the user's device. - */ + /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ DeviceModel?: string; - /** - / If another user is already linked to the device, unlink the other user and re-link. - */ + /** If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Valid session auth ticket issued by Kongregate - */ + /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Numeric user ID assigned by Kongregate - */ + /** Numeric user ID assigned by Kongregate */ KongregateId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte + * 0x08 should become "08"). */ SteamTicket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Valid token issued by Twitch - */ + /** Valid token issued by Twitch */ AccessToken: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Device name. - */ + /** Device name. */ DeviceName?: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / PublicKey generated by Windows Hello. - */ + /** PublicKey generated by Windows Hello. */ PublicKey: string; - /** - / Player's user named used by Windows Hello. - */ + /** Player's user named used by Windows Hello. */ UserName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The requested list of characters. - */ + /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { - /** - / City name. - */ + /** City name. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / Latitude coordinate of the geographic location. - */ + /** Latitude coordinate of the geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the geographic location. - */ + /** Longitude coordinate of the geographic location. */ Longitude?: number; } @@ -3843,491 +2961,315 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Results for requested info. - */ + /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; - /** - / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue - */ + /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ LastLoginTime?: string; - /** - / True if the account was newly created on this login. - */ + /** True if the account was newly created on this login. */ NewlyCreated: boolean; - /** - / Player's unique PlayFabId. - */ + /** Player's unique PlayFabId. */ PlayFabId?: string; - /** - / Unique token authorizing the user and game at the server level, for the current session. - */ + /** Unique token authorizing the user and game at the server level, for the current session. */ SessionTicket?: string; - /** - / Settings specific to this user. - */ + /** Settings specific to this user. */ SettingsForUser?: UserSettings; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ AndroidDevice?: string; - /** - / Android device identifier for the user's device. - */ + /** Android device identifier for the user's device. */ AndroidDeviceId?: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Custom unique identifier for the user, generated by the title. - */ + /** Custom unique identifier for the user, generated by the title. */ CustomId?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Email address for the account. - */ + /** Email address for the account. */ Email: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier from Facebook for the user. - */ + /** Unique identifier from Facebook for the user. */ AccessToken: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Unique Game Center player id. - */ + /** Unique Game Center player id. */ PlayerId?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. + * OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() + * (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ ServerAuthCode?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Vendor-specific iOS identifier for the user's device. - */ + /** Vendor-specific iOS identifier for the user's device. */ DeviceId?: string; - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ DeviceModel?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Token issued by Kongregate's client API for the user. - */ + /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Numeric user ID assigned by Kongregate - */ + /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / PlayFab username for the account. - */ + /** PlayFab username for the account. */ Username: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte + * 0x08 should become "08"). */ SteamTicket?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Token issued by Twitch's API for the user. - */ + /** Token issued by Twitch's API for the user. */ AccessToken?: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The signed response from the user for the Challenge. - */ + /** The signed response from the user for the Challenge. */ ChallengeSignature: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / SHA256 hash of the PublicKey generated by Windows Hello. - */ + /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { - /** - / Optional object accompanying the message as contextual information - */ + /** Optional object accompanying the message as contextual information */ Data?: any; - /** - / 'Debug', 'Info', or 'Error' - */ + /** 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Build version to match against. [Note: Required if LobbyId is not specified] - */ + /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; - /** - / Character to use for stats based matching. Leave null to use account stats. - */ + /** Character to use for stats based matching. Leave null to use account stats. */ CharacterId?: string; - /** - / Game mode to match make against. [Note: Required if LobbyId is not specified] - */ + /** Game mode to match make against. [Note: Required if LobbyId is not specified] */ GameMode?: string; - /** - / Lobby identifier to match make against. This is used to select a specific Game Server Instance. - */ + /** Lobby identifier to match make against. This is used to select a specific Game Server Instance. */ LobbyId?: string; - /** - / Region to match make against. [Note: Required if LobbyId is not specified] - */ + /** Region to match make against. [Note: Required if LobbyId is not specified] */ Region?: string; - /** - / Start a game session if one with an open slot is not found. Defaults to true. - */ + /** Start a game session if one with an open slot is not found. Defaults to true. */ StartNewIfNoneFound?: boolean; - /** - / Player statistic to use in finding a match. May be null for no stat-based matching. - */ + /** Player statistic to use in finding a match. May be null for no stat-based matching. */ StatisticName?: string; - /** - / Filter to include and/or exclude Game Server Instances associated with certain Tags - */ + /** Filter to include and/or exclude Game Server Instances associated with certain Tags */ TagFilter?: CollectionFilter; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { - /** - / timestamp for when the server will expire, if applicable - */ + /** timestamp for when the server will expire, if applicable */ Expires?: string; - /** - / unique lobby identifier of the server matched - */ + /** unique lobby identifier of the server matched */ LobbyID?: string; - /** - / time in milliseconds the application is configured to wait on matchmaking results - */ + /** time in milliseconds the application is configured to wait on matchmaking results */ PollWaitTimeMS?: number; - /** - / IP address of the server - */ + /** IPV4 address of the server */ ServerHostname?: string; - /** - / port number to use for non-http communications with the server - */ + /** IPV6 address of the server */ + ServerIPV6Address?: string; + /** port number to use for non-http communications with the server */ ServerPort?: number; - /** - / result of match making process - */ + /** result of match making process */ Status?: string; - /** - / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) - */ + /** server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) */ Ticket?: string; } @@ -4338,442 +3280,256 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { - /** - / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. - */ + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; - /** - / The time this membership expires - */ + /** The time this membership expires */ MembershipExpiration: string; - /** - / The id of the membership - */ + /** The id of the membership */ MembershipId?: string; /** - / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. */ OverrideExpiration?: string; - /** - / The list of subscriptions that this player has for this membership - */ + /** The list of subscriptions that this player has for this membership */ Subscriptions?: SubscriptionModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase + * over this value will be discarded. */ BalanceChange: number; - /** - / User currency was subtracted from. - */ + /** User currency was subtracted from. */ PlayFabId?: string; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. + * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may + * not be accepted by any player. */ AllowedPlayerIds?: string[]; - /** - / Player inventory items offered for trade. If not set, the trade is effectively a gift request - */ + /** Player inventory items offered for trade. If not set, the trade is effectively a gift request */ OfferedInventoryInstanceIds?: string[]; - /** - / Catalog items accepted for the trade. If not set, the trade is effectively a gift. - */ + /** Catalog items accepted for the trade. If not set, the trade is effectively a gift. */ RequestedCatalogItemIds?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The information about the trade that was just opened. - */ + /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Currency to use to fund the purchase. - */ + /** Currency to use to fund the purchase. */ Currency: string; - /** - / Purchase order identifier returned from StartPurchase. - */ + /** Purchase order identifier returned from StartPurchase. */ OrderId: string; - /** - / Payment provider to use to fund the purchase. - */ + /** Payment provider to use to fund the purchase. */ ProviderName: string; - /** - / Payment provider transaction identifier. Required for Facebook Payments. - */ + /** Payment provider transaction identifier. Required for Facebook Payments. */ ProviderTransactionId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Local credit applied to the transaction (provider specific). - */ + /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Provider used for the transaction. - */ + /** Provider used for the transaction. */ ProviderData?: string; - /** - / A token generated by the provider to authenticate the request (provider-specific). - */ + /** A token generated by the provider to authenticate the request (provider-specific). */ ProviderToken?: string; - /** - / URL to the purchase provider page that details the purchase. - */ + /** URL to the purchase provider page that details the purchase. */ PurchaseConfirmationPageURL?: string; - /** - / Real world currency for the transaction. - */ + /** Currency for the transaction, may be a virtual currency or real money. */ PurchaseCurrency?: string; - /** - / Real world cost of the transaction. - */ + /** Cost of the transaction. */ PurchasePrice: number; - /** - / Status of the transaction. - */ + /** Status of the transaction. */ Status?: string; - /** - / Virtual currency cost of the transaction. - */ + /** Virtual currencies granted by the transaction, if any. */ VCAmount?: { [key: string]: number }; - /** - / Current virtual currency totals for the user. - */ + /** Current virtual currency balances for the user. */ VirtualCurrency?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { - /** - / Specific currency to use to fund the purchase. - */ + /** Specific currency to use to fund the purchase. */ Currency?: string; - /** - / Amount of the specified currency needed for the purchase. - */ + /** Amount of the specified currency needed for the purchase. */ Price: number; - /** - / Name of the purchase provider for this option. - */ + /** Name of the purchase provider for this option. */ ProviderName?: string; - /** - / Amount of existing credit the user has with the provider. - */ + /** Amount of existing credit the user has with the provider. */ StoreCredit: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { - /** - / List of advertising campaigns the player has been attributed to - */ + /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; - /** - / URL of the player's avatar image - */ + /** URL of the player's avatar image */ AvatarUrl?: string; - /** - / If the player is currently banned, the UTC Date when the ban expires - */ + /** If the player is currently banned, the UTC Date when the ban expires */ BannedUntil?: string; - /** - / List of all contact email info associated with the player account - */ + /** List of all contact email info associated with the player account */ ContactEmailAddresses?: ContactEmailInfoModel[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player display name - */ + /** Player display name */ DisplayName?: string; - /** - / UTC time when the player most recently logged in to the title - */ + /** UTC time when the player most recently logged in to the title */ LastLogin?: string; - /** - / List of all authentication systems linked to this player account - */ + /** List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; - /** - / List of geographic locations from which the player has logged in to the title - */ + /** List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; - /** - / List of memberships for the player, along with whether are expired. - */ + /** List of memberships for the player, along with whether are expired. */ Memberships?: MembershipModel[]; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab player account unique identifier - */ + /** PlayFab player account unique identifier */ PlayerId?: string; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / List of configured end points registered for sending the player push notifications - */ + /** List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; - /** - / List of leaderboard statistic values for the player - */ + /** List of leaderboard statistic values for the player */ Statistics?: StatisticModel[]; - /** - / List of player's tags for segmentation - */ + /** List of player's tags for segmentation */ Tags?: TagModel[]; - /** - / Title ID this player profile applies to - */ + /** Title ID this player profile applies to */ TitleId?: string; /** - / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; - /** - / List of the player's lifetime purchase totals, summed by real-money currency - */ + /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** - / List of the player's virtual currency balances - */ + /** List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { - /** - / Whether to show player's avatar URL. Defaults to false - */ + /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; - /** - / Whether to show the banned until time. Defaults to false - */ + /** Whether to show the banned until time. Defaults to false */ ShowBannedUntil: boolean; - /** - / Whether to show campaign attributions. Defaults to false - */ + /** Whether to show campaign attributions. Defaults to false */ ShowCampaignAttributions: boolean; - /** - / Whether to show contact email addresses. Defaults to false - */ + /** Whether to show contact email addresses. Defaults to false */ ShowContactEmailAddresses: boolean; - /** - / Whether to show the created date. Defaults to false - */ + /** Whether to show the created date. Defaults to false */ ShowCreated: boolean; - /** - / Whether to show the display name. Defaults to false - */ + /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; - /** - / Whether to show the last login time. Defaults to false - */ + /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; - /** - / Whether to show the linked accounts. Defaults to false - */ + /** Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; - /** - / Whether to show player's locations. Defaults to false - */ + /** Whether to show player's locations. Defaults to false */ ShowLocations: boolean; - /** - / Whether to show player's membership information. Defaults to false - */ + /** Whether to show player's membership information. Defaults to false */ ShowMemberships: boolean; - /** - / Whether to show origination. Defaults to false - */ + /** Whether to show origination. Defaults to false */ ShowOrigination: boolean; - /** - / Whether to show push notification registrations. Defaults to false - */ + /** Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; - /** - / Reserved for future development - */ + /** Reserved for future development */ ShowStatistics: boolean; - /** - / Whether to show tags. Defaults to false - */ + /** Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the total value to date in usd. Defaults to false - */ + /** Whether to show the total value to date in usd. Defaults to false */ ShowTotalValueToDateInUsd: boolean; - /** - / Whether to show the values to date. Defaults to false - */ + /** Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { - /** - / time when the statistic version became active - */ + /** time when the statistic version became active */ ActivationTime: string; - /** - / time when the statistic version became inactive due to statistic version incrementing - */ + /** time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; - /** - / name of the statistic when the version became active - */ + /** name of the statistic when the version became active */ StatisticName?: string; - /** - / version of the statistic - */ + /** version of the statistic */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version for the items to be purchased (defaults to most recent version. - */ + /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique identifier of the item to purchase. - */ + /** Unique identifier of the item to purchase. */ ItemId: string; - /** - / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). - */ + /** Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). */ Price: number; - /** - / Store to buy this item through. If not set, prices default to those in the catalog. - */ + /** Store to buy this item through. If not set, prices default to those in the catalog. */ StoreId?: string; - /** - / Virtual currency to use to purchase the item. - */ + /** Virtual currency to use to purchase the item. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Details for the items purchased. - */ + /** Details for the items purchased. */ Items?: ItemInstance[]; } @@ -4781,47 +3537,29 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version of the coupon. If null, uses the default catalog - */ + /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; - /** - / Optional identifier for the Character that should receive the item. If null, item is added to the player - */ + /** Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; - /** - / Generated coupon code to redeem. - */ + /** Generated coupon code to redeem. */ CouponCode: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of redeeming the coupon. - */ + /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } @@ -4834,362 +3572,234 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { - /** - / indicates whether the server specified is available in this region - */ + /** indicates whether the server specified is available in this region */ Available: boolean; - /** - / name of the region - */ + /** name of the region */ Name?: string; - /** - / url to ping to get roundtrip time - */ + /** url to ping to get roundtrip time */ PingUrl?: string; - /** - / unique identifier for the region - */ + /** unique identifier for the region */ Region?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Message to display when confirming push notification. - */ + /** Message to display when confirming push notification. */ ConfirmationMessage?: string; - /** - / Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. - */ + /** Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. */ DeviceToken: string; - /** - / If true, send a test push message immediately after sucessful registration. Defaults to false. - */ + /** If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An optional parameter for setting the display name for this title (3-25 characters). - */ + /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. + * An optional parameter that specifies whether both the username and email parameters are required. If true, both + * parameters are required; if false, the user must supply either the username or email parameter. The default value is + * true. */ RequireBothUsernameAndEmail?: boolean; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / PlayFab username for the account (3-20 characters) - */ + /** PlayFab username for the account (3-20 characters) */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique identifier for this newly created account. - */ + /** PlayFab unique identifier for this newly created account. */ PlayFabId?: string; - /** - / Unique token identifying the user and game at the server level, for the current session. - */ + /** Unique token identifying the user and game at the server level, for the current session. */ SessionTicket?: string; - /** - / Settings specific to this user. - */ + /** Settings specific to this user. */ SettingsForUser?: UserSettings; - /** - / PlayFab unique user name. - */ + /** PlayFab unique user name. */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Device name. - */ + /** Device name. */ DeviceName?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; - /** - / PublicKey generated by Windows Hello. - */ + /** PublicKey generated by Windows Hello. */ PublicKey?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / Player's user name used by Windows Hello. - */ + /** Player's user name used by Windows Hello. */ UserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account which is to be removed. - */ + /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generic service identifier to be removed from the player. - */ + /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional additional comment by reporting player. - */ + /** Optional additional comment by reporting player. */ Comment?: string; - /** - / Unique PlayFab identifier of the reported player. - */ + /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The number of remaining reports which may be filed today. - */ + /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. - */ + /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** - / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError */ Error?: string; - /** - / Details about the error - */ + /** Details about the error */ Message?: string; - /** - / Point during the execution of the script at which the error occurred, if any - */ + /** Point during the execution of the script at which the error occurred, if any */ StackTrace?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account to which the tag(s) should be applied. - */ + /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; - /** - / Array of tags to set on the friend account. - */ + /** Array of tags to set on the friend account. */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; - /** - / Unique PlayFab identifier of the user to last update this value. - */ + /** Unique PlayFab identifier of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Indicates whether this data can be read by all users (public) or only members of the group (private). - */ + /** Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; - /** - / Data stored for the specified group data key. - */ + /** Data stored for the specified group data key. */ Value?: string; } @@ -5200,274 +3810,164 @@ declare module PlayFabClientModels { | "GameServer" | "Partner"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / version information for the build of the game server which is to be started - */ + /** version information for the build of the game server which is to be started */ BuildVersion: string; - /** - / character to use for stats based matching. Leave null to use account stats - */ + /** character to use for stats based matching. Leave null to use account stats */ CharacterId?: string; - /** - / custom command line argument when starting game server process - */ + /** custom command line argument when starting game server process */ CustomCommandLineData?: string; - /** - / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) - */ + /** the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ GameMode: string; - /** - / the region to associate this server with for match filtering - */ + /** the region to associate this server with for match filtering */ Region: string; - /** - / player statistic for others to use in finding this game. May be null for no stat-based matching - */ + /** player statistic for others to use in finding this game. May be null for no stat-based matching */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { - /** - / timestamp for when the server should expire, if applicable - */ + /** timestamp for when the server should expire, if applicable */ Expires?: string; - /** - / unique identifier for the lobby of the server started - */ + /** unique identifier for the lobby of the server started */ LobbyID?: string; - /** - / password required to log into the server - */ + /** password required to log into the server */ Password?: string; - /** - / server IP address - */ + /** server IPV4 address */ ServerHostname?: string; - /** - / port on the server to be used for communication - */ + /** server IPV6 address */ + ServerIPV6Address?: string; + /** port on the server to be used for communication */ ServerPort?: number; - /** - / unique identifier for the server - */ + /** unique identifier for the server */ Ticket?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version for the items to be purchased. Defaults to most recent catalog. - */ + /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; - /** - / Array of items to purchase. - */ + /** Array of items to purchase. */ Items: ItemPurchaseRequest[]; - /** - / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. - */ + /** Store through which to purchase items. If not set, prices will be pulled from the catalog itself. */ StoreId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Cart items to be purchased. - */ + /** Cart items to be purchased. */ Contents?: CartItem[]; - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Available methods by which the user can pay. - */ + /** Available methods by which the user can pay. */ PaymentOptions?: PaymentOption[]; - /** - / Current virtual currency totals for the user. - */ + /** Current virtual currency totals for the user. */ VirtualCurrencyBalances?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Statistic value - */ + /** Statistic value */ Value: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / the version of the statistic to be returned - */ + /** the version of the statistic to be returned */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + * for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when + * setting the statistic value for the first time. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded - */ + /** for updates to an existing statistic value for a player, the version of the statistic when it was loaded */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; - /** - / Unique Steam identifier for a user. - */ + /** Unique Steam identifier for a user. */ SteamStringId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { - /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances - */ + /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; - /** - / Intended display position for this item. Note that 0 is the first position - */ + /** Intended display position for this item. Note that 0 is the first position */ DisplayPosition?: number; /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + * Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the + * catalog */ ItemId: string; - /** - / Override prices for this item for specific currencies - */ + /** Override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Tagline for a store. - */ + /** Tagline for a store. */ Description?: string; - /** - / Display name of a store as it will appear to users. - */ + /** Display name of a store as it will appear to users. */ DisplayName?: string; - /** - / Custom data about a store. - */ + /** Custom data about a store. */ Metadata?: any; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { - /** - / When this subscription expires. - */ + /** When this subscription expires. */ Expiration: string; - /** - / The time the subscription was orignially purchased - */ + /** The time the subscription was orignially purchased */ InitialSubscriptionTime: string; - /** - / Whether this subscription is currently active. That is, if Expiration > now. - */ + /** Whether this subscription is currently active. That is, if Expiration > now. */ IsActive: boolean; - /** - / The status of this subscription, according to the subscription provider. - */ + /** The status of this subscription, according to the subscription provider. */ Status?: string; - /** - / The id for this subscription - */ + /** The id for this subscription */ SubscriptionId?: string; - /** - / The item id for this subscription from the primary catalog - */ + /** The item id for this subscription from the primary catalog */ SubscriptionItemId?: string; - /** - / The provider for this subscription. Apple or Google Play are supported today. - */ + /** The provider for this subscription. Apple or Google Play are supported today. */ SubscriptionProvider?: string; } @@ -5481,28 +3981,18 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { - /** - / Full value of the tag, including namespace - */ + /** Full value of the tag, including namespace */ TagValue?: string; } @@ -5513,84 +4003,46 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { - /** - / News item text. - */ + /** News item text. */ Body?: string; - /** - / Unique identifier of news item. - */ + /** Unique identifier of news item. */ NewsId?: string; - /** - / Date and time when the news items was posted. - */ + /** Date and time when the news items was posted. */ Timestamp: string; - /** - / Title of the news item. - */ + /** Title of the news item. */ Title?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { - /** - / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. - */ + /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; - /** - / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. - */ + /** The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. */ AcceptedPlayerId?: string; - /** - / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. - */ + /** An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ AllowedPlayerIds?: string[]; - /** - / If set, The UTC time when this trade was canceled. - */ + /** If set, The UTC time when this trade was canceled. */ CancelledAt?: string; - /** - / If set, The UTC time when this trade was fulfilled. - */ + /** If set, The UTC time when this trade was fulfilled. */ FilledAt?: string; - /** - / If set, The UTC time when this trade was made invalid. - */ + /** If set, The UTC time when this trade was made invalid. */ InvalidatedAt?: string; - /** - / The catalogItem Ids of the item instances being offered. - */ + /** The catalogItem Ids of the item instances being offered. */ OfferedCatalogItemIds?: string[]; - /** - / The itemInstance Ids that are being offered. - */ + /** The itemInstance Ids that are being offered. */ OfferedInventoryInstanceIds?: string[]; - /** - / The PlayFabId for the offering player. - */ + /** The PlayFabId for the offering player. */ OfferingPlayerId?: string; - /** - / The UTC time when this trade was created. - */ + /** The UTC time when this trade was created. */ OpenedAt?: string; - /** - / The catalogItem Ids requested in exchange. - */ + /** The catalogItem Ids requested in exchange. */ RequestedCatalogItemIds?: string[]; - /** - / Describes the current state of this trade. - */ + /** Describes the current state of this trade. */ Status?: string; - /** - / The identifier for this trade. - */ + /** The identifier for this trade. */ TradeId?: string; } @@ -5624,498 +4076,355 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; - /** - / Unique Twitch identifier for a user. - */ + /** Unique Twitch identifier for a user. */ TwitchId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be used. + * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be + * used. */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID will be used. + * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID + * will be used. */ CustomId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will be used. + * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will + * be used. */ DeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / SHA256 hash of the PublicKey generated by Windows Hello. - */ + /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * associated with the item instance. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / ItemInstanceId of the container to unlock. - */ + /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * parameter is required. */ KeyItemInstanceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * catalog. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Catalog ItemId of the container type to unlock. - */ + /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of unlocking the container. - */ + /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; - /** - / Unique instance identifier of the container unlocked. - */ + /** Unique instance identifier of the container unlocked. */ UnlockedItemInstanceId?: string; - /** - / Unique instance identifier of the key used to unlock the container, if applicable. - */ + /** Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Virtual currency granted to the player as a result of unlocking the container. - */ + /** Virtual currency granted to the player as a result of unlocking the container. */ VirtualCurrency?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / URL of the avatar image. If empty, it removes the existing avatar URL. - */ + /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Statistics to be updated with the provided values. - */ + /** Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Statistics to be updated with the provided values - */ + /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys in this request. - */ + /** Permission to be applied to all user data keys in this request. */ Permission?: string; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. This is used for requests by one player for information about another player; those requests will only return Public keys. + * Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. This is used + * for requests by one player for information about another player; those requests will only return Public keys. */ Permission?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / New title display name for the user - must be between 3 and 25 characters. - */ + /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Current title display name for the user (this will be the original display name if the rename attempt failed). - */ + /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { - /** - / User Android device information, if an Android device has been linked - */ + /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; - /** - / Timestamp indicating when the user account was created - */ + /** Timestamp indicating when the user account was created */ Created: string; - /** - / Custom ID information, if a custom ID has been assigned - */ + /** Custom ID information, if a custom ID has been assigned */ CustomIdInfo?: UserCustomIdInfo; - /** - / User Facebook information, if a Facebook account has been linked - */ + /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Gamecenter information, if a Gamecenter account has been linked - */ + /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; - /** - / User Google account information, if a Google account has been linked - */ + /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; - /** - / User iOS device information, if an iOS device has been linked - */ + /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; - /** - / User Kongregate account information, if a Kongregate account has been linked - */ + /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; - /** - / Unique identifier for the user account - */ + /** Unique identifier for the user account */ PlayFabId?: string; - /** - / Personal information for the user which is considered more sensitive - */ + /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** - / User PSN account information, if a PSN account has been linked - */ + /** User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; - /** - / User Steam information, if a Steam account has been linked - */ + /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; - /** - / Title-specific information for the user account - */ + /** Title-specific information for the user account */ TitleInfo?: UserTitleInfo; - /** - / User Twitch account information, if a Twitch account has been linked - */ + /** User Twitch account information, if a Twitch account has been linked */ TwitchInfo?: UserTwitchInfo; - /** - / User account name in the PlayFab service - */ + /** User account name in the PlayFab service */ Username?: string; - /** - / User XBox account information, if a XBox account has been linked - */ + /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { - /** - / Android device ID - */ + /** Android device ID */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { - /** - / Custom ID - */ + /** Custom ID */ CustomId?: string; } @@ -6123,96 +4432,61 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; /** - / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + * Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData + * requests being made by one player about another player. */ Permission?: string; - /** - / Data stored for the specified user data key. - */ + /** Data stored for the specified user data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { - /** - / Facebook identifier - */ + /** Facebook identifier */ FacebookId?: string; - /** - / Facebook full name - */ + /** Facebook full name */ FullName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { - /** - / Gamecenter identifier - */ + /** Gamecenter identifier */ GameCenterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Email address of the Google account - */ + /** Email address of the Google account */ GoogleEmail?: string; - /** - / Gender information of the Google account - */ + /** Gender information of the Google account */ GoogleGender?: string; - /** - / Google ID - */ + /** Google ID */ GoogleId?: string; - /** - / Locale of the Google account - */ + /** Locale of the Google account */ GoogleLocale?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { - /** - / iOS device ID - */ + /** iOS device ID */ IosDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { - /** - / Kongregate ID - */ + /** Kongregate ID */ KongregateId?: string; - /** - / Kongregate Username - */ + /** Kongregate Username */ KongregateName?: string; } @@ -6236,372 +4510,248 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { - /** - / user email address - */ + /** user email address */ Email?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { - /** - / PSN account ID - */ + /** PSN account ID */ PsnAccountId?: string; - /** - / PSN online ID - */ + /** PSN online ID */ PsnOnlineId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { - /** - / Boolean for whether this player is eligible for gathering device info. - */ + /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; - /** - / Boolean for whether this player is eligible for ad tracking. - */ + /** Boolean for whether this player is eligible for ad tracking. */ NeedsAttribution: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { - /** - / what stage of game ownership the user is listed as being in, from Steam - */ + /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; - /** - / the country in which the player resides, from Steam data - */ + /** the country in which the player resides, from Steam data */ SteamCountry?: string; - /** - / currency type set in the user Steam account - */ + /** currency type set in the user Steam account */ SteamCurrency?: string; - /** - / Steam identifier - */ + /** Steam identifier */ SteamId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { - /** - / URL to the player's avatar. - */ + /** URL to the player's avatar. */ AvatarUrl?: string; /** - / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + * timestamp indicating when the user was first associated with this game (this can differ significantly from when the user + * first registered with PlayFab) */ Created: string; - /** - / name of the user, as it is displayed in-game - */ + /** name of the user, as it is displayed in-game */ DisplayName?: string; /** - / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + * timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other + * events, such as issuing a beta key to the user, can associate the title to the user) */ FirstLogin?: string; - /** - / boolean indicating whether or not the user is currently banned for a title - */ + /** boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; - /** - / timestamp for the last user login for this title - */ + /** timestamp for the last user login for this title */ LastLogin?: string; - /** - / source by which the user first joined the game, if known - */ + /** source by which the user first joined the game, if known */ Origination?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { - /** - / Twitch ID - */ + /** Twitch ID */ TwitchId?: string; - /** - / Twitch Username - */ + /** Twitch Username */ TwitchUserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { - /** - / XBox user ID - */ + /** XBox user ID */ XboxUserId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version to use when granting receipt item. If null, defaults to primary catalog. - */ + /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice: number; - /** - / ReceiptId returned by the Amazon App Store in-app purchase API - */ + /** ReceiptId returned by the Amazon App Store in-app purchase API */ ReceiptId: string; - /** - / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API - */ + /** AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API */ UserId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode?: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice?: number; - /** - / Original JSON string returned by the Google Play IAB API. - */ + /** Original JSON string returned by the Google Play IAB API. */ ReceiptJson: string; - /** - / Signature returned by the Google Play IAB API. - */ + /** Signature returned by the Google Play IAB API. */ Signature: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice: number; - /** - / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. - */ + /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version to use when granting receipt item. If null, defaults to primary catalog. - */ + /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice: number; - /** - / XML Receipt returned by the Windows App Store in-app purchase API - */ + /** XML Receipt returned by the Windows App Store in-app purchase API */ Receipt: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { - /** - / ISO 4217 code of the currency used in the purchases - */ + /** ISO 4217 code of the currency used in the purchases */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel */ export interface VirtualCurrencyBalanceModel { - /** - / Name of the virtual currency - */ + /** Name of the virtual currency */ Currency?: string; - /** - / Balance of the virtual currency - */ + /** Balance of the virtual currency */ TotalValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** - / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to + * any particular format. */ EventId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 23cc1527..68901ca2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -3,28 +3,29 @@ declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { /** - / Validates a user with the PlayFab service - / https://api.playfab.com/Documentation/Matchmaker/method/AuthUser + * Validates a user with the PlayFab service + * https://api.playfab.com/Documentation/Matchmaker/method/AuthUser */ AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified - / https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined + * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified + * https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined */ PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified - / https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft + * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified + * https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft */ PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance - / https://api.playfab.com/Documentation/Matchmaker/method/StartGame + * Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance + * https://api.playfab.com/Documentation/Matchmaker/method/StartGame */ StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches - / https://api.playfab.com/Documentation/Matchmaker/method/UserInfo + * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute + * effective matches + * https://api.playfab.com/Documentation/Matchmaker/method/UserInfo */ UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -32,157 +33,102 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Session Ticket provided by the client. - */ + /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Boolean indicating if the user has been authorized to use the external match-making service. - */ + /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; - /** - / PlayFab unique identifier of the account that has been authorized. - */ + /** PlayFab unique identifier of the account that has been authorized. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the Game Server Instance that is being deregistered. - */ + /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the Matchmaker/StartGame API. + * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the + * Matchmaker/StartGame API. */ LobbyId: string; - /** - / PlayFab unique identifier for the player joining. - */ + /** PlayFab unique identifier for the player joining. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the Matchmaker/StartGame API. + * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the + * Matchmaker/StartGame API. */ LobbyId: string; - /** - / PlayFab unique identifier for the player leaving. - */ + /** PlayFab unique identifier for the player leaving. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -195,167 +141,119 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the build running on the Game Server Instance. - */ + /** Unique identifier of the build running on the Game Server Instance. */ Build: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game + * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ GameMode: string; - /** - / Previous lobby id if re-registering an existing game. - */ + /** Previous lobby id if re-registering an existing game. */ LobbyId?: string; /** - / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS + * region and use Tags (below) to specify your custom region. */ Region: string; - /** - / IP address of the Game Server Instance. - */ + /** IPV4 address of the Game Server Instance. */ ServerHost: string; - /** - / Port number for communication with the Game Server Instance. - */ + /** IPV6 address of the Game Server Instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ ServerPort: string; - /** - / Tags for the Game Server Instance - */ + /** Tags for the Game Server Instance */ Tags?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. + * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the + * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the previously uploaded build executable which is to be started. - */ + /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; - /** - / Custom command line argument when starting game server process. - */ + /** Custom command line argument when starting game server process. */ CustomCommandLineData?: string; /** - / HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an application/json body of { "EventName": "game_ended", "GameID": "" }. + * HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will + * make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an + * application/json body of { "EventName": "game_ended", "GameID": "" }. */ ExternalMatchmakerEventEndpoint: string; - /** - / Game mode for this Game Server Instance. - */ + /** Game mode for this Game Server Instance. */ GameMode: string; - /** - / Region with which to associate the server, for filtering. - */ + /** Region with which to associate the server, for filtering. */ Region: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the game/lobby in the new Game Server Instance. - */ + /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; - /** - / IP address of the new Game Server Instance. - */ + /** IPV4 address of the new Game Server Instance. */ ServerHostname?: string; - /** - / Port number for communication with the Game Server Instance. - */ + /** IPV6 address of the new Game Server Instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ ServerPort: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a catalog version of this or higher). + * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a + * catalog version of this or higher). */ MinCatalogVersion: number; - /** - / PlayFab unique identifier of the user whose information is being requested. - */ + /** PlayFab unique identifier of the user whose information is being requested. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items in the user's current inventory. - */ + /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; - /** - / Boolean indicating whether the user is a developer. - */ + /** Boolean indicating whether the user is a developer. */ IsDeveloper: boolean; - /** - / PlayFab unique identifier of the user whose information was requested. - */ + /** PlayFab unique identifier of the user whose information was requested. */ PlayFabId?: string; - /** - / Steam unique identifier, if the user has an associated Steam account. - */ + /** Steam unique identifier, if the user has an associated Steam account. */ SteamId?: string; - /** - / Title specific display name, if set. - */ + /** Title specific display name, if set. */ TitleDisplayName?: string; - /** - / PlayFab unique user name. - */ + /** PlayFab unique user name. */ Username?: string; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index fb869081..252db9a5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3,543 +3,589 @@ declare module PlayFabServerModule { export interface IPlayFabServer { /** - / Increments the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + * Increments the character's balance of the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Server/method/AddFriend + * Adds the Friend user to the friendlist of the user with PlayFabId. At least one of + * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + * https://api.playfab.com/Documentation/Server/method/AddFriend */ AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Server/method/AddPlayerTag */ AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only + * users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very + * small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + * Increments the user's balance of the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validated a client's session ticket, and if successful, returns details for that user - / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket + * Validated a client's session ticket, and if successful, returns details for that user + * https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket */ AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Awards the specified users the specified Steam achievements - / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + * Awards the specified users the specified Steam achievements + * https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement */ AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - / https://api.playfab.com/Documentation/Server/method/BanUsers + * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + * https://api.playfab.com/Documentation/Server/method/BanUsers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Server/method/ConsumeItem + * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + * https://api.playfab.com/Documentation/Server/method/ConsumeItem */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data + * between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the specific character ID from the specified user. - / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + * Deletes the specific character ID from the specified user. + * https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for + * sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. - / https://api.playfab.com/Documentation/Server/method/DeleteUsers + * Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + * https://api.playfab.com/Documentation/Server/method/DeleteUsers */ DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Inform the matchmaker that a Game Server Instance is removed. - / https://api.playfab.com/Documentation/Server/method/DeregisterGame + * Inform the matchmaker that a Game Server Instance is removed. + * https://api.playfab.com/Documentation/Server/method/DeregisterGame */ DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. - / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been + * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + * https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. - / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript + * Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + * https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetAllSegments + * 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. + * https://api.playfab.com/Documentation/Server/method/GetAllSegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be + * evaluated with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters */ GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Server/method/GetCatalogItems + * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + * https://api.playfab.com/Documentation/Server/method/GetCatalogItems */ GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/GetCharacterData */ GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + * Retrieves the title-specific custom data for the user's character which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData */ GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + * Retrieves the specified character's current inventory of virtual goods + * https://api.playfab.com/Documentation/Server/method/GetCharacterInventory */ GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard */ GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + * Retrieves the title-specific custom data for the user's character which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData */ GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + * Retrieves the details of all title-specific statistics for the specific character + * https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics */ GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * the query to retrieve the data will fail. See this post for more information: + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. + * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates + * apply. + * https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + * Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the + * leaderboard + * https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard */ GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Server/method/GetFriendsList + * Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from + * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + * https://api.playfab.com/Documentation/Server/method/GetFriendsList */ GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetLeaderboard + * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Server/method/GetLeaderboard */ GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + * Retrieves a list of ranked characters for the given statistic, centered on the requested user + * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter */ GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + * Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user + * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser */ GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + * Retrieves a list of all of the user's characters for the given statistic. + * https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters */ GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. - / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) + * may be returned. All parameters default to false. + * https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + * Retrieves the player's profile + * https://api.playfab.com/Documentation/Server/method/GetPlayerProfile */ GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + * List all segments that a player currently belongs to at this moment in time. + * https://api.playfab.com/Documentation/Server/method/GetPlayerSegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + * 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. + * https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current version and values for the indicated statistics, for the local player. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + * Retrieves the current version and values for the indicated statistics, for the local player. + * https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics */ GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + * Retrieves the information on the available versions of the specified statistic. + * https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions */ GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + * Get all tags with a given Namespace (optional) from a player profile. + * https://api.playfab.com/Documentation/Server/method/GetPlayerTags */ GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + * 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Server/method/GetPublisherData + * Retrieves the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Server/method/GetPublisherData */ GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights - / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + * Retrieves the configuration information for the specified random results tables for the title, including all ItemId + * values and weights + * https://api.playfab.com/Documentation/Server/method/GetRandomResultTables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all + * public and private group data. Shared Groups are designed for sharing data between a very small number of players, + * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current server time - / https://api.playfab.com/Documentation/Server/method/GetTime + * Retrieves the current server time + * https://api.playfab.com/Documentation/Server/method/GetTime */ GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/GetTitleData + * Retrieves the key-value store of custom title settings + * https://api.playfab.com/Documentation/Server/method/GetTitleData */ GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom internal title settings - / https://api.playfab.com/Documentation/Server/method/GetTitleInternalData + * Retrieves the key-value store of custom internal title settings + * https://api.playfab.com/Documentation/Server/method/GetTitleInternalData */ GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title news feed, as configured in the developer portal - / https://api.playfab.com/Documentation/Server/method/GetTitleNews + * Retrieves the title news feed, as configured in the developer portal + * https://api.playfab.com/Documentation/Server/method/GetTitleNews */ GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user - / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + * Retrieves the relevant details for a specified user + * https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo */ GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Server/method/GetUserBans + * Gets all bans for a user. + * https://api.playfab.com/Documentation/Server/method/GetUserBans */ GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/GetUserData */ GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserInternalData + * Retrieves the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/GetUserInternalData */ GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetUserInventory + * Retrieves the specified user's current inventory of virtual goods + * https://api.playfab.com/Documentation/Server/method/GetUserInventory */ GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + * Retrieves the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/GetUserPublisherData */ GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData */ GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + * Retrieves the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData */ GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + * Retrieves the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData */ GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated + * with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser */ GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified character's inventory - / https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter + * Adds the specified items to the specified character's inventory + * https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter */ GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user's inventory - / https://api.playfab.com/Documentation/Server/method/GrantItemsToUser + * Adds the specified items to the specified user's inventory + * https://api.playfab.com/Documentation/Server/method/GrantItemsToUser */ GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user inventories - / https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers + * Adds the specified items to the specified user inventories + * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Modifies the number of remaining uses of a player's inventory item - / https://api.playfab.com/Documentation/Server/method/ModifyItemUses + * Modifies the number of remaining uses of a player's inventory item + * https://api.playfab.com/Documentation/Server/method/ModifyItemUses */ ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Moves an item from a character's inventory into another of the users's character's inventory. - / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter + * Moves an item from a character's inventory into another of the users's character's inventory. + * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter */ MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Moves an item from a user's inventory into their character's inventory. - / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser + * Moves an item from a user's inventory into their character's inventory. + * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser */ MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Moves an item from a character's inventory into the owning user's inventory. - / https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter + * Moves an item from a character's inventory into the owning user's inventory. + * https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Informs the PlayFab match-making service that the user specified has left the Game Server Instance - / https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft + * Informs the PlayFab match-making service that the user specified has left the Game Server Instance + * https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Server/method/RedeemCoupon + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Economy->Catalogs tab in the PlayFab Game Manager. + * https://api.playfab.com/Documentation/Server/method/RedeemCoupon */ RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates a Game Server session ticket and returns details about the user - / https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket + * Validates a Game Server session ticket and returns details about the user + * https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket */ RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. - / https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat + * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. + * https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Inform the matchmaker that a new Game Server Instance is added. - / https://api.playfab.com/Documentation/Server/method/RegisterGame + * Inform the matchmaker that a new Game Server Instance is added. + * https://api.playfab.com/Documentation/Server/method/RegisterGame */ RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the specified friend from the the user's friend list - / https://api.playfab.com/Documentation/Server/method/RemoveFriend + * Removes the specified friend from the the user's friend list + * https://api.playfab.com/Documentation/Server/method/RemoveFriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag */ RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the + * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Server/method/ReportPlayer + * Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service + * representatives for the title can take action concerning potentially toxic players. + * https://api.playfab.com/Documentation/Server/method/ReportPlayer */ ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + * Revoke all active bans for a user. + * https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser */ RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Server/method/RevokeBans + * Revoke all active bans specified with BanId. + * https://api.playfab.com/Documentation/Server/method/RevokeBans */ RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem + * Revokes access to an item in a user's inventory + * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - / https://api.playfab.com/Documentation/Server/method/SendPushNotification + * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push + * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + * https://api.playfab.com/Documentation/Server/method/SendPushNotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the tag list for a specified user in the friend list of another user - / https://api.playfab.com/Documentation/Server/method/SetFriendTags + * Updates the tag list for a specified user in the friend list of another user + * https://api.playfab.com/Documentation/Server/method/SetFriendTags */ SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the custom data of the indicated Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData + * Sets the custom data of the indicated Game Server Instance + * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData */ SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set the state of the indicated Game Server Instance. - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState + * Set the state of the indicated Game Server Instance. + * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState */ SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set custom tags for the specified Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags + * Set custom tags for the specified Game Server Instance + * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags */ SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's + * secret use the Admin or Server API method SetPlayerSecret. + * https://api.playfab.com/Documentation/Server/method/SetPlayerSecret */ SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Server/method/SetPublisherData + * Updates the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Server/method/SetPublisherData */ SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleData + * Updates the key-value store of custom title settings + * https://api.playfab.com/Documentation/Server/method/SetTitleData */ SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + * Updates the key-value store of custom title settings + * https://api.playfab.com/Documentation/Server/method/SetTitleInternalData */ SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency + * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC + * balance negative with this API. + * https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency */ SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency + * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC + * balance negative with this API. + * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance + * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and + * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > + * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + * https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance */ UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem + * Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it + * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) + * are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of + * ConsumeItem. + * https://api.playfab.com/Documentation/Server/method/UnlockContainerItem */ UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the specified player - / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + * Update the avatar URL of the specified player + * https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl */ UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Server/method/UpdateBans + * Updates information of a list of existing bans specified with Ban Ids. + * https://api.playfab.com/Documentation/Server/method/UpdateBans */ UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + * Updates the title-specific custom data for the user's character which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + * Updates the title-specific custom data for the user's character which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData */ UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + * Updates the title-specific custom data for the user's character which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData */ UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + * Updates the values of the specified title-specific statistics for the specific character + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics */ UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user - / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + * Updates the values of the specified title-specific statistics for the user + * https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics */ UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated + * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. + * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are + * designed for sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserData + * Updates the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserData */ UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + * Updates the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData */ UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value pair data tagged to the specified item, which is read-only from the client. - / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData + * Updates the key-value pair data tagged to the specified item, which is read-only from the client. + * https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData */ UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + * Updates the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData */ UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + * Updates the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData */ UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + * Updates the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData */ UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + * Updates the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData */ UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent + * Writes a character-based event into PlayStream. + * https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent */ WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent + * Writes a player-based event into PlayStream. + * https://api.playfab.com/Documentation/Server/method/WritePlayerEvent */ WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent + * Writes a title-based event into PlayStream. + * https://api.playfab.com/Documentation/Server/method/WriteTitleEvent */ WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -547,528 +593,344 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 + * (2,147,483,647). Any increase over this value will be discarded. */ Amount: number; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be incremented. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Email address of the user being added. - */ + /** Email address of the user being added. */ FriendEmail?: string; - /** - / The PlayFab identifier of the user being added. - */ + /** The PlayFab identifier of the user being added. */ FriendPlayFabId?: string; - /** - / Title-specific display name of the user to being added. - */ + /** Title-specific display name of the user to being added. */ FriendTitleDisplayName?: string; - /** - / The PlayFab username of the user being added - */ + /** The PlayFab username of the user being added */ FriendUsername?: string; - /** - / PlayFab identifier of the player to add a new friend. - */ + /** PlayFab identifier of the player to add a new friend. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). + * Any increase over this value will be discarded. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be increased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { - /** - / The Json the platform should receive. - */ + /** The Json the platform should receive. */ Json: string; - /** - / The platform that should receive the Json. - */ + /** The platform that should receive the Json. */ Platform: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Session ticket as issued by a PlayFab client login API. - */ + /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Account info for the user whose session ticket was supplied. - */ + /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { - /** - / Unique Steam achievement name. - */ + /** Unique Steam achievement name. */ AchievementName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Result of the award attempt (only valid on response, not on request). - */ + /** Result of the award attempt (only valid on response, not on request). */ Result: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of achievements to grant and the users to whom they are to be granted. - */ + /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of achievements granted. - */ + /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ + /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; - /** - / The unique Ban Id associated with this ban. - */ + /** The unique Ban Id associated with this ban. */ BanId?: string; - /** - / The time when this ban was applied. - */ + /** The time when this ban was applied. */ Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. - */ + /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** - / The IP address on which the ban was applied. May affect multiple players. - */ + /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** - / The MAC address on which the ban was applied. May affect multiple players. - */ + /** The MAC address on which the ban was applied. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / The reason why this ban was applied. - */ + /** The reason why this ban was applied. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The duration in hours for the ban. Leave this blank for a permanent ban. - */ + /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** - / IP address to be banned. May affect multiple players. - */ + /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** - / MAC address to be banned. May affect multiple players. - */ + /** MAC address to be banned. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The reason for this ban. Maximum 140 characters. - */ + /** The reason for this ban. Maximum 140 characters. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of ban requests to be applied. Maximum 100. - */ + /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were applied - */ + /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables + * and virtual currencies */ Bundle?: CatalogItemBundleInfo; - /** - / if true, then an item instance of this type can be used to grant a character to a user. - */ + /** if true, then an item instance of this type can be used to grant a character to a user. */ CanBecomeCharacter: boolean; - /** - / catalog version for this item - */ + /** catalog version for this item */ CatalogVersion?: string; - /** - / defines the consumable properties (number of uses, timeout) for the item - */ + /** defines the consumable properties (number of uses, timeout) for the item */ Consumable?: CatalogItemConsumableInfo; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + * defines the container properties for the item - what items it contains, including random drop tables and virtual + * currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ Container?: CatalogItemContainerInfo; - /** - / game specific custom data - */ + /** game specific custom data */ CustomData?: string; - /** - / text description of item, to show in-game - */ + /** text description of item, to show in-game */ Description?: string; - /** - / text name for the item, to show in-game - */ + /** text name for the item, to show in-game */ DisplayName?: string; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + * If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited + * edition item, this value determines the total number of instances to allocate for the title. Once this limit has been + * reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of + * false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less + * than zero, it will be ignored. */ InitialLimitedEditionCount: number; - /** - / BETA: If true, then only a fixed number can ever be granted. - */ + /** BETA: If true, then only a fixed number can ever be granted. */ IsLimitedEdition: boolean; /** - / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + * if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. + * RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ IsStackable: boolean; - /** - / if true, then an item instance of this type can be traded between players using the trading APIs - */ + /** if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; - /** - / class to which the item belongs - */ + /** class to which the item belongs */ ItemClass?: string; - /** - / unique identifier for this item - */ + /** unique identifier for this item */ ItemId: string; /** - / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + * URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP + * URL. */ ItemImageUrl?: string; - /** - / override prices for this item for specific currencies - */ + /** override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / list of item tags - */ + /** list of item tags */ Tags?: string[]; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { - /** - / unique ItemId values for all items which will be added to the player inventory when the bundle is added - */ + /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; /** - / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + * unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and + * add the relevant items to the player inventory when the bundle is added) */ BundledResultTables?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the bundle is added - */ + /** virtual currency types and balances which will be added to the player inventory when the bundle is added */ BundledVirtualCurrencies?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { - /** - / number of times this object can be used, after which it will be removed from the player inventory - */ + /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; /** - / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + * duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed + * (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on + * this item's details have completed) */ UsagePeriod?: number; /** - / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + * all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values + * added together, and share the result - when that period has elapsed, all the items in the group will be removed */ UsagePeriodGroup?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked - */ + /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + * ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will + * open the container, adding the contents to the player inventory and currency balances) */ KeyItemId?: string; /** - / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + * unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables + * will be resolved and add the relevant items to the player inventory) */ ResultTableContents?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the container is unlocked - */ + /** virtual currency types and balances which will be added to the player inventory when the container is unlocked */ VirtualCurrencyContents?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { - /** - / The id of this character. - */ + /** The id of this character. */ CharacterId?: string; - /** - / The inventory of this character. - */ + /** The inventory of this character. */ Inventory?: ItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; - /** - / Title-specific display name of the character for this leaderboard entry. - */ + /** Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Name of the character class for this entry. - */ + /** Name of the character class for this entry. */ CharacterType?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The id for this character on this player. - */ + /** The id for this character on this player. */ CharacterId?: string; - /** - / The name of this character. - */ + /** The name of this character. */ CharacterName?: string; - /** - / The type-string that was given to this character on creation. - */ + /** The type-string that was given to this character on creation. */ CharacterType?: string; } @@ -1077,75 +939,47 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Number of uses to consume from the item. - */ + /** Number of uses to consume from the item. */ ConsumeCount: number; - /** - / Unique instance identifier of the item to be consumed. - */ + /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique instance identifier of the item with uses consumed. - */ + /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; - /** - / Number of uses remaining on the item. - */ + /** Number of uses remaining on the item. */ RemainingUses: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; - /** - / The verification status of the email - */ + /** The verification status of the email */ VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; } @@ -1407,24 +1241,16 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). - */ + /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId?: string; } @@ -1592,79 +1418,57 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those items. + * If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those + * items. */ SaveCharacterInventory: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the Game Server Instance that is being deregistered. - */ + /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1673,173 +1477,121 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses + * default/primary catalog. */ CatalogVersion?: string; - /** - / The unique identifier of the Random Result Table to use. - */ + /** The unique identifier of the Random Result Table to use. */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. - */ + /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Number of PlayFab API requests issued by the CloudScript function - */ + /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution - */ + /** Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; ExecutionTimeSeconds: number; - /** - / The name of the function that executed - */ + /** The name of the function that executed */ FunctionName?: string; - /** - / The object returned from the CloudScript function, if any - */ + /** The object returned from the CloudScript function, if any */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; - /** - / Number of external HTTP requests issued by the CloudScript function - */ + /** Number of external HTTP requests issued by the CloudScript function */ HttpRequestsIssued: number; /** - / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; MemoryConsumedBytes: number; /** - / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. */ ProcessorTimeSeconds: number; - /** - / The revision of the CloudScript that executed - */ + /** The revision of the CloudScript that executed */ Revision: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The name of the CloudScript function to execute - */ + /** The name of the CloudScript function to execute */ FunctionName: string; - /** - / Object that is passed in to the function as the first argument - */ + /** Object that is passed in to the function as the first argument */ FunctionParameter?: any; /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + * Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. */ GeneratePlayStreamEvent?: boolean; - /** - / The unique user identifier for the player on whose behalf the script is being run - */ + /** The unique user identifier for the player on whose behalf the script is being run */ PlayFabId: string; /** - / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ RevisionSelection?: string; - /** - / The specivic revision to execute, when RevisionSelection is set to 'Specific' - */ + /** The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { - /** - / Unique Facebook identifier for a user. - */ + /** Unique Facebook identifier for a user. */ FacebookId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** - / Unique lobby identifier of the Game Server Instance to which this player is currently connected. - */ + /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; - /** - / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). - */ + /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; - /** - / PlayFab unique identifier for this friend. - */ + /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** - / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). - */ + /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). - */ + /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; - /** - / Tags which have been associated with this friend. - */ + /** Tags which have been associated with this friend. */ Tags?: string[]; - /** - / Title-specific display name for this friend. - */ + /** Title-specific display name for this friend. */ TitleDisplayName?: string; - /** - / PlayFab unique username for this friend. - */ + /** PlayFab unique username for this friend. */ Username?: string; } @@ -1847,1501 +1599,941 @@ declare module PlayFabServerModels { type GameInstanceState = "Open" | "Closed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments for this title. - */ + /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Which catalog is being requested. If null, uses the default catalog. - */ + /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items which can be purchased. - */ + /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Used to limit results to only those from a specific catalog version. - */ + /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier of the character for this inventory. - */ + /** Unique identifier of the character for this inventory. */ CharacterId?: string; - /** - / Array of inventory items belonging to the character. - */ + /** Array of inventory items belonging to the character. */ Inventory?: ItemInstance[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Array of virtual currency balance(s) belonging to the character. - */ + /** Array of virtual currency balance(s) belonging to the character. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / First entry in the leaderboard to be retrieved. - */ + /** First entry in the leaderboard to be retrieved. */ StartPosition: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier of the character for the statistics. - */ + /** Unique identifier of the character for the statistics. */ CharacterId?: string; - /** - / Character statistics for the requested user. - */ + /** Character statistics for the requested user. */ CharacterStatistics?: { [key: string]: number }; - /** - / PlayFab unique identifier of the user whose character statistics are being returned. - */ + /** PlayFab unique identifier of the user whose character statistics are being returned. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. - */ + /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ + /** Key of the content item to fetch, usually formatted as a path, e.g. images/a.png */ Key: string; /** - / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + * True to download through CDN. CDN provides higher download bandwidth and lower latency. However, if you want the latest, + * non-cached version of the content during development, set this to false. Default is true. */ ThruCDN?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** - / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. - */ + /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / The player whose friend leaderboard to get - */ + /** The player whose friend leaderboard to get */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Position in the leaderboard to start this listing (defaults to the first entry). - */ + /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; - /** - / Statistic used to rank friends for this leaderboard. - */ + /** Statistic used to rank friends for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / PlayFab identifier of the player whose friend list to get. - */ + /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of friends found. - */ + /** Array of friends found. */ Friends?: FriendInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / First entry in the leaderboard to be retrieved. - */ + /** First entry in the leaderboard to be retrieved. */ StartPosition: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; - /** - / PlayFabId of the user whose data will be returned - */ + /** PlayFabId of the user whose data will be returned */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { - /** - / Whether to get character inventories. Defaults to false. - */ + /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; - /** - / Whether to get the list of characters. Defaults to false. - */ + /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** - / Whether to get player profile. Defaults to false. - */ + /** Whether to get player profile. Defaults to false. */ GetPlayerProfile: boolean; - /** - / Whether to get player statistics. Defaults to false. - */ + /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; - /** - / Whether to get title data. Defaults to false. - */ + /** Whether to get title data. Defaults to false. */ GetTitleData: boolean; - /** - / Whether to get the player's account Info. Defaults to false - */ + /** Whether to get the player's account Info. Defaults to false */ GetUserAccountInfo: boolean; - /** - / Whether to get the player's custom data. Defaults to false - */ + /** Whether to get the player's custom data. Defaults to false */ GetUserData: boolean; - /** - / Whether to get the player's inventory. Defaults to false - */ + /** Whether to get the player's inventory. Defaults to false */ GetUserInventory: boolean; - /** - / Whether to get the player's read only data. Defaults to false - */ + /** Whether to get the player's read only data. Defaults to false */ GetUserReadOnlyData: boolean; - /** - / Whether to get the player's virtual currency balances. Defaults to false - */ + /** Whether to get the player's virtual currency balances. Defaults to false */ GetUserVirtualCurrency: boolean; - /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false - */ + /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; - /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. - */ + /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ ProfileConstraints?: number; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ UserDataKeys?: string[]; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + * Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is + * false */ UserReadOnlyDataKeys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Results for requested info. - */ + /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { - /** - / Account information for the user. This is always retrieved. - */ + /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; - /** - / Inventories for each character for the user. - */ + /** Inventories for each character for the user. */ CharacterInventories?: CharacterInventory[]; - /** - / List of characters for the user. - */ + /** List of characters for the user. */ CharacterList?: CharacterResult[]; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; - /** - / List of statistics for this player. - */ + /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; - /** - / Title data for this title. - */ + /** Title data for this title. */ TitleData?: { [key: string]: string }; - /** - / User specific custom data. - */ + /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; - /** - / The version of the UserData that was returned. - */ + /** The version of the UserData that was returned. */ UserDataVersion: number; - /** - / Array of inventory items in the user's current inventory. - */ + /** Array of inventory items in the user's current inventory. */ UserInventory?: ItemInstance[]; - /** - / User specific read-only data. - */ + /** User specific read-only data. */ UserReadOnlyData?: { [key: string]: UserDataRecord }; - /** - / The version of the Read-Only UserData that was returned. - */ + /** The version of the Read-Only UserData that was returned. */ UserReadOnlyDataVersion: number; - /** - / Dictionary of virtual currency balance(s) belonging to the user. - */ + /** Dictionary of virtual currency balance(s) belonging to the user. */ UserVirtualCurrency?: { [key: string]: number }; - /** - / Dictionary of remaining times and timestamps for virtual currencies. - */ + /** Dictionary of remaining times and timestamps for virtual currencies. */ UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** - / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments the requested player currently belongs to. - */ + /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Continuation token if retrieving subsequent pages of results. - */ + /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; - /** - / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. - */ + /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ 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). + * 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. - */ + /** Unique identifier for this segment. */ SegmentId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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. - */ + /** 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. - */ + /** Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; - /** - / Count of profiles matching this segment. - */ + /** Count of profiles matching this segment. */ ProfilesInSegment: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / user for whom statistics are being requested - */ + /** user for whom statistics are being requested */ PlayFabId: string; - /** - / statistics to return - */ + /** statistics to return */ StatisticNames?: string[]; /** - / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + * statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be + * returned) */ StatisticNameVersions?: StatisticNameVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique identifier of the user whose statistics are being returned - */ + /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; - /** - / User statistics for the requested user. - */ + /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional namespace to filter results by - */ + /** Optional namespace to filter results by */ Namespace?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Canonical tags (including namespace and tag's name) for the requested user - */ + /** Canonical tags (including namespace and tag's name) for the requested user */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Facebook identifiers to PlayFab identifiers. - */ + /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Steam identifiers to PlayFab identifiers. - */ + /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of keys to get back data from the Publisher data blob, set by the admin tools - */ + /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses + * default/primary catalog. */ CatalogVersion?: string; - /** - / The unique identifier of the Random Result Table to use. - */ + /** The unique identifier of the Random Result Table to use. */ TableIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of random result tables currently available - */ + /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Identifier of the segments AB Test, if it is attached to one. - */ + /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; - /** - / Unique identifier for this segment. - */ + /** Unique identifier for this segment. */ Id: string; - /** - / Segment name. - */ + /** Segment name. */ Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If true, return the list of all members of the shared group. - */ + /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; /** - / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + * Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array + * indicates that no keys should be returned). */ Keys?: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Data for the requested keys. - */ + /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; - /** - / List of PlayFabId identifiers for the members of this group, if requested. - */ + /** List of PlayFabId identifiers for the members of this group, if requested. */ Members?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Current server time when the request was received, in UTC - */ + /** Current server time when the request was received, in UTC */ Time: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific keys to search for in the title data (leave null to get all keys) - */ + /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Limits the results to the last n entries. Defaults to 10 if not set. - */ + /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of news items. - */ + /** Array of news items. */ News?: TitleNewsItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Account details for the user whose information was requested. - */ + /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information about the bans - */ + /** Information about the bans */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; - /** - / PlayFab unique identifier of the user whose custom data is being returned. - */ + /** PlayFab unique identifier of the user whose custom data is being returned. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items belonging to the user. - */ + /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Non-unique display name of the character being granted (1-20 characters in length). - */ + /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; - /** - / Type of the character being granted; statistics can be sliced based on this value. - */ + /** Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier tagged to this character. - */ + /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Result of this operation. - */ + /** Result of this operation. */ Result: boolean; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Array of itemIds to grant to the user. - */ + /** Array of itemIds to grant to the user. */ ItemIds?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Array of itemIds to grant to the user. - */ + /** Array of itemIds to grant to the user. */ ItemIds: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Array of items to grant and the users to whom the items are to be granted. - */ + /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; - /** - / Unique identifier of the catalog item to be granted to the user. - */ + /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { - /** - / Linked account email of the user on the platform, if available - */ + /** Linked account email of the user on the platform, if available */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Unique account identifier of the user on the platform - */ + /** Unique account identifier of the user on the platform */ PlatformUserId?: string; - /** - / Linked account username of the user on the platform, if available - */ + /** Linked account username of the user on the platform, if available */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The requested list of characters. - */ + /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { - /** - / City name. - */ + /** City name. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / Latitude coordinate of the geographic location. - */ + /** Latitude coordinate of the geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the geographic location. - */ + /** Longitude coordinate of the geographic location. */ Longitude?: number; } @@ -3361,225 +2553,141 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { - /** - / Optional object accompanying the message as contextual information - */ + /** Optional object accompanying the message as contextual information */ Data?: any; - /** - / 'Debug', 'Info', or 'Error' - */ + /** 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { - /** - / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. - */ + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; - /** - / The time this membership expires - */ + /** The time this membership expires */ MembershipExpiration: string; - /** - / The id of the membership - */ + /** The id of the membership */ MembershipId?: string; /** - / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. */ OverrideExpiration?: string; - /** - / The list of subscriptions that this player has for this membership - */ + /** The list of subscriptions that this player has for this membership */ Subscriptions?: SubscriptionModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique instance identifier of the item to be modified. - */ + /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; - /** - / PlayFab unique identifier of the user whose item is being modified. - */ + /** PlayFab unique identifier of the user whose item is being modified. */ PlayFabId: string; - /** - / Number of uses to add to the item. Can be negative to remove uses. - */ + /** Number of uses to add to the item. Can be negative to remove uses. */ UsesToAdd: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique instance identifier of the item with uses consumed. - */ + /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; - /** - / Number of uses remaining on the item. - */ + /** Number of uses remaining on the item. */ RemainingUses: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase + * over this value will be discarded. */ BalanceChange: number; - /** - / User currency was subtracted from. - */ + /** User currency was subtracted from. */ PlayFabId?: string; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the character that currently has the item. - */ + /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique identifier of the character that will be receiving the item. - */ + /** Unique identifier of the character that will be receiving the item. */ ReceivingCharacterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Instance the user is leaving. - */ + /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { - /** - / State of user leaving the Game Server Instance. - */ + /** State of user leaving the Game Server Instance. */ PlayerState?: string; } @@ -3589,413 +2697,227 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { - /** - / Linked account's email - */ + /** Linked account's email */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Platform user identifier - */ + /** Platform user identifier */ PlatformUserId?: string; - /** - / Linked account's username - */ + /** Linked account's username */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { - /** - / City of the player's geographic location. - */ + /** City of the player's geographic location. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** 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 coordinate of the player's geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the player's geographic location. - */ + /** Longitude coordinate of the player's geographic location. */ Longitude?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { - /** - / Array of ad campaigns player has been attributed to - */ + /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; - /** - / Image URL of the player's avatar. - */ + /** 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. - */ + /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; - /** - / Array of contact email addresses associated with the player - */ + /** Array of contact email addresses associated with the player */ ContactEmailAddresses?: ContactEmailInfo[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player Display Name - */ + /** Player Display Name */ DisplayName?: string; - /** - / Last login - */ + /** Last login */ LastLogin?: string; - /** - / Array of third party accounts linked to this player - */ + /** Array of third party accounts linked to this player */ LinkedAccounts?: PlayerLinkedAccount[]; - /** - / Dictionary of player's locations by type. - */ + /** Dictionary of player's locations by type. */ Locations?: { [key: string]: PlayerLocation }; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab Player ID - */ + /** PlayFab Player ID */ PlayerId?: string; - /** - / Array of player statistics - */ + /** Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / Array of configured push notification end points - */ + /** Array of configured push notification end points */ PushNotificationRegistrations?: PushNotificationRegistration[]; - /** - / Dictionary of player's statistics using only the latest version's value - */ + /** Dictionary of player's statistics using only the latest version's value */ Statistics?: { [key: string]: number }; - /** - / List of player's tags for segmentation. - */ + /** List of player's tags for segmentation. */ Tags?: string[]; - /** - / Title ID this profile applies to - */ + /** Title ID this profile applies to */ TitleId?: string; - /** - / A sum of player's total purchases in USD across all currencies. - */ + /** A sum of player's total purchases in USD across all currencies. */ TotalValueToDateInUSD?: number; - /** - / Dictionary of player's total purchases by currency. - */ + /** Dictionary of player's total purchases by currency. */ ValuesToDate?: { [key: string]: number }; - /** - / Dictionary of player's virtual currency balances - */ + /** Dictionary of player's virtual currency balances */ VirtualCurrencyBalances?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { - /** - / List of advertising campaigns the player has been attributed to - */ + /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; - /** - / URL of the player's avatar image - */ + /** URL of the player's avatar image */ AvatarUrl?: string; - /** - / If the player is currently banned, the UTC Date when the ban expires - */ + /** If the player is currently banned, the UTC Date when the ban expires */ BannedUntil?: string; - /** - / List of all contact email info associated with the player account - */ + /** List of all contact email info associated with the player account */ ContactEmailAddresses?: ContactEmailInfoModel[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player display name - */ + /** Player display name */ DisplayName?: string; - /** - / UTC time when the player most recently logged in to the title - */ + /** UTC time when the player most recently logged in to the title */ LastLogin?: string; - /** - / List of all authentication systems linked to this player account - */ + /** List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; - /** - / List of geographic locations from which the player has logged in to the title - */ + /** List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; - /** - / List of memberships for the player, along with whether are expired. - */ + /** List of memberships for the player, along with whether are expired. */ Memberships?: MembershipModel[]; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab player account unique identifier - */ + /** PlayFab player account unique identifier */ PlayerId?: string; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / List of configured end points registered for sending the player push notifications - */ + /** List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; - /** - / List of leaderboard statistic values for the player - */ + /** List of leaderboard statistic values for the player */ Statistics?: StatisticModel[]; - /** - / List of player's tags for segmentation - */ + /** List of player's tags for segmentation */ Tags?: TagModel[]; - /** - / Title ID this player profile applies to - */ + /** Title ID this player profile applies to */ TitleId?: string; /** - / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; - /** - / List of the player's lifetime purchase totals, summed by real-money currency - */ + /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** - / List of the player's virtual currency balances - */ + /** List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { - /** - / Whether to show player's avatar URL. Defaults to false - */ + /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; - /** - / Whether to show the banned until time. Defaults to false - */ + /** Whether to show the banned until time. Defaults to false */ ShowBannedUntil: boolean; - /** - / Whether to show campaign attributions. Defaults to false - */ + /** Whether to show campaign attributions. Defaults to false */ ShowCampaignAttributions: boolean; - /** - / Whether to show contact email addresses. Defaults to false - */ + /** Whether to show contact email addresses. Defaults to false */ ShowContactEmailAddresses: boolean; - /** - / Whether to show the created date. Defaults to false - */ + /** Whether to show the created date. Defaults to false */ ShowCreated: boolean; - /** - / Whether to show the display name. Defaults to false - */ + /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; - /** - / Whether to show the last login time. Defaults to false - */ + /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; - /** - / Whether to show the linked accounts. Defaults to false - */ + /** Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; - /** - / Whether to show player's locations. Defaults to false - */ + /** Whether to show player's locations. Defaults to false */ ShowLocations: boolean; - /** - / Whether to show player's membership information. Defaults to false - */ + /** Whether to show player's membership information. Defaults to false */ ShowMemberships: boolean; - /** - / Whether to show origination. Defaults to false - */ + /** Whether to show origination. Defaults to false */ ShowOrigination: boolean; - /** - / Whether to show push notification registrations. Defaults to false - */ + /** Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; - /** - / Reserved for future development - */ + /** Reserved for future development */ ShowStatistics: boolean; - /** - / Whether to show tags. Defaults to false - */ + /** Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the total value to date in usd. Defaults to false - */ + /** Whether to show the total value to date in usd. Defaults to false */ ShowTotalValueToDateInUsd: boolean; - /** - / Whether to show the values to date. Defaults to false - */ + /** Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { - /** - / Statistic ID - */ + /** Statistic ID */ Id?: string; - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Current statistic value - */ + /** Current statistic value */ StatisticValue: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ StatisticVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { - /** - / time when the statistic version became active - */ + /** time when the statistic version became active */ ActivationTime: string; - /** - / time when the statistic version became inactive due to statistic version incrementing - */ + /** time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; - /** - / name of the statistic when the version became active - */ + /** name of the statistic when the version became active */ StatisticName?: string; - /** - / version of the statistic - */ + /** version of the statistic */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { - /** - / Numerical badge to display on App icon (iOS only) - */ + /** Numerical badge to display on App icon (iOS only) */ Badge: number; - /** - / This must be a JSON formatted object. For use with developer-created custom Push Notification plugins - */ + /** This must be a JSON formatted object. For use with developer-created custom Push Notification plugins */ CustomData?: string; - /** - / Icon file to display with the message (Not supported for iOS) - */ + /** Icon file to display with the message (Not supported for iOS) */ Icon?: string; - /** - / Content of the message (all platforms) - */ + /** Content of the message (all platforms) */ Message: string; /** - / This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported platform-specific fields + * This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported + * platform-specific fields */ ScheduleDate?: string; - /** - / Sound file to play with the message (all platforms) - */ + /** Sound file to play with the message (all platforms) */ Sound?: string; - /** - / Title/Subject of the message. Not supported for iOS - */ + /** Title/Subject of the message. Not supported for iOS */ Title: string; } @@ -4003,137 +2925,83 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { - /** - / Catalog version this table is associated with - */ + /** Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Child nodes that indicate what kind of drop table item this actually is. - */ + /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; - /** - / Unique name for this drop table - */ + /** Unique name for this drop table */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version of the coupon. - */ + /** Catalog version of the coupon. */ CatalogVersion?: string; - /** - / Optional identifier for the Character that should receive the item. If null, item is added to the player - */ + /** Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; - /** - / Generated coupon code to redeem. - */ + /** Generated coupon code to redeem. */ CouponCode: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of redeeming the coupon. - */ + /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. - */ + /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; - /** - / Server authorization ticket passed back from a call to Matchmake or StartGame. - */ + /** Server authorization ticket passed back from a call to Matchmake or StartGame. */ Ticket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Error value if the ticket was not validated. - */ + /** Error value if the ticket was not validated. */ Error?: string; - /** - / Boolean indicating whether the ticket was validated by the PlayFab service. - */ + /** Boolean indicating whether the ticket was validated by the PlayFab service. */ TicketIsValid: boolean; - /** - / User account information for the user validated. - */ + /** User account information for the user validated. */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Server Instance for which the heartbeat is updated. - */ + /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -4146,156 +3014,105 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the build running on the Game Server Instance. - */ + /** Unique identifier of the build running on the Game Server Instance. */ Build: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game + * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ GameMode: string; - /** - / Previous lobby id if re-registering an existing game. - */ + /** Previous lobby id if re-registering an existing game. */ LobbyId?: string; /** - / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS + * region and use Tags (below) to specify your custom region. */ Region: string; - /** - / IP address of the Game Server Instance. - */ + /** IPV4 address of the Game Server Instance. */ ServerHost: string; - /** - / Port number for communication with the Game Server Instance. - */ + /** IPV6 address of the Game Server Instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ ServerPort: string; - /** - / Tags for the Game Server Instance - */ + /** Tags for the Game Server Instance */ Tags?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. + * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the + * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account which is to be removed. - */ + /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional additional comment by reporting player. - */ + /** Optional additional comment by reporting player. */ Comment?: string; - /** - / Unique PlayFab identifier of the reported player. - */ + /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; - /** - / PlayFabId of the reporting player. - */ + /** PlayFabId of the reporting player. */ ReporterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The number of remaining reports which may be filed today by this reporting player. - */ + /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Either an ItemId, or the TableId of another random result table - */ + /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; - /** - / Whether this entry in the table is an item or a link to another table - */ + /** Whether this entry in the table is an item or a link to another table */ ResultItemType: string; - /** - / How likely this is to be rolled - larger numbers add more weight - */ + /** How likely this is to be rolled - larger numbers add more weight */ Weight: number; } @@ -4303,425 +3120,278 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked. - */ + /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Ids of the bans to be revoked. Maximum 100. - */ + /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked - */ + /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** - / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError */ Error?: string; - /** - / Details about the error - */ + /** Details about the error */ Message?: string; - /** - / Point during the execution of the script at which the error occurred, if any - */ + /** Point during the execution of the script at which the error occurred, if any */ StackTrace?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver to custom plugin logic, fields, or functionality not natively supported by PlayFab. + * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver + * to custom plugin logic, fields, or functionality not natively supported by PlayFab. */ AdvancedPlatformDelivery?: AdvancedPushPlatformMsg[]; - /** - / Text of message to send. - */ + /** Text of message to send. */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details. + * Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see + * the PushNotificationPackage documentation for details. */ Package?: PushNotificationPackage; - /** - / PlayFabId of the recipient of the push notification. - */ + /** PlayFabId of the recipient of the push notification. */ Recipient: string; - /** - / Subject of message to send (may not be displayed in all platforms) - */ + /** Subject of message to send (may not be displayed in all platforms) */ Subject?: string; - /** - / Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms. - */ + /** Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms. */ TargetPlatforms?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account to which the tag(s) should be applied. - */ + /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; - /** - / PlayFab identifier of the player whose friend is to be updated. - */ + /** PlayFab identifier of the player whose friend is to be updated. */ PlayFabId: string; - /** - / Array of tags to set on the friend account. - */ + /** Array of tags to set on the friend account. */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom data to set for the specified game server instance. - */ + /** Custom data to set for the specified game server instance. */ GameServerData: string; - /** - / Unique identifier of the Game Instance to be updated, in decimal format. - */ + /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Instance to be updated, in decimal format. - */ + /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; - /** - / State to set for the specified game server instance. - */ + /** State to set for the specified game server instance. */ State: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Server Instance to be updated. - */ + /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; /** - / Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with the Game Server Instance. + * Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with + * the Game Server Instance. */ Tags: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ 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 (Enterprise Only). */ PlayerSecret: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; - /** - / PlayFabId of the user to last update this value. - */ + /** PlayFabId of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Indicates whether this data can be read by all users (public) or only members of the group (private). - */ + /** Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; - /** - / Data stored for the specified group data key. - */ + /** Data stored for the specified group data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Statistic value - */ + /** Statistic value */ Value: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / the version of the statistic to be returned - */ + /** the version of the statistic to be returned */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + * for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when + * setting the statistic value for the first time. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded - */ + /** for updates to an existing statistic value for a player, the version of the statistic when it was loaded */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; - /** - / Unique Steam identifier for a user. - */ + /** Unique Steam identifier for a user. */ SteamStringId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { - /** - / When this subscription expires. - */ + /** When this subscription expires. */ Expiration: string; - /** - / The time the subscription was orignially purchased - */ + /** The time the subscription was orignially purchased */ InitialSubscriptionTime: string; - /** - / Whether this subscription is currently active. That is, if Expiration > now. - */ + /** Whether this subscription is currently active. That is, if Expiration > now. */ IsActive: boolean; - /** - / The status of this subscription, according to the subscription provider. - */ + /** The status of this subscription, according to the subscription provider. */ Status?: string; - /** - / The id for this subscription - */ + /** The id for this subscription */ SubscriptionId?: string; - /** - / The item id for this subscription from the primary catalog - */ + /** The item id for this subscription from the primary catalog */ SubscriptionItemId?: string; - /** - / The provider for this subscription. Apple or Google Play are supported today. - */ + /** The provider for this subscription. Apple or Google Play are supported today. */ SubscriptionProvider?: string; } @@ -4735,55 +3405,33 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { - /** - / Full value of the tag, including namespace - */ + /** Full value of the tag, including namespace */ TagValue?: string; } @@ -4794,463 +3442,315 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { - /** - / News item text. - */ + /** News item text. */ Body?: string; - /** - / Unique identifier of news item. - */ + /** Unique identifier of news item. */ NewsId?: string; - /** - / Date and time when the news items was posted. - */ + /** Date and time when the news items was posted. */ Timestamp: string; - /** - / Title of the news item. - */ + /** Title of the news item. */ Title?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * associated with the item instance. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / ItemInstanceId of the container to unlock. - */ + /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * parameter is required. */ KeyItemInstanceId?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * catalog. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Catalog ItemId of the container type to unlock. - */ + /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of unlocking the container. - */ + /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; - /** - / Unique instance identifier of the container unlocked. - */ + /** Unique instance identifier of the container unlocked. */ UnlockedItemInstanceId?: string; - /** - / Unique instance identifier of the key used to unlock the container, if applicable. - */ + /** Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Virtual currency granted to the player as a result of unlocking the container. - */ + /** Virtual currency granted to the player as a result of unlocking the container. */ VirtualCurrency?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / URL of the avatar image. If empty, it removes the existing avatar URL. - */ + /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The updated active state for the ban. Null for no change. - */ + /** The updated active state for the ban. Null for no change. */ Active?: boolean; - /** - / The id of the ban to be updated. - */ + /** The id of the ban to be updated. */ BanId: string; - /** - / The updated expiration date for the ban. Null for no change. - */ + /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** - / The updated IP address for the ban. Null for no change. - */ + /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** - / The updated MAC address for the ban. Null for no change. - */ + /** The updated MAC address for the ban. Null for no change. */ MACAddress?: string; - /** - / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. - */ + /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; - /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. - */ + /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of bans to be updated. Maximum 100. - */ + /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were updated - */ + /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Statistics to be updated with the provided values. - */ + /** Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. + * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. + * Default is false. */ ForceUpdate?: boolean; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Statistics to be updated with the provided values - */ + /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys in this request. - */ + /** Permission to be applied to all user data keys in this request. */ Permission?: string; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { - /** - / User Android device information, if an Android device has been linked - */ + /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; - /** - / Timestamp indicating when the user account was created - */ + /** Timestamp indicating when the user account was created */ Created: string; - /** - / Custom ID information, if a custom ID has been assigned - */ + /** Custom ID information, if a custom ID has been assigned */ CustomIdInfo?: UserCustomIdInfo; - /** - / User Facebook information, if a Facebook account has been linked - */ + /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Gamecenter information, if a Gamecenter account has been linked - */ + /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; - /** - / User Google account information, if a Google account has been linked - */ + /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; - /** - / User iOS device information, if an iOS device has been linked - */ + /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; - /** - / User Kongregate account information, if a Kongregate account has been linked - */ + /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; - /** - / Unique identifier for the user account - */ + /** Unique identifier for the user account */ PlayFabId?: string; - /** - / Personal information for the user which is considered more sensitive - */ + /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** - / User PSN account information, if a PSN account has been linked - */ + /** User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; - /** - / User Steam information, if a Steam account has been linked - */ + /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; - /** - / Title-specific information for the user account - */ + /** Title-specific information for the user account */ TitleInfo?: UserTitleInfo; - /** - / User Twitch account information, if a Twitch account has been linked - */ + /** User Twitch account information, if a Twitch account has been linked */ TwitchInfo?: UserTwitchInfo; - /** - / User account name in the PlayFab service - */ + /** User account name in the PlayFab service */ Username?: string; - /** - / User XBox account information, if a XBox account has been linked - */ + /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { - /** - / Android device ID - */ + /** Android device ID */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { - /** - / Custom ID - */ + /** Custom ID */ CustomId?: string; } @@ -5258,96 +3758,61 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; /** - / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + * Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData + * requests being made by one player about another player. */ Permission?: string; - /** - / Data stored for the specified user data key. - */ + /** Data stored for the specified user data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { - /** - / Facebook identifier - */ + /** Facebook identifier */ FacebookId?: string; - /** - / Facebook full name - */ + /** Facebook full name */ FullName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { - /** - / Gamecenter identifier - */ + /** Gamecenter identifier */ GameCenterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Email address of the Google account - */ + /** Email address of the Google account */ GoogleEmail?: string; - /** - / Gender information of the Google account - */ + /** Gender information of the Google account */ GoogleGender?: string; - /** - / Google ID - */ + /** Google ID */ GoogleId?: string; - /** - / Locale of the Google account - */ + /** Locale of the Google account */ GoogleLocale?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { - /** - / iOS device ID - */ + /** iOS device ID */ IosDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { - /** - / Kongregate ID - */ + /** Kongregate ID */ KongregateId?: string; - /** - / Kongregate Username - */ + /** Kongregate Username */ KongregateName?: string; } @@ -5371,245 +3836,171 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { - /** - / user email address - */ + /** user email address */ Email?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { - /** - / PSN account ID - */ + /** PSN account ID */ PsnAccountId?: string; - /** - / PSN online ID - */ + /** PSN online ID */ PsnOnlineId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { - /** - / what stage of game ownership the user is listed as being in, from Steam - */ + /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; - /** - / the country in which the player resides, from Steam data - */ + /** the country in which the player resides, from Steam data */ SteamCountry?: string; - /** - / currency type set in the user Steam account - */ + /** currency type set in the user Steam account */ SteamCurrency?: string; - /** - / Steam identifier - */ + /** Steam identifier */ SteamId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { - /** - / URL to the player's avatar. - */ + /** URL to the player's avatar. */ AvatarUrl?: string; /** - / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + * timestamp indicating when the user was first associated with this game (this can differ significantly from when the user + * first registered with PlayFab) */ Created: string; - /** - / name of the user, as it is displayed in-game - */ + /** name of the user, as it is displayed in-game */ DisplayName?: string; /** - / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + * timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other + * events, such as issuing a beta key to the user, can associate the title to the user) */ FirstLogin?: string; - /** - / boolean indicating whether or not the user is currently banned for a title - */ + /** boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; - /** - / timestamp for the last user login for this title - */ + /** timestamp for the last user login for this title */ LastLogin?: string; - /** - / source by which the user first joined the game, if known - */ + /** source by which the user first joined the game, if known */ Origination?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { - /** - / Twitch ID - */ + /** Twitch ID */ TwitchId?: string; - /** - / Twitch Username - */ + /** Twitch Username */ TwitchUserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { - /** - / XBox user ID - */ + /** XBox user ID */ XboxUserId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { - /** - / ISO 4217 code of the currency used in the purchases - */ + /** ISO 4217 code of the currency used in the purchases */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel */ export interface VirtualCurrencyBalanceModel { - /** - / Name of the virtual currency - */ + /** Name of the virtual currency */ Currency?: string; - /** - / Balance of the virtual currency - */ + /** Balance of the virtual currency */ TotalValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** - / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to + * any particular format. */ EventId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 68a2565c..56b7dd28 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -232,13 +232,10 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeleteUser instead. - */ - DeleteUsers: function (request, callback, customData, extraHeaders) { + DeleteTitle: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { @@ -523,15 +520,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeletePlayer instead. - */ - ResetUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 25e7deec..82201db4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index a2fdd8e3..e131a3dc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 409ddbac..6e8c3c0f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.13.171016"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; +PlayFab.sdkVersion = "1.14.171026"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index e2083e22..9fed4abc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3,488 +3,503 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { /** - / Abort an ongoing task instance. - / https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + * Abort an ongoing task instance. + * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new news item to the title's news feed - / https://api.playfab.com/Documentation/Admin/method/AddNews + * Adds a new news item to the title's news feed + * https://api.playfab.com/Documentation/Admin/method/AddNews */ AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Admin/method/AddPlayerTag */ AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/AddServerBuild + * Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a + * client is permitted to request in a call to StartGame + * https://api.playfab.com/Documentation/Admin/method/AddServerBuild */ AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + * Increments the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + * 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes */ AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - / https://api.playfab.com/Documentation/Admin/method/BanUsers + * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + * https://api.playfab.com/Documentation/Admin/method/BanUsers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. - / https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. + * https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask */ CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Create a CloudScript task, which can run a CloudScript on a schedule. - / https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + * Create a CloudScript task, which can run a CloudScript on a schedule. + * https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after this API returns. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret + * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after + * this API returns. + * https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret */ CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval and an aggregation method. - / https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + * Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval + * and an aggregation method. + * https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition */ CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a content file from the title. When deleting a file that does not exist, it returns success. - / https://api.playfab.com/Documentation/Admin/method/DeleteContent + * Delete a content file from the title. When deleting a file that does not exist, it returns success. + * https://api.playfab.com/Documentation/Admin/method/DeleteContent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes a user's player account from a title and deletes all associated data - / https://api.playfab.com/Documentation/Admin/method/DeletePlayer + * Removes a user's player account from a title and deletes all associated data + * https://api.playfab.com/Documentation/Admin/method/DeletePlayer */ DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API returns. - / https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + * Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API + * returns. + * https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret */ DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes an existing virtual item store - / https://api.playfab.com/Documentation/Admin/method/DeleteStore + * Deletes an existing virtual item store + * https://api.playfab.com/Documentation/Admin/method/DeleteStore */ DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Delete a task. - / https://api.playfab.com/Documentation/Admin/method/DeleteTask + * Delete a task. + * https://api.playfab.com/Documentation/Admin/method/DeleteTask */ DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. This method does not remove the player's event history, login history, inventory items, nor virtual currencies. - / https://api.playfab.com/Documentation/Admin/method/DeleteUsers + * Permanently deletes a title and all associated configuration + * https://api.playfab.com/Documentation/Admin/method/DeleteTitle */ - DeleteUsers(request: PlayFabAdminModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get information about a ActionsOnPlayersInSegment task instance. - / https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + * Get information about a ActionsOnPlayersInSegment task instance. + * https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance */ GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetAllSegments + * 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. + * https://api.playfab.com/Documentation/Admin/method/GetAllSegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + * https://api.playfab.com/Documentation/Admin/method/GetCatalogItems */ GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the contents and information of a specific Cloud Script revision. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + * Gets the contents and information of a specific Cloud Script revision. + * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision */ GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get detail information about a CloudScript task instance. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + * Get detail information about a CloudScript task instance. + * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance */ GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all the current cloud script versions. For each version, information about the current published and latest revisions is also listed. - / https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + * Lists all the current cloud script versions. For each version, information about the current published and latest + * revisions is also listed. + * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions */ GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all contents of the title and get statistics such as size - / https://api.playfab.com/Documentation/Admin/method/GetContentList + * List all contents of the title and get statistics such as size + * https://api.playfab.com/Documentation/Admin/method/GetContentList */ GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + * Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the + * content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN + * rates apply. + * https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl */ GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a download URL for the requested report - / https://api.playfab.com/Documentation/Admin/method/GetDataReport + * Retrieves a download URL for the requested report + * https://api.playfab.com/Documentation/Admin/method/GetDataReport */ GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details for a specific completed session, including links to standard out and standard error logs - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + * Retrieves the details for a specific completed session, including links to standard out and standard error logs + * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo */ GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of defined game modes for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + * Retrieves the details of defined game modes for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + * List all segments that a player currently belongs to at this moment in time. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments */ GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns all Player Shared Secret Keys including disabled and expired. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + * Returns all Player Shared Secret Keys including disabled and expired. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + * 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. + * https://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have a reset interval. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have + * a reset interval. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions */ GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + * Retrieves the information on the available versions of the specified statistic. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions */ GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + * Get all tags with a given Namespace (optional) from a player profile. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerTags */ GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the requested policy. - / https://api.playfab.com/Documentation/Admin/method/GetPolicy + * Gets the requested policy. + * https://api.playfab.com/Documentation/Admin/method/GetPolicy */ GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/GetPublisherData + * Retrieves the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Admin/method/GetPublisherData */ GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + * Retrieves the random drop table configuration for the title + * https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables */ GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + * Retrieves the build details for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo */ GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for use - see AddServerBuild) - / https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + * Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for + * use - see AddServerBuild) + * https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl */ GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Admin/method/GetStoreItems + * Retrieves the set of items defined for the specified store, including all prices defined + * https://api.playfab.com/Documentation/Admin/method/GetStoreItems */ GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Query for task instances by task, status, or time range. - / https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + * Query for task instances by task, status, or time range. + * https://api.playfab.com/Documentation/Admin/method/GetTaskInstances */ GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get definition information on a specified task or all tasks within a title. - / https://api.playfab.com/Documentation/Admin/method/GetTasks + * Get definition information on a specified task or all tasks within a title. + * https://api.playfab.com/Documentation/Admin/method/GetTasks */ GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings which can be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetTitleData + * Retrieves the key-value store of custom title settings which can be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetTitleData */ GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings which cannot be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData + * Retrieves the key-value store of custom title settings which cannot be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData */ GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier - / https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + * Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier + * https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo */ GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Admin/method/GetUserBans + * Gets all bans for a user. + * https://api.playfab.com/Documentation/Admin/method/GetUserBans */ GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserData */ GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + * Retrieves the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserInternalData */ GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Admin/method/GetUserInventory + * Retrieves the specified user's current inventory of virtual goods + * https://api.playfab.com/Documentation/Admin/method/GetUserInventory */ GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + * Retrieves the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData */ GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData */ GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + * Retrieves the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData */ GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + * Retrieves the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData */ GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user inventories - / https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + * Adds the specified items to the specified user inventories + * https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets the indicated statistic, removing all player entries for it and backing up the old values. - / https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + * Resets the indicated statistic, removing all player entries for it and backing up the old values. + * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the build details for all game server executables which are currently defined for the title - / https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + * Retrieves the build details for all game server executables which are currently defined for the title + * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds */ ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retuns the list of all defined virtual currencies for the title - / https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + * Retuns the list of all defined virtual currencies for the title + * https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the game server mode details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + * Updates the game server mode details for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes */ ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the build details for the specified game server executable - / https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + * Updates the build details for the specified game server executable + * https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild */ ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to process an order refund through the original real money payment provider. - / https://api.playfab.com/Documentation/Admin/method/RefundPurchase + * Attempts to process an order refund through the original real money payment provider. + * https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag */ RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the game server executable specified from the set of those a client is permitted to request in a call to StartGame - / https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + * Removes the game server executable specified from the set of those a client is permitted to request in a call to + * StartGame + * https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild */ RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes one or more virtual currencies from the set defined for the title. - / https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + * Removes one or more virtual currencies from the set defined for the title. + * https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes */ RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completely removes all statistics for the specified character, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + * Completely removes all statistics for the specified character, for the current game + * https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics */ ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Resets all title-specific information about a particular account, including user data, virtual currency balances, inventory, purchase history, and statistics - / https://api.playfab.com/Documentation/Admin/method/ResetUsers - */ - ResetUsers(request: PlayFabAdminModels.ResetUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - / Completely removes all statistics for the specified user, for the current game - / https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + * Completely removes all statistics for the specified user, for the current game + * https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics */ ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to resolve a dispute with the original order's payment provider. - / https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + * Attempts to resolve a dispute with the original order's payment provider. + * https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute */ ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + * Revoke all active bans for a user. + * https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser */ RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Admin/method/RevokeBans + * Revoke all active bans specified with BanId. + * https://api.playfab.com/Documentation/Admin/method/RevokeBans */ RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + * Revokes access to an item in a user's inventory + * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Run a task immediately regardless of its schedule. - / https://api.playfab.com/Documentation/Admin/method/RunTask + * Run a task immediately regardless of its schedule. + * https://api.playfab.com/Documentation/Admin/method/RunTask */ RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + * Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to + * change the password + * https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates the catalog configuration of all virtual goods for the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + * Creates the catalog configuration of all virtual goods for the specified catalog version + * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets or resets the player's secret. Player secrets are used to sign API requests. - / https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + * Sets or resets the player's secret. Player secrets are used to sign API requests. + * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret */ SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the currently published revision of a title Cloud Script - / https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision + * Sets the currently published revision of a title Cloud Script + * https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision */ SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Admin/method/SetPublisherData + * Updates the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Admin/method/SetPublisherData */ SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets all the items in one virtual store - / https://api.playfab.com/Documentation/Admin/method/SetStoreItems + * Sets all the items in one virtual store + * https://api.playfab.com/Documentation/Admin/method/SetStoreItems */ SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the key-value store of custom title settings which can be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleData + * Creates and updates the key-value store of custom title settings which can be read by the client + * https://api.playfab.com/Documentation/Admin/method/SetTitleData */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings which cannot be read by the client - / https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + * Updates the key-value store of custom title settings which cannot be read by the client + * https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device Messaging is not supported. - / https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can + * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device + * Messaging is not supported. + * https://api.playfab.com/Documentation/Admin/method/SetupPushNotification */ SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + * Decrements the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Admin/method/UpdateBans + * Updates information of a list of existing bans specified with Ban Ids. + * https://api.playfab.com/Documentation/Admin/method/UpdateBans */ UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the catalog configuration for virtual goods in the specified catalog version - / https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + * Updates the catalog configuration for virtual goods in the specified catalog version + * https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems */ UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be submitted in the revision. - / https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + * Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be + * submitted in the revision. + * https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + * 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. + * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret */ UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. - / https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + * Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. + * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition */ UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Changes a policy for a title - / https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + * Changes a policy for a title + * https://api.playfab.com/Documentation/Admin/method/UpdatePolicy */ UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the random drop table configuration for the title - / https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + * Updates the random drop table configuration for the title + * https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables */ UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates an existing virtual item store with new or modified items - / https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + * Updates an existing virtual item store with new or modified items + * https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems */ UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update an existing task. - / https://api.playfab.com/Documentation/Admin/method/UpdateTask + * Update an existing task. + * https://api.playfab.com/Documentation/Admin/method/UpdateTask */ UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserData + * Updates the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserData */ UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + * Updates the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData */ UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + * Updates the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData */ UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + * Updates the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData */ UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + * Updates the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData */ UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + * Updates the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData */ UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for a user - / https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + * Updates the title specific display name for a user + * https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -492,623 +507,405 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / ID of a task instance that is being aborted. - */ + /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { - /** - / ID of the action to perform on each player in segment. - */ + /** ID of the action to perform on each player in segment. */ ActionId: string; - /** - / ID of the segment to perform actions on. - */ + /** ID of the segment to perform actions on. */ SegmentId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { - /** - / UTC timestamp when the task completed. - */ + /** UTC timestamp when the task completed. */ CompletedAt?: string; - /** - / Error message for last processing attempt, if an error occured. - */ + /** Error message for last processing attempt, if an error occured. */ ErrorMessage?: string; - /** - / Flag indicating if the error was fatal, if false job will be retried. - */ + /** Flag indicating if the error was fatal, if false job will be retried. */ ErrorWasFatal?: boolean; - /** - / Estimated time remaining in seconds. - */ + /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; - /** - / Progress represented as percentage. - */ + /** Progress represented as percentage. */ PercentComplete?: number; - /** - / If manually scheduled, ID of user who scheduled the task. - */ + /** If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; - /** - / UTC timestamp when the task started. - */ + /** UTC timestamp when the task started. */ StartedAt: string; - /** - / Current status of the task instance. - */ + /** Current status of the task instance. */ Status?: string; - /** - / Identifier of the task this instance belongs to. - */ + /** Identifier of the task this instance belongs to. */ TaskIdentifier?: NameIdentifier; - /** - / ID of the task instance. - */ + /** ID of the task instance. */ TaskInstanceId?: string; - /** - / Total players in segment when task was started. - */ + /** Total players in segment when task was started. */ TotalPlayersInSegment?: number; - /** - / Total number of players that have had the actions applied to. - */ + /** Total number of players that have had the actions applied to. */ TotalPlayersProcessed?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Body text of the news - */ + /** Body text of the news */ Body: string; - /** - / Time this news was published. If not set, defaults to now. - */ + /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; - /** - / Title (headline) of the news item - */ + /** Title (headline) of the news item */ Title: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique id of the new news item - */ + /** Unique id of the new news item */ NewsId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / server host regions in which this build should be running and available - */ + /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; - /** - / unique identifier for the build executable - */ + /** unique identifier for the build executable */ BuildId: string; - /** - / appended to the end of the command line when starting game servers - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions where this build can used, when it is active - */ + /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; - /** - / unique identifier for this build executable - */ + /** unique identifier for this build executable */ BuildId?: string; - /** - / appended to the end of the command line when starting game servers - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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 - */ + /** 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) - */ + /** 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. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). + * Any increase over this value will be discarded. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be increased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) to the title + * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) + * to the title */ VirtualCurrencies: VirtualCurrencyData[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { - /** - / Require that API calls contain an RSA encrypted payload or signed headers. - */ + /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ + /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; - /** - / The unique Ban Id associated with this ban. - */ + /** The unique Ban Id associated with this ban. */ BanId?: string; - /** - / The time when this ban was applied. - */ + /** The time when this ban was applied. */ Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. - */ + /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** - / The IP address on which the ban was applied. May affect multiple players. - */ + /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** - / The MAC address on which the ban was applied. May affect multiple players. - */ + /** The MAC address on which the ban was applied. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / The reason why this ban was applied. - */ + /** The reason why this ban was applied. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The duration in hours for the ban. Leave this blank for a permanent ban. - */ + /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** - / IP address to be banned. May affect multiple players. - */ + /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** - / MAC address to be banned. May affect multiple players. - */ + /** MAC address to be banned. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The reason for this ban. Maximum 140 characters. - */ + /** The reason for this ban. Maximum 140 characters. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of ban requests to be applied. Maximum 100. - */ + /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were applied - */ + /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables + * and virtual currencies */ Bundle?: CatalogItemBundleInfo; - /** - / if true, then an item instance of this type can be used to grant a character to a user. - */ + /** if true, then an item instance of this type can be used to grant a character to a user. */ CanBecomeCharacter: boolean; - /** - / catalog version for this item - */ + /** catalog version for this item */ CatalogVersion?: string; - /** - / defines the consumable properties (number of uses, timeout) for the item - */ + /** defines the consumable properties (number of uses, timeout) for the item */ Consumable?: CatalogItemConsumableInfo; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + * defines the container properties for the item - what items it contains, including random drop tables and virtual + * currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ Container?: CatalogItemContainerInfo; - /** - / game specific custom data - */ + /** game specific custom data */ CustomData?: string; - /** - / text description of item, to show in-game - */ + /** text description of item, to show in-game */ Description?: string; - /** - / text name for the item, to show in-game - */ + /** text name for the item, to show in-game */ DisplayName?: string; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + * If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited + * edition item, this value determines the total number of instances to allocate for the title. Once this limit has been + * reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of + * false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less + * than zero, it will be ignored. */ InitialLimitedEditionCount: number; - /** - / BETA: If true, then only a fixed number can ever be granted. - */ + /** BETA: If true, then only a fixed number can ever be granted. */ IsLimitedEdition: boolean; /** - / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + * if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. + * RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ IsStackable: boolean; - /** - / if true, then an item instance of this type can be traded between players using the trading APIs - */ + /** if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; - /** - / class to which the item belongs - */ + /** class to which the item belongs */ ItemClass?: string; - /** - / unique identifier for this item - */ + /** unique identifier for this item */ ItemId: string; /** - / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + * URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP + * URL. */ ItemImageUrl?: string; - /** - / override prices for this item for specific currencies - */ + /** override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / list of item tags - */ + /** list of item tags */ Tags?: string[]; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { - /** - / unique ItemId values for all items which will be added to the player inventory when the bundle is added - */ + /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; /** - / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + * unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and + * add the relevant items to the player inventory when the bundle is added) */ BundledResultTables?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the bundle is added - */ + /** virtual currency types and balances which will be added to the player inventory when the bundle is added */ BundledVirtualCurrencies?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { - /** - / number of times this object can be used, after which it will be removed from the player inventory - */ + /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; /** - / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + * duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed + * (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on + * this item's details have completed) */ UsagePeriod?: number; /** - / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + * all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values + * added together, and share the result - when that period has elapsed, all the items in the group will be removed */ UsagePeriodGroup?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked - */ + /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + * ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will + * open the container, adding the contents to the player inventory and currency balances) */ KeyItemId?: string; /** - / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + * unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables + * will be resolved and add the relevant items to the player inventory) */ ResultTableContents?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the container is unlocked - */ + /** virtual currency types and balances which will be added to the player inventory when the container is unlocked */ VirtualCurrencyContents?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { - /** - / Contents of the Cloud Script javascript. Must be string-escaped javascript. - */ + /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; /** - / Name of the javascript file. These names are not used internally by the server, they are only for developer organizational purposes. + * Name of the javascript file. These names are not used internally by the server, they are only for developer + * organizational purposes. */ Filename: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { - /** - / Argument to pass to the CloudScript function. - */ + /** Argument to pass to the CloudScript function. */ Argument?: any; - /** - / Name of the CloudScript function to execute. - */ + /** Name of the CloudScript function to execute. */ FunctionName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { - /** - / UTC timestamp when the task completed. - */ + /** UTC timestamp when the task completed. */ CompletedAt?: string; - /** - / Estimated time remaining in seconds. - */ + /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; - /** - / Progress represented as percentage. - */ + /** Progress represented as percentage. */ PercentComplete?: number; - /** - / Result of CloudScript execution - */ + /** Result of CloudScript execution */ Result?: ExecuteCloudScriptResult; - /** - / If manually scheduled, ID of user who scheduled the task. - */ + /** If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; - /** - / UTC timestamp when the task started. - */ + /** UTC timestamp when the task started. */ StartedAt: string; - /** - / Current status of the task instance. - */ + /** Current status of the task instance. */ Status?: string; - /** - / Identifier of the task this instance belongs to. - */ + /** Identifier of the task this instance belongs to. */ TaskIdentifier?: NameIdentifier; - /** - / ID of the task instance. - */ + /** ID of the task instance. */ TaskInstanceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { - /** - / Most recent revision for this Cloud Script version - */ + /** Most recent revision for this Cloud Script version */ LatestRevision: number; - /** - / Published code revision for this Cloud Script version - */ + /** Published code revision for this Cloud Script version */ PublishedRevision: number; - /** - / Version number - */ + /** Version number */ Version: number; } @@ -1117,55 +914,35 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; - /** - / The verification status of the email - */ + /** The verification status of the email */ VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { - /** - / Key of the content - */ + /** Key of the content */ Key?: string; - /** - / Last modified time - */ + /** Last modified time */ LastModified: string; - /** - / Size of the content in bytes - */ + /** Size of the content in bytes */ Size: number; } @@ -1428,119 +1205,71 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / Task details related to segment and action - */ + /** Task details related to segment and action */ Parameter: ActionsOnPlayersInSegmentTaskParameter; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / Task details related to CloudScript - */ + /** Task details related to CloudScript */ Parameter: CloudScriptTaskParameter; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Friendly name for this key - */ + /** Friendly name for this key */ FriendlyName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The player shared secret to use when calling Client/GetTitlePublicKey - */ + /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ + /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) - */ + /** interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) */ VersionChangeInterval?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / created statistic definition - */ + /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { - /** - / ID of the task - */ + /** ID of the task */ TaskId?: string; } @@ -1708,104 +1437,81 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Key of the content item to be deleted - */ + /** Key of the content item to be deleted */ Key: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The shared secret key to delete - */ + /** The shared secret key to delete */ SecretKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version of the store to delete. If null, uses the default catalog. - */ + /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; - /** - / unqiue identifier for the store which is to be deleted - */ + /** unqiue identifier for the store which is to be deleted */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specify either the task ID or the name of task to be deleted. - */ + /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest - */ - export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ - PlayFabIds: 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; + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ + export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ + export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ + export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabIds: 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; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1817,58 +1523,46 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Number of PlayFab API requests issued by the CloudScript function - */ + /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution - */ + /** Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; ExecutionTimeSeconds: number; - /** - / The name of the function that executed - */ + /** The name of the function that executed */ FunctionName?: string; - /** - / The object returned from the CloudScript function, if any - */ + /** The object returned from the CloudScript function, if any */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; - /** - / Number of external HTTP requests issued by the CloudScript function - */ + /** Number of external HTTP requests issued by the CloudScript function */ HttpRequestsIssued: number; /** - / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; MemoryConsumedBytes: number; /** - / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. */ ProcessorTimeSeconds: number; - /** - / The revision of the CloudScript that executed - */ + /** The revision of the CloudScript that executed */ Revision: number; } @@ -1879,1204 +1573,761 @@ declare module PlayFabAdminModels { | "Processing" | "FailedToProcess"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { - /** - / specific game mode type - */ + /** specific game mode type */ Gamemode: string; - /** - / maximum user count a specific Game Server Instance can support - */ + /** 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) - */ + /** 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) - */ + /** whether to start as an open session, meaning that players can matchmake into it (defaults to true) */ StartOpen?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Parameter of this task instance - */ + /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; - /** - / Status summary of the actions-on-players-in-segment task instance - */ + /** Status summary of the actions-on-players-in-segment task instance */ Summary?: ActionsOnPlayersInSegmentTaskSummary; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments for this title. - */ + /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Which catalog is being requested. If null, uses the default catalog. - */ + /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items which can be purchased. - */ + /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Revision number. If left null, defaults to the latest revision - */ + /** Revision number. If left null, defaults to the latest revision */ Revision?: number; - /** - / Version number. If left null, defaults to the latest version - */ + /** Version number. If left null, defaults to the latest version */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Time this revision was created - */ + /** Time this revision was created */ CreatedAt: string; - /** - / List of Cloud Script files in this revision. - */ + /** List of Cloud Script files in this revision. */ Files?: CloudScriptFile[]; - /** - / True if this is the currently published revision - */ + /** True if this is the currently published revision */ IsPublished: boolean; - /** - / Revision number. - */ + /** Revision number. */ Revision: number; - /** - / Version number. - */ + /** Version number. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Parameter of this task instance - */ + /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; - /** - / Status summary of the CloudScript task instance - */ + /** Status summary of the CloudScript task instance */ Summary?: CloudScriptTaskSummary; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of versions - */ + /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, or for a specified version, etc. + * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, + * or for a specified version, etc. */ Prefix?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of content items. - */ + /** List of content items. */ Contents?: ContentInfo[]; - /** - / Number of content items returned. We currently have a maximum of 1000 items limit. - */ + /** Number of content items returned. We currently have a maximum of 1000 items limit. */ ItemCount: number; - /** - / The total size of listed contents in bytes. - */ + /** The total size of listed contents in bytes. */ TotalSize: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. + * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when + * uploading the content. If not specified, the MIME type is 'binary/octet-stream' by default. */ ContentType?: string; - /** - / Key of the content item to upload, usually formatted as a path, e.g. images/a.png - */ + /** Key of the content item to upload, usually formatted as a path, e.g. images/a.png */ Key: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** - / URL for uploading content via HTTP PUT method. The URL will expire in 1 hour. - */ + /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Reporting year (UTC) - */ + /** Reporting year (UTC) */ Day: number; - /** - / Reporting month (UTC) - */ + /** Reporting month (UTC) */ Month: number; - /** - / Report name - */ + /** Report name */ ReportName: string; - /** - / Reporting year (UTC) - */ + /** Reporting year (UTC) */ Year: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The URL where the requested report can be downloaded. - */ + /** The URL where the requested report can be downloaded. */ DownloadUrl?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the lobby for which info is being requested - */ + /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version identifier of the game server executable binary being run - */ + /** version identifier of the game server executable binary being run */ BuildVersion?: string; - /** - / time when Game Server Instance is currently scheduled to end - */ + /** time when Game Server Instance is currently scheduled to end */ EndTime?: string; - /** - / unique identifier of the lobby - */ + /** unique identifier of the lobby */ LobbyId?: string; - /** - / game mode for this Game Server Instance - */ + /** game mode for this Game Server Instance */ Mode?: string; - /** - / array of unique PlayFab identifiers for users currently connected to this Game Server Instance - */ + /** 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 in which the Game Server Instance is running */ Region?: string; - /** - / IP address for this Game Server Instance - */ + /** IP address for this Game Server Instance */ ServerAddress?: string; - /** - / communication port for this Game Server Instance - */ + /** communication port for this Game Server Instance */ ServerPort: number; - /** - / time when the Game Server Instance was created - */ + /** time when the Game Server Instance was created */ StartTime: string; - /** - / unique identifier of the Game Server Instance for this lobby - */ + /** unique identifier of the Game Server Instance for this lobby */ TitleId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / previously uploaded build version for which game modes are being requested - */ + /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of game modes available for the specified build - */ + /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** - / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments the requested player currently belongs to. - */ + /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The player shared secret to use when calling Client/GetTitlePublicKey - */ + /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Continuation token if retrieving subsequent pages of results. - */ + /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; - /** - / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. - */ + /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ 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). + * 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. - */ + /** Unique identifier for this segment. */ SegmentId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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. - */ + /** 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. - */ + /** Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; - /** - / Count of profiles matching this segment. - */ + /** Count of profiles matching this segment. */ ProfilesInSegment: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / the player statistic definitions for the title - */ + /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional namespace to filter results by - */ + /** Optional namespace to filter results by */ Namespace?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Canonical tags (including namespace and tag's name) for the requested user - */ + /** Canonical tags (including namespace and tag's name) for the requested user */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ 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 supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The name of the policy read. - */ + /** The name of the policy read. */ PolicyName?: string; - /** - / The statements in the requested policy. - */ + /** The statements in the requested policy. */ Statements?: PermissionStatement[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of keys to get back data from the Publisher data blob, set by the admin tools - */ + /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version to fetch tables from. Use default catalog version if null - */ + /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of random result tables currently available - */ + /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Identifier of the segments AB Test, if it is attached to one. - */ + /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; - /** - / Unique identifier for this segment. - */ + /** Unique identifier for this segment. */ Id: string; - /** - / Segment name. - */ + /** Segment name. */ Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the previously uploaded build executable for which information is being requested - */ + /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions where this build can used, when it is active - */ + /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; - /** - / unique identifier for this build executable - */ + /** unique identifier for this build executable */ BuildId?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / error message, if any, about this build - */ + /** error message, if any, about this build */ ErrorMessage?: string; - /** - / maximum number of game server instances that can run on a single host machine - */ + /** 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) + * 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 - */ + /** 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) - */ + /** 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. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the game server build to upload - */ + /** unique identifier of the game server build to upload */ BuildId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { - /** - / pre-authorized URL for uploading the game server build package - */ + /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version to store items from. Use default catalog version if null - */ + /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; - /** - / Unqiue identifier for the store which is being requested. - */ + /** Unqiue identifier for the store which is being requested. */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The base catalog that this store is a part of. - */ + /** The base catalog that this store is a part of. */ CatalogVersion?: string; - /** - / Additional data about the store. - */ + /** Additional data about the store. */ MarketingData?: StoreMarketingModel; - /** - / How the store was last updated (Admin or a third party). - */ + /** How the store was last updated (Admin or a third party). */ Source?: string; - /** - / Array of items which can be purchased from this store. - */ + /** Array of items which can be purchased from this store. */ Store?: StoreItem[]; - /** - / The ID of this store. - */ + /** The ID of this store. */ StoreId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / ID of the requested task instance. - */ + /** ID of the requested task instance. */ TaskInstanceId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional range-from filter for task instances' StartedAt timestamp. - */ + /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; - /** - / Optional range-to filter for task instances' StartedAt timestamp. - */ + /** Optional range-to filter for task instances' StartedAt timestamp. */ StartedAtRangeTo?: string; - /** - / Optional filter for task instances that are of a specific status. - */ + /** Optional filter for task instances that are of a specific status. */ StatusFilter?: string; /** - / Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy conditions set by other filters. + * Name or ID of the task whose instances are being queried. If not specified, return all task instances that satisfy + * conditions set by other filters. */ TaskIdentifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** - / Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get detailed status summary, use Get*TaskInstance API according to task type (e.g. GetActionsOnPlayersInSegmentTaskInstance). + * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get + * detailed status summary, use Get*TaskInstance API according to task type (e.g. + * GetActionsOnPlayersInSegmentTaskInstance). */ Summaries?: TaskInstanceBasicSummary[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. - */ + /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Result tasks. Empty if there is no task found. - */ + /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific keys to search for in the title data (leave null to get all keys) - */ + /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information about the bans - */ + /** Information about the bans */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; - /** - / PlayFab unique identifier of the user whose custom data is being returned. - */ + /** PlayFab unique identifier of the user whose custom data is being returned. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items belonging to the user. - */ + /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Result of this operation. - */ + /** Result of this operation. */ Result: boolean; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Array of items to grant and the users to whom the items are to be granted. - */ + /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; - /** - / Unique identifier of the catalog item to be granted to the user. - */ + /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { - /** - / Linked account email of the user on the platform, if available - */ + /** Linked account email of the user on the platform, if available */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Unique account identifier of the user on the platform - */ + /** Unique account identifier of the user on the platform */ PlatformUserId?: string; - /** - / Linked account username of the user on the platform, if available - */ + /** Linked account username of the user on the platform, if available */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of uploaded game server builds - */ + /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / List of virtual currency names defined for this title - */ + /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { - /** - / City name. - */ + /** City name. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / Latitude coordinate of the geographic location. - */ + /** Latitude coordinate of the geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the geographic location. - */ + /** Longitude coordinate of the geographic location. */ Longitude?: number; } @@ -3096,630 +2347,367 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { - /** - / Optional object accompanying the message as contextual information - */ + /** Optional object accompanying the message as contextual information */ Data?: any; - /** - / 'Debug', 'Info', or 'Error' - */ + /** 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Title specific username to match against existing user accounts - */ + /** Title specific username to match against existing user accounts */ TitleDisplayName?: string; - /** - / PlayFab username for the account (3-20 characters) - */ + /** PlayFab username for the account (3-20 characters) */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User info for the user matching the request - */ + /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { - /** - / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. - */ + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; - /** - / The time this membership expires - */ + /** The time this membership expires */ MembershipExpiration: string; - /** - / The id of the membership - */ + /** The id of the membership */ MembershipId?: string; /** - / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. */ OverrideExpiration?: string; - /** - / The list of subscriptions that this player has for this membership - */ + /** The list of subscriptions that this player has for this membership */ Subscriptions?: SubscriptionModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / previously uploaded build version for which game modes are being specified - */ + /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; - /** - / array of game modes (Note: this will replace all game modes for the indicated build version) - */ + /** array of game modes (Note: this will replace all game modes for the indicated build version) */ GameModes: GameModeInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of regions where this build can used, when it is active - */ + /** 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 - */ + /** 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 - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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 - */ + /** new timestamp */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions where this build can used, when it is active - */ + /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; - /** - / unique identifier for this build executable - */ + /** unique identifier for this build executable */ BuildId?: string; - /** - / appended to the end of the command line when starting game servers - */ + /** appended to the end of the command line when starting game servers */ CommandLineTemplate?: string; - /** - / developer comment(s) for this build - */ + /** developer comment(s) for this build */ Comment?: string; - /** - / path to the game server executable. Defaults to gameserver.exe - */ + /** 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 - */ + /** 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) + * 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 - */ + /** 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) - */ + /** 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. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase + * over this value will be discarded. */ BalanceChange: number; - /** - / User currency was subtracted from. - */ + /** User currency was subtracted from. */ PlayFabId?: string; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { - /** - / The action this statement effects. The only supported action is 'Execute'. - */ + /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; - /** - / Additional conditions to be applied for API Resources. - */ + /** Additional conditions to be applied for API Resources. */ ApiConditions?: ApiCondition; - /** - / A comment about the statement. Intended solely for bookeeping and debugging. - */ + /** 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 - */ + /** 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. The only supported principal is '*'. */ Principal: string; /** - / The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or 'pfrn:api--/Client/ConfirmPurchase' for specific apis. + * The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or + * 'pfrn:api--/Client/ConfirmPurchase' for specific apis. */ Resource: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { - /** - / Linked account's email - */ + /** Linked account's email */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Platform user identifier - */ + /** Platform user identifier */ PlatformUserId?: string; - /** - / Linked account's username - */ + /** Linked account's username */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { - /** - / City of the player's geographic location. - */ + /** City of the player's geographic location. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** 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 coordinate of the player's geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the player's geographic location. - */ + /** Longitude coordinate of the player's geographic location. */ Longitude?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { - /** - / Array of ad campaigns player has been attributed to - */ + /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; - /** - / Image URL of the player's avatar. - */ + /** 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. - */ + /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; - /** - / Array of contact email addresses associated with the player - */ + /** Array of contact email addresses associated with the player */ ContactEmailAddresses?: ContactEmailInfo[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player Display Name - */ + /** Player Display Name */ DisplayName?: string; - /** - / Last login - */ + /** Last login */ LastLogin?: string; - /** - / Array of third party accounts linked to this player - */ + /** Array of third party accounts linked to this player */ LinkedAccounts?: PlayerLinkedAccount[]; - /** - / Dictionary of player's locations by type. - */ + /** Dictionary of player's locations by type. */ Locations?: { [key: string]: PlayerLocation }; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab Player ID - */ + /** PlayFab Player ID */ PlayerId?: string; - /** - / Array of player statistics - */ + /** Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / Array of configured push notification end points - */ + /** Array of configured push notification end points */ PushNotificationRegistrations?: PushNotificationRegistration[]; - /** - / Dictionary of player's statistics using only the latest version's value - */ + /** Dictionary of player's statistics using only the latest version's value */ Statistics?: { [key: string]: number }; - /** - / List of player's tags for segmentation. - */ + /** List of player's tags for segmentation. */ Tags?: string[]; - /** - / Title ID this profile applies to - */ + /** Title ID this profile applies to */ TitleId?: string; - /** - / A sum of player's total purchases in USD across all currencies. - */ + /** A sum of player's total purchases in USD across all currencies. */ TotalValueToDateInUSD?: number; - /** - / Dictionary of player's total purchases by currency. - */ + /** Dictionary of player's total purchases by currency. */ ValuesToDate?: { [key: string]: number }; - /** - / Dictionary of player's virtual currency balances - */ + /** Dictionary of player's virtual currency balances */ VirtualCurrencyBalances?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { - /** - / List of advertising campaigns the player has been attributed to - */ + /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; - /** - / URL of the player's avatar image - */ + /** URL of the player's avatar image */ AvatarUrl?: string; - /** - / If the player is currently banned, the UTC Date when the ban expires - */ + /** If the player is currently banned, the UTC Date when the ban expires */ BannedUntil?: string; - /** - / List of all contact email info associated with the player account - */ + /** List of all contact email info associated with the player account */ ContactEmailAddresses?: ContactEmailInfoModel[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player display name - */ + /** Player display name */ DisplayName?: string; - /** - / UTC time when the player most recently logged in to the title - */ + /** UTC time when the player most recently logged in to the title */ LastLogin?: string; - /** - / List of all authentication systems linked to this player account - */ + /** List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; - /** - / List of geographic locations from which the player has logged in to the title - */ + /** List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; - /** - / List of memberships for the player, along with whether are expired. - */ + /** List of memberships for the player, along with whether are expired. */ Memberships?: MembershipModel[]; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab player account unique identifier - */ + /** PlayFab player account unique identifier */ PlayerId?: string; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / List of configured end points registered for sending the player push notifications - */ + /** List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; - /** - / List of leaderboard statistic values for the player - */ + /** List of leaderboard statistic values for the player */ Statistics?: StatisticModel[]; - /** - / List of player's tags for segmentation - */ + /** List of player's tags for segmentation */ Tags?: TagModel[]; - /** - / Title ID this player profile applies to - */ + /** Title ID this player profile applies to */ TitleId?: string; /** - / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; - /** - / List of the player's lifetime purchase totals, summed by real-money currency - */ + /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** - / List of the player's virtual currency balances - */ + /** List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { - /** - / Whether to show player's avatar URL. Defaults to false - */ + /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; - /** - / Whether to show the banned until time. Defaults to false - */ + /** Whether to show the banned until time. Defaults to false */ ShowBannedUntil: boolean; - /** - / Whether to show campaign attributions. Defaults to false - */ + /** Whether to show campaign attributions. Defaults to false */ ShowCampaignAttributions: boolean; - /** - / Whether to show contact email addresses. Defaults to false - */ + /** Whether to show contact email addresses. Defaults to false */ ShowContactEmailAddresses: boolean; - /** - / Whether to show the created date. Defaults to false - */ + /** Whether to show the created date. Defaults to false */ ShowCreated: boolean; - /** - / Whether to show the display name. Defaults to false - */ + /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; - /** - / Whether to show the last login time. Defaults to false - */ + /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; - /** - / Whether to show the linked accounts. Defaults to false - */ + /** Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; - /** - / Whether to show player's locations. Defaults to false - */ + /** Whether to show player's locations. Defaults to false */ ShowLocations: boolean; - /** - / Whether to show player's membership information. Defaults to false - */ + /** Whether to show player's membership information. Defaults to false */ ShowMemberships: boolean; - /** - / Whether to show origination. Defaults to false - */ + /** Whether to show origination. Defaults to false */ ShowOrigination: boolean; - /** - / Whether to show push notification registrations. Defaults to false - */ + /** Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; - /** - / Reserved for future development - */ + /** Reserved for future development */ ShowStatistics: boolean; - /** - / Whether to show tags. Defaults to false - */ + /** Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the total value to date in usd. Defaults to false - */ + /** Whether to show the total value to date in usd. Defaults to false */ ShowTotalValueToDateInUsd: boolean; - /** - / Whether to show the values to date. Defaults to false - */ + /** Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { - /** - / Statistic ID - */ + /** Statistic ID */ Id?: string; - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Current statistic value - */ + /** Current statistic value */ StatisticValue: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ StatisticVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ + /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; - /** - / current active version of the statistic, incremented each time the statistic resets - */ + /** current active version of the statistic, incremented each time the statistic resets */ CurrentVersion: number; - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; - /** - / interval at which the values of the statistic for all players are reset automatically - */ + /** interval at which the values of the statistic for all players are reset automatically */ VersionChangeInterval?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { - /** - / time when the statistic version became active - */ + /** time when the statistic version became active */ ActivationTime: string; - /** - / URL for the downloadable archive of player statistic values, if available - */ + /** URL for the downloadable archive of player statistic values, if available */ ArchiveDownloadUrl?: string; - /** - / time when the statistic version became inactive due to statistic version incrementing - */ + /** time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; - /** - / name of the statistic when the version became active - */ + /** name of the statistic when the version became active */ StatisticName?: string; - /** - / status of the statistic version - */ + /** status of the statistic version */ Status?: string; - /** - / version of the statistic - */ + /** version of the statistic */ Version: number; } @@ -3727,32 +2715,20 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } @@ -3761,66 +2737,43 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { - /** - / Child nodes that indicate what kind of drop table item this actually is. - */ + /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; - /** - / Unique name for this drop table - */ + /** Unique name for this drop table */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { - /** - / Catalog version this table is associated with - */ + /** Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Child nodes that indicate what kind of drop table item this actually is. - */ + /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; - /** - / Unique name for this drop table - */ + /** Unique name for this drop table */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique order ID for the purchase in question. - */ + /** Unique order ID for the purchase in question. */ OrderId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The order's updated purchase status. - */ + /** The order's updated purchase status. */ PurchaseStatus?: string; } @@ -3833,104 +2786,61 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique identifier of the previously uploaded build executable to be removed - */ + /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of virtual currencies to delete - */ + /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUsersRequest - */ - export interface ResetUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of users to reset - */ - Users: UserCredentials[]; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3939,55 +2849,39 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique order ID for the purchase in question. - */ + /** Unique order ID for the purchase in question. */ OrderId: string; /** - / Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and Manual. Manual will cause no change to the order state. + * Enum for the desired purchase result state after notifying the payment provider. Valid values are Revoke, Reinstate and + * Manual. Manual will cause no change to the order state. */ Outcome: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) + * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The order's updated purchase status. - */ + /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Either an ItemId, or the TableId of another random result table - */ + /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; - /** - / Whether this entry in the table is an item or a link to another table - */ + /** Whether this entry in the table is an item or a link to another table */ ResultItemType: string; - /** - / How likely this is to be rolled - larger numbers add more weight - */ + /** How likely this is to be rolled - larger numbers add more weight */ Weight: number; } @@ -3995,137 +2889,89 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked. - */ + /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Ids of the bans to be revoked. Maximum 100. - */ + /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked - */ + /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Provide either the task ID or the task name to run a task. - */ + /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** - / ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call to retrieve status for the task instance. + * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call + * to retrieve status for the task instance. */ TaskInstanceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / UTC time of last run - */ + /** UTC time of last run */ LastRunTime?: string; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / UTC time of next run - */ + /** UTC time of next run */ NextRunTime?: string; /** - / Task parameter. Different types of task have different parameter structure. See each task type's create API documentation for the details. + * Task parameter. Different types of task have different parameter structure. See each task type's create API + * documentation for the details. */ Parameter?: any; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; - /** - / ID of the task - */ + /** ID of the task */ TaskId?: string; - /** - / Task type. - */ + /** Task type. */ Type?: string; } @@ -4133,184 +2979,132 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** - / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError */ Error?: string; - /** - / Details about the error - */ + /** Details about the error */ Message?: string; - /** - / Point during the execution of the script at which the error occurred, if any - */ + /** Point during the execution of the script at which the error occurred, if any */ StackTrace?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ 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 (Enterprise Only). */ PlayerSecret: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Revision to make the current published revision - */ + /** Revision to make the current published revision */ Revision: number; - /** - / Version number - */ + /** Version number */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM - */ + /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; - /** - / for APNS, this is the PlatformPrincipal (SSL Certificate) - */ + /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; /** - / name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII + * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) */ Name: string; /** - / replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if notifications have already setup for this platform. + * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if + * notifications have already setup for this platform. */ OverwriteOldARN: boolean; /** - / supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud Messaging (GCM) for Android + * supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud + * Messaging (GCM) for Android */ Platform: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Amazon Resource Name for the created notification topic. - */ + /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { - /** - / Flag to indicate if this key is disabled - */ + /** Flag to indicate if this key is disabled */ Disabled: boolean; - /** - / Friendly name for this key - */ + /** Friendly name for this key */ FriendlyName?: string; - /** - / The player shared secret to use when calling Client/GetTitlePublicKey - */ + /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } @@ -4326,21 +3120,13 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Statistic value - */ + /** Statistic value */ Value: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ Version: number; } @@ -4363,83 +3149,50 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem - */ - export interface StoreItem { - /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ + export interface StoreItem { + /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; - /** - / Intended display position for this item. Note that 0 is the first position - */ + /** Intended display position for this item. Note that 0 is the first position */ DisplayPosition?: number; /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + * Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the + * catalog */ ItemId: string; - /** - / Override prices for this item for specific currencies - */ + /** Override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Tagline for a store. - */ + /** Tagline for a store. */ Description?: string; - /** - / Display name of a store as it will appear to users. - */ + /** Display name of a store as it will appear to users. */ DisplayName?: string; - /** - / Custom data about a store. - */ + /** Custom data about a store. */ Metadata?: any; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { - /** - / When this subscription expires. - */ + /** When this subscription expires. */ Expiration: string; - /** - / The time the subscription was orignially purchased - */ + /** The time the subscription was orignially purchased */ InitialSubscriptionTime: string; - /** - / Whether this subscription is currently active. That is, if Expiration > now. - */ + /** Whether this subscription is currently active. That is, if Expiration > now. */ IsActive: boolean; - /** - / The status of this subscription, according to the subscription provider. - */ + /** The status of this subscription, according to the subscription provider. */ Status?: string; - /** - / The id for this subscription - */ + /** The id for this subscription */ SubscriptionId?: string; - /** - / The item id for this subscription from the primary catalog - */ + /** The item id for this subscription from the primary catalog */ SubscriptionItemId?: string; - /** - / The provider for this subscription. Apple or Google Play are supported today. - */ + /** The provider for this subscription. Apple or Google Play are supported today. */ SubscriptionProvider?: string; } @@ -4453,75 +3206,43 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { - /** - / Full value of the tag, including namespace - */ + /** Full value of the tag, including namespace */ TagValue?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { - /** - / UTC timestamp when the task completed. - */ + /** UTC timestamp when the task completed. */ CompletedAt?: string; - /** - / Estimated time remaining in seconds. - */ + /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; - /** - / Progress represented as percentage. - */ + /** Progress represented as percentage. */ PercentComplete?: number; - /** - / If manually scheduled, ID of user who scheduled the task. - */ + /** If manually scheduled, ID of user who scheduled the task. */ ScheduledByUserId?: string; - /** - / UTC timestamp when the task started. - */ + /** UTC timestamp when the task started. */ StartedAt: string; - /** - / Current status of the task instance. - */ + /** Current status of the task instance. */ Status?: string; - /** - / Identifier of the task this instance belongs to. - */ + /** Identifier of the task this instance belongs to. */ TaskIdentifier?: NameIdentifier; - /** - / ID of the task instance. - */ + /** ID of the task instance. */ TaskInstanceId?: string; - /** - / Type of the task. - */ + /** Type of the task. */ Type?: string; } @@ -4539,479 +3260,301 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The updated active state for the ban. Null for no change. - */ + /** The updated active state for the ban. Null for no change. */ Active?: boolean; - /** - / The id of the ban to be updated. - */ + /** The id of the ban to be updated. */ BanId: string; - /** - / The updated expiration date for the ban. Null for no change. - */ + /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** - / The updated IP address for the ban. Null for no change. - */ + /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** - / The updated MAC address for the ban. Null for no change. - */ + /** The updated MAC address for the ban. Null for no change. */ MACAddress?: string; - /** - / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. - */ + /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; - /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. - */ + /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of bans to be updated. Maximum 100. - */ + /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were updated - */ + /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not required and ignored in this call. + * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not + * required and ignored in this call. */ Catalog?: CatalogItem[]; - /** - / Which catalog is being updated. If null, uses the default catalog. - */ + /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; /** - / Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will always set it. + * Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will + * always set it. */ SetAsDefaultCatalog?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab user ID of the developer initiating the request. - */ + /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; - /** - / List of Cloud Script files to upload to create the new revision. Must have at least one file. - */ + /** List of Cloud Script files to upload to create the new revision. Must have at least one file. */ Files: CloudScriptFile[]; - /** - / Immediately publish the new revision - */ + /** Immediately publish the new revision */ Publish: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / New revision number created - */ + /** New revision number created */ Revision: number; - /** - / Cloud Script version updated - */ + /** Cloud Script version updated */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Disable or Enable this key - */ + /** Disable or Enable this key */ Disabled: boolean; - /** - / Friendly name for this key - */ + /** Friendly name for this key */ FriendlyName?: string; - /** - / The shared secret key to update - */ + /** The shared secret key to update */ SecretKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / the aggregation method to use in updating the statistic (defaults to last) - */ + /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; /** - / interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of the new interval boundary) + * interval at which the values of the statistic for all players are reset (changes are effective at the next occurance of + * the new interval boundary) */ VersionChangeInterval?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { - /** - / updated statistic definition - */ + /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Whether to overwrite or append to the existing policy. - */ + /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; - /** - / The name of the policy being updated. Only supported name is 'ApiPolicy' - */ + /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ PolicyName: string; - /** - / The new statements to include in the policy. - */ + /** The new statements to include in the policy. */ Statements: PermissionStatement[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The name of the policy that was updated. - */ + /** The name of the policy that was updated. */ PolicyName?: string; - /** - / The statements included in the new version of the policy. - */ + /** The statements included in the new version of the policy. */ Statements?: PermissionStatement[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / which catalog is being updated. If null, update the current default catalog version - */ + /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; /** - / array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that table, while any others will be added to the available set) + * array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that + * table, while any others will be added to the available set) */ Tables?: RandomResultTable[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version of the store to update. If null, uses the default catalog. - */ + /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; - /** - / Additional data about the store - */ + /** Additional data about the store */ MarketingData?: StoreMarketingModel; - /** - / Array of store items - references to catalog items, with specific pricing - to be added - */ + /** Array of store items - references to catalog items, with specific pricing - to be added */ Store?: StoreItem[]; - /** - / Unique identifier for the store which is to be updated - */ + /** Unique identifier for the store which is to be updated */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Description the task - */ + /** Description the task */ Description?: string; - /** - / Specify either the task ID or the name of the task to be updated. - */ + /** Specify either the task ID or the name of the task to be updated. */ Identifier?: NameIdentifier; - /** - / Whether the schedule is active. Inactive schedule will not trigger task execution. - */ + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ IsActive: boolean; - /** - / Name of the task. This is a unique identifier for tasks in the title. - */ + /** Name of the task. This is a unique identifier for tasks in the title. */ Name: string; - /** - / Parameter object specific to the task type. See each task type's create API documentation for details. - */ + /** Parameter object specific to the task type. See each task type's create API documentation for details. */ Parameter?: any; - /** - / Cron expression for the run schedule of the task. The expression should be in UTC. - */ + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ Schedule?: string; - /** - / Task type. - */ + /** Task type. */ Type: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / New title display name for the user - must be between 3 and 25 characters - */ + /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; - /** - / PlayFab unique identifier of the user whose title specific display name is to be changed - */ + /** PlayFab unique identifier of the user whose title specific display name is to be changed */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { - /** - / current title display name for the user (this will be the original display name if the rename attempt failed) - */ + /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { - /** - / User Android device information, if an Android device has been linked - */ + /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; - /** - / Timestamp indicating when the user account was created - */ + /** Timestamp indicating when the user account was created */ Created: string; - /** - / Custom ID information, if a custom ID has been assigned - */ + /** Custom ID information, if a custom ID has been assigned */ CustomIdInfo?: UserCustomIdInfo; - /** - / User Facebook information, if a Facebook account has been linked - */ + /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Gamecenter information, if a Gamecenter account has been linked - */ + /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; - /** - / User Google account information, if a Google account has been linked - */ + /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; - /** - / User iOS device information, if an iOS device has been linked - */ + /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; - /** - / User Kongregate account information, if a Kongregate account has been linked - */ + /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; - /** - / Unique identifier for the user account - */ + /** Unique identifier for the user account */ PlayFabId?: string; - /** - / Personal information for the user which is considered more sensitive - */ + /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** - / User PSN account information, if a PSN account has been linked - */ + /** User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; - /** - / User Steam information, if a Steam account has been linked - */ + /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; - /** - / Title-specific information for the user account - */ + /** Title-specific information for the user account */ TitleInfo?: UserTitleInfo; - /** - / User Twitch account information, if a Twitch account has been linked - */ + /** User Twitch account information, if a Twitch account has been linked */ TwitchInfo?: UserTwitchInfo; - /** - / User account name in the PlayFab service - */ + /** User account name in the PlayFab service */ Username?: string; - /** - / User XBox account information, if a XBox account has been linked - */ + /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { - /** - / Android device ID - */ + /** Android device ID */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCredentials - */ - export interface UserCredentials { - /** - / Username of user to reset - */ - Username: string; - - } - - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { - /** - / Custom ID - */ + /** Custom ID */ CustomId?: string; } @@ -5019,96 +3562,61 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; /** - / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + * Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData + * requests being made by one player about another player. */ Permission?: string; - /** - / Data stored for the specified user data key. - */ + /** Data stored for the specified user data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { - /** - / Facebook identifier - */ + /** Facebook identifier */ FacebookId?: string; - /** - / Facebook full name - */ + /** Facebook full name */ FullName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { - /** - / Gamecenter identifier - */ + /** Gamecenter identifier */ GameCenterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Email address of the Google account - */ + /** Email address of the Google account */ GoogleEmail?: string; - /** - / Gender information of the Google account - */ + /** Gender information of the Google account */ GoogleGender?: string; - /** - / Google ID - */ + /** Google ID */ GoogleId?: string; - /** - / Locale of the Google account - */ + /** Locale of the Google account */ GoogleLocale?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { - /** - / iOS device ID - */ + /** iOS device ID */ IosDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { - /** - / Kongregate ID - */ + /** Kongregate ID */ KongregateId?: string; - /** - / Kongregate Username - */ + /** Kongregate Username */ KongregateName?: string; } @@ -5132,192 +3640,128 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { - /** - / user email address - */ + /** user email address */ Email?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { - /** - / PSN account ID - */ + /** PSN account ID */ PsnAccountId?: string; - /** - / PSN online ID - */ + /** PSN online ID */ PsnOnlineId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { - /** - / what stage of game ownership the user is listed as being in, from Steam - */ + /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; - /** - / the country in which the player resides, from Steam data - */ + /** the country in which the player resides, from Steam data */ SteamCountry?: string; - /** - / currency type set in the user Steam account - */ + /** currency type set in the user Steam account */ SteamCurrency?: string; - /** - / Steam identifier - */ + /** Steam identifier */ SteamId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { - /** - / URL to the player's avatar. - */ + /** URL to the player's avatar. */ AvatarUrl?: string; /** - / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + * timestamp indicating when the user was first associated with this game (this can differ significantly from when the user + * first registered with PlayFab) */ Created: string; - /** - / name of the user, as it is displayed in-game - */ + /** name of the user, as it is displayed in-game */ DisplayName?: string; /** - / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + * timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other + * events, such as issuing a beta key to the user, can associate the title to the user) */ FirstLogin?: string; - /** - / boolean indicating whether or not the user is currently banned for a title - */ + /** boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; - /** - / timestamp for the last user login for this title - */ + /** timestamp for the last user login for this title */ LastLogin?: string; - /** - / source by which the user first joined the game, if known - */ + /** source by which the user first joined the game, if known */ Origination?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { - /** - / Twitch ID - */ + /** Twitch ID */ TwitchId?: string; - /** - / Twitch Username - */ + /** Twitch Username */ TwitchUserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { - /** - / XBox user ID - */ + /** XBox user ID */ XboxUserId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { - /** - / ISO 4217 code of the currency used in the purchases - */ + /** ISO 4217 code of the currency used in the purchases */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel */ export interface VirtualCurrencyBalanceModel { - /** - / Name of the virtual currency - */ + /** Name of the virtual currency */ Currency?: string; - /** - / Balance of the virtual currency - */ + /** Balance of the virtual currency */ TotalValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { - /** - / unique two-character identifier for this currency type (e.g.: "CC") - */ + /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; - /** - / friendly name to show in the developer portal, reports, etc. - */ + /** friendly name to show in the developer portal, reports, etc. */ DisplayName?: string; - /** - / amount to automatically grant users upon first login to the title - */ + /** amount to automatically grant users upon first login to the title */ InitialDeposit?: number; - /** - / maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) - */ + /** maximum amount to which the currency will recharge (cannot exceed MaxAmount, but can be less) */ RechargeMax?: number; - /** - / rate at which the currency automatically be added to over time, in units per day (24 hours) - */ + /** rate at which the currency automatically be added to over time, in units per day (24 hours) */ RechargeRate?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index e6ed0e63..640c00ca 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -6,653 +6,740 @@ declare module PlayFabClientModule { ForgetClientCredentials(): void; /** - / Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players' inventories. - / https://api.playfab.com/Documentation/Client/method/AcceptTrade + * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the + * allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted + * items will be swapped between the two players' inventories. + * https://api.playfab.com/Documentation/Client/method/AcceptTrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Client/method/AddFriend + * Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At + * least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + * https://api.playfab.com/Documentation/Client/method/AddFriend */ AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players. - / https://api.playfab.com/Documentation/Client/method/AddGenericID + * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab + * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as + * authentication credentials, as the intent is that it is easily accessible by other players. + * https://api.playfab.com/Documentation/Client/method/AddGenericID */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only + * users in the group can add new members. Shared Groups are designed for sharing data between a very small number of + * players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login. - / https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + * Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device + * ID login. + * https://api.playfab.com/Documentation/Client/method/AddUsernamePassword */ AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + * Increments the user's balance of the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the Android device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + * Registers the Android device to receive push notifications + * https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration */ AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attributes an install for advertisment. - / https://api.playfab.com/Documentation/Client/method/AttributeInstall + * Attributes an install for advertisment. + * https://api.playfab.com/Documentation/Client/method/AttributeInstall */ AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other players from accepting them, for trades that can be claimed by more than one player). - / https://api.playfab.com/Documentation/Client/method/CancelTrade + * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade + * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other + * players from accepting them, for trades that can be claimed by more than one player). + * https://api.playfab.com/Documentation/Client/method/CancelTrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual currency balances as appropriate - / https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual + * currency balances as appropriate + * https://api.playfab.com/Documentation/Client/method/ConfirmPurchase */ ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Client/method/ConsumeItem + * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + * https://api.playfab.com/Documentation/Client/method/ConsumeItem */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing + * data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. - / https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + * Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + * https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the user's PlayFab account details - / https://api.playfab.com/Documentation/Client/method/GetAccountInfo + * Retrieves the user's PlayFab account details + * https://api.playfab.com/Documentation/Client/method/GetAccountInfo */ GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be + * evaluated with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters */ GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Client/method/GetCatalogItems + * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + * https://api.playfab.com/Documentation/Client/method/GetCatalogItems */ GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterData + * Retrieves the title-specific custom data for the character which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/GetCharacterData */ GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + * Retrieves the specified character's current inventory of virtual goods + * https://api.playfab.com/Documentation/Client/method/GetCharacterInventory */ GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard */ GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the character which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + * Retrieves the title-specific custom data for the character which can only be read by the client + * https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData */ GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the user - / https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + * Retrieves the details of all title-specific statistics for the user + * https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics */ GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * the query to retrieve the data will fail. See this post for more information: + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. + * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates + * apply. + * https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about all current running game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetCurrentGames + * Get details about all current running game servers matching the given parameters. + * https://api.playfab.com/Documentation/Client/method/GetCurrentGames */ GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + * Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in + * the leaderboard + * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard */ GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab user. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + * Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab + * user. If PlayFabId is empty or null will return currently logged in user. + * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer */ GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Client/method/GetFriendsList + * Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from + * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + * https://api.playfab.com/Documentation/Client/method/GetFriendsList */ GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get details about the regions hosting game servers matching the given parameters. - / https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + * Get details about the regions hosting game servers matching the given parameters. + * https://api.playfab.com/Documentation/Client/method/GetGameServerRegions */ GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Client/method/GetLeaderboard + * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Client/method/GetLeaderboard */ GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + * Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID + * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter */ GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or null will return currently logged in user. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + * Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or + * null will return currently logged in user. + * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer */ GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + * Retrieves a list of all of the user's characters for the given statistic. + * https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters */ GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See https://api.playfab.com/docs/using-photon-with-playfab/ for more details. - / https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken + * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See + * https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + * https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves all of the user's different kinds of info. - / https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + * Retrieves all of the user's different kinds of info. + * https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + * Retrieves the player's profile + * https://api.playfab.com/Documentation/Client/method/GetPlayerProfile */ GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + * List all segments that a player currently belongs to at this moment in time. + * https://api.playfab.com/Documentation/Client/method/GetPlayerSegments */ GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local player. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + * Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local + * player. + * https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics */ GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + * Retrieves the information on the available versions of the specified statistic. + * https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions */ GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTags + * Get all tags with a given Namespace (optional) from a player profile. + * https://api.playfab.com/Documentation/Client/method/GetPlayerTags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all trades the player has either opened or accepted, optionally filtered by trade status. - / https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + * Gets all trades the player has either opened or accepted, optionally filtered by trade status. + * https://api.playfab.com/Documentation/Client/method/GetPlayerTrades */ GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center Programming Guide as the Player Identifier). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center + * Programming Guide as the Player Identifier). + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs */ GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the service name plus the service-specific ID for the player, as specified by the title when the generic identifier was added to the player account. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the + * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was + * added to the player account. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs */ GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for the user accounts, available as "id" in the Google+ People API calls. - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + * Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for + * the user accounts, available as "id" in the Google+ People API calls. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs */ GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: http://developers.kongregate.com/docs/client/getUserId). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the + * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: + * http://developers.kongregate.com/docs/client/getUserId). + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + * 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs */ GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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: https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). - / https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + * 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: + * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs */ GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Client/method/GetPublisherData + * Retrieves the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Client/method/GetPublisherData */ GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still active. - / https://api.playfab.com/Documentation/Client/method/GetPurchase + * Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still + * active. + * https://api.playfab.com/Documentation/Client/method/GetPurchase */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group + * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Shared Groups are designed for sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the set of items defined for the specified store, including all prices defined - / https://api.playfab.com/Documentation/Client/method/GetStoreItems + * Retrieves the set of items defined for the specified store, including all prices defined + * https://api.playfab.com/Documentation/Client/method/GetStoreItems */ GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current server time - / https://api.playfab.com/Documentation/Client/method/GetTime + * Retrieves the current server time + * https://api.playfab.com/Documentation/Client/method/GetTime */ GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings - / https://api.playfab.com/Documentation/Client/method/GetTitleData + * Retrieves the key-value store of custom title settings + * https://api.playfab.com/Documentation/Client/method/GetTitleData */ GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title news feed, as configured in the developer portal - / https://api.playfab.com/Documentation/Client/method/GetTitleNews + * Retrieves the title news feed, as configured in the developer portal + * https://api.playfab.com/Documentation/Client/method/GetTitleNews */ GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns the title's base 64 encoded RSA CSP blob. - / https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey + * Returns the title's base 64 encoded RSA CSP blob. + * https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey */ GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets the current status of an existing trade. - / https://api.playfab.com/Documentation/Client/method/GetTradeStatus + * Gets the current status of an existing trade. + * https://api.playfab.com/Documentation/Client/method/GetTradeStatus */ GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetUserData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/GetUserData */ GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Client/method/GetUserInventory + * Retrieves the user's current inventory of virtual goods + * https://api.playfab.com/Documentation/Client/method/GetUserInventory */ GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/GetUserPublisherData + * Retrieves the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/GetUserPublisherData */ GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData + * Retrieves the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData */ GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData + * Retrieves the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - / https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge + * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + * https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge */ GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated + * with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser */ GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Android device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + * Links the Android device identifier to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID */ LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the custom identifier, generated by the title, to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkCustomID + * Links the custom identifier, generated by the title, to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkCustomID */ LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + * Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount */ LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the currently signed-in user account to their Google account, using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + * Links the currently signed-in user account to their Google account, using their Google account credentials + * https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the vendor-specific iOS device identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + * Links the vendor-specific iOS device identifier to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID */ LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Kongregate identifier to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkKongregate + * Links the Kongregate identifier to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkKongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount */ LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Links the Twitch account associated with the token to the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/LinkTwitch + * Links the Twitch account associated with the token to the user's PlayFab account. + * https://api.playfab.com/Documentation/Client/method/LinkTwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Link Windows Hello authentication to the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + * Link Windows Hello authentication to the current PlayFab Account + * https://api.playfab.com/Documentation/Client/method/LinkWindowsHello */ LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID + * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID */ LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithCustomID */ LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via RegisterPlayFabUser. - / https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress + * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls + * which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the + * creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via + * RegisterPlayFabUser. + * https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress */ LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithFacebook + * Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API + * calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithFacebook */ LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be + * used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using their Google account credentials - / https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + * Signs the user in using their Google account credentials + * https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently + * be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID */ LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Kongregate player account. - / https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + * Signs the user in using a Kongregate player account. + * https://api.playfab.com/Documentation/Client/method/LoginWithKongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. - / https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls + * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation + * of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via + * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. + * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/LoginWithSteam + * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithSteam */ LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Signs the user in using a Twitch access token. - / https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + * Signs the user in using a Twitch access token. + * https://api.playfab.com/Documentation/Client/method/LoginWithTwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the server. - / https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. + * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge + * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the + * server. + * https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello */ LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound. - / https://api.playfab.com/Documentation/Client/method/Matchmake + * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific + * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required + * parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is + * found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the + * availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be + * GameNotFound. + * https://api.playfab.com/Documentation/Client/method/Matchmake */ Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. - / https://api.playfab.com/Documentation/Client/method/OpenTrade + * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. + * https://api.playfab.com/Documentation/Client/method/OpenTrade */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Selects a payment option for purchase order created via StartPurchase - / https://api.playfab.com/Documentation/Client/method/PayForPurchase + * Selects a payment option for purchase order created via StartPurchase + * https://api.playfab.com/Documentation/Client/method/PayForPurchase */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. - / https://api.playfab.com/Documentation/Client/method/PurchaseItem + * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as + * what the client believes the price to be. This lets the server fail the purchase if the price has changed. + * https://api.playfab.com/Documentation/Client/method/PurchaseItem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Client/method/RedeemCoupon + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Economy->Catalogs tab in the PlayFab Game Manager. + * https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers the iOS device to receive push notifications - / https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + * Registers the iOS device to receive push notifications + * https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification */ RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply either a username or an email address. - / https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user. You must supply either a username or an email address. + * https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can subsequently be used for API calls which require an authenticated user - / https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can + * subsequently be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes a specified user from the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/RemoveFriend + * Removes a specified user from the friend list of the local user + * https://api.playfab.com/Documentation/Client/method/RemoveFriend */ RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the specified generic service identifier from the player's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/RemoveGenericID + * Removes the specified generic service identifier from the player's PlayFab account. + * https://api.playfab.com/Documentation/Client/method/RemoveGenericID */ RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the + * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Client/method/ReportPlayer + * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title + * can take action concerning potentially toxic players. + * https://api.playfab.com/Documentation/Client/method/ReportPlayer */ ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Restores all in-app purchases based on the given restore receipt - / https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + * Restores all in-app purchases based on the given restore receipt + * https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to change the password - / https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to + * change the password + * https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the tag list for a specified user in the friend list of the local user - / https://api.playfab.com/Documentation/Client/method/SetFriendTags + * Updates the tag list for a specified user in the friend list of the local user + * https://api.playfab.com/Documentation/Client/method/SetFriendTags */ SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's + * secret use the Admin or Server API method SetPlayerSecret. + * https://api.playfab.com/Documentation/Client/method/SetPlayerSecret */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Start a new game server with a given configuration, add the current player and return the connection information. - / https://api.playfab.com/Documentation/Client/method/StartGame + * Start a new game server with a given configuration, add the current player and return the connection information. + * https://api.playfab.com/Documentation/Client/method/StartGame */ StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates an order for a list of items from the title catalog - / https://api.playfab.com/Documentation/Client/method/StartPurchase + * Creates an order for a list of items from the title catalog + * https://api.playfab.com/Documentation/Client/method/StartPurchase */ StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC + * balance negative with this API. + * https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Android device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + * Unlinks the related Android device identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID */ UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related custom identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + * Unlinks the related custom identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkCustomID */ UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Facebook account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + * Unlinks the related Facebook account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount */ UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Game Center account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + * Unlinks the related Game Center account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount */ UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Google account from the user's PlayFab account (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). - / https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + * Unlinks the related Google account from the user's PlayFab account + * (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). + * https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount */ UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related iOS device identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + * Unlinks the related iOS device identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID */ UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Kongregate identifier from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + * Unlinks the related Kongregate identifier from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkKongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Steam account from the user's PlayFab account - / https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + * Unlinks the related Steam account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount */ UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlinks the related Twitch account from the user's PlayFab account. - / https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + * Unlinks the related Twitch account from the user's PlayFab account. + * https://api.playfab.com/Documentation/Client/method/UnlinkTwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Unlink Windows Hello authentication from the current PlayFab Account - / https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + * Unlink Windows Hello authentication from the current PlayFab Account + * https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello */ UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens the specified container, with the specified key (when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. + * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, + * consistent with the operation of ConsumeItem. + * https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance */ UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an + * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are + * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + * https://api.playfab.com/Documentation/Client/method/UnlockContainerItem */ UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the player - / https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + * Update the avatar URL of the player + * https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl */ UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + * Creates and updates the title-specific custom data for the user's character which is readable and writable by the + * client + * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + * Updates the values of the specified title-specific statistics for the specific character. By default, clients are not + * permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + * https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics */ UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - / https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to + * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. + * https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics */ UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated + * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. + * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for + * sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserData + * Creates and updates the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/UpdateUserData */ UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Creates and updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + * Creates and updates the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData */ UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title specific display name for the user - / https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + * Updates the title specific display name for the user + * https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName */ UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the + * purchased catalog item + * https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates a Google Play purchase and gives the corresponding item to the player. - / https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + * Validates a Google Play purchase and gives the corresponding item to the player. + * https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase */ ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased + * catalog item + * https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt */ ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the purchased catalog item - / https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt + * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the + * purchased catalog item + * https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt */ ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + * Writes a character-based event into PlayStream. + * https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent */ WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + * Writes a player-based event into PlayStream. + * https://api.playfab.com/Documentation/Client/method/WritePlayerEvent */ WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + * Writes a title-based event into PlayStream. + * https://api.playfab.com/Documentation/Client/method/WriteTitleEvent */ WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -660,488 +747,324 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a gift, this will be null. + * Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a + * gift, this will be null. */ AcceptedInventoryInstanceIds?: string[]; - /** - / Player who opened the trade. - */ + /** Player who opened the trade. */ OfferingPlayerId: string; - /** - / Trade identifier. - */ + /** Trade identifier. */ TradeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Details about trade which was just accepted. - */ + /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Email address of the user to attempt to add to the local user's friend list. - */ + /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; - /** - / PlayFab identifier of the user to attempt to add to the local user's friend list. - */ + /** PlayFab identifier of the user to attempt to add to the local user's friend list. */ FriendPlayFabId?: string; - /** - / Title-specific display name of the user to attempt to add to the local user's friend list. - */ + /** Title-specific display name of the user to attempt to add to the local user's friend list. */ FriendTitleDisplayName?: string; - /** - / PlayFab username of the user to attempt to add to the local user's friend list. - */ + /** PlayFab username of the user to attempt to add to the local user's friend list. */ FriendUsername?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { - /** - / True if the friend request was processed successfully. - */ + /** True if the friend request was processed successfully. */ Created: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generic service identifier to add to the player account. - */ + /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email: string; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password: string; - /** - / PlayFab username for the account (3-20 characters) - */ + /** PlayFab username for the account (3-20 characters) */ Username: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique user name. - */ + /** PlayFab unique user name. */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be added to the user balance of the specified virtual currency. - */ + /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Message to display when confirming push notification. - */ + /** Message to display when confirming push notification. */ ConfirmationMessage?: string; /** - / Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). + * Registration ID provided by the Google Cloud Messaging service when the title registered to receive push notifications + * (see the GCM documentation, here: http://developer.android.com/google/gcm/client.html). */ DeviceToken: string; - /** - / If true, send a test push message immediately after sucessful registration. Defaults to false. - */ + /** If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The adid for this device. - */ + /** The adid for this device. */ Adid?: string; - /** - / The IdentifierForAdvertisers for iOS Devices. - */ + /** The IdentifierForAdvertisers for iOS Devices. */ Idfa?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Trade identifier. - */ + /** Trade identifier. */ TradeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Details about trade which was just canceled. - */ + /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { - /** - / Description of the catalog item. - */ + /** Description of the catalog item. */ Description?: string; - /** - / Display name for the catalog item. - */ + /** Display name for the catalog item. */ DisplayName?: string; - /** - / Class name to which catalog item belongs. - */ + /** Class name to which catalog item belongs. */ ItemClass?: string; - /** - / Unique identifier for the catalog item. - */ + /** Unique identifier for the catalog item. */ ItemId?: string; - /** - / Unique instance identifier for this catalog item. - */ + /** Unique instance identifier for this catalog item. */ ItemInstanceId?: string; - /** - / Cost of the catalog item for each applicable real world currency. - */ + /** Cost of the catalog item for each applicable real world currency. */ RealCurrencyPrices?: { [key: string]: number }; - /** - / Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. - */ + /** Amount of each applicable virtual currency which will be received as a result of purchasing this catalog item. */ VCAmount?: { [key: string]: number }; - /** - / Cost of the catalog item for each applicable virtual currency. - */ + /** Cost of the catalog item for each applicable virtual currency. */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables + * and virtual currencies */ Bundle?: CatalogItemBundleInfo; - /** - / if true, then an item instance of this type can be used to grant a character to a user. - */ + /** if true, then an item instance of this type can be used to grant a character to a user. */ CanBecomeCharacter: boolean; - /** - / catalog version for this item - */ + /** catalog version for this item */ CatalogVersion?: string; - /** - / defines the consumable properties (number of uses, timeout) for the item - */ + /** defines the consumable properties (number of uses, timeout) for the item */ Consumable?: CatalogItemConsumableInfo; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + * defines the container properties for the item - what items it contains, including random drop tables and virtual + * currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ Container?: CatalogItemContainerInfo; - /** - / game specific custom data - */ + /** game specific custom data */ CustomData?: string; - /** - / text description of item, to show in-game - */ + /** text description of item, to show in-game */ Description?: string; - /** - / text name for the item, to show in-game - */ + /** text name for the item, to show in-game */ DisplayName?: string; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + * If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited + * edition item, this value determines the total number of instances to allocate for the title. Once this limit has been + * reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of + * false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less + * than zero, it will be ignored. */ InitialLimitedEditionCount: number; - /** - / BETA: If true, then only a fixed number can ever be granted. - */ + /** BETA: If true, then only a fixed number can ever be granted. */ IsLimitedEdition: boolean; /** - / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + * if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. + * RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ IsStackable: boolean; - /** - / if true, then an item instance of this type can be traded between players using the trading APIs - */ + /** if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; - /** - / class to which the item belongs - */ + /** class to which the item belongs */ ItemClass?: string; - /** - / unique identifier for this item - */ + /** unique identifier for this item */ ItemId: string; /** - / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + * URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP + * URL. */ ItemImageUrl?: string; - /** - / override prices for this item for specific currencies - */ + /** override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / list of item tags - */ + /** list of item tags */ Tags?: string[]; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { - /** - / unique ItemId values for all items which will be added to the player inventory when the bundle is added - */ + /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; /** - / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + * unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and + * add the relevant items to the player inventory when the bundle is added) */ BundledResultTables?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the bundle is added - */ + /** virtual currency types and balances which will be added to the player inventory when the bundle is added */ BundledVirtualCurrencies?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { - /** - / number of times this object can be used, after which it will be removed from the player inventory - */ + /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; /** - / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + * duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed + * (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on + * this item's details have completed) */ UsagePeriod?: number; /** - / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + * all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values + * added together, and share the result - when that period has elapsed, all the items in the group will be removed */ UsagePeriodGroup?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked - */ + /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + * ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will + * open the container, adding the contents to the player inventory and currency balances) */ KeyItemId?: string; /** - / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + * unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables + * will be resolved and add the relevant items to the player inventory) */ ResultTableContents?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the container is unlocked - */ + /** virtual currency types and balances which will be added to the player inventory when the container is unlocked */ VirtualCurrencyContents?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { - /** - / The id of this character. - */ + /** The id of this character. */ CharacterId?: string; - /** - / The inventory of this character. - */ + /** The inventory of this character. */ Inventory?: ItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; - /** - / Title-specific display name of the character for this leaderboard entry. - */ + /** Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Name of the character class for this entry. - */ + /** Name of the character class for this entry. */ CharacterType?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The id for this character on this player. - */ + /** The id for this character on this player. */ CharacterId?: string; - /** - / The name of this character. - */ + /** The name of this character. */ CharacterName?: string; - /** - / The type-string that was given to this character on creation. - */ + /** The type-string that was given to this character on creation. */ CharacterType?: string; } @@ -1150,107 +1073,70 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { - /** - / List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. - */ + /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; /** - / List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by one of the Exclude rule + * List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by + * one of the Exclude rule */ Includes?: Container_Dictionary_String_String[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Purchase order identifier returned from StartPurchase. - */ + /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items purchased. - */ + /** Array of items purchased. */ Items?: ItemInstance[]; - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Date and time of the purchase. - */ + /** Date and time of the purchase. */ PurchaseDate: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Number of uses to consume from the item. - */ + /** Number of uses to consume from the item. */ ConsumeCount: number; - /** - / Unique instance identifier of the item to be consumed. - */ + /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique instance identifier of the item with uses consumed. - */ + /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; - /** - / Number of uses remaining on the item. - */ + /** Number of uses remaining on the item. */ RemainingUses: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { - /** - / Content of data - */ + /** Content of data */ Data?: { [key: string]: string }; } @@ -1513,24 +1399,16 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). - */ + /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId?: string; } @@ -1698,267 +1576,174 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Build to match against. - */ + /** Build to match against. */ BuildVersion?: string; - /** - / Game mode to look for. - */ + /** Game mode to look for. */ GameMode?: string; - /** - / Region to check for Game Server Instances. - */ + /** Region to check for Game Server Instances. */ Region?: string; - /** - / Statistic name to find statistic-based matches. - */ + /** Statistic name to find statistic-based matches. */ StatisticName?: string; - /** - / Filter to include and/or exclude Game Server Instances associated with certain tags. - */ + /** Filter to include and/or exclude Game Server Instances associated with certain tags. */ TagFilter?: CollectionFilter; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / number of games running - */ + /** number of games running */ GameCount: number; - /** - / array of games found - */ + /** array of games found */ Games?: GameInfo[]; - /** - / total number of players across all servers - */ + /** total number of players across all servers */ PlayerCount: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult - */ + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The name of the CloudScript function to execute - */ + /** The name of the CloudScript function to execute */ FunctionName: string; - /** - / Object that is passed in to the function as the first argument - */ + /** Object that is passed in to the function as the first argument */ FunctionParameter?: any; /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + * Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. */ GeneratePlayStreamEvent?: boolean; /** - / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ RevisionSelection?: string; - /** - / The specivic revision to execute, when RevisionSelection is set to 'Specific' - */ + /** The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Number of PlayFab API requests issued by the CloudScript function - */ + /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution - */ + /** Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; ExecutionTimeSeconds: number; - /** - / The name of the function that executed - */ + /** The name of the function that executed */ FunctionName?: string; - /** - / The object returned from the CloudScript function, if any - */ + /** The object returned from the CloudScript function, if any */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; - /** - / Number of external HTTP requests issued by the CloudScript function - */ + /** Number of external HTTP requests issued by the CloudScript function */ HttpRequestsIssued: number; /** - / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; MemoryConsumedBytes: number; /** - / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. */ ProcessorTimeSeconds: number; - /** - / The revision of the CloudScript that executed - */ + /** The revision of the CloudScript that executed */ Revision: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { - /** - / Unique Facebook identifier for a user. - */ + /** Unique Facebook identifier for a user. */ FacebookId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** - / Unique lobby identifier of the Game Server Instance to which this player is currently connected. - */ + /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; - /** - / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). - */ + /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; - /** - / PlayFab unique identifier for this friend. - */ + /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** - / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). - */ + /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). - */ + /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; - /** - / Tags which have been associated with this friend. - */ + /** Tags which have been associated with this friend. */ Tags?: string[]; - /** - / Title-specific display name for this friend. - */ + /** Title-specific display name for this friend. */ TitleDisplayName?: string; - /** - / PlayFab unique username for this friend. - */ + /** PlayFab unique username for this friend. */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { - /** - / Unique Game Center identifier for a user. - */ + /** Unique Game Center identifier for a user. */ GameCenterId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Game Center identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Game Center identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { - /** - / build version this server is running - */ + /** build version this server is running */ BuildVersion?: string; - /** - / game mode this server is running - */ + /** game mode this server is running */ GameMode?: string; - /** - / game session custom data - */ + /** game session custom data */ GameServerData?: string; - /** - / game specific string denoting server configuration - */ + /** game specific string denoting server configuration */ GameServerStateEnum?: string; - /** - / last heartbeat of the game server instance, used in external game server provider mode - */ + /** last heartbeat of the game server instance, used in external game server provider mode */ LastHeartbeat?: string; - /** - / unique lobby identifier for this game server - */ + /** unique lobby identifier for this game server */ LobbyID?: string; - /** - / maximum players this server can support - */ + /** maximum players this server can support */ MaxPlayers?: number; - /** - / array of current player IDs on this server - */ + /** array of current player IDs on this server */ PlayerUserIds?: string[]; - /** - / region to which this server is associated - */ + /** region to which this server is associated */ Region?: string; - /** - / duration in seconds this server has been running - */ + /** duration in seconds this server has been running */ RunTime: number; - /** - / IP address of the server - */ + /** IPV4 address of the server */ ServerHostname?: string; - /** - / port number to use for non-http communications with the server - */ + /** IPV6 address of the server */ + ServerIPV6Address?: string; + /** port number to use for non-http communications with the server */ ServerPort?: number; - /** - / stastic used to match this game in player statistic matchmaking - */ + /** stastic used to match this game in player statistic matchmaking */ StatisticName?: string; - /** - / game session tags - */ + /** game session tags */ Tags?: { [key: string]: string }; } @@ -1966,1864 +1751,1197 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / version of game server for which stats are being requested - */ + /** version of game server for which stats are being requested */ BuildVersion: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of regions found matching the request parameters - */ + /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { - /** - / Unique generic service identifier for a user. - */ + /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { - /** - / Name of the service for which the player has a unique identifier. - */ + /** Name of the service for which the player has a unique identifier. */ ServiceName: string; - /** - / Unique identifier of the player in that service. - */ + /** Unique identifier of the player in that service. */ UserId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address for the account to find (if no Username is specified). - */ + /** User email address for the account to find (if no Username is specified). */ Email?: string; /** - / Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no other lookup identifier set. + * Unique PlayFab identifier of the user whose info is being requested. Optional, defaults to the authenticated user if no + * other lookup identifier set. */ PlayFabId?: string; /** - / Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. + * Title-specific username for the account to find (if no Email is set). Note that if the non-unique Title Display Names + * option is enabled for the title, attempts to look up users by Title Display Name will always return AccountNotFound. */ TitleDisplayName?: string; - /** - / PlayFab Username for the account to find (if no PlayFabId is specified). - */ + /** PlayFab Username for the account to find (if no PlayFabId is specified). */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Account information for the local user. - */ + /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Which catalog is being requested. If null, uses the default catalog. - */ + /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items which can be purchased. - */ + /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. - */ + /** Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Used to limit results to only those from a specific catalog version. - */ + /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier of the character for this inventory. - */ + /** Unique identifier of the character for this inventory. */ CharacterId?: string; - /** - / Array of inventory items belonging to the character. - */ + /** Array of inventory items belonging to the character. */ Inventory?: ItemInstance[]; - /** - / Array of virtual currency balance(s) belonging to the character. - */ + /** Array of virtual currency balance(s) belonging to the character. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / First entry in the leaderboard to be retrieved. - */ + /** First entry in the leaderboard to be retrieved. */ StartPosition: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The requested character statistics. - */ + /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. - */ + /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ + /** Key of the content item to fetch, usually formatted as a path, e.g. images/a.png */ Key: string; /** - / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + * True to download through CDN. CDN provides higher download bandwidth and lower latency. However, if you want the latest, + * non-cached version of the content during development, set this to false. Default is true. */ ThruCDN?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** - / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. - */ + /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. - */ + /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ PlayFabId?: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Statistic used to rank players for this leaderboard. - */ + /** Statistic used to rank players for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Position in the leaderboard to start this listing (defaults to the first entry). - */ + /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; - /** - / Statistic used to rank friends for this leaderboard. - */ + /** Statistic used to rank friends for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of friends found. - */ + /** Array of friends found. */ Friends?: FriendInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character on which to center the leaderboard. - */ + /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; - /** - / PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. - */ + /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ PlayFabId?: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Statistic used to rank players for this leaderboard. - */ + /** Statistic used to rank players for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. Default 10, maximum 100. - */ + /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Position in the leaderboard to start this listing (defaults to the first entry). - */ + /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; - /** - / Statistic used to rank players for this leaderboard. - */ + /** Statistic used to rank players for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The Photon applicationId for the game you wish to log into. - */ + /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The Photon authentication token for this game-session. - */ + /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; - /** - / PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. - */ + /** PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { - /** - / Whether to get character inventories. Defaults to false. - */ + /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; - /** - / Whether to get the list of characters. Defaults to false. - */ + /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** - / Whether to get player profile. Defaults to false. - */ + /** Whether to get player profile. Defaults to false. */ GetPlayerProfile: boolean; - /** - / Whether to get player statistics. Defaults to false. - */ + /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; - /** - / Whether to get title data. Defaults to false. - */ + /** Whether to get title data. Defaults to false. */ GetTitleData: boolean; - /** - / Whether to get the player's account Info. Defaults to false - */ + /** Whether to get the player's account Info. Defaults to false */ GetUserAccountInfo: boolean; - /** - / Whether to get the player's custom data. Defaults to false - */ + /** Whether to get the player's custom data. Defaults to false */ GetUserData: boolean; - /** - / Whether to get the player's inventory. Defaults to false - */ + /** Whether to get the player's inventory. Defaults to false */ GetUserInventory: boolean; - /** - / Whether to get the player's read only data. Defaults to false - */ + /** Whether to get the player's read only data. Defaults to false */ GetUserReadOnlyData: boolean; - /** - / Whether to get the player's virtual currency balances. Defaults to false - */ + /** Whether to get the player's virtual currency balances. Defaults to false */ GetUserVirtualCurrency: boolean; - /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false - */ + /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; - /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. - */ + /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ ProfileConstraints?: number; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ UserDataKeys?: string[]; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + * Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is + * false */ UserReadOnlyDataKeys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Results for requested info. - */ + /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { - /** - / Account information for the user. This is always retrieved. - */ + /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; - /** - / Inventories for each character for the user. - */ + /** Inventories for each character for the user. */ CharacterInventories?: CharacterInventory[]; - /** - / List of characters for the user. - */ + /** List of characters for the user. */ CharacterList?: CharacterResult[]; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; - /** - / List of statistics for this player. - */ + /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; - /** - / Title data for this title. - */ + /** Title data for this title. */ TitleData?: { [key: string]: string }; - /** - / User specific custom data. - */ + /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; - /** - / The version of the UserData that was returned. - */ + /** The version of the UserData that was returned. */ UserDataVersion: number; - /** - / Array of inventory items in the user's current inventory. - */ + /** Array of inventory items in the user's current inventory. */ UserInventory?: ItemInstance[]; - /** - / User specific read-only data. - */ + /** User specific read-only data. */ UserReadOnlyData?: { [key: string]: UserDataRecord }; - /** - / The version of the Read-Only UserData that was returned. - */ + /** The version of the Read-Only UserData that was returned. */ UserReadOnlyDataVersion: number; - /** - / Dictionary of virtual currency balance(s) belonging to the user. - */ + /** Dictionary of virtual currency balance(s) belonging to the user. */ UserVirtualCurrency?: { [key: string]: number }; - /** - / Dictionary of remaining times and timestamps for virtual currencies. - */ + /** Dictionary of remaining times and timestamps for virtual currencies. */ UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** - / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments the requested player currently belongs to. - */ + /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / statistics to return (current version will be returned for each) - */ + /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; /** - / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + * statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be + * returned) */ StatisticNameVersions?: StatisticNameVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User statistics for the requested user. - */ + /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional namespace to filter results by - */ + /** Optional namespace to filter results by */ Namespace?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Canonical tags (including namespace and tag's name) for the requested user - */ + /** Canonical tags (including namespace and tag's name) for the requested user */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Returns only trades with the given status. If null, returns all trades. - */ + /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / History of trades which this player has accepted. - */ + /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; - /** - / The trades for this player which are currently available to be accepted. - */ + /** The trades for this player which are currently available to be accepted. */ OpenedTrades?: TradeInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Facebook identifiers to PlayFab identifiers. - */ + /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Game Center identifiers to PlayFab identifiers. - */ + /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a maximum of 10 in a single request. + * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a + * maximum of 10 in a single request. */ GenericIDs: GenericServiceId[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of generic service identifiers to PlayFab identifiers. - */ + /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Google identifiers to PlayFab identifiers. - */ + /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Kongregate identifiers to PlayFab identifiers. - */ + /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Steam identifiers to PlayFab identifiers. - */ + /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Twitch identifiers to PlayFab identifiers. - */ + /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of keys to get back data from the Publisher data blob, set by the admin tools - */ + /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Payment provider used for transaction (If not VC) - */ + /** Payment provider used for transaction (If not VC) */ PaymentProvider?: string; - /** - / Date and time of the purchase. - */ + /** Date and time of the purchase. */ PurchaseDate: string; - /** - / Provider transaction ID (If not VC) - */ + /** Provider transaction ID (If not VC) */ TransactionId?: string; - /** - / PlayFab transaction status - */ + /** PlayFab transaction status */ TransactionStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Identifier of the segments AB Test, if it is attached to one. - */ + /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; - /** - / Unique identifier for this segment. - */ + /** Unique identifier for this segment. */ Id: string; - /** - / Segment name. - */ + /** Segment name. */ Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If true, return the list of all members of the shared group. - */ + /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; /** - / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + * Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array + * indicates that no keys should be returned). */ Keys?: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Data for the requested keys. - */ + /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; - /** - / List of PlayFabId identifiers for the members of this group, if requested. - */ + /** List of PlayFabId identifiers for the members of this group, if requested. */ Members?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / catalog version to store items from. Use default catalog version if null - */ + /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; - /** - / Unqiue identifier for the store which is being requested. - */ + /** Unqiue identifier for the store which is being requested. */ StoreId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The base catalog that this store is a part of. - */ + /** The base catalog that this store is a part of. */ CatalogVersion?: string; - /** - / Additional data about the store. - */ + /** Additional data about the store. */ MarketingData?: StoreMarketingModel; - /** - / How the store was last updated (Admin or a third party). - */ + /** How the store was last updated (Admin or a third party). */ Source?: string; - /** - / Array of items which can be purchased from this store. - */ + /** Array of items which can be purchased from this store. */ Store?: StoreItem[]; - /** - / The ID of this store. - */ + /** The ID of this store. */ StoreId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Current server time when the request was received, in UTC - */ + /** Current server time when the request was received, in UTC */ Time: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific keys to search for in the title data (leave null to get all keys) - */ + /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Limits the results to the last n entries. Defaults to 10 if not set. - */ + /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of news items. - */ + /** Array of news items. */ News?: TitleNewsItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / The shared secret key for this title - */ + /** The shared secret key for this title */ TitleSharedSecret: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Base64 encoded RSA CSP byte array blob containing the title's public RSA key - */ + /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Player who opened trade. - */ + /** Player who opened trade. */ OfferingPlayerId: string; - /** - / Trade identifier as returned by OpenTradeOffer. - */ + /** Trade identifier as returned by OpenTradeOffer. */ TradeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Information about the requested trade. - */ + /** Information about the requested trade. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. */ Keys?: string[]; /** - / Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a PlayFab id of another player, then this will only return public keys for that account. + * Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a + * PlayFab id of another player, then this will only return public keys for that account. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items belonging to the user. - */ + /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / SHA256 hash of the PublicKey generated by Windows Hello. - */ + /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Server generated challenge to be signed by the user. - */ + /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { - /** - / Unique Google identifier for a user. - */ + /** Unique Google identifier for a user. */ GoogleId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Non-unique display name of the character being granted (1-20 characters in length). - */ + /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; /** - / Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created. + * Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be + * created. */ ItemId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier tagged to this character. - */ + /** Unique identifier tagged to this character. */ CharacterId?: string; - /** - / Type of character that was created. - */ + /** Type of character that was created. */ CharacterType?: string; - /** - / Indicates whether this character was created successfully. - */ + /** Indicates whether this character was created successfully. */ Result: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Title-specific text concerning this purchase. - */ + /** Title-specific text concerning this purchase. */ Annotation?: string; - /** - / Unique ItemId of the item to purchase. - */ + /** Unique ItemId of the item to purchase. */ ItemId: string; - /** - / How many of this item to purchase. - */ + /** How many of this item to purchase. */ Quantity: number; - /** - / Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). - */ + /** Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). */ UpgradeFromItems?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { - /** - / Unique Kongregate identifier for a user. - */ + /** Unique Kongregate identifier for a user. */ KongregateId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Kongregate identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Kongregate identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ AndroidDevice?: string; - /** - / Android device identifier for the user's device. - */ + /** Android device identifier for the user's device. */ AndroidDeviceId: string; - /** - / If another user is already linked to the device, unlink the other user and re-link. - */ + /** If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom unique identifier for the user, generated by the title. - */ + /** Custom unique identifier for the user, generated by the title. */ CustomId: string; - /** - / If another user is already linked to the custom ID, unlink the other user and re-link. - */ + /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { - /** - / Linked account email of the user on the platform, if available - */ + /** Linked account email of the user on the platform, if available */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Unique account identifier of the user on the platform - */ + /** Unique account identifier of the user on the platform */ PlatformUserId?: string; - /** - / Linked account username of the user on the platform, if available - */ + /** Linked account username of the user on the platform, if available */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier from Facebook for the user. - */ + /** Unique identifier from Facebook for the user. */ AccessToken: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Game Center identifier for the player account to be linked. - */ + /** Game Center identifier for the player account to be linked. */ GameCenterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** - / Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. + * Server authentication code obtained on the client by calling getServerAuthCode() + * (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user. */ ServerAuthCode?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Vendor-specific iOS identifier for the user's device. - */ + /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ DeviceModel?: string; - /** - / If another user is already linked to the device, unlink the other user and re-link. - */ + /** If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Valid session auth ticket issued by Kongregate - */ + /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / Numeric user ID assigned by Kongregate - */ + /** Numeric user ID assigned by Kongregate */ KongregateId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte + * 0x08 should become "08"). */ SteamTicket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Valid token issued by Twitch - */ + /** Valid token issued by Twitch */ AccessToken: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Device name. - */ + /** Device name. */ DeviceName?: string; - /** - / If another user is already linked to the account, unlink the other user and re-link. - */ + /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** - / PublicKey generated by Windows Hello. - */ + /** PublicKey generated by Windows Hello. */ PublicKey: string; - /** - / Player's user named used by Windows Hello. - */ + /** Player's user named used by Windows Hello. */ UserName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The requested list of characters. - */ + /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { - /** - / City name. - */ + /** City name. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / Latitude coordinate of the geographic location. - */ + /** Latitude coordinate of the geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the geographic location. - */ + /** Longitude coordinate of the geographic location. */ Longitude?: number; } @@ -3843,491 +2961,315 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Results for requested info. - */ + /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; - /** - / The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue - */ + /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ LastLoginTime?: string; - /** - / True if the account was newly created on this login. - */ + /** True if the account was newly created on this login. */ NewlyCreated: boolean; - /** - / Player's unique PlayFabId. - */ + /** Player's unique PlayFabId. */ PlayFabId?: string; - /** - / Unique token authorizing the user and game at the server level, for the current session. - */ + /** Unique token authorizing the user and game at the server level, for the current session. */ SessionTicket?: string; - /** - / Settings specific to this user. - */ + /** Settings specific to this user. */ SettingsForUser?: UserSettings; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ AndroidDevice?: string; - /** - / Android device identifier for the user's device. - */ + /** Android device identifier for the user's device. */ AndroidDeviceId?: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Custom unique identifier for the user, generated by the title. - */ + /** Custom unique identifier for the user, generated by the title. */ CustomId?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Email address for the account. - */ + /** Email address for the account. */ Email: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier from Facebook for the user. - */ + /** Unique identifier from Facebook for the user. */ AccessToken: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Unique Game Center player id. - */ + /** Unique Game Center player id. */ PlayerId?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. + * OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() + * (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ ServerAuthCode?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Vendor-specific iOS identifier for the user's device. - */ + /** Vendor-specific iOS identifier for the user's device. */ DeviceId?: string; - /** - / Specific model of the user's device. - */ + /** Specific model of the user's device. */ DeviceModel?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Specific Operating System version for the user's device. - */ + /** Specific Operating System version for the user's device. */ OS?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Token issued by Kongregate's client API for the user. - */ + /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Numeric user ID assigned by Kongregate - */ + /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / PlayFab username for the account. - */ + /** PlayFab username for the account. */ Username: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte 0x08 should become "08"). + * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte + * 0x08 should become "08"). */ SteamTicket?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Token issued by Twitch's API for the user. - */ + /** Token issued by Twitch's API for the user. */ AccessToken?: string; - /** - / Automatically create a PlayFab account if one is not currently linked to this ID. - */ + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The signed response from the user for the Challenge. - */ + /** The signed response from the user for the Challenge. */ ChallengeSignature: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / SHA256 hash of the PublicKey generated by Windows Hello. - */ + /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { - /** - / Optional object accompanying the message as contextual information - */ + /** Optional object accompanying the message as contextual information */ Data?: any; - /** - / 'Debug', 'Info', or 'Error' - */ + /** 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Build version to match against. [Note: Required if LobbyId is not specified] - */ + /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; - /** - / Character to use for stats based matching. Leave null to use account stats. - */ + /** Character to use for stats based matching. Leave null to use account stats. */ CharacterId?: string; - /** - / Game mode to match make against. [Note: Required if LobbyId is not specified] - */ + /** Game mode to match make against. [Note: Required if LobbyId is not specified] */ GameMode?: string; - /** - / Lobby identifier to match make against. This is used to select a specific Game Server Instance. - */ + /** Lobby identifier to match make against. This is used to select a specific Game Server Instance. */ LobbyId?: string; - /** - / Region to match make against. [Note: Required if LobbyId is not specified] - */ + /** Region to match make against. [Note: Required if LobbyId is not specified] */ Region?: string; - /** - / Start a game session if one with an open slot is not found. Defaults to true. - */ + /** Start a game session if one with an open slot is not found. Defaults to true. */ StartNewIfNoneFound?: boolean; - /** - / Player statistic to use in finding a match. May be null for no stat-based matching. - */ + /** Player statistic to use in finding a match. May be null for no stat-based matching. */ StatisticName?: string; - /** - / Filter to include and/or exclude Game Server Instances associated with certain Tags - */ + /** Filter to include and/or exclude Game Server Instances associated with certain Tags */ TagFilter?: CollectionFilter; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { - /** - / timestamp for when the server will expire, if applicable - */ + /** timestamp for when the server will expire, if applicable */ Expires?: string; - /** - / unique lobby identifier of the server matched - */ + /** unique lobby identifier of the server matched */ LobbyID?: string; - /** - / time in milliseconds the application is configured to wait on matchmaking results - */ + /** time in milliseconds the application is configured to wait on matchmaking results */ PollWaitTimeMS?: number; - /** - / IP address of the server - */ + /** IPV4 address of the server */ ServerHostname?: string; - /** - / port number to use for non-http communications with the server - */ + /** IPV6 address of the server */ + ServerIPV6Address?: string; + /** port number to use for non-http communications with the server */ ServerPort?: number; - /** - / result of match making process - */ + /** result of match making process */ Status?: string; - /** - / server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) - */ + /** server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) */ Ticket?: string; } @@ -4338,442 +3280,256 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { - /** - / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. - */ + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; - /** - / The time this membership expires - */ + /** The time this membership expires */ MembershipExpiration: string; - /** - / The id of the membership - */ + /** The id of the membership */ MembershipId?: string; /** - / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. */ OverrideExpiration?: string; - /** - / The list of subscriptions that this player has for this membership - */ + /** The list of subscriptions that this player has for this membership */ Subscriptions?: SubscriptionModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase + * over this value will be discarded. */ BalanceChange: number; - /** - / User currency was subtracted from. - */ + /** User currency was subtracted from. */ PlayFabId?: string; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may not be accepted by any player. + * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may + * not be accepted by any player. */ AllowedPlayerIds?: string[]; - /** - / Player inventory items offered for trade. If not set, the trade is effectively a gift request - */ + /** Player inventory items offered for trade. If not set, the trade is effectively a gift request */ OfferedInventoryInstanceIds?: string[]; - /** - / Catalog items accepted for the trade. If not set, the trade is effectively a gift. - */ + /** Catalog items accepted for the trade. If not set, the trade is effectively a gift. */ RequestedCatalogItemIds?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / The information about the trade that was just opened. - */ + /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Currency to use to fund the purchase. - */ + /** Currency to use to fund the purchase. */ Currency: string; - /** - / Purchase order identifier returned from StartPurchase. - */ + /** Purchase order identifier returned from StartPurchase. */ OrderId: string; - /** - / Payment provider to use to fund the purchase. - */ + /** Payment provider to use to fund the purchase. */ ProviderName: string; - /** - / Payment provider transaction identifier. Required for Facebook Payments. - */ + /** Payment provider transaction identifier. Required for Facebook Payments. */ ProviderTransactionId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Local credit applied to the transaction (provider specific). - */ + /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Provider used for the transaction. - */ + /** Provider used for the transaction. */ ProviderData?: string; - /** - / A token generated by the provider to authenticate the request (provider-specific). - */ + /** A token generated by the provider to authenticate the request (provider-specific). */ ProviderToken?: string; - /** - / URL to the purchase provider page that details the purchase. - */ + /** URL to the purchase provider page that details the purchase. */ PurchaseConfirmationPageURL?: string; - /** - / Real world currency for the transaction. - */ + /** Currency for the transaction, may be a virtual currency or real money. */ PurchaseCurrency?: string; - /** - / Real world cost of the transaction. - */ + /** Cost of the transaction. */ PurchasePrice: number; - /** - / Status of the transaction. - */ + /** Status of the transaction. */ Status?: string; - /** - / Virtual currency cost of the transaction. - */ + /** Virtual currencies granted by the transaction, if any. */ VCAmount?: { [key: string]: number }; - /** - / Current virtual currency totals for the user. - */ + /** Current virtual currency balances for the user. */ VirtualCurrency?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { - /** - / Specific currency to use to fund the purchase. - */ + /** Specific currency to use to fund the purchase. */ Currency?: string; - /** - / Amount of the specified currency needed for the purchase. - */ + /** Amount of the specified currency needed for the purchase. */ Price: number; - /** - / Name of the purchase provider for this option. - */ + /** Name of the purchase provider for this option. */ ProviderName?: string; - /** - / Amount of existing credit the user has with the provider. - */ + /** Amount of existing credit the user has with the provider. */ StoreCredit: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { - /** - / List of advertising campaigns the player has been attributed to - */ + /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; - /** - / URL of the player's avatar image - */ + /** URL of the player's avatar image */ AvatarUrl?: string; - /** - / If the player is currently banned, the UTC Date when the ban expires - */ + /** If the player is currently banned, the UTC Date when the ban expires */ BannedUntil?: string; - /** - / List of all contact email info associated with the player account - */ + /** List of all contact email info associated with the player account */ ContactEmailAddresses?: ContactEmailInfoModel[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player display name - */ + /** Player display name */ DisplayName?: string; - /** - / UTC time when the player most recently logged in to the title - */ + /** UTC time when the player most recently logged in to the title */ LastLogin?: string; - /** - / List of all authentication systems linked to this player account - */ + /** List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; - /** - / List of geographic locations from which the player has logged in to the title - */ + /** List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; - /** - / List of memberships for the player, along with whether are expired. - */ + /** List of memberships for the player, along with whether are expired. */ Memberships?: MembershipModel[]; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab player account unique identifier - */ + /** PlayFab player account unique identifier */ PlayerId?: string; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / List of configured end points registered for sending the player push notifications - */ + /** List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; - /** - / List of leaderboard statistic values for the player - */ + /** List of leaderboard statistic values for the player */ Statistics?: StatisticModel[]; - /** - / List of player's tags for segmentation - */ + /** List of player's tags for segmentation */ Tags?: TagModel[]; - /** - / Title ID this player profile applies to - */ + /** Title ID this player profile applies to */ TitleId?: string; /** - / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; - /** - / List of the player's lifetime purchase totals, summed by real-money currency - */ + /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** - / List of the player's virtual currency balances - */ + /** List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { - /** - / Whether to show player's avatar URL. Defaults to false - */ + /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; - /** - / Whether to show the banned until time. Defaults to false - */ + /** Whether to show the banned until time. Defaults to false */ ShowBannedUntil: boolean; - /** - / Whether to show campaign attributions. Defaults to false - */ + /** Whether to show campaign attributions. Defaults to false */ ShowCampaignAttributions: boolean; - /** - / Whether to show contact email addresses. Defaults to false - */ + /** Whether to show contact email addresses. Defaults to false */ ShowContactEmailAddresses: boolean; - /** - / Whether to show the created date. Defaults to false - */ + /** Whether to show the created date. Defaults to false */ ShowCreated: boolean; - /** - / Whether to show the display name. Defaults to false - */ + /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; - /** - / Whether to show the last login time. Defaults to false - */ + /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; - /** - / Whether to show the linked accounts. Defaults to false - */ + /** Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; - /** - / Whether to show player's locations. Defaults to false - */ + /** Whether to show player's locations. Defaults to false */ ShowLocations: boolean; - /** - / Whether to show player's membership information. Defaults to false - */ + /** Whether to show player's membership information. Defaults to false */ ShowMemberships: boolean; - /** - / Whether to show origination. Defaults to false - */ + /** Whether to show origination. Defaults to false */ ShowOrigination: boolean; - /** - / Whether to show push notification registrations. Defaults to false - */ + /** Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; - /** - / Reserved for future development - */ + /** Reserved for future development */ ShowStatistics: boolean; - /** - / Whether to show tags. Defaults to false - */ + /** Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the total value to date in usd. Defaults to false - */ + /** Whether to show the total value to date in usd. Defaults to false */ ShowTotalValueToDateInUsd: boolean; - /** - / Whether to show the values to date. Defaults to false - */ + /** Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { - /** - / time when the statistic version became active - */ + /** time when the statistic version became active */ ActivationTime: string; - /** - / time when the statistic version became inactive due to statistic version incrementing - */ + /** time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; - /** - / name of the statistic when the version became active - */ + /** name of the statistic when the version became active */ StatisticName?: string; - /** - / version of the statistic - */ + /** version of the statistic */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version for the items to be purchased (defaults to most recent version. - */ + /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique identifier of the item to purchase. - */ + /** Unique identifier of the item to purchase. */ ItemId: string; - /** - / Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). - */ + /** Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). */ Price: number; - /** - / Store to buy this item through. If not set, prices default to those in the catalog. - */ + /** Store to buy this item through. If not set, prices default to those in the catalog. */ StoreId?: string; - /** - / Virtual currency to use to purchase the item. - */ + /** Virtual currency to use to purchase the item. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Details for the items purchased. - */ + /** Details for the items purchased. */ Items?: ItemInstance[]; } @@ -4781,47 +3537,29 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version of the coupon. If null, uses the default catalog - */ + /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; - /** - / Optional identifier for the Character that should receive the item. If null, item is added to the player - */ + /** Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; - /** - / Generated coupon code to redeem. - */ + /** Generated coupon code to redeem. */ CouponCode: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of redeeming the coupon. - */ + /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } @@ -4834,362 +3572,234 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { - /** - / indicates whether the server specified is available in this region - */ + /** indicates whether the server specified is available in this region */ Available: boolean; - /** - / name of the region - */ + /** name of the region */ Name?: string; - /** - / url to ping to get roundtrip time - */ + /** url to ping to get roundtrip time */ PingUrl?: string; - /** - / unique identifier for the region - */ + /** unique identifier for the region */ Region?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Message to display when confirming push notification. - */ + /** Message to display when confirming push notification. */ ConfirmationMessage?: string; - /** - / Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. - */ + /** Unique token generated by the Apple Push Notification service when the title registered to receive push notifications. */ DeviceToken: string; - /** - / If true, send a test push message immediately after sucessful registration. Defaults to false. - */ + /** If true, send a test push message immediately after sucessful registration. Defaults to false. */ SendPushNotificationConfirmation?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An optional parameter for setting the display name for this title (3-25 characters). - */ + /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Password for the PlayFab account (6-100 characters) - */ + /** Password for the PlayFab account (6-100 characters) */ Password?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** - / An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true. + * An optional parameter that specifies whether both the username and email parameters are required. If true, both + * parameters are required; if false, the user must supply either the username or email parameter. The default value is + * true. */ RequireBothUsernameAndEmail?: boolean; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / PlayFab username for the account (3-20 characters) - */ + /** PlayFab username for the account (3-20 characters) */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique identifier for this newly created account. - */ + /** PlayFab unique identifier for this newly created account. */ PlayFabId?: string; - /** - / Unique token identifying the user and game at the server level, for the current session. - */ + /** Unique token identifying the user and game at the server level, for the current session. */ SessionTicket?: string; - /** - / Settings specific to this user. - */ + /** Settings specific to this user. */ SettingsForUser?: UserSettings; - /** - / PlayFab unique user name. - */ + /** PlayFab unique user name. */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Device name. - */ + /** Device name. */ DeviceName?: string; - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; - /** - / PublicKey generated by Windows Hello. - */ + /** PublicKey generated by Windows Hello. */ PublicKey?: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; - /** - / Player's user name used by Windows Hello. - */ + /** Player's user name used by Windows Hello. */ UserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account which is to be removed. - */ + /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Generic service identifier to be removed from the player. - */ + /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional additional comment by reporting player. - */ + /** Optional additional comment by reporting player. */ Comment?: string; - /** - / Unique PlayFab identifier of the reported player. - */ + /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The number of remaining reports which may be filed today. - */ + /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. - */ + /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** - / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError */ Error?: string; - /** - / Details about the error - */ + /** Details about the error */ Message?: string; - /** - / Point during the execution of the script at which the error occurred, if any - */ + /** Point during the execution of the script at which the error occurred, if any */ StackTrace?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / User email address attached to their account - */ + /** User email address attached to their account */ Email: string; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account to which the tag(s) should be applied. - */ + /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; - /** - / Array of tags to set on the friend account. - */ + /** Array of tags to set on the friend account. */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). - */ + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** - / Player secret that is used to verify API request signatures (Enterprise Only). - */ + /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; - /** - / Unique PlayFab identifier of the user to last update this value. - */ + /** Unique PlayFab identifier of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Indicates whether this data can be read by all users (public) or only members of the group (private). - */ + /** Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; - /** - / Data stored for the specified group data key. - */ + /** Data stored for the specified group data key. */ Value?: string; } @@ -5200,274 +3810,164 @@ declare module PlayFabClientModels { | "GameServer" | "Partner"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / version information for the build of the game server which is to be started - */ + /** version information for the build of the game server which is to be started */ BuildVersion: string; - /** - / character to use for stats based matching. Leave null to use account stats - */ + /** character to use for stats based matching. Leave null to use account stats */ CharacterId?: string; - /** - / custom command line argument when starting game server process - */ + /** custom command line argument when starting game server process */ CustomCommandLineData?: string; - /** - / the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) - */ + /** the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ GameMode: string; - /** - / the region to associate this server with for match filtering - */ + /** the region to associate this server with for match filtering */ Region: string; - /** - / player statistic for others to use in finding this game. May be null for no stat-based matching - */ + /** player statistic for others to use in finding this game. May be null for no stat-based matching */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { - /** - / timestamp for when the server should expire, if applicable - */ + /** timestamp for when the server should expire, if applicable */ Expires?: string; - /** - / unique identifier for the lobby of the server started - */ + /** unique identifier for the lobby of the server started */ LobbyID?: string; - /** - / password required to log into the server - */ + /** password required to log into the server */ Password?: string; - /** - / server IP address - */ + /** server IPV4 address */ ServerHostname?: string; - /** - / port on the server to be used for communication - */ + /** server IPV6 address */ + ServerIPV6Address?: string; + /** port on the server to be used for communication */ ServerPort?: number; - /** - / unique identifier for the server - */ + /** unique identifier for the server */ Ticket?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version for the items to be purchased. Defaults to most recent catalog. - */ + /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; - /** - / Array of items to purchase. - */ + /** Array of items to purchase. */ Items: ItemPurchaseRequest[]; - /** - / Store through which to purchase items. If not set, prices will be pulled from the catalog itself. - */ + /** Store through which to purchase items. If not set, prices will be pulled from the catalog itself. */ StoreId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Cart items to be purchased. - */ + /** Cart items to be purchased. */ Contents?: CartItem[]; - /** - / Purchase order identifier. - */ + /** Purchase order identifier. */ OrderId?: string; - /** - / Available methods by which the user can pay. - */ + /** Available methods by which the user can pay. */ PaymentOptions?: PaymentOption[]; - /** - / Current virtual currency totals for the user. - */ + /** Current virtual currency totals for the user. */ VirtualCurrencyBalances?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Statistic value - */ + /** Statistic value */ Value: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / the version of the statistic to be returned - */ + /** the version of the statistic to be returned */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + * for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when + * setting the statistic value for the first time. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded - */ + /** for updates to an existing statistic value for a player, the version of the statistic when it was loaded */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; - /** - / Unique Steam identifier for a user. - */ + /** Unique Steam identifier for a user. */ SteamStringId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { - /** - / Store specific custom data. The data only exists as part of this store; it is not transferred to item instances - */ + /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; - /** - / Intended display position for this item. Note that 0 is the first position - */ + /** Intended display position for this item. Note that 0 is the first position */ DisplayPosition?: number; /** - / Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog + * Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the + * catalog */ ItemId: string; - /** - / Override prices for this item for specific currencies - */ + /** Override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { - /** - / Tagline for a store. - */ + /** Tagline for a store. */ Description?: string; - /** - / Display name of a store as it will appear to users. - */ + /** Display name of a store as it will appear to users. */ DisplayName?: string; - /** - / Custom data about a store. - */ + /** Custom data about a store. */ Metadata?: any; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { - /** - / When this subscription expires. - */ + /** When this subscription expires. */ Expiration: string; - /** - / The time the subscription was orignially purchased - */ + /** The time the subscription was orignially purchased */ InitialSubscriptionTime: string; - /** - / Whether this subscription is currently active. That is, if Expiration > now. - */ + /** Whether this subscription is currently active. That is, if Expiration > now. */ IsActive: boolean; - /** - / The status of this subscription, according to the subscription provider. - */ + /** The status of this subscription, according to the subscription provider. */ Status?: string; - /** - / The id for this subscription - */ + /** The id for this subscription */ SubscriptionId?: string; - /** - / The item id for this subscription from the primary catalog - */ + /** The item id for this subscription from the primary catalog */ SubscriptionItemId?: string; - /** - / The provider for this subscription. Apple or Google Play are supported today. - */ + /** The provider for this subscription. Apple or Google Play are supported today. */ SubscriptionProvider?: string; } @@ -5481,28 +3981,18 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { - /** - / Full value of the tag, including namespace - */ + /** Full value of the tag, including namespace */ TagValue?: string; } @@ -5513,84 +4003,46 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { - /** - / News item text. - */ + /** News item text. */ Body?: string; - /** - / Unique identifier of news item. - */ + /** Unique identifier of news item. */ NewsId?: string; - /** - / Date and time when the news items was posted. - */ + /** Date and time when the news items was posted. */ Timestamp: string; - /** - / Title of the news item. - */ + /** Title of the news item. */ Title?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { - /** - / Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. - */ + /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; - /** - / The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. - */ + /** The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. */ AcceptedPlayerId?: string; - /** - / An optional list of players allowed to complete this trade. If null, anybody can complete the trade. - */ + /** An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ AllowedPlayerIds?: string[]; - /** - / If set, The UTC time when this trade was canceled. - */ + /** If set, The UTC time when this trade was canceled. */ CancelledAt?: string; - /** - / If set, The UTC time when this trade was fulfilled. - */ + /** If set, The UTC time when this trade was fulfilled. */ FilledAt?: string; - /** - / If set, The UTC time when this trade was made invalid. - */ + /** If set, The UTC time when this trade was made invalid. */ InvalidatedAt?: string; - /** - / The catalogItem Ids of the item instances being offered. - */ + /** The catalogItem Ids of the item instances being offered. */ OfferedCatalogItemIds?: string[]; - /** - / The itemInstance Ids that are being offered. - */ + /** The itemInstance Ids that are being offered. */ OfferedInventoryInstanceIds?: string[]; - /** - / The PlayFabId for the offering player. - */ + /** The PlayFabId for the offering player. */ OfferingPlayerId?: string; - /** - / The UTC time when this trade was created. - */ + /** The UTC time when this trade was created. */ OpenedAt?: string; - /** - / The catalogItem Ids requested in exchange. - */ + /** The catalogItem Ids requested in exchange. */ RequestedCatalogItemIds?: string[]; - /** - / Describes the current state of this trade. - */ + /** Describes the current state of this trade. */ Status?: string; - /** - / The identifier for this trade. - */ + /** The identifier for this trade. */ TradeId?: string; } @@ -5624,498 +4076,355 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; - /** - / Unique Twitch identifier for a user. - */ + /** Unique Twitch identifier for a user. */ TwitchId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be used. + * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be + * used. */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID will be used. + * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID + * will be used. */ CustomId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will be used. + * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will + * be used. */ DeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / SHA256 hash of the PublicKey generated by Windows Hello. - */ + /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * associated with the item instance. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / ItemInstanceId of the container to unlock. - */ + /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * parameter is required. */ KeyItemInstanceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * catalog. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Catalog ItemId of the container type to unlock. - */ + /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of unlocking the container. - */ + /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; - /** - / Unique instance identifier of the container unlocked. - */ + /** Unique instance identifier of the container unlocked. */ UnlockedItemInstanceId?: string; - /** - / Unique instance identifier of the key used to unlock the container, if applicable. - */ + /** Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Virtual currency granted to the player as a result of unlocking the container. - */ + /** Virtual currency granted to the player as a result of unlocking the container. */ VirtualCurrency?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / URL of the avatar image. If empty, it removes the existing avatar URL. - */ + /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Statistics to be updated with the provided values. - */ + /** Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Statistics to be updated with the provided values - */ + /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys in this request. - */ + /** Permission to be applied to all user data keys in this request. */ Permission?: string; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. This is used for requests by one player for information about another player; those requests will only return Public keys. + * Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. This is used + * for requests by one player for information about another player; those requests will only return Public keys. */ Permission?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / New title display name for the user - must be between 3 and 25 characters. - */ + /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Current title display name for the user (this will be the original display name if the rename attempt failed). - */ + /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { - /** - / User Android device information, if an Android device has been linked - */ + /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; - /** - / Timestamp indicating when the user account was created - */ + /** Timestamp indicating when the user account was created */ Created: string; - /** - / Custom ID information, if a custom ID has been assigned - */ + /** Custom ID information, if a custom ID has been assigned */ CustomIdInfo?: UserCustomIdInfo; - /** - / User Facebook information, if a Facebook account has been linked - */ + /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Gamecenter information, if a Gamecenter account has been linked - */ + /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; - /** - / User Google account information, if a Google account has been linked - */ + /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; - /** - / User iOS device information, if an iOS device has been linked - */ + /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; - /** - / User Kongregate account information, if a Kongregate account has been linked - */ + /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; - /** - / Unique identifier for the user account - */ + /** Unique identifier for the user account */ PlayFabId?: string; - /** - / Personal information for the user which is considered more sensitive - */ + /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** - / User PSN account information, if a PSN account has been linked - */ + /** User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; - /** - / User Steam information, if a Steam account has been linked - */ + /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; - /** - / Title-specific information for the user account - */ + /** Title-specific information for the user account */ TitleInfo?: UserTitleInfo; - /** - / User Twitch account information, if a Twitch account has been linked - */ + /** User Twitch account information, if a Twitch account has been linked */ TwitchInfo?: UserTwitchInfo; - /** - / User account name in the PlayFab service - */ + /** User account name in the PlayFab service */ Username?: string; - /** - / User XBox account information, if a XBox account has been linked - */ + /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { - /** - / Android device ID - */ + /** Android device ID */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { - /** - / Custom ID - */ + /** Custom ID */ CustomId?: string; } @@ -6123,96 +4432,61 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; /** - / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + * Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData + * requests being made by one player about another player. */ Permission?: string; - /** - / Data stored for the specified user data key. - */ + /** Data stored for the specified user data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { - /** - / Facebook identifier - */ + /** Facebook identifier */ FacebookId?: string; - /** - / Facebook full name - */ + /** Facebook full name */ FullName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { - /** - / Gamecenter identifier - */ + /** Gamecenter identifier */ GameCenterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Email address of the Google account - */ + /** Email address of the Google account */ GoogleEmail?: string; - /** - / Gender information of the Google account - */ + /** Gender information of the Google account */ GoogleGender?: string; - /** - / Google ID - */ + /** Google ID */ GoogleId?: string; - /** - / Locale of the Google account - */ + /** Locale of the Google account */ GoogleLocale?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { - /** - / iOS device ID - */ + /** iOS device ID */ IosDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { - /** - / Kongregate ID - */ + /** Kongregate ID */ KongregateId?: string; - /** - / Kongregate Username - */ + /** Kongregate Username */ KongregateName?: string; } @@ -6236,372 +4510,248 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { - /** - / user email address - */ + /** user email address */ Email?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { - /** - / PSN account ID - */ + /** PSN account ID */ PsnAccountId?: string; - /** - / PSN online ID - */ + /** PSN online ID */ PsnOnlineId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { - /** - / Boolean for whether this player is eligible for gathering device info. - */ + /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; - /** - / Boolean for whether this player is eligible for ad tracking. - */ + /** Boolean for whether this player is eligible for ad tracking. */ NeedsAttribution: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { - /** - / what stage of game ownership the user is listed as being in, from Steam - */ + /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; - /** - / the country in which the player resides, from Steam data - */ + /** the country in which the player resides, from Steam data */ SteamCountry?: string; - /** - / currency type set in the user Steam account - */ + /** currency type set in the user Steam account */ SteamCurrency?: string; - /** - / Steam identifier - */ + /** Steam identifier */ SteamId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { - /** - / URL to the player's avatar. - */ + /** URL to the player's avatar. */ AvatarUrl?: string; /** - / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + * timestamp indicating when the user was first associated with this game (this can differ significantly from when the user + * first registered with PlayFab) */ Created: string; - /** - / name of the user, as it is displayed in-game - */ + /** name of the user, as it is displayed in-game */ DisplayName?: string; /** - / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + * timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other + * events, such as issuing a beta key to the user, can associate the title to the user) */ FirstLogin?: string; - /** - / boolean indicating whether or not the user is currently banned for a title - */ + /** boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; - /** - / timestamp for the last user login for this title - */ + /** timestamp for the last user login for this title */ LastLogin?: string; - /** - / source by which the user first joined the game, if known - */ + /** source by which the user first joined the game, if known */ Origination?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { - /** - / Twitch ID - */ + /** Twitch ID */ TwitchId?: string; - /** - / Twitch Username - */ + /** Twitch Username */ TwitchUserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { - /** - / XBox user ID - */ + /** XBox user ID */ XboxUserId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version to use when granting receipt item. If null, defaults to primary catalog. - */ + /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice: number; - /** - / ReceiptId returned by the Amazon App Store in-app purchase API - */ + /** ReceiptId returned by the Amazon App Store in-app purchase API */ ReceiptId: string; - /** - / AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API - */ + /** AmazonId of the user making the purchase as returned by the Amazon App Store in-app purchase API */ UserId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode?: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice?: number; - /** - / Original JSON string returned by the Google Play IAB API. - */ + /** Original JSON string returned by the Google Play IAB API. */ ReceiptJson: string; - /** - / Signature returned by the Google Play IAB API. - */ + /** Signature returned by the Google Play IAB API. */ Signature: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice: number; - /** - / Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. - */ + /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version to use when granting receipt item. If null, defaults to primary catalog. - */ + /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; - /** - / Currency used for the purchase. - */ + /** Currency used for the purchase. */ CurrencyCode: string; - /** - / Amount of the stated currency paid for the object. - */ + /** Amount of the stated currency paid for the object. */ PurchasePrice: number; - /** - / XML Receipt returned by the Windows App Store in-app purchase API - */ + /** XML Receipt returned by the Windows App Store in-app purchase API */ Receipt: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { - /** - / ISO 4217 code of the currency used in the purchases - */ + /** ISO 4217 code of the currency used in the purchases */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel */ export interface VirtualCurrencyBalanceModel { - /** - / Name of the virtual currency - */ + /** Name of the virtual currency */ Currency?: string; - /** - / Balance of the virtual currency - */ + /** Balance of the virtual currency */ TotalValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** - / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to + * any particular format. */ EventId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 23cc1527..68901ca2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -3,28 +3,29 @@ declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { /** - / Validates a user with the PlayFab service - / https://api.playfab.com/Documentation/Matchmaker/method/AuthUser + * Validates a user with the PlayFab service + * https://api.playfab.com/Documentation/Matchmaker/method/AuthUser */ AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified - / https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined + * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified + * https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined */ PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified - / https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft + * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified + * https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft */ PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance - / https://api.playfab.com/Documentation/Matchmaker/method/StartGame + * Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance + * https://api.playfab.com/Documentation/Matchmaker/method/StartGame */ StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches - / https://api.playfab.com/Documentation/Matchmaker/method/UserInfo + * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute + * effective matches + * https://api.playfab.com/Documentation/Matchmaker/method/UserInfo */ UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -32,157 +33,102 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Session Ticket provided by the client. - */ + /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Boolean indicating if the user has been authorized to use the external match-making service. - */ + /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; - /** - / PlayFab unique identifier of the account that has been authorized. - */ + /** PlayFab unique identifier of the account that has been authorized. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the Game Server Instance that is being deregistered. - */ + /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the Matchmaker/StartGame API. + * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the + * Matchmaker/StartGame API. */ LobbyId: string; - /** - / PlayFab unique identifier for the player joining. - */ + /** PlayFab unique identifier for the player joining. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the Matchmaker/StartGame API. + * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the + * Matchmaker/StartGame API. */ LobbyId: string; - /** - / PlayFab unique identifier for the player leaving. - */ + /** PlayFab unique identifier for the player leaving. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -195,167 +141,119 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the build running on the Game Server Instance. - */ + /** Unique identifier of the build running on the Game Server Instance. */ Build: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game + * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ GameMode: string; - /** - / Previous lobby id if re-registering an existing game. - */ + /** Previous lobby id if re-registering an existing game. */ LobbyId?: string; /** - / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS + * region and use Tags (below) to specify your custom region. */ Region: string; - /** - / IP address of the Game Server Instance. - */ + /** IPV4 address of the Game Server Instance. */ ServerHost: string; - /** - / Port number for communication with the Game Server Instance. - */ + /** IPV6 address of the Game Server Instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ ServerPort: string; - /** - / Tags for the Game Server Instance - */ + /** Tags for the Game Server Instance */ Tags?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. + * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the + * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the previously uploaded build executable which is to be started. - */ + /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; - /** - / Custom command line argument when starting game server process. - */ + /** Custom command line argument when starting game server process. */ CustomCommandLineData?: string; /** - / HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an application/json body of { "EventName": "game_ended", "GameID": "" }. + * HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will + * make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an + * application/json body of { "EventName": "game_ended", "GameID": "" }. */ ExternalMatchmakerEventEndpoint: string; - /** - / Game mode for this Game Server Instance. - */ + /** Game mode for this Game Server Instance. */ GameMode: string; - /** - / Region with which to associate the server, for filtering. - */ + /** Region with which to associate the server, for filtering. */ Region: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the game/lobby in the new Game Server Instance. - */ + /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; - /** - / IP address of the new Game Server Instance. - */ + /** IPV4 address of the new Game Server Instance. */ ServerHostname?: string; - /** - / Port number for communication with the Game Server Instance. - */ + /** IPV6 address of the new Game Server Instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ ServerPort: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a catalog version of this or higher). + * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a + * catalog version of this or higher). */ MinCatalogVersion: number; - /** - / PlayFab unique identifier of the user whose information is being requested. - */ + /** PlayFab unique identifier of the user whose information is being requested. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items in the user's current inventory. - */ + /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; - /** - / Boolean indicating whether the user is a developer. - */ + /** Boolean indicating whether the user is a developer. */ IsDeveloper: boolean; - /** - / PlayFab unique identifier of the user whose information was requested. - */ + /** PlayFab unique identifier of the user whose information was requested. */ PlayFabId?: string; - /** - / Steam unique identifier, if the user has an associated Steam account. - */ + /** Steam unique identifier, if the user has an associated Steam account. */ SteamId?: string; - /** - / Title specific display name, if set. - */ + /** Title specific display name, if set. */ TitleDisplayName?: string; - /** - / PlayFab unique user name. - */ + /** PlayFab unique user name. */ Username?: string; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index fb869081..252db9a5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3,543 +3,589 @@ declare module PlayFabServerModule { export interface IPlayFabServer { /** - / Increments the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + * Increments the character's balance of the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the Friend user to the friendlist of the user with PlayFabId. At least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - / https://api.playfab.com/Documentation/Server/method/AddFriend + * Adds the Friend user to the friendlist of the user with PlayFabId. At least one of + * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. + * https://api.playfab.com/Documentation/Server/method/AddFriend */ AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/AddPlayerTag + * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Server/method/AddPlayerTag */ AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only + * users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very + * small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Increments the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + * Increments the user's balance of the specified virtual currency by the stated amount + * https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validated a client's session ticket, and if successful, returns details for that user - / https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket + * Validated a client's session ticket, and if successful, returns details for that user + * https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket */ AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Awards the specified users the specified Steam achievements - / https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + * Awards the specified users the specified Steam achievements + * https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement */ AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - / https://api.playfab.com/Documentation/Server/method/BanUsers + * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. + * https://api.playfab.com/Documentation/Server/method/BanUsers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - / https://api.playfab.com/Documentation/Server/method/ConsumeItem + * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. + * https://api.playfab.com/Documentation/Server/method/ConsumeItem */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/CreateSharedGroup + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data + * between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the specific character ID from the specified user. - / https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + * Deletes the specific character ID from the specified user. + * https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for + * sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. - / https://api.playfab.com/Documentation/Server/method/DeleteUsers + * Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + * https://api.playfab.com/Documentation/Server/method/DeleteUsers */ DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Inform the matchmaker that a Game Server Instance is removed. - / https://api.playfab.com/Documentation/Server/method/DeregisterGame + * Inform the matchmaker that a Game Server Instance is removed. + * https://api.playfab.com/Documentation/Server/method/DeregisterGame */ DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. - / https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been + * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + * https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. - / https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript + * Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + * https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetAllSegments + * 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. + * https://api.playfab.com/Documentation/Server/method/GetAllSegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be + * evaluated with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters */ GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - / https://api.playfab.com/Documentation/Server/method/GetCatalogItems + * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties + * https://api.playfab.com/Documentation/Server/method/GetCatalogItems */ GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/GetCharacterData */ GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + * Retrieves the title-specific custom data for the user's character which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData */ GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified character's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + * Retrieves the specified character's current inventory of virtual goods + * https://api.playfab.com/Documentation/Server/method/GetCharacterInventory */ GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard */ GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + * Retrieves the title-specific custom data for the user's character which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData */ GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the details of all title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + * Retrieves the details of all title-specific statistics for the specific character + * https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics */ GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, the query to retrieve the data will fail. See this post for more information: https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - / https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * the query to retrieve the data will fail. See this post for more information: + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. + * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates + * apply. + * https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + * Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the + * leaderboard + * https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard */ GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - / https://api.playfab.com/Documentation/Server/method/GetFriendsList + * Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from + * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. + * https://api.playfab.com/Documentation/Server/method/GetFriendsList */ GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - / https://api.playfab.com/Documentation/Server/method/GetLeaderboard + * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard + * https://api.playfab.com/Documentation/Server/method/GetLeaderboard */ GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked characters for the given statistic, centered on the requested user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + * Retrieves a list of ranked characters for the given statistic, centered on the requested user + * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter */ GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + * Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user + * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser */ GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves a list of all of the user's characters for the given statistic. - / https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + * Retrieves a list of all of the user's characters for the given statistic. + * https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters */ GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be returned. All parameters default to false. - / https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) + * may be returned. All parameters default to false. + * https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the player's profile - / https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + * Retrieves the player's profile + * https://api.playfab.com/Documentation/Server/method/GetPlayerProfile */ GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / List all segments that a player currently belongs to at this moment in time. - / https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + * List all segments that a player currently belongs to at this moment in time. + * https://api.playfab.com/Documentation/Server/method/GetPlayerSegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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. - / https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + * 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. + * https://api.playfab.com/Documentation/Server/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current version and values for the indicated statistics, for the local player. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + * Retrieves the current version and values for the indicated statistics, for the local player. + * https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics */ GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the information on the available versions of the specified statistic. - / https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + * Retrieves the information on the available versions of the specified statistic. + * https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions */ GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Get all tags with a given Namespace (optional) from a player profile. - / https://api.playfab.com/Documentation/Server/method/GetPlayerTags + * Get all tags with a given Namespace (optional) from a player profile. + * https://api.playfab.com/Documentation/Server/method/GetPlayerTags */ GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - / https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + * 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Server/method/GetPublisherData + * Retrieves the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Server/method/GetPublisherData */ GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the configuration information for the specified random results tables for the title, including all ItemId values and weights - / https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + * Retrieves the configuration information for the specified random results tables for the title, including all ItemId + * values and weights + * https://api.playfab.com/Documentation/Server/method/GetRandomResultTables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all public and private group data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all + * public and private group data. Shared Groups are designed for sharing data between a very small number of players, + * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the current server time - / https://api.playfab.com/Documentation/Server/method/GetTime + * Retrieves the current server time + * https://api.playfab.com/Documentation/Server/method/GetTime */ GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/GetTitleData + * Retrieves the key-value store of custom title settings + * https://api.playfab.com/Documentation/Server/method/GetTitleData */ GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the key-value store of custom internal title settings - / https://api.playfab.com/Documentation/Server/method/GetTitleInternalData + * Retrieves the key-value store of custom internal title settings + * https://api.playfab.com/Documentation/Server/method/GetTitleInternalData */ GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title news feed, as configured in the developer portal - / https://api.playfab.com/Documentation/Server/method/GetTitleNews + * Retrieves the title news feed, as configured in the developer portal + * https://api.playfab.com/Documentation/Server/method/GetTitleNews */ GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the relevant details for a specified user - / https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + * Retrieves the relevant details for a specified user + * https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo */ GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Gets all bans for a user. - / https://api.playfab.com/Documentation/Server/method/GetUserBans + * Gets all bans for a user. + * https://api.playfab.com/Documentation/Server/method/GetUserBans */ GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserData + * Retrieves the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/GetUserData */ GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserInternalData + * Retrieves the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/GetUserInternalData */ GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the specified user's current inventory of virtual goods - / https://api.playfab.com/Documentation/Server/method/GetUserInventory + * Retrieves the specified user's current inventory of virtual goods + * https://api.playfab.com/Documentation/Server/method/GetUserInventory */ GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + * Retrieves the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/GetUserPublisherData */ GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData */ GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + * Retrieves the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData */ GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Retrieves the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + * Retrieves the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData */ GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated with the parent PlayFabId to guarantee uniqueness. - / https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated + * with the parent PlayFabId to guarantee uniqueness. + * https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser */ GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified character's inventory - / https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter + * Adds the specified items to the specified character's inventory + * https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter */ GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user's inventory - / https://api.playfab.com/Documentation/Server/method/GrantItemsToUser + * Adds the specified items to the specified user's inventory + * https://api.playfab.com/Documentation/Server/method/GrantItemsToUser */ GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the specified items to the specified user inventories - / https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers + * Adds the specified items to the specified user inventories + * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Modifies the number of remaining uses of a player's inventory item - / https://api.playfab.com/Documentation/Server/method/ModifyItemUses + * Modifies the number of remaining uses of a player's inventory item + * https://api.playfab.com/Documentation/Server/method/ModifyItemUses */ ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Moves an item from a character's inventory into another of the users's character's inventory. - / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter + * Moves an item from a character's inventory into another of the users's character's inventory. + * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter */ MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Moves an item from a user's inventory into their character's inventory. - / https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser + * Moves an item from a user's inventory into their character's inventory. + * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser */ MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Moves an item from a character's inventory into the owning user's inventory. - / https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter + * Moves an item from a character's inventory into the owning user's inventory. + * https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Informs the PlayFab match-making service that the user specified has left the Game Server Instance - / https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft + * Informs the PlayFab match-making service that the user specified has left the Game Server Instance + * https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the Economy->Catalogs tab in the PlayFab Game Manager. - / https://api.playfab.com/Documentation/Server/method/RedeemCoupon + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Economy->Catalogs tab in the PlayFab Game Manager. + * https://api.playfab.com/Documentation/Server/method/RedeemCoupon */ RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Validates a Game Server session ticket and returns details about the user - / https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket + * Validates a Game Server session ticket and returns details about the user + * https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket */ RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. - / https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat + * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. + * https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Inform the matchmaker that a new Game Server Instance is added. - / https://api.playfab.com/Documentation/Server/method/RegisterGame + * Inform the matchmaker that a new Game Server Instance is added. + * https://api.playfab.com/Documentation/Server/method/RegisterGame */ RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes the specified friend from the the user's friend list - / https://api.playfab.com/Documentation/Server/method/RemoveFriend + * Removes the specified friend from the the user's friend list + * https://api.playfab.com/Documentation/Server/method/RemoveFriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - / https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. + * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag */ RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the group can remove members. If as a result of the call, zero users remain with access, the group and its associated data will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the + * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service representatives for the title can take action concerning potentially toxic players. - / https://api.playfab.com/Documentation/Server/method/ReportPlayer + * Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service + * representatives for the title can take action concerning potentially toxic players. + * https://api.playfab.com/Documentation/Server/method/ReportPlayer */ ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans for a user. - / https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + * Revoke all active bans for a user. + * https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser */ RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revoke all active bans specified with BanId. - / https://api.playfab.com/Documentation/Server/method/RevokeBans + * Revoke all active bans specified with BanId. + * https://api.playfab.com/Documentation/Server/method/RevokeBans */ RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Revokes access to an item in a user's inventory - / https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem + * Revokes access to an item in a user's inventory + * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - / https://api.playfab.com/Documentation/Server/method/SendPushNotification + * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push + * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + * https://api.playfab.com/Documentation/Server/method/SendPushNotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the tag list for a specified user in the friend list of another user - / https://api.playfab.com/Documentation/Server/method/SetFriendTags + * Updates the tag list for a specified user in the friend list of another user + * https://api.playfab.com/Documentation/Server/method/SetFriendTags */ SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the custom data of the indicated Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData + * Sets the custom data of the indicated Game Server Instance + * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData */ SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set the state of the indicated Game Server Instance. - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState + * Set the state of the indicated Game Server Instance. + * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState */ SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Set custom tags for the specified Game Server Instance - / https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags + * Set custom tags for the specified Game Server Instance + * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags */ SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's secret use the Admin or Server API method SetPlayerSecret. - / https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's + * secret use the Admin or Server API method SetPlayerSecret. + * https://api.playfab.com/Documentation/Server/method/SetPlayerSecret */ SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom publisher settings - / https://api.playfab.com/Documentation/Server/method/SetPublisherData + * Updates the key-value store of custom publisher settings + * https://api.playfab.com/Documentation/Server/method/SetPublisherData */ SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleData + * Updates the key-value store of custom title settings + * https://api.playfab.com/Documentation/Server/method/SetTitleData */ SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value store of custom title settings - / https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + * Updates the key-value store of custom title settings + * https://api.playfab.com/Documentation/Server/method/SetTitleInternalData */ SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the character's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency + * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC + * balance negative with this API. + * https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency */ SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Decrements the user's balance of the specified virtual currency by the stated amount - / https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency + * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC + * balance negative with this API. + * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance + * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and + * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > + * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + * https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance */ UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - / https://api.playfab.com/Documentation/Server/method/UnlockContainerItem + * Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it + * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) + * are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of + * ConsumeItem. + * https://api.playfab.com/Documentation/Server/method/UnlockContainerItem */ UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Update the avatar URL of the specified player - / https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + * Update the avatar URL of the specified player + * https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl */ UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates information of a list of existing bans specified with Ban Ids. - / https://api.playfab.com/Documentation/Server/method/UpdateBans + * Updates information of a list of existing bans specified with Ban Ids. + * https://api.playfab.com/Documentation/Server/method/UpdateBans */ UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + * Updates the title-specific custom data for the user's character which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + * Updates the title-specific custom data for the user's character which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData */ UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user's character which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + * Updates the title-specific custom data for the user's character which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData */ UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the specific character - / https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + * Updates the values of the specified title-specific statistics for the specific character + * https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics */ UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the values of the specified title-specific statistics for the user - / https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + * Updates the values of the specified title-specific statistics for the user + * https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics */ UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated or added in this call will be readable by users not in the group. By default, data permissions are set to Private. Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are designed for sharing data between a very small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - / https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData + * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated + * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. + * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are + * designed for sharing data between a very small number of players, please see our guide: + * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData */ UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserData + * Updates the title-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserData */ UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + * Updates the title-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData */ UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the key-value pair data tagged to the specified item, which is read-only from the client. - / https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData + * Updates the key-value pair data tagged to the specified item, which is read-only from the client. + * https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData */ UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which is readable and writable by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + * Updates the publisher-specific custom data for the user which is readable and writable by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData */ UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which cannot be accessed by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + * Updates the publisher-specific custom data for the user which cannot be accessed by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData */ UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the publisher-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + * Updates the publisher-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData */ UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Updates the title-specific custom data for the user which can only be read by the client - / https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + * Updates the title-specific custom data for the user which can only be read by the client + * https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData */ UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a character-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent + * Writes a character-based event into PlayStream. + * https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent */ WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a player-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WritePlayerEvent + * Writes a player-based event into PlayStream. + * https://api.playfab.com/Documentation/Server/method/WritePlayerEvent */ WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - / Writes a title-based event into PlayStream. - / https://api.playfab.com/Documentation/Server/method/WriteTitleEvent + * Writes a title-based event into PlayStream. + * https://api.playfab.com/Documentation/Server/method/WriteTitleEvent */ WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -547,528 +593,344 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { - /** - / UTC time stamp of attribution - */ + /** UTC time stamp of attribution */ AttributedAt: string; - /** - / Attribution campaign identifier - */ + /** Attribution campaign identifier */ CampaignId?: string; - /** - / Attribution network name - */ + /** Attribution network name */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 + * (2,147,483,647). Any increase over this value will be discarded. */ Amount: number; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be incremented. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be incremented. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Email address of the user being added. - */ + /** Email address of the user being added. */ FriendEmail?: string; - /** - / The PlayFab identifier of the user being added. - */ + /** The PlayFab identifier of the user being added. */ FriendPlayFabId?: string; - /** - / Title-specific display name of the user to being added. - */ + /** Title-specific display name of the user to being added. */ FriendTitleDisplayName?: string; - /** - / The PlayFab username of the user being added - */ + /** The PlayFab username of the user being added */ FriendUsername?: string; - /** - / PlayFab identifier of the player to add a new friend. - */ + /** PlayFab identifier of the player to add a new friend. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). + * Any increase over this value will be discarded. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be increased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be incremented. - */ + /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { - /** - / The Json the platform should receive. - */ + /** The Json the platform should receive. */ Json: string; - /** - / The platform that should receive the Json. - */ + /** The platform that should receive the Json. */ Platform: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Session ticket as issued by a PlayFab client login API. - */ + /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Account info for the user whose session ticket was supplied. - */ + /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { - /** - / Unique Steam achievement name. - */ + /** Unique Steam achievement name. */ AchievementName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Result of the award attempt (only valid on response, not on request). - */ + /** Result of the award attempt (only valid on response, not on request). */ Result: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of achievements to grant and the users to whom they are to be granted. - */ + /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of achievements granted. - */ + /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { - /** - / The active state of this ban. Expired bans may still have this value set to true but they will have no effect. - */ + /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; - /** - / The unique Ban Id associated with this ban. - */ + /** The unique Ban Id associated with this ban. */ BanId?: string; - /** - / The time when this ban was applied. - */ + /** The time when this ban was applied. */ Created?: string; - /** - / The time when this ban expires. Permanent bans do not have expiration date. - */ + /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** - / The IP address on which the ban was applied. May affect multiple players. - */ + /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** - / The MAC address on which the ban was applied. May affect multiple players. - */ + /** The MAC address on which the ban was applied. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / The reason why this ban was applied. - */ + /** The reason why this ban was applied. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The duration in hours for the ban. Leave this blank for a permanent ban. - */ + /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** - / IP address to be banned. May affect multiple players. - */ + /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** - / MAC address to be banned. May affect multiple players. - */ + /** MAC address to be banned. May affect multiple players. */ MACAddress?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The reason for this ban. Maximum 140 characters. - */ + /** The reason for this ban. Maximum 140 characters. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of ban requests to be applied. Maximum 100. - */ + /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were applied - */ + /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** - / defines the bundle properties for the item - bundles are items which contain other items, including random drop tables and virtual currencies + * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables + * and virtual currencies */ Bundle?: CatalogItemBundleInfo; - /** - / if true, then an item instance of this type can be used to grant a character to a user. - */ + /** if true, then an item instance of this type can be used to grant a character to a user. */ CanBecomeCharacter: boolean; - /** - / catalog version for this item - */ + /** catalog version for this item */ CatalogVersion?: string; - /** - / defines the consumable properties (number of uses, timeout) for the item - */ + /** defines the consumable properties (number of uses, timeout) for the item */ Consumable?: CatalogItemConsumableInfo; /** - / defines the container properties for the item - what items it contains, including random drop tables and virtual currencies, and what item (if any) is required to open it via the UnlockContainerItem API + * defines the container properties for the item - what items it contains, including random drop tables and virtual + * currencies, and what item (if any) is required to open it via the UnlockContainerItem API */ Container?: CatalogItemContainerInfo; - /** - / game specific custom data - */ + /** game specific custom data */ CustomData?: string; - /** - / text description of item, to show in-game - */ + /** text description of item, to show in-game */ Description?: string; - /** - / text name for the item, to show in-game - */ + /** text name for the item, to show in-game */ DisplayName?: string; /** - / If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited edition item, this value determines the total number of instances to allocate for the title. Once this limit has been reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less than zero, it will be ignored. + * If the item has IsLImitedEdition set to true, and this is the first time this ItemId has been defined as a limited + * edition item, this value determines the total number of instances to allocate for the title. Once this limit has been + * reached, no more instances of this ItemId can be created, and attempts to purchase or grant it will return a Result of + * false for that ItemId. If the item has already been defined to have a limited edition count, or if this value is less + * than zero, it will be ignored. */ InitialLimitedEditionCount: number; - /** - / BETA: If true, then only a fixed number can ever be granted. - */ + /** BETA: If true, then only a fixed number can ever be granted. */ IsLimitedEdition: boolean; /** - / if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded + * if true, then only one item instance of this type will exist and its remaininguses will be incremented instead. + * RemainingUses will cap out at Int32.Max (2,147,483,647). All subsequent increases will be discarded */ IsStackable: boolean; - /** - / if true, then an item instance of this type can be traded between players using the trading APIs - */ + /** if true, then an item instance of this type can be traded between players using the trading APIs */ IsTradable: boolean; - /** - / class to which the item belongs - */ + /** class to which the item belongs */ ItemClass?: string; - /** - / unique identifier for this item - */ + /** unique identifier for this item */ ItemId: string; /** - / URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP URL. + * URL to the item image. For Facebook purchase to display the image on the item purchase page, this must be set to an HTTP + * URL. */ ItemImageUrl?: string; - /** - / override prices for this item for specific currencies - */ + /** override prices for this item for specific currencies */ RealCurrencyPrices?: { [key: string]: number }; - /** - / list of item tags - */ + /** list of item tags */ Tags?: string[]; - /** - / price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) - */ + /** price of this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ VirtualCurrencyPrices?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { - /** - / unique ItemId values for all items which will be added to the player inventory when the bundle is added - */ + /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; /** - / unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and add the relevant items to the player inventory when the bundle is added) + * unique TableId values for all RandomResultTable objects which are part of the bundle (random tables will be resolved and + * add the relevant items to the player inventory when the bundle is added) */ BundledResultTables?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the bundle is added - */ + /** virtual currency types and balances which will be added to the player inventory when the bundle is added */ BundledVirtualCurrencies?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { - /** - / number of times this object can be used, after which it will be removed from the player inventory - */ + /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; /** - / duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on this item's details have completed) + * duration in seconds for how long the item will remain in the player inventory - once elapsed, the item will be removed + * (recommended minimum value is 5 seconds, as lower values can cause the item to expire before operations depending on + * this item's details have completed) */ UsagePeriod?: number; /** - / all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values added together, and share the result - when that period has elapsed, all the items in the group will be removed + * all inventory item instances in the player inventory sharing a non-null UsagePeriodGroup have their UsagePeriod values + * added together, and share the result - when that period has elapsed, all the items in the group will be removed */ UsagePeriodGroup?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { - /** - / unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked - */ + /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; /** - / ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will open the container, adding the contents to the player inventory and currency balances) + * ItemId for the catalog item used to unlock the container, if any (if not specified, a call to UnlockContainerItem will + * open the container, adding the contents to the player inventory and currency balances) */ KeyItemId?: string; /** - / unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables will be resolved and add the relevant items to the player inventory) + * unique TableId values for all RandomResultTable objects which are part of the container (once unlocked, random tables + * will be resolved and add the relevant items to the player inventory) */ ResultTableContents?: string[]; - /** - / virtual currency types and balances which will be added to the player inventory when the container is unlocked - */ + /** virtual currency types and balances which will be added to the player inventory when the container is unlocked */ VirtualCurrencyContents?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { - /** - / The id of this character. - */ + /** The id of this character. */ CharacterId?: string; - /** - / The inventory of this character. - */ + /** The inventory of this character. */ Inventory?: ItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { - /** - / PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; - /** - / Title-specific display name of the character for this leaderboard entry. - */ + /** Title-specific display name of the character for this leaderboard entry. */ CharacterName?: string; - /** - / Name of the character class for this entry. - */ + /** Name of the character class for this entry. */ CharacterType?: string; - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The id for this character on this player. - */ + /** The id for this character on this player. */ CharacterId?: string; - /** - / The name of this character. - */ + /** The name of this character. */ CharacterName?: string; - /** - / The type-string that was given to this character on creation. - */ + /** The type-string that was given to this character on creation. */ CharacterType?: string; } @@ -1077,75 +939,47 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Number of uses to consume from the item. - */ + /** Number of uses to consume from the item. */ ConsumeCount: number; - /** - / Unique instance identifier of the item to be consumed. - */ + /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique instance identifier of the item with uses consumed. - */ + /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; - /** - / Number of uses remaining on the item. - */ + /** Number of uses remaining on the item. */ RemainingUses: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; - /** - / The verification status of the email - */ + /** The verification status of the email */ VerificationStatus?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { - /** - / The email address - */ + /** The email address */ EmailAddress?: string; - /** - / The name of the email info data - */ + /** The name of the email info data */ Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; } @@ -1407,24 +1241,16 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). - */ + /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId?: string; } @@ -1592,79 +1418,57 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those items. + * If true, the character's inventory will be transferred up to the owning user; otherwise, this request will purge those + * items. */ SaveCharacterInventory: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; /** - / Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected. + * 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; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier for the Game Server Instance that is being deregistered. - */ + /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1673,173 +1477,121 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses + * default/primary catalog. */ CatalogVersion?: string; - /** - / The unique identifier of the Random Result Table to use. - */ + /** The unique identifier of the Random Result Table to use. */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. - */ + /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Number of PlayFab API requests issued by the CloudScript function - */ + /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; - /** - / Information about the error, if any, that occurred during execution - */ + /** Information about the error, if any, that occurred during execution */ Error?: ScriptExecutionError; ExecutionTimeSeconds: number; - /** - / The name of the function that executed - */ + /** The name of the function that executed */ FunctionName?: string; - /** - / The object returned from the CloudScript function, if any - */ + /** The object returned from the CloudScript function, if any */ FunctionResult?: any; /** - / Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if the total event size is larger than 350KB. + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. */ FunctionResultTooLarge?: boolean; - /** - / Number of external HTTP requests issued by the CloudScript function - */ + /** Number of external HTTP requests issued by the CloudScript function */ HttpRequestsIssued: number; /** - / Entries logged during the function execution. These include both entries logged in the function code using log.info() and log.error() and error entries for API and HTTP request failures. + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. */ Logs?: LogStatement[]; /** - / Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total event size is larger than 350KB after the FunctionResult was removed. + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. */ LogsTooLarge?: boolean; MemoryConsumedBytes: number; /** - / Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP requests. + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. */ ProcessorTimeSeconds: number; - /** - / The revision of the CloudScript that executed - */ + /** The revision of the CloudScript that executed */ Revision: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The name of the CloudScript function to execute - */ + /** The name of the CloudScript function to execute */ FunctionName: string; - /** - / Object that is passed in to the function as the first argument - */ + /** Object that is passed in to the function as the first argument */ FunctionParameter?: any; /** - / Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + * Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. */ GeneratePlayStreamEvent?: boolean; - /** - / The unique user identifier for the player on whose behalf the script is being run - */ + /** The unique user identifier for the player on whose behalf the script is being run */ PlayFabId: string; /** - / Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'. */ RevisionSelection?: string; - /** - / The specivic revision to execute, when RevisionSelection is set to 'Specific' - */ + /** The specivic revision to execute, when RevisionSelection is set to 'Specific' */ SpecificRevision?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { - /** - / Unique Facebook identifier for a user. - */ + /** Unique Facebook identifier for a user. */ FacebookId?: string; - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook identifier. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** - / Unique lobby identifier of the Game Server Instance to which this player is currently connected. - */ + /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; - /** - / Available Facebook information (if the user and PlayFab friend are also connected in Facebook). - */ + /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; - /** - / PlayFab unique identifier for this friend. - */ + /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** - / Available Game Center information (if the user and PlayFab friend are also connected in Game Center). - */ + /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ GameCenterInfo?: UserGameCenterInfo; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Available Steam information (if the user and PlayFab friend are also connected in Steam). - */ + /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; - /** - / Tags which have been associated with this friend. - */ + /** Tags which have been associated with this friend. */ Tags?: string[]; - /** - / Title-specific display name for this friend. - */ + /** Title-specific display name for this friend. */ TitleDisplayName?: string; - /** - / PlayFab unique username for this friend. - */ + /** PlayFab unique username for this friend. */ Username?: string; } @@ -1847,1501 +1599,941 @@ declare module PlayFabServerModels { type GameInstanceState = "Open" | "Closed"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments for this title. - */ + /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Which catalog is being requested. If null, uses the default catalog. - */ + /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items which can be purchased. - */ + /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Used to limit results to only those from a specific catalog version. - */ + /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier of the character for this inventory. - */ + /** Unique identifier of the character for this inventory. */ CharacterId?: string; - /** - / Array of inventory items belonging to the character. - */ + /** Array of inventory items belonging to the character. */ Inventory?: ItemInstance[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Array of virtual currency balance(s) belonging to the character. - */ + /** Array of virtual currency balance(s) belonging to the character. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / First entry in the leaderboard to be retrieved. - */ + /** First entry in the leaderboard to be retrieved. */ StartPosition: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier of the character for the statistics. - */ + /** Unique identifier of the character for the statistics. */ CharacterId?: string; - /** - / Character statistics for the requested user. - */ + /** Character statistics for the requested user. */ CharacterStatistics?: { [key: string]: number }; - /** - / PlayFab unique identifier of the user whose character statistics are being returned. - */ + /** PlayFab unique identifier of the user whose character statistics are being returned. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. - */ + /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; - /** - / Key of the content item to fetch, usually formatted as a path, e.g. images/a.png - */ + /** Key of the content item to fetch, usually formatted as a path, e.g. images/a.png */ Key: string; /** - / True if download through CDN. CDN provides better download bandwidth and time. However, if you want latest, non-cached version of the content, set this to false. Default is true. + * True to download through CDN. CDN provides higher download bandwidth and lower latency. However, if you want the latest, + * non-cached version of the content during development, set this to false. Default is true. */ ThruCDN?: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** - / URL for downloading content via HTTP GET or HEAD method. The URL will expire in 1 hour. - */ + /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / The player whose friend leaderboard to get - */ + /** The player whose friend leaderboard to get */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Position in the leaderboard to start this listing (defaults to the first entry). - */ + /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; - /** - / Statistic used to rank friends for this leaderboard. - */ + /** Statistic used to rank friends for this leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Indicates whether Facebook friends should be included in the response. Default is true. - */ + /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; - /** - / Indicates whether Steam service friends should be included in the response. Default is true. - */ + /** Indicates whether Steam service friends should be included in the response. Default is true. */ IncludeSteamFriends?: boolean; - /** - / PlayFab identifier of the player whose friend list to get. - */ + /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of friends found. - */ + /** Array of friends found. */ Friends?: FriendInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Optional character type on which to filter the leaderboard entries. - */ + /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered list of leaderboard entries. - */ + /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Maximum number of entries to retrieve. - */ + /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; - /** - / First entry in the leaderboard to be retrieved. - */ + /** First entry in the leaderboard to be retrieved. */ StartPosition: number; - /** - / Unique identifier for the title-specific statistic for the leaderboard. - */ + /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; - /** - / The version of the leaderboard to get. - */ + /** The version of the leaderboard to get. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Ordered listing of users and their positions in the requested leaderboard. - */ + /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; - /** - / The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. - */ + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ NextReset?: string; - /** - / The version of the leaderboard returned. - */ + /** The version of the leaderboard returned. */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Flags for which pieces of info to return for the user. - */ + /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; - /** - / PlayFabId of the user whose data will be returned - */ + /** PlayFabId of the user whose data will be returned */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { - /** - / Whether to get character inventories. Defaults to false. - */ + /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; - /** - / Whether to get the list of characters. Defaults to false. - */ + /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** - / Whether to get player profile. Defaults to false. - */ + /** Whether to get player profile. Defaults to false. */ GetPlayerProfile: boolean; - /** - / Whether to get player statistics. Defaults to false. - */ + /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; - /** - / Whether to get title data. Defaults to false. - */ + /** Whether to get title data. Defaults to false. */ GetTitleData: boolean; - /** - / Whether to get the player's account Info. Defaults to false - */ + /** Whether to get the player's account Info. Defaults to false */ GetUserAccountInfo: boolean; - /** - / Whether to get the player's custom data. Defaults to false - */ + /** Whether to get the player's custom data. Defaults to false */ GetUserData: boolean; - /** - / Whether to get the player's inventory. Defaults to false - */ + /** Whether to get the player's inventory. Defaults to false */ GetUserInventory: boolean; - /** - / Whether to get the player's read only data. Defaults to false - */ + /** Whether to get the player's read only data. Defaults to false */ GetUserReadOnlyData: boolean; - /** - / Whether to get the player's virtual currency balances. Defaults to false - */ + /** Whether to get the player's virtual currency balances. Defaults to false */ GetUserVirtualCurrency: boolean; - /** - / Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false - */ + /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; - /** - / Specifies the properties to return from the player profile. Defaults to returning the player's display name. - */ + /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ ProfileConstraints?: number; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; - /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false - */ + /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ UserDataKeys?: string[]; /** - / Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is false + * Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserReadOnlyData is + * false */ UserReadOnlyDataKeys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Results for requested info. - */ + /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { - /** - / Account information for the user. This is always retrieved. - */ + /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; - /** - / Inventories for each character for the user. - */ + /** Inventories for each character for the user. */ CharacterInventories?: CharacterInventory[]; - /** - / List of characters for the user. - */ + /** List of characters for the user. */ CharacterList?: CharacterResult[]; /** - / The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the players. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; - /** - / List of statistics for this player. - */ + /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; - /** - / Title data for this title. - */ + /** Title data for this title. */ TitleData?: { [key: string]: string }; - /** - / User specific custom data. - */ + /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; - /** - / The version of the UserData that was returned. - */ + /** The version of the UserData that was returned. */ UserDataVersion: number; - /** - / Array of inventory items in the user's current inventory. - */ + /** Array of inventory items in the user's current inventory. */ UserInventory?: ItemInstance[]; - /** - / User specific read-only data. - */ + /** User specific read-only data. */ UserReadOnlyData?: { [key: string]: UserDataRecord }; - /** - / The version of the Read-Only UserData that was returned. - */ + /** The version of the Read-Only UserData that was returned. */ UserReadOnlyDataVersion: number; - /** - / Dictionary of virtual currency balance(s) belonging to the user. - */ + /** Dictionary of virtual currency balance(s) belonging to the user. */ UserVirtualCurrency?: { [key: string]: number }; - /** - / Dictionary of remaining times and timestamps for virtual currencies. - */ + /** Dictionary of remaining times and timestamps for virtual currencies. */ UserVirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - / If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. + * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, + * only the allowed client profile properties for the title may be requested. These allowed properties are configured in + * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** - / The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not exist. + * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not + * exist. */ PlayerProfile?: PlayerProfileModel; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of segments the requested player currently belongs to. - */ + /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Continuation token if retrieving subsequent pages of results. - */ + /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; - /** - / Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. - */ + /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ 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). + * 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. - */ + /** Unique identifier for this segment. */ SegmentId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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. - */ + /** 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. - */ + /** Array of player profiles in this segment. */ PlayerProfiles?: PlayerProfile[]; - /** - / Count of profiles matching this segment. - */ + /** Count of profiles matching this segment. */ ProfilesInSegment: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / user for whom statistics are being requested - */ + /** user for whom statistics are being requested */ PlayFabId: string; - /** - / statistics to return - */ + /** statistics to return */ StatisticNames?: string[]; /** - / statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be returned) + * statistics to return, if StatisticNames is not set (only statistics which have a version matching that provided will be + * returned) */ StatisticNameVersions?: StatisticNameVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / PlayFab unique identifier of the user whose statistics are being returned - */ + /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; - /** - / User statistics for the requested user. - */ + /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / version change history of the statistic - */ + /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional namespace to filter results by - */ + /** Optional namespace to filter results by */ Namespace?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Canonical tags (including namespace and tag's name) for the requested user - */ + /** Canonical tags (including namespace and tag's name) for the requested user */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Facebook identifiers to PlayFab identifiers. - */ + /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. - */ + /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Mapping of Steam identifiers to PlayFab identifiers. - */ + /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / array of keys to get back data from the Publisher data blob, set by the admin tools - */ + /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses + * default/primary catalog. */ CatalogVersion?: string; - /** - / The unique identifier of the Random Result Table to use. - */ + /** The unique identifier of the Random Result Table to use. */ TableIDs: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / array of random result tables currently available - */ + /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Identifier of the segments AB Test, if it is attached to one. - */ + /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; - /** - / Unique identifier for this segment. - */ + /** Unique identifier for this segment. */ Id: string; - /** - / Segment name. - */ + /** Segment name. */ Name?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / If true, return the list of all members of the shared group. - */ + /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; /** - / Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array indicates that no keys should be returned). + * Specific keys to retrieve from the shared group (if not specified, all keys will be returned, while an empty array + * indicates that no keys should be returned). */ Keys?: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Data for the requested keys. - */ + /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; - /** - / List of PlayFabId identifiers for the members of this group, if requested. - */ + /** List of PlayFabId identifiers for the members of this group, if requested. */ Members?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Current server time when the request was received, in UTC - */ + /** Current server time when the request was received, in UTC */ Time: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Specific keys to search for in the title data (leave null to get all keys) - */ + /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / a dictionary object of key / value pairs - */ + /** a dictionary object of key / value pairs */ Data?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Limits the results to the last n entries. Defaults to 10 if not set. - */ + /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of news items. - */ + /** Array of news items. */ News?: TitleNewsItem[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Account details for the user whose information was requested. - */ + /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information about the bans - */ + /** Information about the bans */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this. + * The version that currently exists according to the caller. The call will return the data for all of the keys if the + * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** - / Specific keys to search for in the custom user data. - */ + /** Specific keys to search for in the custom user data. */ Keys?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { - /** - / User specific data for this title. - */ + /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; - /** - / PlayFab unique identifier of the user whose custom data is being returned. - */ + /** PlayFab unique identifier of the user whose custom data is being returned. */ PlayFabId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of inventory items belonging to the user. - */ + /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Array of virtual currency balance(s) belonging to the user. - */ + /** Array of virtual currency balance(s) belonging to the user. */ VirtualCurrency?: { [key: string]: number }; - /** - / Array of remaining times and timestamps for virtual currencies. - */ + /** Array of remaining times and timestamps for virtual currencies. */ VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Non-unique display name of the character being granted (1-20 characters in length). - */ + /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; - /** - / Type of the character being granted; statistics can be sliced based on this value. - */ + /** Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique identifier tagged to this character. - */ + /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Result of this operation. - */ + /** Result of this operation. */ Result: boolean; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Array of itemIds to grant to the user. - */ + /** Array of itemIds to grant to the user. */ ItemIds?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Array of itemIds to grant to the user. - */ + /** Array of itemIds to grant to the user. */ ItemIds: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version from which items are to be granted. - */ + /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** - / Array of items to grant and the users to whom the items are to be granted. - */ + /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Array of items granted to users. - */ + /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { - /** - / String detailing any additional information concerning this operation. - */ + /** String detailing any additional information concerning this operation. */ Annotation?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; - /** - / Unique identifier of the catalog item to be granted to the user. - */ + /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { - /** - / Game specific comment associated with this instance when it was added to the user inventory. - */ + /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; - /** - / Array of unique items that were awarded when this catalog item was purchased. - */ + /** Array of unique items that were awarded when this catalog item was purchased. */ BundleContents?: string[]; /** - / Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or container. + * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or + * container. */ BundleParent?: string; - /** - / Catalog version for the inventory item, when this instance was created. - */ + /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** - / A set of custom key-value pairs on the inventory item. - */ + /** A set of custom key-value pairs on the inventory item. */ CustomData?: { [key: string]: string }; - /** - / CatalogItem.DisplayName at the time this item was purchased. - */ + /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; - /** - / Timestamp for when this instance will expire. - */ + /** Timestamp for when this instance will expire. */ Expiration?: string; - /** - / Class name for the inventory item, as defined in the catalog. - */ + /** Class name for the inventory item, as defined in the catalog. */ ItemClass?: string; - /** - / Unique identifier for the inventory item, as defined in the catalog. - */ + /** Unique identifier for the inventory item, as defined in the catalog. */ ItemId?: string; - /** - / Unique item identifier for this specific instance of the item. - */ + /** Unique item identifier for this specific instance of the item. */ ItemInstanceId?: string; - /** - / Timestamp for when this instance was purchased. - */ + /** Timestamp for when this instance was purchased. */ PurchaseDate?: string; - /** - / Total number of remaining uses, if this is a consumable item. - */ + /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** - / Currency type for the cost of the catalog item. - */ + /** Currency type for the cost of the catalog item. */ UnitCurrency?: string; - /** - / Cost of the catalog item in the given currency. - */ + /** Cost of the catalog item in the given currency. */ UnitPrice: number; - /** - / The number of uses that were added or removed to this item in this call. - */ + /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { - /** - / Linked account email of the user on the platform, if available - */ + /** Linked account email of the user on the platform, if available */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Unique account identifier of the user on the platform - */ + /** Unique account identifier of the user on the platform */ PlatformUserId?: string; - /** - / Linked account username of the user on the platform, if available - */ + /** Linked account username of the user on the platform, if available */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The requested list of characters. - */ + /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { - /** - / City name. - */ + /** City name. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** The two-character ISO 3166-1 country code for the country associated with the location */ CountryCode?: string; - /** - / Latitude coordinate of the geographic location. - */ + /** Latitude coordinate of the geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the geographic location. - */ + /** Longitude coordinate of the geographic location. */ Longitude?: number; } @@ -3361,225 +2553,141 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { - /** - / Optional object accompanying the message as contextual information - */ + /** Optional object accompanying the message as contextual information */ Data?: any; - /** - / 'Debug', 'Info', or 'Error' - */ + /** 'Debug', 'Info', or 'Error' */ Level?: string; Message?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { - /** - / Whether this membership is active. That is, whether the MembershipExpiration time has been reached. - */ + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; - /** - / The time this membership expires - */ + /** The time this membership expires */ MembershipExpiration: string; - /** - / The id of the membership - */ + /** The id of the membership */ MembershipId?: string; /** - / Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been overridden, this will be the new expiration time. + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. */ OverrideExpiration?: string; - /** - / The list of subscriptions that this player has for this membership - */ + /** The list of subscriptions that this player has for this membership */ Subscriptions?: SubscriptionModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique instance identifier of the item to be modified. - */ + /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; - /** - / PlayFab unique identifier of the user whose item is being modified. - */ + /** PlayFab unique identifier of the user whose item is being modified. */ PlayFabId: string; - /** - / Number of uses to add to the item. Can be negative to remove uses. - */ + /** Number of uses to add to the item. Can be negative to remove uses. */ UsesToAdd: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Unique instance identifier of the item with uses consumed. - */ + /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; - /** - / Number of uses remaining on the item. - */ + /** Number of uses remaining on the item. */ RemainingUses: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Balance of the virtual currency after modification. - */ + /** Balance of the virtual currency after modification. */ Balance: number; /** - / Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase over this value will be discarded. + * Amount added or subtracted from the user's virtual currency. Maximum VC balance is Int32 (2,147,483,647). Any increase + * over this value will be discarded. */ BalanceChange: number; - /** - / User currency was subtracted from. - */ + /** User currency was subtracted from. */ PlayFabId?: string; - /** - / Name of the virtual currency which was modified. - */ + /** Name of the virtual currency which was modified. */ VirtualCurrency?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the character that currently has the item. - */ + /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique identifier of the character that will be receiving the item. - */ + /** Unique identifier of the character that will be receiving the item. */ ReceivingCharacterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Instance the user is leaving. - */ + /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { - /** - / State of user leaving the Game Server Instance. - */ + /** State of user leaving the Game Server Instance. */ PlayerState?: string; } @@ -3589,413 +2697,227 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { - /** - / Title-specific display name of the user for this leaderboard entry. - */ + /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; - /** - / PlayFab unique identifier of the user for this leaderboard entry. - */ + /** PlayFab unique identifier of the user for this leaderboard entry. */ PlayFabId?: string; - /** - / User's overall position in the leaderboard. - */ + /** User's overall position in the leaderboard. */ Position: number; - /** - / The profile of the user, if requested. - */ + /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** - / Specific value of the user's statistic. - */ + /** Specific value of the user's statistic. */ StatValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { - /** - / Linked account's email - */ + /** Linked account's email */ Email?: string; - /** - / Authentication platform - */ + /** Authentication platform */ Platform?: string; - /** - / Platform user identifier - */ + /** Platform user identifier */ PlatformUserId?: string; - /** - / Linked account's username - */ + /** Linked account's username */ Username?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { - /** - / City of the player's geographic location. - */ + /** City of the player's geographic location. */ City?: string; - /** - / The two-character continent code for this location - */ + /** 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 - */ + /** 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 coordinate of the player's geographic location. */ Latitude?: number; - /** - / Longitude coordinate of the player's geographic location. - */ + /** Longitude coordinate of the player's geographic location. */ Longitude?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { - /** - / Array of ad campaigns player has been attributed to - */ + /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; - /** - / Image URL of the player's avatar. - */ + /** 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. - */ + /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ BannedUntil?: string; - /** - / Array of contact email addresses associated with the player - */ + /** Array of contact email addresses associated with the player */ ContactEmailAddresses?: ContactEmailInfo[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player Display Name - */ + /** Player Display Name */ DisplayName?: string; - /** - / Last login - */ + /** Last login */ LastLogin?: string; - /** - / Array of third party accounts linked to this player - */ + /** Array of third party accounts linked to this player */ LinkedAccounts?: PlayerLinkedAccount[]; - /** - / Dictionary of player's locations by type. - */ + /** Dictionary of player's locations by type. */ Locations?: { [key: string]: PlayerLocation }; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab Player ID - */ + /** PlayFab Player ID */ PlayerId?: string; - /** - / Array of player statistics - */ + /** Array of player statistics */ PlayerStatistics?: PlayerStatistic[]; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / Array of configured push notification end points - */ + /** Array of configured push notification end points */ PushNotificationRegistrations?: PushNotificationRegistration[]; - /** - / Dictionary of player's statistics using only the latest version's value - */ + /** Dictionary of player's statistics using only the latest version's value */ Statistics?: { [key: string]: number }; - /** - / List of player's tags for segmentation. - */ + /** List of player's tags for segmentation. */ Tags?: string[]; - /** - / Title ID this profile applies to - */ + /** Title ID this profile applies to */ TitleId?: string; - /** - / A sum of player's total purchases in USD across all currencies. - */ + /** A sum of player's total purchases in USD across all currencies. */ TotalValueToDateInUSD?: number; - /** - / Dictionary of player's total purchases by currency. - */ + /** Dictionary of player's total purchases by currency. */ ValuesToDate?: { [key: string]: number }; - /** - / Dictionary of player's virtual currency balances - */ + /** Dictionary of player's virtual currency balances */ VirtualCurrencyBalances?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { - /** - / List of advertising campaigns the player has been attributed to - */ + /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; - /** - / URL of the player's avatar image - */ + /** URL of the player's avatar image */ AvatarUrl?: string; - /** - / If the player is currently banned, the UTC Date when the ban expires - */ + /** If the player is currently banned, the UTC Date when the ban expires */ BannedUntil?: string; - /** - / List of all contact email info associated with the player account - */ + /** List of all contact email info associated with the player account */ ContactEmailAddresses?: ContactEmailInfoModel[]; - /** - / Player record created - */ + /** Player record created */ Created?: string; - /** - / Player display name - */ + /** Player display name */ DisplayName?: string; - /** - / UTC time when the player most recently logged in to the title - */ + /** UTC time when the player most recently logged in to the title */ LastLogin?: string; - /** - / List of all authentication systems linked to this player account - */ + /** List of all authentication systems linked to this player account */ LinkedAccounts?: LinkedPlatformAccountModel[]; - /** - / List of geographic locations from which the player has logged in to the title - */ + /** List of geographic locations from which the player has logged in to the title */ Locations?: LocationModel[]; - /** - / List of memberships for the player, along with whether are expired. - */ + /** List of memberships for the player, along with whether are expired. */ Memberships?: MembershipModel[]; - /** - / Player account origination - */ + /** Player account origination */ Origination?: string; - /** - / PlayFab player account unique identifier - */ + /** PlayFab player account unique identifier */ PlayerId?: string; - /** - / Publisher this player belongs to - */ + /** Publisher this player belongs to */ PublisherId?: string; - /** - / List of configured end points registered for sending the player push notifications - */ + /** List of configured end points registered for sending the player push notifications */ PushNotificationRegistrations?: PushNotificationRegistrationModel[]; - /** - / List of leaderboard statistic values for the player - */ + /** List of leaderboard statistic values for the player */ Statistics?: StatisticModel[]; - /** - / List of player's tags for segmentation - */ + /** List of player's tags for segmentation */ Tags?: TagModel[]; - /** - / Title ID this player profile applies to - */ + /** Title ID this player profile applies to */ TitleId?: string; /** - / Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; - /** - / List of the player's lifetime purchase totals, summed by real-money currency - */ + /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** - / List of the player's virtual currency balances - */ + /** List of the player's virtual currency balances */ VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { - /** - / Whether to show player's avatar URL. Defaults to false - */ + /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; - /** - / Whether to show the banned until time. Defaults to false - */ + /** Whether to show the banned until time. Defaults to false */ ShowBannedUntil: boolean; - /** - / Whether to show campaign attributions. Defaults to false - */ + /** Whether to show campaign attributions. Defaults to false */ ShowCampaignAttributions: boolean; - /** - / Whether to show contact email addresses. Defaults to false - */ + /** Whether to show contact email addresses. Defaults to false */ ShowContactEmailAddresses: boolean; - /** - / Whether to show the created date. Defaults to false - */ + /** Whether to show the created date. Defaults to false */ ShowCreated: boolean; - /** - / Whether to show the display name. Defaults to false - */ + /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; - /** - / Whether to show the last login time. Defaults to false - */ + /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; - /** - / Whether to show the linked accounts. Defaults to false - */ + /** Whether to show the linked accounts. Defaults to false */ ShowLinkedAccounts: boolean; - /** - / Whether to show player's locations. Defaults to false - */ + /** Whether to show player's locations. Defaults to false */ ShowLocations: boolean; - /** - / Whether to show player's membership information. Defaults to false - */ + /** Whether to show player's membership information. Defaults to false */ ShowMemberships: boolean; - /** - / Whether to show origination. Defaults to false - */ + /** Whether to show origination. Defaults to false */ ShowOrigination: boolean; - /** - / Whether to show push notification registrations. Defaults to false - */ + /** Whether to show push notification registrations. Defaults to false */ ShowPushNotificationRegistrations: boolean; - /** - / Reserved for future development - */ + /** Reserved for future development */ ShowStatistics: boolean; - /** - / Whether to show tags. Defaults to false - */ + /** Whether to show tags. Defaults to false */ ShowTags: boolean; - /** - / Whether to show the total value to date in usd. Defaults to false - */ + /** Whether to show the total value to date in usd. Defaults to false */ ShowTotalValueToDateInUsd: boolean; - /** - / Whether to show the values to date. Defaults to false - */ + /** Whether to show the values to date. Defaults to false */ ShowValuesToDate: boolean; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { - /** - / Statistic ID - */ + /** Statistic ID */ Id?: string; - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Current statistic value - */ + /** Current statistic value */ StatisticValue: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ StatisticVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { - /** - / time when the statistic version became active - */ + /** time when the statistic version became active */ ActivationTime: string; - /** - / time when the statistic version became inactive due to statistic version incrementing - */ + /** time when the statistic version became inactive due to statistic version incrementing */ DeactivationTime?: string; - /** - / time at which the statistic version was scheduled to become active, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become active, based on the configured ResetInterval */ ScheduledActivationTime?: string; - /** - / time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval - */ + /** time at which the statistic version was scheduled to become inactive, based on the configured ResetInterval */ ScheduledDeactivationTime?: string; - /** - / name of the statistic when the version became active - */ + /** name of the statistic when the version became active */ StatisticName?: string; - /** - / version of the statistic - */ + /** version of the statistic */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { - /** - / Numerical badge to display on App icon (iOS only) - */ + /** Numerical badge to display on App icon (iOS only) */ Badge: number; - /** - / This must be a JSON formatted object. For use with developer-created custom Push Notification plugins - */ + /** This must be a JSON formatted object. For use with developer-created custom Push Notification plugins */ CustomData?: string; - /** - / Icon file to display with the message (Not supported for iOS) - */ + /** Icon file to display with the message (Not supported for iOS) */ Icon?: string; - /** - / Content of the message (all platforms) - */ + /** Content of the message (all platforms) */ Message: string; /** - / This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported platform-specific fields + * This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported + * platform-specific fields */ ScheduleDate?: string; - /** - / Sound file to play with the message (all platforms) - */ + /** Sound file to play with the message (all platforms) */ Sound?: string; - /** - / Title/Subject of the message. Not supported for iOS - */ + /** Title/Subject of the message. Not supported for iOS */ Title: string; } @@ -4003,137 +2925,83 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { - /** - / Notification configured endpoint - */ + /** Notification configured endpoint */ NotificationEndpointARN?: string; - /** - / Push notification platform - */ + /** Push notification platform */ Platform?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { - /** - / Catalog version this table is associated with - */ + /** Catalog version this table is associated with */ CatalogVersion?: string; - /** - / Child nodes that indicate what kind of drop table item this actually is. - */ + /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; - /** - / Unique name for this drop table - */ + /** Unique name for this drop table */ TableId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Catalog version of the coupon. - */ + /** Catalog version of the coupon. */ CatalogVersion?: string; - /** - / Optional identifier for the Character that should receive the item. If null, item is added to the player - */ + /** Optional identifier for the Character that should receive the item. If null, item is added to the player */ CharacterId?: string; - /** - / Generated coupon code to redeem. - */ + /** Generated coupon code to redeem. */ CouponCode: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of redeeming the coupon. - */ + /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. - */ + /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; - /** - / Server authorization ticket passed back from a call to Matchmake or StartGame. - */ + /** Server authorization ticket passed back from a call to Matchmake or StartGame. */ Ticket: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Error value if the ticket was not validated. - */ + /** Error value if the ticket was not validated. */ Error?: string; - /** - / Boolean indicating whether the ticket was validated by the PlayFab service. - */ + /** Boolean indicating whether the ticket was validated by the PlayFab service. */ TicketIsValid: boolean; - /** - / User account information for the user validated. - */ + /** User account information for the user validated. */ UserInfo?: UserAccountInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Server Instance for which the heartbeat is updated. - */ + /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -4146,156 +3014,105 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the build running on the Game Server Instance. - */ + /** Unique identifier of the build running on the Game Server Instance. */ Build: string; /** - / Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game + * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). */ GameMode: string; - /** - / Previous lobby id if re-registering an existing game. - */ + /** Previous lobby id if re-registering an existing game. */ LobbyId?: string; /** - / Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS region and use Tags (below) to specify your custom region. + * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS + * region and use Tags (below) to specify your custom region. */ Region: string; - /** - / IP address of the Game Server Instance. - */ + /** IPV4 address of the Game Server Instance. */ ServerHost: string; - /** - / Port number for communication with the Game Server Instance. - */ + /** IPV6 address of the Game Server Instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ ServerPort: string; - /** - / Tags for the Game Server Instance - */ + /** Tags for the Game Server Instance */ Tags?: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** - / Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. + * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the + * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. */ LobbyId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account which is to be removed. - */ + /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Unique tag for player profile. - */ + /** Unique tag for player profile. */ TagName: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / An array of unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Optional additional comment by reporting player. - */ + /** Optional additional comment by reporting player. */ Comment?: string; - /** - / Unique PlayFab identifier of the reported player. - */ + /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; - /** - / PlayFabId of the reporting player. - */ + /** PlayFabId of the reporting player. */ ReporterId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { - /** - / The number of remaining reports which may be filed today by this reporting player. - */ + /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { - /** - / Either an ItemId, or the TableId of another random result table - */ + /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; - /** - / Whether this entry in the table is an item or a link to another table - */ + /** Whether this entry in the table is an item or a link to another table */ ResultItemType: string; - /** - / How likely this is to be rolled - larger numbers add more weight - */ + /** How likely this is to be rolled - larger numbers add more weight */ Weight: number; } @@ -4303,425 +3120,278 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked. - */ + /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Ids of the bans to be revoked. Maximum 100. - */ + /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were revoked - */ + /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** - / Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError */ Error?: string; - /** - / Details about the error - */ + /** Details about the error */ Message?: string; - /** - / Point during the execution of the script at which the error occurred, if any - */ + /** Point during the execution of the script at which the error occurred, if any */ StackTrace?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver to custom plugin logic, fields, or functionality not natively supported by PlayFab. + * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver + * to custom plugin logic, fields, or functionality not natively supported by PlayFab. */ AdvancedPlatformDelivery?: AdvancedPushPlatformMsg[]; - /** - / Text of message to send. - */ + /** Text of message to send. */ Message?: string; /** - / Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details. + * Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see + * the PushNotificationPackage documentation for details. */ Package?: PushNotificationPackage; - /** - / PlayFabId of the recipient of the push notification. - */ + /** PlayFabId of the recipient of the push notification. */ Recipient: string; - /** - / Subject of message to send (may not be displayed in all platforms) - */ + /** Subject of message to send (may not be displayed in all platforms) */ Subject?: string; - /** - / Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms. - */ + /** Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms. */ TargetPlatforms?: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / PlayFab identifier of the friend account to which the tag(s) should be applied. - */ + /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; - /** - / PlayFab identifier of the player whose friend is to be updated. - */ + /** PlayFab identifier of the player whose friend is to be updated. */ PlayFabId: string; - /** - / Array of tags to set on the friend account. - */ + /** Array of tags to set on the friend account. */ Tags: string[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom data to set for the specified game server instance. - */ + /** Custom data to set for the specified game server instance. */ GameServerData: string; - /** - / Unique identifier of the Game Instance to be updated, in decimal format. - */ + /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Instance to be updated, in decimal format. - */ + /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; - /** - / State to set for the specified game server instance. - */ + /** State to set for the specified game server instance. */ State: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique identifier of the Game Server Instance to be updated. - */ + /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; /** - / Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with the Game Server Instance. + * Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with + * the Game Server Instance. */ Tags: { [key: string]: string }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ 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 (Enterprise Only). */ PlayerSecret: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** - / new value to set. Set to null to remove a value - */ + /** new value to set. Set to null to remove a value */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; - /** - / PlayFabId of the user to last update this value. - */ + /** PlayFabId of the user to last update this value. */ LastUpdatedBy?: string; - /** - / Indicates whether this data can be read by all users (public) or only members of the group (private). - */ + /** Indicates whether this data can be read by all users (public) or only members of the group (private). */ Permission?: string; - /** - / Data stored for the specified group data key. - */ + /** Data stored for the specified group data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { - /** - / Statistic name - */ + /** Statistic name */ Name?: string; - /** - / Statistic value - */ + /** Statistic value */ Value: number; - /** - / Statistic version (0 if not a versioned statistic) - */ + /** Statistic version (0 if not a versioned statistic) */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / the version of the statistic to be returned - */ + /** the version of the statistic to be returned */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when setting the statistic value for the first time. + * for updates to an existing statistic value for a player, the version of the statistic when it was loaded. Null when + * setting the statistic value for the first time. */ Version?: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { - /** - / unique name of the statistic - */ + /** unique name of the statistic */ StatisticName?: string; - /** - / statistic value for the player - */ + /** statistic value for the player */ Value: number; - /** - / for updates to an existing statistic value for a player, the version of the statistic when it was loaded - */ + /** for updates to an existing statistic value for a player, the version of the statistic when it was loaded */ Version: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { - /** - / Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. - */ + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; - /** - / Unique Steam identifier for a user. - */ + /** Unique Steam identifier for a user. */ SteamStringId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { - /** - / When this subscription expires. - */ + /** When this subscription expires. */ Expiration: string; - /** - / The time the subscription was orignially purchased - */ + /** The time the subscription was orignially purchased */ InitialSubscriptionTime: string; - /** - / Whether this subscription is currently active. That is, if Expiration > now. - */ + /** Whether this subscription is currently active. That is, if Expiration > now. */ IsActive: boolean; - /** - / The status of this subscription, according to the subscription provider. - */ + /** The status of this subscription, according to the subscription provider. */ Status?: string; - /** - / The id for this subscription - */ + /** The id for this subscription */ SubscriptionId?: string; - /** - / The item id for this subscription from the primary catalog - */ + /** The item id for this subscription from the primary catalog */ SubscriptionItemId?: string; - /** - / The provider for this subscription. Apple or Google Play are supported today. - */ + /** The provider for this subscription. Apple or Google Play are supported today. */ SubscriptionProvider?: string; } @@ -4735,55 +3405,33 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Amount to be subtracted from the user balance of the specified virtual currency. - */ + /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; - /** - / PlayFab unique identifier of the user whose virtual currency balance is to be decreased. - */ + /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; - /** - / Name of the virtual currency which is to be decremented. - */ + /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { - /** - / Full value of the tag, including namespace - */ + /** Full value of the tag, including namespace */ TagValue?: string; } @@ -4794,463 +3442,315 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { - /** - / News item text. - */ + /** News item text. */ Body?: string; - /** - / Unique identifier of news item. - */ + /** Unique identifier of news item. */ NewsId?: string; - /** - / Date and time when the news items was posted. - */ + /** Date and time when the news items was posted. */ Timestamp: string; - /** - / Title of the news item. - */ + /** Title of the news item. */ Title?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog associated with the item instance. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * associated with the item instance. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / ItemInstanceId of the container to unlock. - */ + /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - / ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this parameter is required. + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * parameter is required. */ KeyItemInstanceId?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary catalog. + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * catalog. */ CatalogVersion?: string; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** - / Catalog ItemId of the container type to unlock. - */ + /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Items granted to the player as a result of unlocking the container. - */ + /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; - /** - / Unique instance identifier of the container unlocked. - */ + /** Unique instance identifier of the container unlocked. */ UnlockedItemInstanceId?: string; - /** - / Unique instance identifier of the key used to unlock the container, if applicable. - */ + /** Unique instance identifier of the key used to unlock the container, if applicable. */ UnlockedWithItemInstanceId?: string; - /** - / Virtual currency granted to the player as a result of unlocking the container. - */ + /** Virtual currency granted to the player as a result of unlocking the container. */ VirtualCurrency?: { [key: string]: number }; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / URL of the avatar image. If empty, it removes the existing avatar URL. - */ + /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / The updated active state for the ban. Null for no change. - */ + /** The updated active state for the ban. Null for no change. */ Active?: boolean; - /** - / The id of the ban to be updated. - */ + /** The id of the ban to be updated. */ BanId: string; - /** - / The updated expiration date for the ban. Null for no change. - */ + /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** - / The updated IP address for the ban. Null for no change. - */ + /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** - / The updated MAC address for the ban. Null for no change. - */ + /** The updated MAC address for the ban. Null for no change. */ MACAddress?: string; - /** - / Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. - */ + /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; - /** - / The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. - */ + /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ Reason?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / List of bans to be updated. Maximum 100. - */ + /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { - /** - / Information on the bans that were updated - */ + /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** - / Statistics to be updated with the provided values. - */ + /** Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. Default is false. + * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. + * Default is false. */ ForceUpdate?: boolean; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / Statistics to be updated with the provided values - */ + /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys in this request. - */ + /** Permission to be applied to all user data keys in this request. */ Permission?: string; - /** - / Unique identifier for the shared group. - */ + /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. - */ + /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ Permission?: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** - / Indicates the current version of the data that has been set. This is incremented with every set call for that type of data (read-only, internal, etc). This version can be provided in Get calls to find updated data. + * Indicates the current version of the data that has been set. This is incremented with every set call for that type of + * data (read-only, internal, etc). This version can be provided in Get calls to find updated data. */ DataVersion: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** - / Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character or be null. + * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may + * not begin with a '!' character or be null. */ Data?: { [key: string]: string }; - /** - / Unique PlayFab assigned instance identifier of the item - */ + /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; /** - / Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { - /** - / User Android device information, if an Android device has been linked - */ + /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; - /** - / Timestamp indicating when the user account was created - */ + /** Timestamp indicating when the user account was created */ Created: string; - /** - / Custom ID information, if a custom ID has been assigned - */ + /** Custom ID information, if a custom ID has been assigned */ CustomIdInfo?: UserCustomIdInfo; - /** - / User Facebook information, if a Facebook account has been linked - */ + /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; - /** - / User Gamecenter information, if a Gamecenter account has been linked - */ + /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; - /** - / User Google account information, if a Google account has been linked - */ + /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; - /** - / User iOS device information, if an iOS device has been linked - */ + /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; - /** - / User Kongregate account information, if a Kongregate account has been linked - */ + /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; - /** - / Unique identifier for the user account - */ + /** Unique identifier for the user account */ PlayFabId?: string; - /** - / Personal information for the user which is considered more sensitive - */ + /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** - / User PSN account information, if a PSN account has been linked - */ + /** User PSN account information, if a PSN account has been linked */ PsnInfo?: UserPsnInfo; - /** - / User Steam information, if a Steam account has been linked - */ + /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; - /** - / Title-specific information for the user account - */ + /** Title-specific information for the user account */ TitleInfo?: UserTitleInfo; - /** - / User Twitch account information, if a Twitch account has been linked - */ + /** User Twitch account information, if a Twitch account has been linked */ TwitchInfo?: UserTwitchInfo; - /** - / User account name in the PlayFab service - */ + /** User account name in the PlayFab service */ Username?: string; - /** - / User XBox account information, if a XBox account has been linked - */ + /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { - /** - / Android device ID - */ + /** Android device ID */ AndroidDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { - /** - / Custom ID - */ + /** Custom ID */ CustomId?: string; } @@ -5258,96 +3758,61 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { - /** - / Timestamp for when this data was last updated. - */ + /** Timestamp for when this data was last updated. */ LastUpdated: string; /** - / Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData requests being made by one player about another player. + * Indicates whether this data can be read by all users (public) or only the user (private). This is used for GetUserData + * requests being made by one player about another player. */ Permission?: string; - /** - / Data stored for the specified user data key. - */ + /** Data stored for the specified user data key. */ Value?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { - /** - / Facebook identifier - */ + /** Facebook identifier */ FacebookId?: string; - /** - / Facebook full name - */ + /** Facebook full name */ FullName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { - /** - / Gamecenter identifier - */ + /** Gamecenter identifier */ GameCenterId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { - /** - / Email address of the Google account - */ + /** Email address of the Google account */ GoogleEmail?: string; - /** - / Gender information of the Google account - */ + /** Gender information of the Google account */ GoogleGender?: string; - /** - / Google ID - */ + /** Google ID */ GoogleId?: string; - /** - / Locale of the Google account - */ + /** Locale of the Google account */ GoogleLocale?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { - /** - / iOS device ID - */ + /** iOS device ID */ IosDeviceId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { - /** - / Kongregate ID - */ + /** Kongregate ID */ KongregateId?: string; - /** - / Kongregate Username - */ + /** Kongregate Username */ KongregateName?: string; } @@ -5371,245 +3836,171 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { - /** - / user email address - */ + /** user email address */ Email?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { - /** - / PSN account ID - */ + /** PSN account ID */ PsnAccountId?: string; - /** - / PSN online ID - */ + /** PSN online ID */ PsnOnlineId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { - /** - / what stage of game ownership the user is listed as being in, from Steam - */ + /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; - /** - / the country in which the player resides, from Steam data - */ + /** the country in which the player resides, from Steam data */ SteamCountry?: string; - /** - / currency type set in the user Steam account - */ + /** currency type set in the user Steam account */ SteamCurrency?: string; - /** - / Steam identifier - */ + /** Steam identifier */ SteamId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { - /** - / URL to the player's avatar. - */ + /** URL to the player's avatar. */ AvatarUrl?: string; /** - / timestamp indicating when the user was first associated with this game (this can differ significantly from when the user first registered with PlayFab) + * timestamp indicating when the user was first associated with this game (this can differ significantly from when the user + * first registered with PlayFab) */ Created: string; - /** - / name of the user, as it is displayed in-game - */ + /** name of the user, as it is displayed in-game */ DisplayName?: string; /** - / timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other events, such as issuing a beta key to the user, can associate the title to the user) + * timestamp indicating when the user first signed into this game (this can differ from the Created timestamp, as other + * events, such as issuing a beta key to the user, can associate the title to the user) */ FirstLogin?: string; - /** - / boolean indicating whether or not the user is currently banned for a title - */ + /** boolean indicating whether or not the user is currently banned for a title */ isBanned?: boolean; - /** - / timestamp for the last user login for this title - */ + /** timestamp for the last user login for this title */ LastLogin?: string; - /** - / source by which the user first joined the game, if known - */ + /** source by which the user first joined the game, if known */ Origination?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { - /** - / Twitch ID - */ + /** Twitch ID */ TwitchId?: string; - /** - / Twitch Username - */ + /** Twitch Username */ TwitchUserName?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { - /** - / XBox user ID - */ + /** XBox user ID */ XboxUserId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { - /** - / ISO 4217 code of the currency used in the purchases - */ + /** ISO 4217 code of the currency used in the purchases */ Currency?: string; /** - / Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and ninety-nine cents when Currency is 'USD') + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') */ TotalValue: number; /** - / Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine dollars and ninety-nine cents when Currency is 'USD'. + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. */ TotalValueAsDecimal?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel */ export interface VirtualCurrencyBalanceModel { - /** - / Name of the virtual currency - */ + /** Name of the virtual currency */ Currency?: string; - /** - / Balance of the virtual currency - */ + /** Balance of the virtual currency */ TotalValue: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** - / Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen below this value. + * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value + * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen + * below this value. */ RechargeMax: number; - /** - / Server timestamp in UTC indicating the next time the virtual currency will be incremented. - */ + /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ RechargeTime: string; - /** - / Time remaining (in seconds) before the next recharge increment of the virtual currency. - */ + /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ SecondsToRecharge: number; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** - / The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format. + * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to + * any particular format. */ EventId?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** - / Unique PlayFab assigned ID for a specific character owned by a user - */ + /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / Unique PlayFab assigned ID of the user on whom the operation will be performed. - */ + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } - /** - / https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest - */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - / Custom event properties. Each property consists of a name (string) and a value (JSON object). - */ + /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** - / The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the subject_verb_object pattern (e.g. player_logged_in). + * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it + * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** - / The time (in UTC) associated with this event. The value dafaults to the current time. - */ + /** The time (in UTC) associated with this event. The value dafaults to the current time. */ Timestamp?: string; } From 01f044b011317a01316b3432776df5f3d3eae321 Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Fri, 3 Nov 2017 00:30:08 +0000 Subject: [PATCH 047/253] https://api.playfab.com/releaseNotes/#171102 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 14 ++++++- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 14 ++++++- .../src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 42 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 32 ++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 22 ++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 14 ++++++- .../src/PlayFab/PlayFabClientApi.js | 14 ++++++- .../src/PlayFab/PlayFabMatchmakerApi.js | 2 +- .../src/PlayFab/PlayFabServerApi.js | 8 +++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 42 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 32 ++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 22 ++++++++++ 14 files changed, 260 insertions(+), 8 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 56b7dd28..63e97620 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -304,6 +304,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -520,6 +526,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ResetPassword: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetPassword", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 82201db4..e6967e70 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -161,6 +161,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddOrUpdateContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; @@ -812,6 +818,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, + RemoveContactEmail: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index e131a3dc..d0815b88 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 6e8c3c0f..f019fdfe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -598,6 +598,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9fed4abc..34ff037c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -151,6 +151,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a player's ID from an auth token. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken + */ + GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments @@ -337,6 +342,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics */ ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Reset a player's password for a given title. + * https://api.playfab.com/Documentation/Admin/method/ResetPassword + */ + ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Completely removes all statistics for the specified user, for the current game * https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics @@ -690,6 +700,8 @@ declare module PlayFabAdminModels { } + type AuthTokenType = "Email" + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ @@ -1772,6 +1784,22 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ + export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The auth token of the player requesting the password reset. */ + Token: string; + /** The type of auth token of the player requesting the password reset. */ + TokenType: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ + export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { + /** The player ID from the token passed in */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2833,6 +2861,20 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ + export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The new password for the player. */ + Password: string; + /** The token of the player requesting the password reset. */ + Token: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ + export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 640c00ca..7d28ff7c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -25,6 +25,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/AddGenericID */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds or updates a contact email to the player's profile + * https://api.playfab.com/Documentation/Client/method/AddOrUpdateContactEmail + */ + AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only * users in the group can add new members. Shared Groups are designed for sharing data between a very small number of @@ -530,6 +535,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a contact email from the player's profile + * https://api.playfab.com/Documentation/Client/method/RemoveContactEmail + */ + RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a specified user from the friend list of the local user * https://api.playfab.com/Documentation/Client/method/RemoveFriend @@ -811,6 +821,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ + export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The new contact email to associate with the player. */ + EmailAddress: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ + export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3666,6 +3688,16 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ + export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ + export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 252db9a5..d6a51d3f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -420,6 +420,12 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery + * email template + * https://api.playfab.com/Documentation/Server/method/SendCustomAccountRecoveryEmail + */ + SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. @@ -3178,6 +3184,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ + export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** User email address attached to their account */ + Email?: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId: string; + /** The user's username requesting an account recovery. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ + export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 56b7dd28..63e97620 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -304,6 +304,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; @@ -520,6 +526,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ResetPassword: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetPassword", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 82201db4..e6967e70 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -161,6 +161,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddOrUpdateContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; @@ -812,6 +818,12 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); }, + RemoveContactEmail: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index e131a3dc..d0815b88 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 6e8c3c0f..f019fdfe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -123,7 +123,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.14.171026"; +PlayFab.sdkVersion = "1.15.171102"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -598,6 +598,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9fed4abc..34ff037c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -151,6 +151,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a player's ID from an auth token. + * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken + */ + GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments @@ -337,6 +342,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics */ ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Reset a player's password for a given title. + * https://api.playfab.com/Documentation/Admin/method/ResetPassword + */ + ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Completely removes all statistics for the specified user, for the current game * https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics @@ -690,6 +700,8 @@ declare module PlayFabAdminModels { } + type AuthTokenType = "Email" + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ @@ -1772,6 +1784,22 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ + export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The auth token of the player requesting the password reset. */ + Token: string; + /** The type of auth token of the player requesting the password reset. */ + TokenType: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ + export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { + /** The player ID from the token passed in */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2833,6 +2861,20 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ + export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The new password for the player. */ + Password: string; + /** The token of the player requesting the password reset. */ + Token: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ + export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 640c00ca..7d28ff7c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -25,6 +25,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/AddGenericID */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds or updates a contact email to the player's profile + * https://api.playfab.com/Documentation/Client/method/AddOrUpdateContactEmail + */ + AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only * users in the group can add new members. Shared Groups are designed for sharing data between a very small number of @@ -530,6 +535,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a contact email from the player's profile + * https://api.playfab.com/Documentation/Client/method/RemoveContactEmail + */ + RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a specified user from the friend list of the local user * https://api.playfab.com/Documentation/Client/method/RemoveFriend @@ -811,6 +821,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ + export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The new contact email to associate with the player. */ + EmailAddress: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ + export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3666,6 +3688,16 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ + export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ + export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 252db9a5..d6a51d3f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -420,6 +420,12 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery + * email template + * https://api.playfab.com/Documentation/Server/method/SendCustomAccountRecoveryEmail + */ + SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. @@ -3178,6 +3184,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ + export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** User email address attached to their account */ + Email?: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId: string; + /** The user's username requesting an account recovery. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ + export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** From 0dcbe12bbb40d1c1dad424e3b982b279bf928f2e Mon Sep 17 00:00:00 2001 From: Playfab Jenkins Bot Date: Mon, 6 Nov 2017 22:43:14 +0000 Subject: [PATCH 048/253] https://api.playfab.com/releaseNotes/#171106 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 10 ++++++++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 10 ++++++++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 5 +++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++++++++++++++ PlayFabTestingExample/PlayFabApiTest.js | 2 +- PlayFabTestingExample/PlayFabApiTest.ts | 2 +- .../src/PlayFab/PlayFabAdminApi.js | 10 ++++++++-- .../src/PlayFab/PlayFabClientApi.js | 6 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- .../src/PlayFab/PlayFabServerApi.js | 10 ++++++++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 5 +++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++++++++++++++ 16 files changed, 94 insertions(+), 22 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 63e97620..ec514e57 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -310,6 +310,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayerProfile: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e6967e70..d31c6021 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -139,7 +139,7 @@ PlayFab.ClientApi = { IsClientLoggedIn: function () { return PlayFab._internalSettings.sessionTicket != null && PlayFab._internalSettings.sessionTicket.length > 0; }, - ForgetClientCredentials: function () { + ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index d0815b88..073b4793 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f019fdfe..b9409026 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -604,6 +604,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + SendEmailFromTemplate: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendEmailFromTemplate", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 34ff037c..969ac3e6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -156,6 +156,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken */ GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the player's profile + * https://api.playfab.com/Documentation/Admin/method/GetPlayerProfile + */ + GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 7d28ff7c..afd9d4fc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3,7 +3,7 @@ declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; - ForgetClientCredentials(): void; + ForgetAllCredentials(): void; /** * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d6a51d3f..42fad254 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -426,6 +426,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SendCustomAccountRecoveryEmail */ SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sends an email based on an email template to a player's contact email + * https://api.playfab.com/Documentation/Server/method/SendEmailFromTemplate + */ + SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. @@ -3200,6 +3205,20 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ + export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The email template id of the email template to send. */ + EmailTemplateId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ + export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 0f65e064..aa09ab9d 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -453,7 +453,7 @@ var PlayFabApiTests = { /// ForgetCredentials: function (assert) { assert.ok(PlayFabClientSDK.IsClientLoggedIn(), "Client should be logged in."); - PlayFabClientSDK.ForgetClientCredentials(); + PlayFabClientSDK.ForgetAllCredentials(); assert.ok(!PlayFabClientSDK.IsClientLoggedIn(), "Client should NOT be logged in."); }, }; diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index dd6b450a..6d6c492a 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -522,7 +522,7 @@ var PlayFabApiTests = { /// ForgetCredentials: function (assert): void { assert.ok(PlayFabClientSDK.IsClientLoggedIn(), "Client should be logged in."); - PlayFabClientSDK.ForgetClientCredentials(); + PlayFabClientSDK.ForgetAllCredentials(); assert.ok(!PlayFabClientSDK.IsClientLoggedIn(), "Client should NOT be logged in."); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 63e97620..ec514e57 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -310,6 +310,12 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayerProfile: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e6967e70..d31c6021 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -139,7 +139,7 @@ PlayFab.ClientApi = { IsClientLoggedIn: function () { return PlayFab._internalSettings.sessionTicket != null && PlayFab._internalSettings.sessionTicket.length > 0; }, - ForgetClientCredentials: function () { + ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index d0815b88..073b4793 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f019fdfe..b9409026 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -122,8 +122,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_2"; -PlayFab.sdkVersion = "1.15.171102"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.16.171106"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -604,6 +604,12 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + SendEmailFromTemplate: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendEmailFromTemplate", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 34ff037c..969ac3e6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -156,6 +156,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken */ GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the player's profile + * https://api.playfab.com/Documentation/Admin/method/GetPlayerProfile + */ + GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 7d28ff7c..afd9d4fc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3,7 +3,7 @@ declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; - ForgetClientCredentials(): void; + ForgetAllCredentials(): void; /** * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d6a51d3f..42fad254 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -426,6 +426,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SendCustomAccountRecoveryEmail */ SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sends an email based on an email template to a player's contact email + * https://api.playfab.com/Documentation/Server/method/SendEmailFromTemplate + */ + SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. @@ -3200,6 +3205,20 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ + export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The email template id of the email template to send. */ + EmailTemplateId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ + export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** From 158c599c46671f626656ea404acf39ddcfd070e2 Mon Sep 17 00:00:00 2001 From: playfabjenkinsbot Date: Tue, 28 Nov 2017 00:58:30 +0000 Subject: [PATCH 049/253] https://api.playfab.com/releaseNotes/#171127 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 123 ++------ PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 155 ++-------- .../src/PlayFab/PlayFabMatchmakerApi.js | 19 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 124 +------- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 69 +++-- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 70 +++-- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 6 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 44 +-- PlayFabTestingExample/PlayFabApiTest.csproj | 3 + PlayFabTestingExample/PlayFabApiTest.js | 256 ++++++++++------- PlayFabTestingExample/PlayFabApiTest.ts | 272 ++++++++++-------- PlayFabTestingExample/index.html | 3 +- .../src/PlayFab/PlayFabAdminApi.js | 123 ++------ .../src/PlayFab/PlayFabClientApi.js | 155 ++-------- .../src/PlayFab/PlayFabMatchmakerApi.js | 19 +- .../src/PlayFab/PlayFabServerApi.js | 124 +------- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 69 +++-- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 70 +++-- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 6 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 44 +-- 20 files changed, 664 insertions(+), 1090 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ec514e57..d90677ba 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -135,598 +137,513 @@ PlayFab.GenerateErrorReport = function (error) { }; PlayFab.AdminApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, AbortTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { + CheckLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CheckLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreateCloudScriptTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteContent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteStore: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteTitle: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCloudScriptRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCloudScriptTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCloudScriptVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetContentList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetContentUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetDataReport: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerSharedSecrets: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetServerBuildInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTaskInstances: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTasks: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { + IncrementLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ModifyServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RefundPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResetPassword: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetPassword", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResolvePurchaseDispute: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RunTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPublishedRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetupPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d31c6021..6e8acc61 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -141,59 +143,51 @@ PlayFab.ClientApi = { }, ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; }, AcceptTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddGenericID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddOrUpdateContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddUsernamePassword: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AndroidDevicePushNotificationRegistration: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AttributeInstall: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully PlayFab.settings.advertisingIdType += "_Successful"; @@ -206,389 +200,329 @@ PlayFab.ClientApi = { CancelTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ConfirmPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCurrentGames: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetFriendLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetGameServerRegions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { + GetPaymentToken: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPaymentToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerTrades: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromGoogleIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTitlePublicKey: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback, customData, extraHeaders); }, GetTradeStatus: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, 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; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -602,7 +536,6 @@ PlayFab.ClientApi = { LoginWithCustomID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -616,7 +549,6 @@ PlayFab.ClientApi = { LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -630,7 +562,6 @@ PlayFab.ClientApi = { LoginWithFacebook: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -644,7 +575,6 @@ PlayFab.ClientApi = { LoginWithGameCenter: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -658,7 +588,6 @@ PlayFab.ClientApi = { LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -672,7 +601,6 @@ PlayFab.ClientApi = { LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -686,7 +614,6 @@ PlayFab.ClientApi = { LoginWithKongregate: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -700,7 +627,6 @@ PlayFab.ClientApi = { LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -714,7 +640,6 @@ PlayFab.ClientApi = { LoginWithSteam: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -728,7 +653,6 @@ PlayFab.ClientApi = { LoginWithTwitch: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -742,7 +666,6 @@ PlayFab.ClientApi = { LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -756,43 +679,36 @@ PlayFab.ClientApi = { Matchmake: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, OpenTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, PayForPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, PurchaseItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RegisterPlayFabUser: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -806,7 +722,6 @@ PlayFab.ClientApi = { RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -820,234 +735,200 @@ PlayFab.ClientApi = { RemoveContactEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RemoveGenericID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ReportPlayer: function (request, callback, customData, extraHeaders) { + ReportDeviceInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportDeviceInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + ReportPlayer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RestoreIOSPurchases: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, StartPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateAmazonIAPReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateGooglePlayPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateIOSReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateWindowsStoreReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, @@ -1068,7 +949,7 @@ PlayFab.ClientApi = { var PlayFabClientSDK = PlayFab.ClientApi; PlayFab.RegisterWithPhaser = function() { - if ( typeof Phaser === 'undefined') + if ( typeof Phaser === "undefined" ) return; Phaser.Plugin.PlayFab = function (game, parent) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 073b4793..52fea92a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -135,34 +137,33 @@ PlayFab.GenerateErrorReport = function (error) { }; PlayFab.MatchmakerApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, AuthUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, PlayerJoined: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, PlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UserInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b9409026..6c26d9bc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -135,664 +137,558 @@ PlayFab.GenerateErrorReport = function (error) { }; PlayFab.ServerApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, AddCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AuthenticateSessionTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AwardSteamAchievement: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeregisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboardAroundUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ModifyItemUses: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, MoveItemToCharacterFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, MoveItemToCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, MoveItemToUserFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RegisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ReportPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendEmailFromTemplate: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendEmailFromTemplate", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SubtractCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserInventoryItemCustomData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 969ac3e6..b5e23bdd 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2,6 +2,8 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { + ForgetAllCredentials(): void; + /** * Abort an ongoing task instance. * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance @@ -39,6 +41,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/BanUsers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks the global count for the limited edition item. + * https://api.playfab.com/Documentation/Admin/method/CheckLimitedEditionItemAvailability + */ + CheckLimitedEditionItemAvailability(request: PlayFabAdminModels.CheckLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. * https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask @@ -296,6 +303,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Increases the global count for the given scarce resource. + * https://api.playfab.com/Documentation/Admin/method/IncrementLimitedEditionItemAvailability + */ + IncrementLimitedEditionItemAvailability(request: PlayFabAdminModels.IncrementLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Resets the indicated statistic, removing all player entries for it and backing up the old values. * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion @@ -872,6 +884,22 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ + export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Which catalog is being updated. If null, uses the default catalog. */ + CatalogVersion?: string; + /** The item to check for. */ + ItemId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ + export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { + /** The amount of the specified resource remaining. */ + Amount: number; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ @@ -1951,7 +1979,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2112,7 +2140,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2194,7 +2222,7 @@ declare module PlayFabAdminModels { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2238,6 +2266,22 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ + export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Amount to increase availability by. */ + Amount: number; + /** Which catalog is being updated. If null, uses the default catalog. */ + CatalogVersion?: string; + /** The item which needs more availability. */ + ItemId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ + export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ @@ -2262,7 +2306,7 @@ declare module PlayFabAdminModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** @@ -2289,7 +2333,7 @@ declare module PlayFabAdminModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2656,8 +2700,6 @@ declare module PlayFabAdminModels { TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** List of the player's virtual currency balances */ - VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } @@ -3499,7 +3541,7 @@ declare module PlayFabAdminModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3528,7 +3570,7 @@ declare module PlayFabAdminModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3774,15 +3816,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel */ - export interface VirtualCurrencyBalanceModel { - /** Name of the virtual currency */ - Currency?: string; - /** Balance of the virtual currency */ - TotalValue: number; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index afd9d4fc..65174cc9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3,6 +3,7 @@ declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; + ForgetAllCredentials(): void; /** @@ -26,7 +27,7 @@ declare module PlayFabClientModule { */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds or updates a contact email to the player's profile + * Adds or updates a contact email to the player's profile. * https://api.playfab.com/Documentation/Client/method/AddOrUpdateContactEmail */ AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -190,6 +191,13 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters */ GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * 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://api.playfab.com/Documentation/Client/method/GetPaymentToken + */ + GetPaymentToken(request: PlayFabClientModels.GetPaymentTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See * https://api.playfab.com/docs/using-photon-with-playfab/ for more details. @@ -536,7 +544,7 @@ declare module PlayFabClientModule { */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Removes a contact email from the player's profile + * Removes a contact email from the player's profile. * https://api.playfab.com/Documentation/Client/method/RemoveContactEmail */ RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -558,6 +566,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Write a PlayStream event to describe the provided player device information. This API method is not designed to be + * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. + * https://api.playfab.com/Documentation/Client/method/ReportDeviceInfo + */ + ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. @@ -1159,7 +1173,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -1624,6 +1638,13 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ + export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ + Info?: { [key: string]: any }; + + } + type EmailVerificationStatus = "Unverified" | "Pending" | "Confirmed"; @@ -1766,7 +1787,7 @@ declare module PlayFabClientModels { /** stastic used to match this game in player statistic matchmaking */ StatisticName?: string; /** game session tags */ - Tags?: { [key: string]: string }; + Tags?: { [key: string]: string | null }; } @@ -2132,6 +2153,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ + export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of service to provide the payment token. Allowed Values are: xsolla */ + TokenProvider: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ + export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { + /** PlayFab's purchase order identifier. */ + OrderId?: string; + /** The token from provider. */ + ProviderToken?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ @@ -2218,7 +2255,7 @@ declare module PlayFabClientModels { /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; /** Title data for this title. */ - TitleData?: { [key: string]: string }; + TitleData?: { [key: string]: string | null }; /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; /** The version of the UserData that was returned. */ @@ -2449,7 +2486,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2555,7 +2592,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2720,7 +2757,7 @@ declare module PlayFabClientModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -3473,8 +3510,6 @@ declare module PlayFabClientModels { TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** List of the player's virtual currency balances */ - VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } @@ -4295,7 +4330,7 @@ declare module PlayFabClientModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -4348,7 +4383,7 @@ declare module PlayFabClientModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -4372,7 +4407,7 @@ declare module PlayFabClientModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -4710,15 +4745,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel */ - export interface VirtualCurrencyBalanceModel { - /** Name of the virtual currency */ - Currency?: string; - /** Balance of the virtual currency */ - TotalValue: number; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 68901ca2..af6e0643 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -2,6 +2,8 @@ declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { + ForgetAllCredentials(): void; + /** * Validates a user with the PlayFab service * https://api.playfab.com/Documentation/Matchmaker/method/AuthUser @@ -75,7 +77,7 @@ declare module PlayFabMatchmakerModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -164,7 +166,7 @@ declare module PlayFabMatchmakerModels { /** Port number for communication with the Game Server Instance. */ ServerPort: string; /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string }; + Tags?: { [key: string]: string | null }; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 42fad254..596fff6c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2,6 +2,8 @@ declare module PlayFabServerModule { export interface IPlayFabServer { + ForgetAllCredentials(): void; + /** * Increments the character's balance of the specified virtual currency by the stated amount * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency @@ -1978,7 +1980,7 @@ declare module PlayFabServerModels { /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; /** Title data for this title. */ - TitleData?: { [key: string]: string }; + TitleData?: { [key: string]: string | null }; /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; /** The version of the UserData that was returned. */ @@ -2153,7 +2155,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2232,7 +2234,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2360,7 +2362,7 @@ declare module PlayFabServerModels { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2456,7 +2458,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** @@ -2483,7 +2485,7 @@ declare module PlayFabServerModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2839,8 +2841,6 @@ declare module PlayFabServerModels { TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** List of the player's virtual currency balances */ - VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } @@ -2921,11 +2921,6 @@ declare module PlayFabServerModels { Icon?: string; /** Content of the message (all platforms) */ Message: string; - /** - * This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported - * platform-specific fields - */ - ScheduleDate?: string; /** Sound file to play with the message (all platforms) */ Sound?: string; /** Title/Subject of the message. Not supported for iOS */ @@ -3048,7 +3043,7 @@ declare module PlayFabServerModels { /** Port number for communication with the Game Server Instance. */ ServerPort: string; /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string }; + Tags?: { [key: string]: string | null }; } @@ -3294,7 +3289,7 @@ declare module PlayFabServerModels { * Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with * the Game Server Instance. */ - Tags: { [key: string]: string }; + Tags: { [key: string]: string | null }; } @@ -3596,7 +3591,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3660,7 +3655,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3684,7 +3679,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3713,7 +3708,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3732,7 +3727,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; /** @@ -3964,15 +3959,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel */ - export interface VirtualCurrencyBalanceModel { - /** Name of the virtual currency */ - Currency?: string; - /** Balance of the virtual currency */ - TotalValue: number; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index b645d439..c61a76dc 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -17,6 +17,7 @@ + @@ -25,6 +26,7 @@ + @@ -34,6 +36,7 @@ + diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index aa09ab9d..b2dd77b1 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -1,5 +1,7 @@ var PlayFabApiTests = { testTitleDataFilename: "testTitleData.json", + testRetryDelay: 250, + testRetryCount: 8, titleData: { titleId: null, developerSecretKey: null, @@ -8,14 +10,15 @@ var PlayFabApiTests = { extraHeaders: {} }, testData: { + entityToken: null, + entityType: null, + entityId: null, playFabId: null, - characterId: null, - testNumber: null // Used by several tests + testNumber: null, }, testConstants: { TEST_DATA_KEY: "testCounter", - TEST_STAT_NAME: "str", - CHAR_TEST_TYPE: "Fighter" + TEST_STAT_NAME: "str" }, ManualExecution: function () { $.getJSON(PlayFabApiTests.testTitleDataFilename, function (json) { @@ -35,17 +38,19 @@ var PlayFabApiTests = { QUnit.test("InvalidRegistration", PlayFabApiTests.InvalidRegistration); QUnit.test("LoginOrRegister", PlayFabApiTests.LoginOrRegister); QUnit.test("LoginWithAdvertisingId", PlayFabApiTests.LoginWithAdvertisingId); - setTimeout(function () { PlayFabApiTests.PostLoginTests(0); }, 200); + setTimeout(function () { PlayFabApiTests.PostLoginTests(0); }, PlayFabApiTests.testRetryDelay); + setTimeout(function () { PlayFabApiTests.PostEntityTokenTests(0); }, PlayFabApiTests.testRetryDelay); }, PostLoginTests: function (count) { - if (count > 5) + if (count > PlayFabApiTests.testRetryCount) return; if (!PlayFabClientSDK.IsClientLoggedIn()) { // Wait for login - setTimeout(function () { PlayFabApiTests.PostLoginTests(count + 1); }, 200); + setTimeout(function () { PlayFabApiTests.PostLoginTests(count + 1); }, PlayFabApiTests.testRetryDelay); } else { // Continue with other tests that require login + // QUnit.test("GetEntityToken", PlayFabApiTests.GetEntityToken); // TODO: Release Entity API QUnit.test("UserDataApi", PlayFabApiTests.UserDataApi); QUnit.test("PlayerStatisticsApi", PlayFabApiTests.PlayerStatisticsApi); QUnit.test("UserCharacter", PlayFabApiTests.UserCharacter); @@ -57,6 +62,18 @@ var PlayFabApiTests = { QUnit.test("ForgetCredentials", PlayFabApiTests.ForgetCredentials); } }, + PostEntityTokenTests: function (count) { + if (count > PlayFabApiTests.testRetryCount) + return; + if (!PlayFab["_internalSettings"].entityToken) { + // Wait for login + setTimeout(function () { PlayFabApiTests.PostEntityTokenTests(count + 1); }, PlayFabApiTests.testRetryDelay); + } + else { + // Continue with other tests that require login + // QUnit.test("EntityObjects", PlayFabApiTests.EntityObjects); // TODO: Release Entity API + } + }, SetUp: function (inputTitleData) { // All of these must exist for the titleData load to be successful var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null @@ -103,11 +120,10 @@ var PlayFabApiTests = { assert.ok(success, message); } }, - /// - /// CLIENT API - /// Try to deliberately log in with an inappropriate password, - /// and verify that the error displays as expected. - /// + /* CLIENT API + * Try to deliberately log in with an inappropriate password, + * and verify that the error displays as expected. + */ InvalidLogin: function (assert) { var invalidDone = assert.async(); var invalidRequest = { @@ -123,11 +139,10 @@ var PlayFabApiTests = { }; PlayFabClientSDK.LoginWithEmailAddress(invalidRequest, PlayFabApiTests.CallbackWrapper("invalidLoginCallback", invalidLoginCallback, assert)); }, - /// - /// CLIENT API - /// Try to deliberately register a user with an invalid email and password - /// Verify that errorDetails are populated correctly. - /// + /* CLIENT API + * Try to deliberately register a user with an invalid email and password + * Verify that errorDetails are populated correctly. + */ InvalidRegistration: function (assert) { var invalidDone = assert.async(); var invalidRequest = { @@ -147,10 +162,9 @@ var PlayFabApiTests = { }; PlayFabClientSDK.RegisterPlayFabUser(invalidRequest, PlayFabApiTests.CallbackWrapper("registerCallback", registerCallback, assert)); }, - /// - /// CLIENT API - /// Log in or create a user, track their PlayFabId - /// + /* CLIENT API + * Log in or create a user, track their PlayFabId + */ LoginOrRegister: function (assert) { var loginRequest = { CustomId: PlayFab.buildIdentifier, @@ -166,10 +180,9 @@ var PlayFabApiTests = { }; PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert)); }, - /// - /// CLIENT API - /// Test that the login call sequence sends the AdvertisingId when set - /// + /* CLIENT API + * Test that the login call sequence sends the AdvertisingId when set + */ LoginWithAdvertisingId: function (assert) { PlayFab.settings.advertisingIdType = PlayFab.settings.AD_TYPE_ANDROID_ID; PlayFab.settings.advertisingIdValue = "PlayFabTestId"; @@ -195,13 +208,12 @@ var PlayFabApiTests = { }; PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert)); }, - /// - /// CLIENT API - /// Test a sequence of calls that modifies saved data, - /// and verifies that the next sequential API call contains updated data. - /// Verify that the data is correctly modified on the next call. - /// Parameter types tested: string, Dictionary, DateTime - /// + /* CLIENT API + * Test a sequence of calls that modifies saved data, + * and verifies that the next sequential API call contains updated data. + * Verify that the data is correctly modified on the next call. + * Parameter types tested: string, Dictionary, DateTime + */ UserDataApi: function (assert) { var getDataRequest = {}; // null also works // This test is always exactly 3 async calls @@ -241,13 +253,12 @@ var PlayFabApiTests = { // Kick off this test process PlayFabClientSDK.GetUserData(getDataRequest, PlayFabApiTests.CallbackWrapper("getDataCallback1", getDataCallback1, assert)); }, - /// - /// CLIENT API - /// Test a sequence of calls that modifies saved data, - /// and verifies that the next sequential API call contains updated data. - /// Verify that the data is saved correctly, and that specific types are tested - /// Parameter types tested: Dictionary - /// + /* CLIENT API + * Test a sequence of calls that modifies saved data, + * and verifies that the next sequential API call contains updated data. + * Verify that the data is saved correctly, and that specific types are tested + * Parameter types tested: Dictionary + */ PlayerStatisticsApi: function (assert) { var getStatsRequest = {}; // null also works // This test is always exactly 3 async calls @@ -286,60 +297,23 @@ var PlayFabApiTests = { // Kick off this test process PlayFabClientSDK.GetPlayerStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback1", getStatsCallback1, assert)); }, - /// - /// SERVER API - /// Get or create the given test character for the given user - /// Parameter types tested: Contained-Classes, string - /// + /* CLIENT API + * Get or create the given test character for the given user + * Parameter types tested: Contained-Classes, string + */ UserCharacter: function (assert) { var getCharsRequest = {}; - var grantCharRequest = { - TitleId: PlayFabApiTests.titleData.titleId, - PlayFabId: PlayFabApiTests.testData.playFabId, - CharacterName: PlayFabApiTests.titleData.characterName, - CharacterType: PlayFabApiTests.testConstants.CHAR_TEST_TYPE - }; - // We don't know at this point how many async calls we'll make - var getDone = null; - var grantDone = null; - var mandatoryGetCharsCallback = function (result, error) { - // GetChars MUST succeed at some point during this test + var getDone = assert.async(); + var getCharsCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetChars result"); - for (var i in result.data.Characters) - if (result.data.Characters[i].CharacterName === PlayFabApiTests.titleData.characterName) - PlayFabApiTests.testData.characterId = result.data.Characters[i].CharacterId; // Save the characterId, it will be used in other tests - assert.ok(PlayFabApiTests.testData.characterId != null, "Searching for " + PlayFabApiTests.titleData.characterName + " on this account."); getDone(); }; - var grantCharCallback = function (result, error) { - // Second character callback MUST succeed - PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GrantCharacter result"); - // Get chars again, this time with the newly granted character - getDone = assert.async(); - PlayFabClientSDK.GetAllUsersCharacters(grantCharRequest, PlayFabApiTests.CallbackWrapper("mandatoryGetCharsCallback", mandatoryGetCharsCallback, assert)); - grantDone(); - }; - var optionalGetCharsCallback = function (result, error) { - // First get chars falls back upon grant-char if target character not present - if (result.data.Characters.length === 0) { - // Register the character and try again - grantDone = assert.async(); - PlayFabServerSDK.GrantCharacterToUser(grantCharRequest, PlayFabApiTests.CallbackWrapper("grantCharCallback", grantCharCallback, assert)); - getDone(); - } - else { - // Confirm the successful login - mandatoryGetCharsCallback(result, error); - } - }; - getDone = assert.async(); - PlayFabClientSDK.GetAllUsersCharacters(getCharsRequest, PlayFabApiTests.CallbackWrapper("optionalGetCharsCallback", optionalGetCharsCallback, assert)); + PlayFabClientSDK.GetAllUsersCharacters(getCharsRequest, PlayFabApiTests.CallbackWrapper("getCharsCallback", getCharsCallback, assert)); }, - /// - /// CLIENT AND SERVER API - /// Test that leaderboard results can be requested - /// Parameter types tested: List of contained-classes - /// + /* CLIENT AND SERVER API + * Test that leaderboard results can be requested + * Parameter types tested: List of contained-classes + */ LeaderBoard: function (assert) { var clientRequest = { MaxResultsCount: 3, @@ -372,11 +346,10 @@ var PlayFabApiTests = { PlayFabClientSDK.GetLeaderboard(clientRequest, PlayFabApiTests.CallbackWrapper("getLeaderboardCallbackC", getLeaderboardCallbackC, assert)); PlayFabServerSDK.GetLeaderboard(serverRequest, PlayFabApiTests.CallbackWrapper("getLeaderboardCallbackS", getLeaderboardCallbackS, assert)); }, - /// - /// CLIENT API - /// Test that AccountInfo can be requested - /// Parameter types tested: List of enum-as-strings converted to list of enums - /// + /* CLIENT API + * Test that AccountInfo can be requested + * Parameter types tested: List of enum-as-strings converted to list of enums + */ AccountInfo: function (assert) { var getDone = assert.async(); var getAccountInfoCallback = function (result, error) { @@ -389,10 +362,9 @@ var PlayFabApiTests = { }; PlayFabClientSDK.GetAccountInfo({}, PlayFabApiTests.CallbackWrapper("getAccountInfoCallback", getAccountInfoCallback, assert)); }, - /// - /// CLIENT API - /// Test that CloudScript can be properly set up and invoked - /// + /* CLIENT API + * Test that CloudScript can be properly set up and invoked + */ CloudScript: function (assert) { var hwDone = assert.async(); var helloWorldRequest = { @@ -409,10 +381,9 @@ var PlayFabApiTests = { }; PlayFabClientSDK.ExecuteCloudScript(helloWorldRequest, PlayFabApiTests.CallbackWrapper("helloWorldCallback", helloWorldCallback, assert)); }, - /// - /// CLIENT API - /// Test that CloudScript errors can be deciphered - /// + /* CLIENT API + * Test that CloudScript errors can be deciphered + */ CloudScriptError: function (assert) { var errDone = assert.async(); var errRequest = { @@ -429,10 +400,9 @@ var PlayFabApiTests = { }; PlayFabClientSDK.ExecuteCloudScript(errRequest, PlayFabApiTests.CallbackWrapper("errCallback", errCallback, assert)); }, - /// - /// CLIENT API - /// Test that the client can publish custom PlayStream events - /// + /* CLIENT API + * Test that the client can publish custom PlayStream events + */ WriteEvent: function (assert) { var writeEventDone = assert.async(); var writeEventRequest = { @@ -447,10 +417,80 @@ var PlayFabApiTests = { }; PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); }, - /// - /// CLIENT API - /// Test that the client can log out - /// + // TODO: Release Entity API + ///* ENTITY API + // * Test a sequence of calls that modifies saved data, + // * and verifies that the next sequential API call contains updated data. + // * Verify that the data is correctly modified on the next call. + // * Parameter types tested: string, Dictionary, DateTime + // */ + //GetEntityToken: function (assert): void { + // var getTokenDone = assert.async(); + // var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); + // PlayFabApiTests.testData.entityId = result.data.EntityId; + // PlayFabApiTests.testData.entityType = result.data.EntityType; + // getTokenDone(); + // }; + // var getTokenRequest = {}; + // PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); + //}, + ///* ENTITY API + // * Test a sequence of calls that modifies saved data, + // * and verifies that the next sequential API call contains updated data. + // * Verify that the data is correctly modified on the next call. + // * Parameter types tested: string, Dictionary, DateTime + // */ + //EntityObjects: function (assert): void { + // var getObjectRequest = { + // EntityId: PlayFabApiTests.testData.entityId, + // EntityType: PlayFabApiTests.testData.entityType, + // EscapeObject: true, + // }; + // // This test is always exactly 3 async calls + // var get1Done = assert.async(); + // var updateDone = assert.async(); + // var get2Done = assert.async(); + // var getObjectCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + // var actualtestNumber = null; + // for (var i = 0; i < result.data.Objects.length; i++) + // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) + // actualtestNumber = JSON.parse(result.data.Objects[i].EscapedObject); + // assert.ok(actualtestNumber != null && typeof actualtestNumber === "number", "Testing GetObjects contains target obj (as number)"); + // assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); + // get2Done(); + // }; + // var setObjectCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); + // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); + // updateDone(); + // }; + // var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + // PlayFabApiTests.testData.testNumber = null; + // for (var i = 0; i < result.data.Objects.length; i++) + // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) + // PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[i].EscapedObject); + // if (typeof PlayFabApiTests.testData.testNumber === "number") + // PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet + // PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds + // var updateDataRequest = { + // EntityId: PlayFabApiTests.testData.entityId, + // EntityType: PlayFabApiTests.testData.entityType, + // Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, Object: PlayFabApiTests.testData.testNumber }] + // }; + // PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); + // get1Done(); + // }; + // // Kick off this test process + // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); + //}, + /* CLIENT API + * Test that the client can log out + */ ForgetCredentials: function (assert) { assert.ok(PlayFabClientSDK.IsClientLoggedIn(), "Client should be logged in."); PlayFabClientSDK.ForgetAllCredentials(); diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index 6d6c492a..3072457b 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -4,6 +4,8 @@ interface IAction { (): void } var PlayFabApiTests = { testTitleDataFilename: "testTitleData.json", // Since you never want this to be public, a web page can ONLY load this if it's a local file in the same directory (Also can't convert to environment variable) + testRetryDelay: 250, + testRetryCount: 8, titleData: { titleId: null, // put titleId here developerSecretKey: null, // put secretKey here @@ -12,14 +14,15 @@ var PlayFabApiTests = { extraHeaders: {} }, testData: { - playFabId: null, // Filled during login - characterId: null, // Filled during character-access - testNumber: null // Used by several tests + entityToken: null, // Entity-Login: filled after login + entityType: null, // Entity-Login: filled after login + entityId: null, // Entity-Login: filled after login + playFabId: null, // Client-Login: filled during login + testNumber: null, // Arbitrary counter, used by several tests }, testConstants: { TEST_DATA_KEY: "testCounter", - TEST_STAT_NAME: "str", - CHAR_TEST_TYPE: "Fighter" + TEST_STAT_NAME: "str" }, ManualExecution: function (): void { @@ -43,18 +46,20 @@ var PlayFabApiTests = { QUnit.test("LoginOrRegister", PlayFabApiTests.LoginOrRegister); QUnit.test("LoginWithAdvertisingId", PlayFabApiTests.LoginWithAdvertisingId); - setTimeout(function (): void { PlayFabApiTests.PostLoginTests(0); }, 200); + setTimeout(function (): void { PlayFabApiTests.PostLoginTests(0); }, PlayFabApiTests.testRetryDelay); + setTimeout(function (): void { PlayFabApiTests.PostEntityTokenTests(0); }, PlayFabApiTests.testRetryDelay); }, PostLoginTests: function (count): void { - if (count > 5) + if (count > PlayFabApiTests.testRetryCount) return; if (!PlayFabClientSDK.IsClientLoggedIn()) { // Wait for login - setTimeout(function (): void { PlayFabApiTests.PostLoginTests(count + 1); }, 200); + setTimeout(function (): void { PlayFabApiTests.PostLoginTests(count + 1); }, PlayFabApiTests.testRetryDelay); } else { // Continue with other tests that require login + // QUnit.test("GetEntityToken", PlayFabApiTests.GetEntityToken); // TODO: Release Entity API QUnit.test("UserDataApi", PlayFabApiTests.UserDataApi); QUnit.test("PlayerStatisticsApi", PlayFabApiTests.PlayerStatisticsApi); QUnit.test("UserCharacter", PlayFabApiTests.UserCharacter); @@ -67,6 +72,19 @@ var PlayFabApiTests = { } }, + PostEntityTokenTests: function (count): void { + if (count > PlayFabApiTests.testRetryCount) + return; + + if (!PlayFab["_internalSettings"].entityToken) { + // Wait for login + setTimeout(function (): void { PlayFabApiTests.PostEntityTokenTests(count + 1); }, PlayFabApiTests.testRetryDelay); + } else { + // Continue with other tests that require login + // QUnit.test("EntityObjects", PlayFabApiTests.EntityObjects); // TODO: Release Entity API + } + }, + SetUp: function (inputTitleData): void { // All of these must exist for the titleData load to be successful var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null @@ -117,11 +135,10 @@ var PlayFabApiTests = { } }, - /// - /// CLIENT API - /// Try to deliberately log in with an inappropriate password, - /// and verify that the error displays as expected. - /// + /* CLIENT API + * Try to deliberately log in with an inappropriate password, + * and verify that the error displays as expected. + */ InvalidLogin: function (assert): void { var invalidDone = assert.async(); @@ -141,11 +158,10 @@ var PlayFabApiTests = { PlayFabClientSDK.LoginWithEmailAddress(invalidRequest, PlayFabApiTests.CallbackWrapper("invalidLoginCallback", invalidLoginCallback, assert)); }, - /// - /// CLIENT API - /// Try to deliberately register a user with an invalid email and password - /// Verify that errorDetails are populated correctly. - /// + /* CLIENT API + * Try to deliberately register a user with an invalid email and password + * Verify that errorDetails are populated correctly. + */ InvalidRegistration: function (assert): void { var invalidDone = assert.async(); @@ -169,10 +185,9 @@ var PlayFabApiTests = { PlayFabClientSDK.RegisterPlayFabUser(invalidRequest, PlayFabApiTests.CallbackWrapper("registerCallback", registerCallback, assert)); }, - /// - /// CLIENT API - /// Log in or create a user, track their PlayFabId - /// + /* CLIENT API + * Log in or create a user, track their PlayFabId + */ LoginOrRegister: function (assert): void { var loginRequest = { CustomId: PlayFab.buildIdentifier, @@ -191,10 +206,9 @@ var PlayFabApiTests = { PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert)); }, - /// - /// CLIENT API - /// Test that the login call sequence sends the AdvertisingId when set - /// + /* CLIENT API + * Test that the login call sequence sends the AdvertisingId when set + */ LoginWithAdvertisingId: function (assert): void { PlayFab.settings.advertisingIdType = PlayFab.settings.AD_TYPE_ANDROID_ID; PlayFab.settings.advertisingIdValue = "PlayFabTestId"; @@ -221,13 +235,12 @@ var PlayFabApiTests = { PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert)); }, - /// - /// CLIENT API - /// Test a sequence of calls that modifies saved data, - /// and verifies that the next sequential API call contains updated data. - /// Verify that the data is correctly modified on the next call. - /// Parameter types tested: string, Dictionary, DateTime - /// + /* CLIENT API + * Test a sequence of calls that modifies saved data, + * and verifies that the next sequential API call contains updated data. + * Verify that the data is correctly modified on the next call. + * Parameter types tested: string, Dictionary, DateTime + */ UserDataApi: function (assert): void { var getDataRequest = {}; // null also works @@ -276,13 +289,12 @@ var PlayFabApiTests = { PlayFabClientSDK.GetUserData(getDataRequest, PlayFabApiTests.CallbackWrapper("getDataCallback1", getDataCallback1, assert)); }, - /// - /// CLIENT API - /// Test a sequence of calls that modifies saved data, - /// and verifies that the next sequential API call contains updated data. - /// Verify that the data is saved correctly, and that specific types are tested - /// Parameter types tested: Dictionary - /// + /* CLIENT API + * Test a sequence of calls that modifies saved data, + * and verifies that the next sequential API call contains updated data. + * Verify that the data is saved correctly, and that specific types are tested + * Parameter types tested: Dictionary + */ PlayerStatisticsApi: function (assert): void { var getStatsRequest = {}; // null also works @@ -329,66 +341,25 @@ var PlayFabApiTests = { PlayFabClientSDK.GetPlayerStatistics(getStatsRequest, PlayFabApiTests.CallbackWrapper("getStatsCallback1", getStatsCallback1, assert)); }, - /// - /// SERVER API - /// Get or create the given test character for the given user - /// Parameter types tested: Contained-Classes, string - /// + /* CLIENT API + * Get or create the given test character for the given user + * Parameter types tested: Contained-Classes, string + */ UserCharacter: function (assert): void { var getCharsRequest = {}; - var grantCharRequest = { - TitleId: PlayFabApiTests.titleData.titleId, - PlayFabId: PlayFabApiTests.testData.playFabId, - CharacterName: PlayFabApiTests.titleData.characterName, - CharacterType: PlayFabApiTests.testConstants.CHAR_TEST_TYPE - }; - - // We don't know at this point how many async calls we'll make - var getDone = null; - var grantDone = null; + var getDone = assert.async(); - var mandatoryGetCharsCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // GetChars MUST succeed at some point during this test + var getCharsCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetChars result"); - - for (var i in result.data.Characters) - if (result.data.Characters[i].CharacterName === PlayFabApiTests.titleData.characterName) - PlayFabApiTests.testData.characterId = result.data.Characters[i].CharacterId; // Save the characterId, it will be used in other tests - - assert.ok(PlayFabApiTests.testData.characterId != null, "Searching for " + PlayFabApiTests.titleData.characterName + " on this account."); getDone(); }; - var grantCharCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // Second character callback MUST succeed - PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GrantCharacter result"); - - // Get chars again, this time with the newly granted character - getDone = assert.async(); - PlayFabClientSDK.GetAllUsersCharacters(grantCharRequest, PlayFabApiTests.CallbackWrapper("mandatoryGetCharsCallback", mandatoryGetCharsCallback, assert)); - grantDone(); - }; - var optionalGetCharsCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // First get chars falls back upon grant-char if target character not present - if (result.data.Characters.length === 0) { - // Register the character and try again - grantDone = assert.async(); - PlayFabServerSDK.GrantCharacterToUser(grantCharRequest, PlayFabApiTests.CallbackWrapper("grantCharCallback", grantCharCallback, assert)); - getDone(); - } - else { - // Confirm the successful login - mandatoryGetCharsCallback(result, error); - } - }; - getDone = assert.async(); - PlayFabClientSDK.GetAllUsersCharacters(getCharsRequest, PlayFabApiTests.CallbackWrapper("optionalGetCharsCallback", optionalGetCharsCallback, assert)); + PlayFabClientSDK.GetAllUsersCharacters(getCharsRequest, PlayFabApiTests.CallbackWrapper("getCharsCallback", getCharsCallback, assert)); }, - /// - /// CLIENT AND SERVER API - /// Test that leaderboard results can be requested - /// Parameter types tested: List of contained-classes - /// + /* CLIENT AND SERVER API + * Test that leaderboard results can be requested + * Parameter types tested: List of contained-classes + */ LeaderBoard: function (assert): void { var clientRequest = { MaxResultsCount: 3, @@ -426,11 +397,10 @@ var PlayFabApiTests = { PlayFabServerSDK.GetLeaderboard(serverRequest, PlayFabApiTests.CallbackWrapper("getLeaderboardCallbackS", getLeaderboardCallbackS, assert)); }, - /// - /// CLIENT API - /// Test that AccountInfo can be requested - /// Parameter types tested: List of enum-as-strings converted to list of enums - /// + /* CLIENT API + * Test that AccountInfo can be requested + * Parameter types tested: List of enum-as-strings converted to list of enums + */ AccountInfo: function (assert): void { var getDone = assert.async(); @@ -446,10 +416,9 @@ var PlayFabApiTests = { PlayFabClientSDK.GetAccountInfo({}, PlayFabApiTests.CallbackWrapper("getAccountInfoCallback", getAccountInfoCallback, assert)); }, - /// - /// CLIENT API - /// Test that CloudScript can be properly set up and invoked - /// + /* CLIENT API + * Test that CloudScript can be properly set up and invoked + */ CloudScript: function (assert): void { var hwDone = assert.async(); @@ -470,10 +439,9 @@ var PlayFabApiTests = { PlayFabClientSDK.ExecuteCloudScript(helloWorldRequest, PlayFabApiTests.CallbackWrapper("helloWorldCallback", helloWorldCallback, assert)); }, - /// - /// CLIENT API - /// Test that CloudScript errors can be deciphered - /// + /* CLIENT API + * Test that CloudScript errors can be deciphered + */ CloudScriptError: function (assert): void { var errDone = assert.async(); @@ -494,10 +462,9 @@ var PlayFabApiTests = { PlayFabClientSDK.ExecuteCloudScript(errRequest, PlayFabApiTests.CallbackWrapper("errCallback", errCallback, assert)); }, - /// - /// CLIENT API - /// Test that the client can publish custom PlayStream events - /// + /* CLIENT API + * Test that the client can publish custom PlayStream events + */ WriteEvent: function (assert): void { var writeEventDone = assert.async(); @@ -516,10 +483,89 @@ var PlayFabApiTests = { PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); }, - /// - /// CLIENT API - /// Test that the client can log out - /// + // TODO: Release Entity API + ///* ENTITY API + // * Test a sequence of calls that modifies saved data, + // * and verifies that the next sequential API call contains updated data. + // * Verify that the data is correctly modified on the next call. + // * Parameter types tested: string, Dictionary, DateTime + // */ + //GetEntityToken: function (assert): void { + // var getTokenDone = assert.async(); + // var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); + // PlayFabApiTests.testData.entityId = result.data.EntityId; + // PlayFabApiTests.testData.entityType = result.data.EntityType; + // getTokenDone(); + // }; + + // var getTokenRequest = {}; + // PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); + //}, + + ///* ENTITY API + // * Test a sequence of calls that modifies saved data, + // * and verifies that the next sequential API call contains updated data. + // * Verify that the data is correctly modified on the next call. + // * Parameter types tested: string, Dictionary, DateTime + // */ + //EntityObjects: function (assert): void { + // var getObjectRequest = { + // EntityId: PlayFabApiTests.testData.entityId, + // EntityType: PlayFabApiTests.testData.entityType, + // EscapeObject: true, + // }; + + // // This test is always exactly 3 async calls + // var get1Done = assert.async(); + // var updateDone = assert.async(); + // var get2Done = assert.async(); + + // var getObjectCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + // var actualtestNumber = null; + // for (var i = 0; i < result.data.Objects.length; i++) + // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) + // actualtestNumber = JSON.parse(result.data.Objects[i].EscapedObject); + // assert.ok(actualtestNumber != null && typeof actualtestNumber === "number", "Testing GetObjects contains target obj (as number)"); + + // assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); + // get2Done(); + // }; + // var setObjectCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); + + // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); + // updateDone(); + // }; + // var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + // PlayFabApiTests.testData.testNumber = null; + // for (var i = 0; i < result.data.Objects.length; i++) + // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) + // PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[i].EscapedObject); + // if (typeof PlayFabApiTests.testData.testNumber === "number") + // PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet + // PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds + + // var updateDataRequest = { + // EntityId: PlayFabApiTests.testData.entityId, + // EntityType: PlayFabApiTests.testData.entityType, + // Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, Object: PlayFabApiTests.testData.testNumber }] + // }; + // PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); + // get1Done(); + // }; + + // // Kick off this test process + // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); + //}, + + /* CLIENT API + * Test that the client can log out + */ ForgetCredentials: function (assert): void { assert.ok(PlayFabClientSDK.IsClientLoggedIn(), "Client should be logged in."); PlayFabClientSDK.ForgetAllCredentials(); diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 1e983a09..1c9db004 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -1,4 +1,4 @@ - + @@ -12,6 +12,7 @@ + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ec514e57..d90677ba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -135,598 +137,513 @@ PlayFab.GenerateErrorReport = function (error) { }; PlayFab.AdminApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, AbortTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { + CheckLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CheckLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreateCloudScriptTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteContent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteStore: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteTitle: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCloudScriptRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCloudScriptTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCloudScriptVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetContentList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetContentUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetDataReport: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerSharedSecrets: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetServerBuildInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTaskInstances: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTasks: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { + IncrementLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ModifyServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RefundPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveServerBuild: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResetPassword: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetPassword", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResetUserStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ResolvePurchaseDispute: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RunTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPublishedRevision: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetupPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePolicy: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d31c6021..6e8acc61 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -141,59 +143,51 @@ PlayFab.ClientApi = { }, ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; }, AcceptTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddGenericID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddOrUpdateContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddUsernamePassword: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AndroidDevicePushNotificationRegistration: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, AttributeInstall: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - var overloadCallback = function (result, error) { // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully PlayFab.settings.advertisingIdType += "_Successful"; @@ -206,389 +200,329 @@ PlayFab.ClientApi = { CancelTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ConfirmPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetCurrentGames: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetFriendLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetGameServerRegions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { + GetPaymentToken: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPaymentToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayerTrades: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromGoogleIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetTitlePublicKey: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback, customData, extraHeaders); }, GetTradeStatus: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, LinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, 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; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -602,7 +536,6 @@ PlayFab.ClientApi = { LoginWithCustomID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -616,7 +549,6 @@ PlayFab.ClientApi = { LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -630,7 +562,6 @@ PlayFab.ClientApi = { LoginWithFacebook: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -644,7 +575,6 @@ PlayFab.ClientApi = { LoginWithGameCenter: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -658,7 +588,6 @@ PlayFab.ClientApi = { LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -672,7 +601,6 @@ PlayFab.ClientApi = { LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -686,7 +614,6 @@ PlayFab.ClientApi = { LoginWithKongregate: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -700,7 +627,6 @@ PlayFab.ClientApi = { LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -714,7 +640,6 @@ PlayFab.ClientApi = { LoginWithSteam: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -728,7 +653,6 @@ PlayFab.ClientApi = { LoginWithTwitch: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -742,7 +666,6 @@ PlayFab.ClientApi = { LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -756,43 +679,36 @@ PlayFab.ClientApi = { Matchmake: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, OpenTrade: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, PayForPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, PurchaseItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RegisterPlayFabUser: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -806,7 +722,6 @@ PlayFab.ClientApi = { RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; - var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; @@ -820,234 +735,200 @@ PlayFab.ClientApi = { RemoveContactEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RemoveGenericID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, - ReportPlayer: function (request, callback, customData, extraHeaders) { + ReportDeviceInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportDeviceInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + ReportPlayer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, RestoreIOSPurchases: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, StartPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkCustomID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkGoogleAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkKongregate: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkTwitch: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateAmazonIAPReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateGooglePlayPurchase: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateIOSReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, ValidateWindowsStoreReceipt: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, @@ -1068,7 +949,7 @@ PlayFab.ClientApi = { var PlayFabClientSDK = PlayFab.ClientApi; PlayFab.RegisterWithPhaser = function() { - if ( typeof Phaser === 'undefined') + if ( typeof Phaser === "undefined" ) return; Phaser.Plugin.PlayFab = function (game, parent) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 073b4793..52fea92a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -135,34 +137,33 @@ PlayFab.GenerateErrorReport = function (error) { }; PlayFab.MatchmakerApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, AuthUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, PlayerJoined: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, PlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UserInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b9409026..6c26d9bc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -20,10 +20,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { + entityToken: null, sessionTicket: null, productionServerUrl: ".playfabapi.com", 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 () { @@ -39,7 +41,7 @@ if(!PlayFab._internalSettings) { try { xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]); } catch (e) { - console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey]); + console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e); } } }, @@ -58,8 +60,8 @@ if(!PlayFab._internalSettings) { // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); - xhr.setRequestHeader('Content-Type', 'application/json'); - xhr.setRequestHeader('X-PlayFabSDK', "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion); + 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); @@ -123,7 +125,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.16.171106"; +PlayFab.sdkVersion = "1.17.171127"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -135,664 +137,558 @@ PlayFab.GenerateErrorReport = function (error) { }; PlayFab.ServerApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, AddCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AuthenticateSessionTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, AwardSteamAchievement: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, DeregisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboardAroundUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ModifyItemUses: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, MoveItemToCharacterFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, MoveItemToCharacterFromUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, MoveItemToUserFromCharacter: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RegisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, ReportPlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendEmailFromTemplate: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendEmailFromTemplate", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SendPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SubtractCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserInventoryItemCustomData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 969ac3e6..b5e23bdd 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2,6 +2,8 @@ declare module PlayFabAdminModule { export interface IPlayFabAdmin { + ForgetAllCredentials(): void; + /** * Abort an ongoing task instance. * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance @@ -39,6 +41,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/BanUsers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks the global count for the limited edition item. + * https://api.playfab.com/Documentation/Admin/method/CheckLimitedEditionItemAvailability + */ + CheckLimitedEditionItemAvailability(request: PlayFabAdminModels.CheckLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. * https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask @@ -296,6 +303,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Increases the global count for the given scarce resource. + * https://api.playfab.com/Documentation/Admin/method/IncrementLimitedEditionItemAvailability + */ + IncrementLimitedEditionItemAvailability(request: PlayFabAdminModels.IncrementLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Resets the indicated statistic, removing all player entries for it and backing up the old values. * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion @@ -872,6 +884,22 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ + export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Which catalog is being updated. If null, uses the default catalog. */ + CatalogVersion?: string; + /** The item to check for. */ + ItemId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ + export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { + /** The amount of the specified resource remaining. */ + Amount: number; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ @@ -1951,7 +1979,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2112,7 +2140,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2194,7 +2222,7 @@ declare module PlayFabAdminModels { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2238,6 +2266,22 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ + export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Amount to increase availability by. */ + Amount: number; + /** Which catalog is being updated. If null, uses the default catalog. */ + CatalogVersion?: string; + /** The item which needs more availability. */ + ItemId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ + export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ @@ -2262,7 +2306,7 @@ declare module PlayFabAdminModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** @@ -2289,7 +2333,7 @@ declare module PlayFabAdminModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2656,8 +2700,6 @@ declare module PlayFabAdminModels { TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** List of the player's virtual currency balances */ - VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } @@ -3499,7 +3541,7 @@ declare module PlayFabAdminModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3528,7 +3570,7 @@ declare module PlayFabAdminModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3774,15 +3816,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyBalanceModel */ - export interface VirtualCurrencyBalanceModel { - /** Name of the virtual currency */ - Currency?: string; - /** Balance of the virtual currency */ - TotalValue: number; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index afd9d4fc..65174cc9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3,6 +3,7 @@ declare module PlayFabClientModule { export interface IPlayFabClient { IsClientLoggedIn(): boolean; + ForgetAllCredentials(): void; /** @@ -26,7 +27,7 @@ declare module PlayFabClientModule { */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds or updates a contact email to the player's profile + * Adds or updates a contact email to the player's profile. * https://api.playfab.com/Documentation/Client/method/AddOrUpdateContactEmail */ AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -190,6 +191,13 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters */ GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * 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://api.playfab.com/Documentation/Client/method/GetPaymentToken + */ + GetPaymentToken(request: PlayFabClientModels.GetPaymentTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See * https://api.playfab.com/docs/using-photon-with-playfab/ for more details. @@ -536,7 +544,7 @@ declare module PlayFabClientModule { */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Removes a contact email from the player's profile + * Removes a contact email from the player's profile. * https://api.playfab.com/Documentation/Client/method/RemoveContactEmail */ RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -558,6 +566,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Write a PlayStream event to describe the provided player device information. This API method is not designed to be + * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. + * https://api.playfab.com/Documentation/Client/method/ReportDeviceInfo + */ + ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. @@ -1159,7 +1173,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -1624,6 +1638,13 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ + export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ + Info?: { [key: string]: any }; + + } + type EmailVerificationStatus = "Unverified" | "Pending" | "Confirmed"; @@ -1766,7 +1787,7 @@ declare module PlayFabClientModels { /** stastic used to match this game in player statistic matchmaking */ StatisticName?: string; /** game session tags */ - Tags?: { [key: string]: string }; + Tags?: { [key: string]: string | null }; } @@ -2132,6 +2153,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ + export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of service to provide the payment token. Allowed Values are: xsolla */ + TokenProvider: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ + export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { + /** PlayFab's purchase order identifier. */ + OrderId?: string; + /** The token from provider. */ + ProviderToken?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ @@ -2218,7 +2255,7 @@ declare module PlayFabClientModels { /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; /** Title data for this title. */ - TitleData?: { [key: string]: string }; + TitleData?: { [key: string]: string | null }; /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; /** The version of the UserData that was returned. */ @@ -2449,7 +2486,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2555,7 +2592,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2720,7 +2757,7 @@ declare module PlayFabClientModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -3473,8 +3510,6 @@ declare module PlayFabClientModels { TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** List of the player's virtual currency balances */ - VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } @@ -4295,7 +4330,7 @@ declare module PlayFabClientModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -4348,7 +4383,7 @@ declare module PlayFabClientModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -4372,7 +4407,7 @@ declare module PlayFabClientModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -4710,15 +4745,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyBalanceModel */ - export interface VirtualCurrencyBalanceModel { - /** Name of the virtual currency */ - Currency?: string; - /** Balance of the virtual currency */ - TotalValue: number; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 68901ca2..af6e0643 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -2,6 +2,8 @@ declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { + ForgetAllCredentials(): void; + /** * Validates a user with the PlayFab service * https://api.playfab.com/Documentation/Matchmaker/method/AuthUser @@ -75,7 +77,7 @@ declare module PlayFabMatchmakerModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -164,7 +166,7 @@ declare module PlayFabMatchmakerModels { /** Port number for communication with the Game Server Instance. */ ServerPort: string; /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string }; + Tags?: { [key: string]: string | null }; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 42fad254..596fff6c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2,6 +2,8 @@ declare module PlayFabServerModule { export interface IPlayFabServer { + ForgetAllCredentials(): void; + /** * Increments the character's balance of the specified virtual currency by the stated amount * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency @@ -1978,7 +1980,7 @@ declare module PlayFabServerModels { /** List of statistics for this player. */ PlayerStatistics?: StatisticValue[]; /** Title data for this title. */ - TitleData?: { [key: string]: string }; + TitleData?: { [key: string]: string | null }; /** User specific custom data. */ UserData?: { [key: string]: UserDataRecord }; /** The version of the UserData that was returned. */ @@ -2153,7 +2155,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2232,7 +2234,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; } @@ -2360,7 +2362,7 @@ declare module PlayFabServerModels { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2456,7 +2458,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** @@ -2483,7 +2485,7 @@ declare module PlayFabServerModels { /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; /** A set of custom key-value pairs on the inventory item. */ - CustomData?: { [key: string]: string }; + CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; /** Timestamp for when this instance will expire. */ @@ -2839,8 +2841,6 @@ declare module PlayFabServerModels { TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ ValuesToDate?: ValueToDateModel[]; - /** List of the player's virtual currency balances */ - VirtualCurrencyBalances?: VirtualCurrencyBalanceModel[]; } @@ -2921,11 +2921,6 @@ declare module PlayFabServerModels { Icon?: string; /** Content of the message (all platforms) */ Message: string; - /** - * This field was solely for use with the PlayFab custom Push Plugin, which has been deprecated in favor of the supported - * platform-specific fields - */ - ScheduleDate?: string; /** Sound file to play with the message (all platforms) */ Sound?: string; /** Title/Subject of the message. Not supported for iOS */ @@ -3048,7 +3043,7 @@ declare module PlayFabServerModels { /** Port number for communication with the Game Server Instance. */ ServerPort: string; /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string }; + Tags?: { [key: string]: string | null }; } @@ -3294,7 +3289,7 @@ declare module PlayFabServerModels { * Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with * the Game Server Instance. */ - Tags: { [key: string]: string }; + Tags: { [key: string]: string | null }; } @@ -3596,7 +3591,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3660,7 +3655,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3684,7 +3679,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3713,7 +3708,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language * constraints. Use this to delete the keys directly. @@ -3732,7 +3727,7 @@ declare module PlayFabServerModels { * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. */ - Data?: { [key: string]: string }; + Data?: { [key: string]: string | null }; /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; /** @@ -3964,15 +3959,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyBalanceModel */ - export interface VirtualCurrencyBalanceModel { - /** Name of the virtual currency */ - Currency?: string; - /** Balance of the virtual currency */ - TotalValue: number; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** From 82b3117f9a9ad233d82256d1f9f59e3b59f04399 Mon Sep 17 00:00:00 2001 From: nitreo Date: Thu, 4 Jan 2018 05:49:22 +0500 Subject: [PATCH 050/253] Update README.md (#81) --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef02aee4..39c1e079 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,21 @@ Our Developer Success Team can assist with answering any questions as well as pr [Forums, Support and Knowledge Base](https://community.playfab.com/index.html) +## 7. NPM support: +You may install JavaScript SDK with npm by running : -## 5. Acknowledgements +`npm install playfab-web-sdk` + +Notice that it will install web JavaScript package as opposed to `npm install playfab` which will install NodeJS SDK. + +While npm is generally used for server side packages, you may use one of popular build tools to mix NPM installed packages into your clientside JS codebase. Consider Babel, Webpack, Gulp or Grunt for different approaches to building and automation. + +## 6. Acknowledgements [dylanh724](https://www.github.com/dylanh724) - The previous tutorial before the current [Getting Started Guide](JavaScriptGettingStarted.md) -## 6. Copyright and Licensing Information: +## 7. Copyright and Licensing Information: Apache License -- Version 2.0, January 2004 From b536d7dd42fe02481c521616a3688b706d8dcdab Mon Sep 17 00:00:00 2001 From: Matt Augustine Date: Thu, 4 Jan 2018 11:20:41 -0800 Subject: [PATCH 051/253] Create license.txt --- PlayFabTestingExample/code.jquery.com/qunit/license.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 PlayFabTestingExample/code.jquery.com/qunit/license.txt diff --git a/PlayFabTestingExample/code.jquery.com/qunit/license.txt b/PlayFabTestingExample/code.jquery.com/qunit/license.txt new file mode 100644 index 00000000..d7fa09de --- /dev/null +++ b/PlayFabTestingExample/code.jquery.com/qunit/license.txt @@ -0,0 +1,9 @@ +Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. From 249f9fbd4c78a052109a0762f8fe21fe17178c77 Mon Sep 17 00:00:00 2001 From: Matt Augustine Date: Thu, 4 Jan 2018 20:25:24 -0800 Subject: [PATCH 052/253] Update license header for dependency --- licenses/qunit-license.txt | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/licenses/qunit-license.txt b/licenses/qunit-license.txt index 13cef369..d7fa09de 100644 --- a/licenses/qunit-license.txt +++ b/licenses/qunit-license.txt @@ -1,35 +1,9 @@ -Copyright jQuery Foundation and other contributors, https://jquery.org/ +Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/qunit +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -The following license applies to all parts of this software except as -documented below: +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -==== +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -All files located in the node_modules directory are externally maintained -libraries used by this software which have their own licenses; we -recommend you read them, as their terms may differ from the terms above. \ No newline at end of file +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. From da3148d5686ff34935dfc94258a66d9ae75edb54 Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Mon, 22 Jan 2018 21:22:19 +0000 Subject: [PATCH 053/253] https://api.playfab.com/releaseNotes/#180122 --- PlayFabSdk/package.json | 10 ++++++++++ PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 3 ++- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 3 ++- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 3 ++- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 3 ++- PlayFabTestingExample/PlayFabApiTest.js | 6 +----- PlayFabTestingExample/PlayFabApiTest.ts | 4 +--- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 3 ++- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 3 ++- .../src/PlayFab/PlayFabMatchmakerApi.js | 3 ++- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 3 ++- 11 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 PlayFabSdk/package.json diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json new file mode 100644 index 00000000..219cefd0 --- /dev/null +++ b/PlayFabSdk/package.json @@ -0,0 +1,10 @@ +{ + "name": "playfab-web-sdk", + "version": "1.17.180122", + "description": "Playfab SDK for JS client applications", + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/playfab/JavaScriptSDK" + } +} diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index d90677ba..b6e38713 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6e8acc61..25b55136 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 52fea92a..b8928f92 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 6c26d9bc..fd3f66da 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index b2dd77b1..7a7c6ebe 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -6,7 +6,6 @@ var PlayFabApiTests = { titleId: null, developerSecretKey: null, userEmail: "put valid email associated with an existing account here", - characterName: "put any character name here", extraHeaders: {} }, testData: { @@ -70,16 +69,13 @@ var PlayFabApiTests = { setTimeout(function () { PlayFabApiTests.PostEntityTokenTests(count + 1); }, PlayFabApiTests.testRetryDelay); } else { - // Continue with other tests that require login - // QUnit.test("EntityObjects", PlayFabApiTests.EntityObjects); // TODO: Release Entity API } }, SetUp: function (inputTitleData) { // All of these must exist for the titleData load to be successful var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null - && inputTitleData.hasOwnProperty("userEmail") - && inputTitleData.hasOwnProperty("characterName"); + && inputTitleData.hasOwnProperty("userEmail"); if (titleDataValid) PlayFabApiTests.titleData = inputTitleData; else diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index 3072457b..9645c0b6 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -10,7 +10,6 @@ var PlayFabApiTests = { titleId: null, // put titleId here developerSecretKey: null, // put secretKey here userEmail: "put valid email associated with an existing account here", - characterName: "put any character name here", extraHeaders: {} }, testData: { @@ -89,8 +88,7 @@ var PlayFabApiTests = { // All of these must exist for the titleData load to be successful var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null - && inputTitleData.hasOwnProperty("userEmail") - && inputTitleData.hasOwnProperty("characterName"); + && inputTitleData.hasOwnProperty("userEmail"); if (titleDataValid) PlayFabApiTests.titleData = inputTitleData; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index d90677ba..b6e38713 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6e8acc61..25b55136 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 52fea92a..b8928f92 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 6c26d9bc..fd3f66da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,6 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, + sdkVersion: "1.17.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.171127"; +PlayFab.sdkVersion = "1.17.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 3ab081fedea1b2a43ec49125b487081e2ccf95ea Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Mon, 22 Jan 2018 22:51:30 +0000 Subject: [PATCH 054/253] https://api.playfab.com/releaseNotes/#180122 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 219cefd0..ba4d23f1 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.17.180122", + "version": "1.18.180122", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index b6e38713..08804e57 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 25b55136..90e4bd3f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index b8928f92..10f9e8c4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fd3f66da..c45841a5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index b6e38713..08804e57 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 25b55136..90e4bd3f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index b8928f92..10f9e8c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fd3f66da..c45841a5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.17.180122", + sdkVersion: "1.18.180122", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.17.180122"; +PlayFab.sdkVersion = "1.18.180122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 1524120c373127ad12815e2e73a94712c082be61 Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Wed, 14 Feb 2018 00:29:25 +0000 Subject: [PATCH 055/253] https://api.playfab.com/releaseNotes/#180213 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 7 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 55 ++++++++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 7 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 55 ++++++++++++++++++- 13 files changed, 131 insertions(+), 27 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index ba4d23f1..905319a9 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.18.180122", + "version": "1.19.180213", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 08804e57..1363f24c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 90e4bd3f..4b03d5a6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 10f9e8c4..76e81ca6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c45841a5..65c2b971 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b5e23bdd..8f842036 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -395,8 +395,9 @@ declare module PlayFabAdminModule { */ RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to - * change the password + * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to + * change the password.If an account recovery email template ID is provided, an email using the custom email template will + * be used. * https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -3086,6 +3087,8 @@ declare module PlayFabAdminModels { export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 65174cc9..ef91f359 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -585,7 +585,8 @@ declare module PlayFabClientModule { RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to - * change the password + * change the password.If an account recovery email template ID is provided, an email using the custom email template will + * be used. * https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -774,8 +775,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a - * gift, this will be null. + * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this + * will be null. */ AcceptedInventoryInstanceIds?: string[]; /** Player who opened the trade. */ @@ -1654,6 +1655,19 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ + export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identifier of the entity the token was issued for. */ + EntityId?: string; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The type of entity the token was issued for. */ + EntityType?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ @@ -3022,6 +3036,11 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { + /** + * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and + * returned. + */ + EntityToken?: EntityTokenResponse; /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ @@ -3049,6 +3068,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3071,6 +3092,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3087,6 +3110,8 @@ declare module PlayFabClientModels { Email: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3107,6 +3132,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3125,6 +3152,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Unique Game Center player id. */ PlayerId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3145,6 +3174,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3172,6 +3203,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3196,6 +3229,8 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3210,6 +3245,8 @@ declare module PlayFabClientModels { export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3230,6 +3267,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3255,6 +3294,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3271,6 +3312,8 @@ declare module PlayFabClientModels { ChallengeSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** @@ -3668,6 +3711,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3709,6 +3754,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** PublicKey generated by Windows Hello. */ @@ -3817,6 +3864,8 @@ declare module PlayFabClientModels { export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 08804e57..1363f24c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 90e4bd3f..4b03d5a6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 10f9e8c4..76e81ca6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c45841a5..65c2b971 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.18.180122", + sdkVersion: "1.19.180213", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.18.180122"; +PlayFab.sdkVersion = "1.19.180213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b5e23bdd..8f842036 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -395,8 +395,9 @@ declare module PlayFabAdminModule { */ RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Forces an email to be sent to the registered email address for the specified account, with a link allowing the user to - * change the password + * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to + * change the password.If an account recovery email template ID is provided, an email using the custom email template will + * be used. * https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -3086,6 +3087,8 @@ declare module PlayFabAdminModels { export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 65174cc9..ef91f359 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -585,7 +585,8 @@ declare module PlayFabClientModule { RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to - * change the password + * change the password.If an account recovery email template ID is provided, an email using the custom email template will + * be used. * https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail */ SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -774,8 +775,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Items from the accepting player's or guild's inventory in exchange for the offered items in the trade. In the case of a - * gift, this will be null. + * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this + * will be null. */ AcceptedInventoryInstanceIds?: string[]; /** Player who opened the trade. */ @@ -1654,6 +1655,19 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ + export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identifier of the entity the token was issued for. */ + EntityId?: string; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The type of entity the token was issued for. */ + EntityType?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ @@ -3022,6 +3036,11 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { + /** + * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and + * returned. + */ + EntityToken?: EntityTokenResponse; /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ @@ -3049,6 +3068,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3071,6 +3092,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3087,6 +3110,8 @@ declare module PlayFabClientModels { Email: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3107,6 +3132,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3125,6 +3152,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Unique Game Center player id. */ PlayerId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3145,6 +3174,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3172,6 +3203,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3196,6 +3229,8 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3210,6 +3245,8 @@ declare module PlayFabClientModels { export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3230,6 +3267,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3255,6 +3294,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3271,6 +3312,8 @@ declare module PlayFabClientModels { ChallengeSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** @@ -3668,6 +3711,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3709,6 +3754,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** PublicKey generated by Windows Hello. */ @@ -3817,6 +3864,8 @@ declare module PlayFabClientModels { export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. From cfb1b687ed50ca81ae3e3b39ddbc55714d80b23e Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Wed, 14 Mar 2018 09:04:38 -0700 Subject: [PATCH 056/253] Removing unused file --- .arcconfig | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .arcconfig diff --git a/.arcconfig b/.arcconfig deleted file mode 100644 index 1f3cfec7..00000000 --- a/.arcconfig +++ /dev/null @@ -1,3 +0,0 @@ -{ - "phabricator.uri" : "https://phabricator.playfab.com/" -} \ No newline at end of file From 926cf2cd7a5c42593cfff39ddaafccdeeb87fa1e Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Fri, 16 Mar 2018 22:23:35 +0000 Subject: [PATCH 057/253] https://api.playfab.com/releaseNotes/#180316 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 9 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 121 +- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 341 +++++ .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 9 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 896 ++++++++++---- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 727 +++++------ .../src/Typings/PlayFab/PlayFabEntityApi.d.ts | 1097 +++++++++++++++++ .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 32 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 969 ++++++++++----- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 + PlayFabTestingExample/PlayFabApiTest.csproj | 4 +- PlayFabTestingExample/PlayFabApiTest.js | 114 +- PlayFabTestingExample/PlayFabApiTest.ts | 128 +- .../src/PlayFab/PlayFabAdminApi.js | 9 +- .../src/PlayFab/PlayFabClientApi.js | 121 +- .../src/PlayFab/PlayFabEntityApi.js | 341 +++++ .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 9 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 896 ++++++++++---- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 727 +++++------ .../src/typings/PlayFab/PlayFabEntityApi.d.ts | 1097 +++++++++++++++++ .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 32 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 969 ++++++++++----- 26 files changed, 6624 insertions(+), 2040 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabEntityApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 905319a9..a966dd1d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.19.180213", + "version": "1.20.180316", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 1363f24c..3044e504 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -513,6 +513,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + RevokeInventoryItems: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + RunTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 4b03d5a6..48a043d4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -525,9 +525,12 @@ PlayFab.ClientApi = { LoginWithAndroidDeviceID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -538,9 +541,12 @@ PlayFab.ClientApi = { LoginWithCustomID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -551,9 +557,12 @@ PlayFab.ClientApi = { LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -564,9 +573,12 @@ PlayFab.ClientApi = { LoginWithFacebook: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -577,9 +589,12 @@ PlayFab.ClientApi = { LoginWithGameCenter: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -590,9 +605,12 @@ PlayFab.ClientApi = { LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -603,9 +621,12 @@ PlayFab.ClientApi = { LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -616,9 +637,12 @@ PlayFab.ClientApi = { LoginWithKongregate: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -629,9 +653,12 @@ PlayFab.ClientApi = { LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -642,9 +669,12 @@ PlayFab.ClientApi = { LoginWithSteam: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -655,9 +685,12 @@ PlayFab.ClientApi = { LoginWithTwitch: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -668,9 +701,12 @@ PlayFab.ClientApi = { LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -724,9 +760,12 @@ PlayFab.ClientApi = { RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js new file mode 100644 index 00000000..419c24ee --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -0,0 +1,341 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.20.180316", + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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 (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.20.180316"; +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.EntityApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + AbortFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + AcceptGroupApplication: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + AcceptGroupInvitation: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + AddMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AddMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ApplyToGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ApplyToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + BlockEntity: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/BlockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ChangeMemberRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ChangeMemberRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + FinalizeFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetEntityToken: function (request, callback, customData, extraHeaders) { + var authKey = null; var authValue = null; + if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } + if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } + var overloadCallback = function (result, error) { + if (result != null && result.data.EntityToken != null) + PlayFab._internalSettings.entityToken = result.data.EntityToken; + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback); + }, + + GetFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/GetGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetProfile: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + InitiateFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + InviteToGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/InviteToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + IsMember: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/IsMember", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupApplications: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupApplications", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupBlocks: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupBlocks", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupInvitations: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupInvitations", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListMembership: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembership", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListMembershipOpportunities: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembershipOpportunities", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RemoveGroupApplication: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RemoveGroupInvitation: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RemoveMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetProfilePolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UnblockEntity: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UnblockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UpdateGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UpdateRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabEntitySDK = PlayFab.EntityApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 76e81ca6..77354579 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 65c2b971..13ed8b0c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -528,6 +528,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + RevokeInventoryItems: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 8f842036..9c702432 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -389,6 +389,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Revokes access for up to 25 items across multiple users and characters. + * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItems + */ + RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Run a task immediately regardless of its schedule. * https://api.playfab.com/Documentation/Admin/method/RunTask @@ -535,14 +540,14 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { /** ID of the action to perform on each player in segment. */ ActionId: string; @@ -551,7 +556,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -580,7 +585,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -591,7 +596,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -602,7 +607,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Body text of the news */ Body: string; @@ -613,14 +618,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique id of the new news item */ NewsId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -629,12 +634,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; @@ -656,7 +661,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -687,7 +692,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -701,7 +706,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) @@ -711,7 +716,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -720,7 +725,7 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -741,7 +746,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -756,26 +761,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -834,7 +839,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -848,7 +853,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -866,7 +871,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -885,7 +890,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; @@ -894,14 +899,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { /** The amount of the specified resource remaining. */ Amount: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -913,7 +918,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { /** Argument to pass to the CloudScript function. */ Argument?: any; @@ -922,7 +927,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -945,7 +950,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { /** Most recent revision for this Cloud Script version */ LatestRevision: number; @@ -960,7 +965,7 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -971,7 +976,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -982,7 +987,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { /** Key of the content */ Key?: string; @@ -1251,7 +1256,7 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1266,7 +1271,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1281,21 +1286,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ FriendlyName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -1306,14 +1311,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1483,38 +1488,38 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Key of the content item to be deleted */ Key: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1523,29 +1528,29 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1557,7 +1562,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1569,12 +1574,12 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1619,7 +1624,7 @@ declare module PlayFabAdminModels { | "Processing" | "FailedToProcess"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { /** specific game mode type */ Gamemode: string; @@ -1632,7 +1637,368 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ + type GenericErrorCodes = "Success" + | "InvalidParams" + | "AccountNotFound" + | "AccountBanned" + | "InvalidUsernameOrPassword" + | "InvalidTitleId" + | "InvalidEmailAddress" + | "EmailAddressNotAvailable" + | "InvalidUsername" + | "InvalidPassword" + | "UsernameNotAvailable" + | "InvalidSteamTicket" + | "AccountAlreadyLinked" + | "LinkedAccountAlreadyClaimed" + | "InvalidFacebookToken" + | "AccountNotLinked" + | "FailedByPaymentProvider" + | "CouponCodeNotFound" + | "InvalidContainerItem" + | "ContainerNotOwned" + | "KeyNotOwned" + | "InvalidItemIdInTable" + | "InvalidReceipt" + | "ReceiptAlreadyUsed" + | "ReceiptCancelled" + | "GameNotFound" + | "GameModeNotFound" + | "InvalidGoogleToken" + | "UserIsNotPartOfDeveloper" + | "InvalidTitleForDeveloper" + | "TitleNameConflicts" + | "UserisNotValid" + | "ValueAlreadyExists" + | "BuildNotFound" + | "PlayerNotInGame" + | "InvalidTicket" + | "InvalidDeveloper" + | "InvalidOrderInfo" + | "RegistrationIncomplete" + | "InvalidPlatform" + | "UnknownError" + | "SteamApplicationNotOwned" + | "WrongSteamAccount" + | "TitleNotActivated" + | "RegistrationSessionNotFound" + | "NoSuchMod" + | "FileNotFound" + | "DuplicateEmail" + | "ItemNotFound" + | "ItemNotOwned" + | "ItemNotRecycleable" + | "ItemNotAffordable" + | "InvalidVirtualCurrency" + | "WrongVirtualCurrency" + | "WrongPrice" + | "NonPositiveValue" + | "InvalidRegion" + | "RegionAtCapacity" + | "ServerFailedToStart" + | "NameNotAvailable" + | "InsufficientFunds" + | "InvalidDeviceID" + | "InvalidPushNotificationToken" + | "NoRemainingUses" + | "InvalidPaymentProvider" + | "PurchaseInitializationFailure" + | "DuplicateUsername" + | "InvalidBuyerInfo" + | "NoGameModeParamsSet" + | "BodyTooLarge" + | "ReservedWordInBody" + | "InvalidTypeInBody" + | "InvalidRequest" + | "ReservedEventName" + | "InvalidUserStatistics" + | "NotAuthenticated" + | "StreamAlreadyExists" + | "ErrorCreatingStream" + | "StreamNotFound" + | "InvalidAccount" + | "PurchaseDoesNotExist" + | "InvalidPurchaseTransactionStatus" + | "APINotEnabledForGameClientAccess" + | "NoPushNotificationARNForTitle" + | "BuildAlreadyExists" + | "BuildPackageDoesNotExist" + | "CustomAnalyticsEventsNotEnabledForTitle" + | "InvalidSharedGroupId" + | "NotAuthorized" + | "MissingTitleGoogleProperties" + | "InvalidItemProperties" + | "InvalidPSNAuthCode" + | "InvalidItemId" + | "PushNotEnabledForAccount" + | "PushServiceError" + | "ReceiptDoesNotContainInAppItems" + | "ReceiptContainsMultipleInAppItems" + | "InvalidBundleID" + | "JavascriptException" + | "InvalidSessionTicket" + | "UnableToConnectToDatabase" + | "InternalServerError" + | "InvalidReportDate" + | "ReportNotAvailable" + | "DatabaseThroughputExceeded" + | "InvalidGameTicket" + | "ExpiredGameTicket" + | "GameTicketDoesNotMatchLobby" + | "LinkedDeviceAlreadyClaimed" + | "DeviceAlreadyLinked" + | "DeviceNotLinked" + | "PartialFailure" + | "PublisherNotSet" + | "ServiceUnavailable" + | "VersionNotFound" + | "RevisionNotFound" + | "InvalidPublisherId" + | "DownstreamServiceUnavailable" + | "APINotIncludedInTitleUsageTier" + | "DAULimitExceeded" + | "APIRequestLimitExceeded" + | "InvalidAPIEndpoint" + | "BuildNotAvailable" + | "ConcurrentEditError" + | "ContentNotFound" + | "CharacterNotFound" + | "CloudScriptNotFound" + | "ContentQuotaExceeded" + | "InvalidCharacterStatistics" + | "PhotonNotEnabledForTitle" + | "PhotonApplicationNotFound" + | "PhotonApplicationNotAssociatedWithTitle" + | "InvalidEmailOrPassword" + | "FacebookAPIError" + | "InvalidContentType" + | "KeyLengthExceeded" + | "DataLengthExceeded" + | "TooManyKeys" + | "FreeTierCannotHaveVirtualCurrency" + | "MissingAmazonSharedKey" + | "AmazonValidationError" + | "InvalidPSNIssuerId" + | "PSNInaccessible" + | "ExpiredAuthToken" + | "FailedToGetEntitlements" + | "FailedToConsumeEntitlement" + | "TradeAcceptingUserNotAllowed" + | "TradeInventoryItemIsAssignedToCharacter" + | "TradeInventoryItemIsBundle" + | "TradeStatusNotValidForCancelling" + | "TradeStatusNotValidForAccepting" + | "TradeDoesNotExist" + | "TradeCancelled" + | "TradeAlreadyFilled" + | "TradeWaitForStatusTimeout" + | "TradeInventoryItemExpired" + | "TradeMissingOfferedAndAcceptedItems" + | "TradeAcceptedItemIsBundle" + | "TradeAcceptedItemIsStackable" + | "TradeInventoryItemInvalidStatus" + | "TradeAcceptedCatalogItemInvalid" + | "TradeAllowedUsersInvalid" + | "TradeInventoryItemDoesNotExist" + | "TradeInventoryItemIsConsumed" + | "TradeInventoryItemIsStackable" + | "TradeAcceptedItemsMismatch" + | "InvalidKongregateToken" + | "FeatureNotConfiguredForTitle" + | "NoMatchingCatalogItemForReceipt" + | "InvalidCurrencyCode" + | "NoRealMoneyPriceForCatalogItem" + | "TradeInventoryItemIsNotTradable" + | "TradeAcceptedCatalogItemIsNotTradable" + | "UsersAlreadyFriends" + | "LinkedIdentifierAlreadyClaimed" + | "CustomIdNotLinked" + | "TotalDataSizeExceeded" + | "DeleteKeyConflict" + | "InvalidXboxLiveToken" + | "ExpiredXboxLiveToken" + | "ResettableStatisticVersionRequired" + | "NotAuthorizedByTitle" + | "NoPartnerEnabled" + | "InvalidPartnerResponse" + | "APINotEnabledForGameServerAccess" + | "StatisticNotFound" + | "StatisticNameConflict" + | "StatisticVersionClosedForWrites" + | "StatisticVersionInvalid" + | "APIClientRequestRateLimitExceeded" + | "InvalidJSONContent" + | "InvalidDropTable" + | "StatisticVersionAlreadyIncrementedForScheduledInterval" + | "StatisticCountLimitExceeded" + | "StatisticVersionIncrementRateExceeded" + | "ContainerKeyInvalid" + | "CloudScriptExecutionTimeLimitExceeded" + | "NoWritePermissionsForEvent" + | "CloudScriptFunctionArgumentSizeExceeded" + | "CloudScriptAPIRequestCountExceeded" + | "CloudScriptAPIRequestError" + | "CloudScriptHTTPRequestError" + | "InsufficientGuildRole" + | "GuildNotFound" + | "OverLimit" + | "EventNotFound" + | "InvalidEventField" + | "InvalidEventName" + | "CatalogNotConfigured" + | "OperationNotSupportedForPlatform" + | "SegmentNotFound" + | "StoreNotFound" + | "InvalidStatisticName" + | "TitleNotQualifiedForLimit" + | "InvalidServiceLimitLevel" + | "ServiceLimitLevelInTransition" + | "CouponAlreadyRedeemed" + | "GameServerBuildSizeLimitExceeded" + | "GameServerBuildCountLimitExceeded" + | "VirtualCurrencyCountLimitExceeded" + | "VirtualCurrencyCodeExists" + | "TitleNewsItemCountLimitExceeded" + | "InvalidTwitchToken" + | "TwitchResponseError" + | "ProfaneDisplayName" + | "UserAlreadyAdded" + | "InvalidVirtualCurrencyCode" + | "VirtualCurrencyCannotBeDeleted" + | "IdentifierAlreadyClaimed" + | "IdentifierNotLinked" + | "InvalidContinuationToken" + | "ExpiredContinuationToken" + | "InvalidSegment" + | "InvalidSessionId" + | "SessionLogNotFound" + | "InvalidSearchTerm" + | "TwoFactorAuthenticationTokenRequired" + | "GameServerHostCountLimitExceeded" + | "PlayerTagCountLimitExceeded" + | "RequestAlreadyRunning" + | "ActionGroupNotFound" + | "MaximumSegmentBulkActionJobsRunning" + | "NoActionsOnPlayersInSegmentJob" + | "DuplicateStatisticName" + | "ScheduledTaskNameConflict" + | "ScheduledTaskCreateConflict" + | "InvalidScheduledTaskName" + | "InvalidTaskSchedule" + | "SteamNotEnabledForTitle" + | "LimitNotAnUpgradeOption" + | "NoSecretKeyEnabledForCloudScript" + | "TaskNotFound" + | "TaskInstanceNotFound" + | "InvalidIdentityProviderId" + | "MisconfiguredIdentityProvider" + | "InvalidScheduledTaskType" + | "BillingInformationRequired" + | "LimitedEditionItemUnavailable" + | "InvalidAdPlacementAndReward" + | "AllAdPlacementViewsAlreadyConsumed" + | "GoogleOAuthNotConfiguredForTitle" + | "GoogleOAuthError" + | "UserNotFriend" + | "InvalidSignature" + | "InvalidPublicKey" + | "GoogleOAuthNoIdTokenIncludedInResponse" + | "StatisticUpdateInProgress" + | "LeaderboardVersionNotAvailable" + | "StatisticAlreadyHasPrizeTable" + | "PrizeTableHasOverlappingRanks" + | "PrizeTableHasMissingRanks" + | "PrizeTableRankStartsAtZero" + | "InvalidStatistic" + | "ExpressionParseFailure" + | "ExpressionInvokeFailure" + | "ExpressionTooLong" + | "DataUpdateRateExceeded" + | "RestrictedEmailDomain" + | "EncryptionKeyDisabled" + | "EncryptionKeyMissing" + | "EncryptionKeyBroken" + | "NoSharedSecretKeyConfigured" + | "SecretKeyNotFound" + | "PlayerSecretAlreadyConfigured" + | "APIRequestsDisabledForTitle" + | "InvalidSharedSecretKey" + | "PrizeTableHasNoRanks" + | "ProfileDoesNotExist" + | "ContentS3OriginBucketNotConfigured" + | "InvalidEnvironmentForReceipt" + | "EncryptedRequestNotAllowed" + | "SignedRequestNotAllowed" + | "RequestViewConstraintParamsNotAllowed" + | "BadPartnerConfiguration" + | "XboxBPCertificateFailure" + | "XboxXASSExchangeFailure" + | "InvalidEntityId" + | "StatisticValueAggregationOverflow" + | "EmailMessageFromAddressIsMissing" + | "EmailMessageToAddressIsMissing" + | "SmtpServerAuthenticationError" + | "SmtpServerLimitExceeded" + | "SmtpServerInsufficientStorage" + | "SmtpServerCommunicationError" + | "SmtpServerGeneralFailure" + | "EmailClientTimeout" + | "EmailClientCanceledTask" + | "EmailTemplateMissing" + | "InvalidHostForTitleId" + | "EmailConfirmationTokenDoesNotExist" + | "EmailConfirmationTokenExpired" + | "AccountDeleted" + | "PlayerSecretNotConfigured" + | "InvalidSignatureTime" + | "NoContactEmailAddressFound" + | "InvalidAuthToken" + | "AuthTokenDoesNotExist" + | "AuthTokenExpired" + | "AuthTokenAlreadyUsedToResetPassword" + | "MembershipNameTooLong" + | "MembershipNotFound" + | "GoogleServiceAccountInvalid" + | "GoogleServiceAccountParseFailure" + | "EntityTokenMissing" + | "EntityTokenInvalid" + | "EntityTokenExpired" + | "EntityTokenRevoked" + | "InvalidProductForSubscription" + | "XboxInaccessible" + | "SubscriptionAlreadyTaken" + | "SmtpAddonNotEnabled" + | "APIConcurrentRequestLimitExceeded" + | "XboxRejectedXSTSExchangeRequest" + | "VariableNotDefined" + | "TemplateVersionNotDefined" + | "FileTooLarge" + | "TitleDeleted" + | "TitleContainsUserAccounts" + | "TitleDeletionPlayerCleanupFailure" + | "EntityFileOperationPending" + | "NoEntityFileOperationPending" + | "EntityProfileVersionMismatch" + | "TemplateVersionTooOld" + | "MembershipDefinitionInUse" + | "PaymentPageNotConfigured" + | "FailedLoginAttemptRateLimitExceeded" + | "EntityBlockedByGroup" + | "RoleDoesNotExist" + | "EntityIsAlreadyMember" + | "DuplicateRoleId" + | "GroupInvitationNotFound" + | "GroupApplicationNotFound" + | "OutstandingInvitationAcceptedInstead" + | "OutstandingApplicationAcceptedInstead" + | "RoleIsGroupDefaultMember" + | "RoleIsGroupAdmin" + | "RoleNameNotAvailable" + | "GroupNameNotAvailable" + | "EmailReportAlreadySent" + | "EmailReportRecipientBlacklisted"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; @@ -1641,33 +2007,33 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision number. If left null, defaults to the latest revision */ Revision?: number; @@ -1676,7 +2042,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { /** Time this revision was created */ CreatedAt: string; @@ -1691,7 +2057,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; @@ -1700,19 +2066,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, @@ -1722,7 +2088,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { /** List of content items. */ Contents?: ContentInfo[]; @@ -1733,7 +2099,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when @@ -1745,14 +2111,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { /** Reporting year (UTC) */ Day: number; @@ -1765,21 +2131,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { /** The URL where the requested report can be downloaded. */ DownloadUrl?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** version identifier of the game server executable binary being run */ BuildVersion?: string; @@ -1804,21 +2170,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -1827,14 +2193,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The player ID from the token passed in */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1847,7 +2213,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -1857,26 +2223,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -1892,7 +2258,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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; @@ -1903,40 +2269,40 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -1945,7 +2311,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1954,14 +2320,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; @@ -1970,35 +2336,35 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2009,14 +2375,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2045,21 +2411,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the game server build to upload */ BuildId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2068,7 +2434,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2083,14 +2449,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the requested task instance. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; @@ -2106,7 +2472,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get @@ -2117,49 +2483,49 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2173,7 +2539,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2187,14 +2553,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2207,7 +2573,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2251,7 +2617,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2260,14 +2626,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2278,26 +2644,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2311,8 +2677,8 @@ declare module PlayFabAdminModels { /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2320,7 +2686,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2358,7 +2724,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2371,31 +2737,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2425,7 +2791,7 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2435,7 +2801,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -2448,14 +2814,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2473,7 +2839,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; @@ -2482,12 +2848,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2511,7 +2877,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2542,7 +2908,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2558,14 +2924,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; @@ -2585,7 +2951,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -2598,7 +2964,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -2613,7 +2979,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -2658,7 +3024,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -2696,7 +3062,7 @@ declare module PlayFabAdminModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -2704,7 +3070,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -2741,7 +3107,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -2754,7 +3120,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -2767,7 +3133,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -2791,7 +3157,7 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2800,7 +3166,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2813,7 +3179,7 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; @@ -2822,7 +3188,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -2833,7 +3199,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -2847,7 +3213,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; @@ -2862,7 +3228,7 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2871,31 +3237,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2904,12 +3270,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new password for the player. */ Password: string; @@ -2918,19 +3284,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -2939,7 +3305,7 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -2958,14 +3324,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -2979,35 +3345,46 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ + export interface RevokeInventoryItem { + /** Unique PlayFab assigned ID for a specific character owned by a user */ + CharacterId?: string; + /** Unique PlayFab assigned instance identifier of the item */ + ItemInstanceId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3018,19 +3395,42 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ + export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of player items to revoke, between 1 and 25 items. */ + Items: RevokeInventoryItem[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ + export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** Collection of any errors that occurred during processing. */ + Errors?: RevokeItemError[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ + export interface RevokeItemError { + /** Specific error that was encountered. */ + Error?: string; + /** Item information that failed to be revoked. */ + Item?: RevokeInventoryItem; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call @@ -3040,7 +3440,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { /** Description the task */ Description?: string; @@ -3069,7 +3469,7 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3083,7 +3483,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3092,12 +3492,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3106,12 +3506,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision to make the current published revision */ Revision: number; @@ -3120,12 +3520,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3137,12 +3537,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3154,12 +3554,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; @@ -3183,14 +3583,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { /** Flag to indicate if this key is disabled */ Disabled: boolean; @@ -3212,7 +3612,7 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3241,7 +3641,7 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -3259,7 +3659,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -3270,7 +3670,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3298,7 +3698,7 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3309,14 +3709,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -3352,7 +3752,7 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3371,21 +3771,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not @@ -3402,12 +3802,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; @@ -3418,7 +3818,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** New revision number created */ Revision: number; @@ -3427,7 +3827,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -3438,12 +3838,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3457,14 +3857,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; @@ -3475,7 +3875,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy that was updated. */ PolicyName?: string; @@ -3484,7 +3884,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -3496,12 +3896,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -3514,12 +3914,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -3538,7 +3938,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3546,8 +3946,8 @@ declare module PlayFabAdminModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -3557,7 +3957,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3567,7 +3967,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3575,8 +3975,8 @@ declare module PlayFabAdminModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3584,7 +3984,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; @@ -3593,14 +3993,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -3637,14 +4037,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -3654,7 +4054,7 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3668,7 +4068,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -3677,14 +4077,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -3697,14 +4097,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -3732,14 +4132,14 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -3748,7 +4148,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -3761,7 +4161,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -3786,7 +4186,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -3795,14 +4195,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -3819,7 +4219,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; @@ -3834,7 +4234,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index ef91f359..4577402d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -9,7 +9,7 @@ declare module PlayFabClientModule { /** * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the * allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted - * items will be swapped between the two players' inventories. + * items will be swapped between the two players' inventories. * https://api.playfab.com/Documentation/Client/method/AcceptTrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -32,9 +32,9 @@ declare module PlayFabClientModule { */ AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only - * users in the group can add new members. Shared Groups are designed for sharing data between a very small number of - * players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users + * in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, + * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -62,12 +62,12 @@ declare module PlayFabClientModule { /** * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other - * players from accepting them, for trades that can be claimed by more than one player). + * players from accepting them, for trades that can be claimed by more than one player). * https://api.playfab.com/Documentation/Client/method/CancelTrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual + * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual * currency balances as appropriate * https://api.playfab.com/Documentation/Client/method/ConfirmPurchase */ @@ -78,9 +78,9 @@ declare module PlayFabClientModule { */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the - * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing - * data between a very small number of players, please see our guide: + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data + * between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ @@ -132,13 +132,12 @@ declare module PlayFabClientModule { */ GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned - * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the - * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. - * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates - * apply. + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -272,7 +271,7 @@ declare module PlayFabClientModule { */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile + * 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs */ @@ -296,9 +295,9 @@ declare module PlayFabClientModule { */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group - * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. - * Shared Groups are designed for sharing data between a very small number of players, please see our guide: + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group + * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Shared Groups are designed for sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ @@ -469,8 +468,8 @@ declare module PlayFabClientModule { LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls - * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation - * of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via + * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of + * new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ @@ -515,13 +514,13 @@ declare module PlayFabClientModule { */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as - * what the client believes the price to be. This lets the server fail the purchase if the price has changed. + * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what + * the client believes the price to be. This lets the server fail the purchase if the price has changed. * https://api.playfab.com/Documentation/Client/method/PurchaseItem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ @@ -538,7 +537,7 @@ declare module PlayFabClientModule { */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can + * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can * subsequently be used for API calls which require an authenticated user * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ @@ -559,9 +558,9 @@ declare module PlayFabClientModule { */ RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the - * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data - * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the + * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ @@ -688,8 +687,7 @@ declare module PlayFabClientModule { */ UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Creates and updates the title-specific custom data for the user's character which is readable and writable by the - * client + * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -708,7 +706,7 @@ declare module PlayFabClientModule { /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. - * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for + * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData @@ -772,7 +770,7 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this @@ -786,14 +784,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -804,7 +802,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; @@ -817,38 +815,38 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { /** True if the friend request was processed successfully. */ Created: boolean; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new contact email to associate with the player. */ EmailAddress: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -857,12 +855,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -873,14 +871,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique user name. */ Username?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; @@ -889,7 +887,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -903,12 +901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { /** The adid for this device. */ Adid?: string; @@ -917,26 +915,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { /** Description of the catalog item. */ Description?: string; @@ -957,7 +955,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1016,7 +1014,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -1030,7 +1028,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1048,7 +1046,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1067,7 +1065,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1076,7 +1074,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1095,7 +1093,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -1110,7 +1108,7 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; @@ -1122,14 +1120,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items purchased. */ Items?: ItemInstance[]; @@ -1140,7 +1138,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1151,7 +1149,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1160,7 +1158,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1171,7 +1169,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ Data?: { [key: string]: string | null }; @@ -1436,14 +1434,14 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1613,7 +1611,7 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build to match against. */ BuildVersion?: string; @@ -1628,7 +1626,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { /** number of games running */ GameCount: number; @@ -1639,7 +1637,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -1650,25 +1648,40 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { - /** The identifier of the entity the token was issued for. */ - EntityId?: string; + /** The entity id and type. */ + Entity?: EntityKey; /** The token used to set X-EntityToken for all entity based API calls. */ EntityToken?: string; - /** The type of entity the token was issued for. */ - EntityType?: string; /** The time the token will expire, if it is an expiring token, in UTC. */ TokenExpiration?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1690,7 +1703,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1729,7 +1742,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1738,7 +1751,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1761,7 +1774,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { /** Unique Game Center identifier for a user. */ GameCenterId?: string; @@ -1770,7 +1783,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { /** build version this server is running */ BuildVersion?: string; @@ -1808,7 +1821,7 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** version of game server for which stats are being requested */ BuildVersion: string; @@ -1820,14 +1833,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -1836,7 +1849,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -1845,7 +1858,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address for the account to find (if no Username is specified). */ Email?: string; @@ -1864,28 +1877,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1901,7 +1914,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1915,7 +1928,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -1924,7 +1937,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -1937,7 +1950,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -1950,28 +1963,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -1985,14 +1998,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2015,7 +2028,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2026,7 +2039,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2049,7 +2062,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2064,14 +2077,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; @@ -2084,14 +2097,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2110,7 +2123,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2121,7 +2134,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2130,14 +2143,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2156,7 +2169,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2167,14 +2180,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of service to provide the payment token. Allowed Values are: xsolla */ TokenProvider: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab's purchase order identifier. */ OrderId?: string; @@ -2183,21 +2196,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2206,7 +2219,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2244,7 +2257,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2253,7 +2266,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2287,7 +2300,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2300,7 +2313,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2310,19 +2323,19 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; @@ -2334,28 +2347,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2364,7 +2377,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2373,14 +2386,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; @@ -2389,35 +2402,35 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2427,91 +2440,91 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Purchase order identifier. */ OrderId?: string; @@ -2526,7 +2539,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2537,7 +2550,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2551,7 +2564,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2560,7 +2573,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2569,7 +2582,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2584,47 +2597,47 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -2636,14 +2649,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player who opened trade. */ OfferingPlayerId: string; @@ -2652,21 +2665,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** Information about the requested trade. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** Specific keys to search for in the custom data. Leave null to get all keys. */ + /** List of unique keys to load from. */ Keys?: string[]; /** * Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a @@ -2676,7 +2689,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2688,12 +2701,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2704,7 +2717,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -2716,14 +2729,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -2732,7 +2745,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2746,7 +2759,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; @@ -2757,7 +2770,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2795,7 +2808,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Title-specific text concerning this purchase. */ Annotation?: string; @@ -2808,7 +2821,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { /** Unique Kongregate identifier for a user. */ KongregateId?: string; @@ -2817,7 +2830,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -2830,12 +2843,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -2844,12 +2857,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2862,7 +2875,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -2871,12 +2884,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2885,12 +2898,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2902,12 +2915,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; @@ -2920,12 +2933,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; @@ -2936,12 +2949,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2953,12 +2966,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; @@ -2967,12 +2980,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -2985,26 +2998,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3034,7 +3047,7 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3056,7 +3069,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3082,7 +3095,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3104,7 +3117,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address for the account. */ Email: string; @@ -3122,7 +3135,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3144,7 +3157,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3166,7 +3179,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3191,7 +3204,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3217,7 +3230,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; @@ -3241,7 +3254,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; @@ -3259,7 +3272,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3284,7 +3297,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Twitch's API for the user. */ AccessToken?: string; @@ -3306,7 +3319,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; @@ -3324,7 +3337,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3334,7 +3347,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; @@ -3355,7 +3368,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server will expire, if applicable */ Expires?: string; @@ -3382,7 +3395,7 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3400,7 +3413,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3416,14 +3429,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may @@ -3437,14 +3450,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; @@ -3457,7 +3470,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; @@ -3482,7 +3495,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { /** Specific currency to use to fund the purchase. */ Currency?: string; @@ -3495,7 +3508,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3510,7 +3523,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3548,7 +3561,7 @@ declare module PlayFabClientModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -3556,7 +3569,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3593,7 +3606,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3610,7 +3623,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; @@ -3627,7 +3640,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; @@ -3637,7 +3650,7 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3646,7 +3659,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; @@ -3657,7 +3670,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; @@ -3672,7 +3685,7 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { /** indicates whether the server specified is available in this region */ Available: boolean; @@ -3685,7 +3698,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -3696,12 +3709,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; @@ -3733,7 +3746,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier for this newly created account. */ PlayFabId?: string; @@ -3746,7 +3759,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -3770,41 +3783,41 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3813,12 +3826,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3827,26 +3840,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3860,7 +3873,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3874,12 +3887,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3888,12 +3901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; @@ -3902,12 +3915,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3926,7 +3939,7 @@ declare module PlayFabClientModels { | "GameServer" | "Partner"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** version information for the build of the game server which is to be started */ BuildVersion: string; @@ -3943,7 +3956,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server should expire, if applicable */ Expires?: string; @@ -3962,7 +3975,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; @@ -3973,7 +3986,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Cart items to be purchased. */ Contents?: CartItem[]; @@ -3986,7 +3999,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3997,7 +4010,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4006,7 +4019,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4020,7 +4033,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4031,7 +4044,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4040,7 +4053,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4058,7 +4071,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4069,7 +4082,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4097,7 +4110,7 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4106,7 +4119,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4119,7 +4132,7 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -4132,13 +4145,13 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; /** The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. */ AcceptedPlayerId?: string; - /** An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ + /** An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ AllowedPlayerIds?: string[]; /** If set, The UTC time when this trade was canceled. */ CancelledAt?: string; @@ -4192,7 +4205,7 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; @@ -4201,7 +4214,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4211,12 +4224,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4226,42 +4239,42 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will @@ -4271,57 +4284,57 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog * associated with the item instance. */ CatalogVersion?: string; @@ -4330,17 +4343,17 @@ declare module PlayFabClientModels { /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. */ KeyItemInstanceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary * catalog. */ CatalogVersion?: string; @@ -4351,7 +4364,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4364,14 +4377,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4381,8 +4394,8 @@ declare module PlayFabClientModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -4390,7 +4403,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4400,7 +4413,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4409,24 +4422,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4434,8 +4447,8 @@ declare module PlayFabClientModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys in this request. */ @@ -4445,12 +4458,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4458,8 +4471,8 @@ declare module PlayFabClientModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** @@ -4470,7 +4483,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4480,21 +4493,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4531,14 +4544,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4548,7 +4561,7 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4562,7 +4575,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4571,14 +4584,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4591,14 +4604,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4626,14 +4639,14 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4642,7 +4655,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -4651,7 +4664,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4664,7 +4677,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4689,7 +4702,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4698,14 +4711,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4720,12 +4733,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode?: string; @@ -4738,12 +4751,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode: string; @@ -4754,12 +4767,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4772,12 +4785,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4794,7 +4807,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -4809,7 +4822,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4825,7 +4838,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4839,7 +4852,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -4849,7 +4862,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts new file mode 100644 index 00000000..9fa3bf28 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts @@ -0,0 +1,1097 @@ +/// + +declare module PlayFabEntityModule { + export interface IPlayFabEntity { + ForgetAllCredentials(): void; + + /** + * Abort pending file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/AbortFileUploads + */ + AbortFileUploads(request: PlayFabEntityModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Accepts an outstanding invitation to to join a group + * https://api.playfab.com/Documentation/Entity/method/AcceptGroupApplication + */ + AcceptGroupApplication(request: PlayFabEntityModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Accepts an invitation to join a group + * https://api.playfab.com/Documentation/Entity/method/AcceptGroupInvitation + */ + AcceptGroupInvitation(request: PlayFabEntityModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds members to a group or role. + * https://api.playfab.com/Documentation/Entity/method/AddMembers + */ + AddMembers(request: PlayFabEntityModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Applies to join a group + * https://api.playfab.com/Documentation/Entity/method/ApplyToGroup + */ + ApplyToGroup(request: PlayFabEntityModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Blocks a list of entities from joining a group. + * https://api.playfab.com/Documentation/Entity/method/BlockEntity + */ + BlockEntity(request: PlayFabEntityModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Changes the role membership of a list of entities from one role to another. + * https://api.playfab.com/Documentation/Entity/method/ChangeMemberRole + */ + ChangeMemberRole(request: PlayFabEntityModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group. + * https://api.playfab.com/Documentation/Entity/method/CreateGroup + */ + CreateGroup(request: PlayFabEntityModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group role. + * https://api.playfab.com/Documentation/Entity/method/CreateRole + */ + CreateRole(request: PlayFabEntityModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete files on an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/DeleteFiles + */ + DeleteFiles(request: PlayFabEntityModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a group and all roles, invitations, join requests, and blocks associated with it. + * https://api.playfab.com/Documentation/Entity/method/DeleteGroup + */ + DeleteGroup(request: PlayFabEntityModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing role in a group. + * https://api.playfab.com/Documentation/Entity/method/DeleteRole + */ + DeleteRole(request: PlayFabEntityModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Finalize file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/FinalizeFileUploads + */ + FinalizeFileUploads(request: PlayFabEntityModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid + * Entity Token. + * https://api.playfab.com/Documentation/Entity/method/GetEntityToken + */ + GetEntityToken(request: PlayFabEntityModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves file metadata from an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetFiles + */ + GetFiles(request: PlayFabEntityModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the global title access policy + * https://api.playfab.com/Documentation/Entity/method/GetGlobalPolicy + */ + GetGlobalPolicy(request: PlayFabEntityModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets information about a group and its roles + * https://api.playfab.com/Documentation/Entity/method/GetGroup + */ + GetGroup(request: PlayFabEntityModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves objects from an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetObjects + */ + GetObjects(request: PlayFabEntityModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetProfile + */ + GetProfile(request: PlayFabEntityModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Initiates file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/InitiateFileUploads + */ + InitiateFileUploads(request: PlayFabEntityModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Invites a player to join a group + * https://api.playfab.com/Documentation/Entity/method/InviteToGroup + */ + InviteToGroup(request: PlayFabEntityModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks to see if an entity is a member of a group or role within the group + * https://api.playfab.com/Documentation/Entity/method/IsMember + */ + IsMember(request: PlayFabEntityModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding requests to join a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupApplications + */ + ListGroupApplications(request: PlayFabEntityModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all entities blocked from joining a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupBlocks + */ + ListGroupBlocks(request: PlayFabEntityModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations for a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupInvitations + */ + ListGroupInvitations(request: PlayFabEntityModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all members for a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupMembers + */ + ListGroupMembers(request: PlayFabEntityModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all groups and roles for an entity + * https://api.playfab.com/Documentation/Entity/method/ListMembership + */ + ListMembership(request: PlayFabEntityModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations and group applications for an entity + * https://api.playfab.com/Documentation/Entity/method/ListMembershipOpportunities + */ + ListMembershipOpportunities(request: PlayFabEntityModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an application to join a group + * https://api.playfab.com/Documentation/Entity/method/RemoveGroupApplication + */ + RemoveGroupApplication(request: PlayFabEntityModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an invitation join a group + * https://api.playfab.com/Documentation/Entity/method/RemoveGroupInvitation + */ + RemoveGroupInvitation(request: PlayFabEntityModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes members from a group. + * https://api.playfab.com/Documentation/Entity/method/RemoveMembers + */ + RemoveMembers(request: PlayFabEntityModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the global title access policy + * https://api.playfab.com/Documentation/Entity/method/SetGlobalPolicy + */ + SetGlobalPolicy(request: PlayFabEntityModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets objects on an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/SetObjects + */ + SetObjects(request: PlayFabEntityModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the profiles access policy + * https://api.playfab.com/Documentation/Entity/method/SetProfilePolicy + */ + SetProfilePolicy(request: PlayFabEntityModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unblocks a list of entities from joining a group + * https://api.playfab.com/Documentation/Entity/method/UnblockEntity + */ + UnblockEntity(request: PlayFabEntityModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates non-membership data about a group. + * https://api.playfab.com/Documentation/Entity/method/UpdateGroup + */ + UpdateGroup(request: PlayFabEntityModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates metadata about a role. + * https://api.playfab.com/Documentation/Entity/method/UpdateRole + */ + UpdateRole(request: PlayFabEntityModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabEntityModels { + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsRequest */ + export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to have their pending uploads aborted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsResponse */ + export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupApplicationRequest */ + export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a + * child of the claimant entity. Defaults to the claimant entity. + */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupInvitationRequest */ + export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AddMembersRequest */ + export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ + Members: EntityKey[]; + /** + * Optional: The ID of the existing role to add the entities to. If this is not specified, the default member role for the + * group will be used. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupRequest */ + export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ + AutoAcceptOutstandingInvite?: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupResponse */ + export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.BlockEntityRequest */ + export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ChangeMemberRoleRequest */ + export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 + * and 64 characters long. + */ + DestinationRoleId?: string; + /** The identifier of the group */ + Group: EntityKey; + /** + * List of entities to move between roles in the group. All entities in this list must be members of the group and origin + * role. + */ + Members: EntityKey[]; + /** The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long. */ + OriginRoleId: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRequest */ + export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the group. This is unique at the title level by default. */ + GroupName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupResponse */ + export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleRequest */ + export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** + * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 + * characters long. + */ + RoleId: string; + /** + * The name of the role. This must be unique within the group and can be changed later. Role names must be between 1 and + * 100 characters long + */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleResponse */ + export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The current version of the group profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesRequest */ + export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be deleted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesResponse */ + export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteGroupRequest */ + export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group or role to remove */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteRoleRequest */ + export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + + } + + type EffectType = "Allow" + | "Deny"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityDataObject */ + export interface EntityDataObject { + /** Un-escaped JSON object, if DataAsObject is true. */ + DataObject?: any; + /** Escaped string JSON body of the object, if DataAsObject is default or false. */ + EscapedDataObject?: string; + /** Name of this object. */ + ObjectName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityMemberRole */ + export interface EntityMemberRole { + /** The list of members in the role */ + Members?: EntityWithLineage[]; + /** The ID of the role. */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityPermissionStatement */ + export interface EntityPermissionStatement { + /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ + Action: string; + /** A comment about the statement. Intended solely for bookkeeping and debugging. */ + Comment?: string; + /** Additional conditions to be applied for entity resources. */ + Condition?: any; + /** The effect this statement will have. It may be either Allow or Deny */ + Effect: string; + /** The principal this statement will effect. */ + Principal: any; + /** The resource this statements effects. Similar to 'pfrn:data--title![Title ID]/Profile/*' */ + Resource: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileBody */ + export interface EntityProfileBody { + /** The entity id and type. */ + Entity?: EntityKey; + /** + * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the + * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace + * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace + * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]/[Character ID]' + */ + EntityChain?: string; + /** The files on this profile. */ + Files?: { [key: string]: EntityProfileFileMetadata }; + /** The objects on this profile. */ + Objects?: { [key: string]: EntityDataObject }; + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + /** + * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic + * concurrency during update. + */ + VersionNumber: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileFileMetadata */ + export interface EntityProfileFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityWithLineage */ + export interface EntityWithLineage { + /** The entity key for the specified entity */ + Key?: EntityKey; + /** Dictionary of entity keys for related entities. Dictionary key is entity type. */ + Lineage?: { [key: string]: EntityKey }; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsRequest */ + export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsResponse */ + export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileRequest */ + export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileResponse */ + export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profile */ + Profile?: EntityProfileBody; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenRequest */ + export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenResponse */ + export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFileMetadata */ + export interface GetFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Download URL where the file can be retrieved */ + DownloadUrl?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesRequest */ + export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesResponse */ + export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyRequest */ + export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyResponse */ + export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupRequest */ + export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group?: EntityKey; + /** The full name of the group */ + GroupName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupResponse */ + export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsRequest */ + export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Determines whether the object will be returned as an escaped JSON string or as a un-escaped JSON object. Default is JSON + * object. + */ + EscapeObject?: boolean; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsResponse */ + export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Requested objects that the calling entity has access to */ + Objects?: { [key: string]: ObjectResult }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupApplication */ + export interface GroupApplication { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupBlock */ + export interface GroupBlock { + /** The entity that is blocked */ + Entity?: EntityWithLineage; + /** ID of the group that the entity is blocked from */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupInvitation */ + export interface GroupInvitation { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupRole */ + export interface GroupRole { + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupWithRoles */ + export interface GroupWithRoles { + /** ID for the group */ + Group?: EntityKey; + /** The name of the group */ + GroupName?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles within the group */ + Roles?: GroupRole[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadMetadata */ + export interface InitiateFileUploadMetadata { + /** Name of the file. */ + FileName?: string; + /** Location the data should be sent to via an HTTP PUT operation. */ + UploadUrl?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsRequest */ + export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsResponse */ + export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** Collection of file names and upload urls */ + UploadDetails?: InitiateFileUploadMetadata[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupRequest */ + export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ + AutoAcceptOutstandingApplication?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional. ID of an existing a role in the group to assign the user to. The group's default member role is used if this + * is not specified. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupResponse */ + export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberRequest */ + export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional: ID of the role to check membership of. Defaults to any role (that is, check to see if the entity is a member + * of the group in any capacity) if not specified. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberResponse */ + export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { + /** A value indicating whether or not the entity is a member. */ + IsMember: boolean; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsRequest */ + export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsResponse */ + export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of applications to the group. */ + Applications?: GroupApplication[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksRequest */ + export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksResponse */ + export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list blocked entities. */ + BlockedEntities?: GroupBlock[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsRequest */ + export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsResponse */ + export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersRequest */ + export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group to list the members and roles for */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersResponse */ + export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of roles and member entity IDs. */ + Members?: EntityMemberRole[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesRequest */ + export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesResponse */ + export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group applications. */ + Applications?: GroupApplication[]; + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipRequest */ + export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipResponse */ + export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of groups */ + Groups?: GroupWithRoles[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ObjectResult */ + export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { + /** Un-escaped JSON object, if EscapeObject false or default. */ + DataObject?: any; + /** Escaped string JSON body of the object, if EscapeObject is true. */ + EscapedDataObject?: string; + /** Name of the object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + ObjectName?: string; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupApplicationRequest */ + export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupInvitationRequest */ + export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveMembersRequest */ + export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to remove */ + Members: EntityKey[]; + /** The ID of the role to remove the entities from. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyRequest */ + export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The statements to include in the access policy. */ + Statements?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyResponse */ + export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyRequest */ + export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyResponse */ + export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObject */ + export interface SetObject { + /** + * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation + * will occur if it does not exist. Only one of Object or EscapedDataObject fields may be used. + */ + DataObject?: any; + /** Flag to indicate that this object should be deleted. Both DataObject and EscapedDataObject must not be set as well. */ + DeleteObject?: boolean; + /** + * Body of the object to be saved as an escaped JSON string. If empty and DeleteObject is true object will be deleted if it + * exists, or no operation will occur if it does not exist. Only one of DataObject or EscapedDataObject fields may be used. + */ + EscapedDataObject?: string; + /** Name of object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + ObjectName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectInfo */ + export interface SetObjectInfo { + /** Name of the object */ + ObjectName?: string; + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsRequest */ + export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from + * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** Collection of objects to set on the profile. */ + Objects: SetObject[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsResponse */ + export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** New version of the entity profile. */ + ProfileVersion: number; + /** New version of the entity profile. */ + SetResults?: SetObjectInfo[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UnblockEntityRequest */ + export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRequest */ + export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional: the ID of an existing role to set as the new administrator role for the group */ + AdminRoleId?: string; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** Optional: the new name of the group */ + GroupName?: string; + /** Optional: the ID of an existing role to set as the new member role for the group */ + MemberRoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupResponse */ + export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the group data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleRequest */ + export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** ID of the role to update. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + /** The new name of the role */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleResponse */ + export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the role data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index af6e0643..a94c2c52 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -35,14 +35,14 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; @@ -51,19 +51,19 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -101,7 +101,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the @@ -113,12 +113,12 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the @@ -130,7 +130,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -143,7 +143,7 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -170,7 +170,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -180,7 +180,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; @@ -199,7 +199,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; @@ -212,7 +212,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a @@ -224,7 +224,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; @@ -245,7 +245,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 596fff6c..368af631 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabServerModule { ForgetAllCredentials(): void; /** - * Increments the character's balance of the specified virtual currency by the stated amount + * Increments the character's balance of the specified virtual currency by the stated amount * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -21,14 +21,14 @@ declare module PlayFabServerModule { */ AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only - * users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very - * small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users + * in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small + * number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Increments the user's balance of the specified virtual currency by the stated amount + * Increments the user's balance of the specified virtual currency by the stated amount * https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -53,8 +53,8 @@ declare module PlayFabServerModule { */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the - * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/CreateSharedGroup @@ -66,7 +66,7 @@ declare module PlayFabServerModule { */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup @@ -141,13 +141,12 @@ declare module PlayFabServerModule { */ GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned - * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the - * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. - * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates - * apply. + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -228,7 +227,7 @@ declare module PlayFabServerModule { */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile + * 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ @@ -245,8 +244,8 @@ declare module PlayFabServerModule { */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all - * public and private group data. Shared Groups are designed for sharing data between a very small number of players, + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all + * public and private group data. Shared Groups are designed for sharing data between a very small number of players, * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ @@ -363,7 +362,7 @@ declare module PlayFabServerModule { */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://api.playfab.com/Documentation/Server/method/RedeemCoupon */ @@ -396,7 +395,7 @@ declare module PlayFabServerModule { /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data - * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ @@ -422,6 +421,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Revokes access for up to 25 items across multiple users and characters. + * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItems + */ + RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template @@ -523,7 +527,7 @@ declare module PlayFabServerModule { */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Updates the title-specific custom data for the user's character which cannot be accessed by the client + * Updates the title-specific custom data for the user's character which cannot be accessed by the client * https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData */ UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -545,7 +549,7 @@ declare module PlayFabServerModule { /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. - * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are + * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are * designed for sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData @@ -606,7 +610,7 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -617,7 +621,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -628,7 +632,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 @@ -644,7 +648,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user being added. */ FriendEmail?: string; @@ -659,7 +663,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -668,12 +672,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -682,12 +686,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -701,7 +705,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { /** The Json the platform should receive. */ Json: string; @@ -710,21 +714,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { /** Unique Steam achievement name. */ AchievementName: string; @@ -735,21 +739,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -770,7 +774,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -785,21 +789,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -858,7 +862,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -872,7 +876,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -890,7 +894,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -909,7 +913,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -918,7 +922,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -937,7 +941,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -952,7 +956,7 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -965,7 +969,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -974,7 +978,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -985,7 +989,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1254,14 +1258,14 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1431,7 +1435,7 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1445,19 +1449,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1469,19 +1473,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1490,15 +1494,15 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses + * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses * default/primary catalog. */ CatalogVersion?: string; @@ -1507,14 +1511,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1553,7 +1557,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1577,7 +1581,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1586,7 +1590,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1612,33 +1616,394 @@ declare module PlayFabServerModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ + type GenericErrorCodes = "Success" + | "InvalidParams" + | "AccountNotFound" + | "AccountBanned" + | "InvalidUsernameOrPassword" + | "InvalidTitleId" + | "InvalidEmailAddress" + | "EmailAddressNotAvailable" + | "InvalidUsername" + | "InvalidPassword" + | "UsernameNotAvailable" + | "InvalidSteamTicket" + | "AccountAlreadyLinked" + | "LinkedAccountAlreadyClaimed" + | "InvalidFacebookToken" + | "AccountNotLinked" + | "FailedByPaymentProvider" + | "CouponCodeNotFound" + | "InvalidContainerItem" + | "ContainerNotOwned" + | "KeyNotOwned" + | "InvalidItemIdInTable" + | "InvalidReceipt" + | "ReceiptAlreadyUsed" + | "ReceiptCancelled" + | "GameNotFound" + | "GameModeNotFound" + | "InvalidGoogleToken" + | "UserIsNotPartOfDeveloper" + | "InvalidTitleForDeveloper" + | "TitleNameConflicts" + | "UserisNotValid" + | "ValueAlreadyExists" + | "BuildNotFound" + | "PlayerNotInGame" + | "InvalidTicket" + | "InvalidDeveloper" + | "InvalidOrderInfo" + | "RegistrationIncomplete" + | "InvalidPlatform" + | "UnknownError" + | "SteamApplicationNotOwned" + | "WrongSteamAccount" + | "TitleNotActivated" + | "RegistrationSessionNotFound" + | "NoSuchMod" + | "FileNotFound" + | "DuplicateEmail" + | "ItemNotFound" + | "ItemNotOwned" + | "ItemNotRecycleable" + | "ItemNotAffordable" + | "InvalidVirtualCurrency" + | "WrongVirtualCurrency" + | "WrongPrice" + | "NonPositiveValue" + | "InvalidRegion" + | "RegionAtCapacity" + | "ServerFailedToStart" + | "NameNotAvailable" + | "InsufficientFunds" + | "InvalidDeviceID" + | "InvalidPushNotificationToken" + | "NoRemainingUses" + | "InvalidPaymentProvider" + | "PurchaseInitializationFailure" + | "DuplicateUsername" + | "InvalidBuyerInfo" + | "NoGameModeParamsSet" + | "BodyTooLarge" + | "ReservedWordInBody" + | "InvalidTypeInBody" + | "InvalidRequest" + | "ReservedEventName" + | "InvalidUserStatistics" + | "NotAuthenticated" + | "StreamAlreadyExists" + | "ErrorCreatingStream" + | "StreamNotFound" + | "InvalidAccount" + | "PurchaseDoesNotExist" + | "InvalidPurchaseTransactionStatus" + | "APINotEnabledForGameClientAccess" + | "NoPushNotificationARNForTitle" + | "BuildAlreadyExists" + | "BuildPackageDoesNotExist" + | "CustomAnalyticsEventsNotEnabledForTitle" + | "InvalidSharedGroupId" + | "NotAuthorized" + | "MissingTitleGoogleProperties" + | "InvalidItemProperties" + | "InvalidPSNAuthCode" + | "InvalidItemId" + | "PushNotEnabledForAccount" + | "PushServiceError" + | "ReceiptDoesNotContainInAppItems" + | "ReceiptContainsMultipleInAppItems" + | "InvalidBundleID" + | "JavascriptException" + | "InvalidSessionTicket" + | "UnableToConnectToDatabase" + | "InternalServerError" + | "InvalidReportDate" + | "ReportNotAvailable" + | "DatabaseThroughputExceeded" + | "InvalidGameTicket" + | "ExpiredGameTicket" + | "GameTicketDoesNotMatchLobby" + | "LinkedDeviceAlreadyClaimed" + | "DeviceAlreadyLinked" + | "DeviceNotLinked" + | "PartialFailure" + | "PublisherNotSet" + | "ServiceUnavailable" + | "VersionNotFound" + | "RevisionNotFound" + | "InvalidPublisherId" + | "DownstreamServiceUnavailable" + | "APINotIncludedInTitleUsageTier" + | "DAULimitExceeded" + | "APIRequestLimitExceeded" + | "InvalidAPIEndpoint" + | "BuildNotAvailable" + | "ConcurrentEditError" + | "ContentNotFound" + | "CharacterNotFound" + | "CloudScriptNotFound" + | "ContentQuotaExceeded" + | "InvalidCharacterStatistics" + | "PhotonNotEnabledForTitle" + | "PhotonApplicationNotFound" + | "PhotonApplicationNotAssociatedWithTitle" + | "InvalidEmailOrPassword" + | "FacebookAPIError" + | "InvalidContentType" + | "KeyLengthExceeded" + | "DataLengthExceeded" + | "TooManyKeys" + | "FreeTierCannotHaveVirtualCurrency" + | "MissingAmazonSharedKey" + | "AmazonValidationError" + | "InvalidPSNIssuerId" + | "PSNInaccessible" + | "ExpiredAuthToken" + | "FailedToGetEntitlements" + | "FailedToConsumeEntitlement" + | "TradeAcceptingUserNotAllowed" + | "TradeInventoryItemIsAssignedToCharacter" + | "TradeInventoryItemIsBundle" + | "TradeStatusNotValidForCancelling" + | "TradeStatusNotValidForAccepting" + | "TradeDoesNotExist" + | "TradeCancelled" + | "TradeAlreadyFilled" + | "TradeWaitForStatusTimeout" + | "TradeInventoryItemExpired" + | "TradeMissingOfferedAndAcceptedItems" + | "TradeAcceptedItemIsBundle" + | "TradeAcceptedItemIsStackable" + | "TradeInventoryItemInvalidStatus" + | "TradeAcceptedCatalogItemInvalid" + | "TradeAllowedUsersInvalid" + | "TradeInventoryItemDoesNotExist" + | "TradeInventoryItemIsConsumed" + | "TradeInventoryItemIsStackable" + | "TradeAcceptedItemsMismatch" + | "InvalidKongregateToken" + | "FeatureNotConfiguredForTitle" + | "NoMatchingCatalogItemForReceipt" + | "InvalidCurrencyCode" + | "NoRealMoneyPriceForCatalogItem" + | "TradeInventoryItemIsNotTradable" + | "TradeAcceptedCatalogItemIsNotTradable" + | "UsersAlreadyFriends" + | "LinkedIdentifierAlreadyClaimed" + | "CustomIdNotLinked" + | "TotalDataSizeExceeded" + | "DeleteKeyConflict" + | "InvalidXboxLiveToken" + | "ExpiredXboxLiveToken" + | "ResettableStatisticVersionRequired" + | "NotAuthorizedByTitle" + | "NoPartnerEnabled" + | "InvalidPartnerResponse" + | "APINotEnabledForGameServerAccess" + | "StatisticNotFound" + | "StatisticNameConflict" + | "StatisticVersionClosedForWrites" + | "StatisticVersionInvalid" + | "APIClientRequestRateLimitExceeded" + | "InvalidJSONContent" + | "InvalidDropTable" + | "StatisticVersionAlreadyIncrementedForScheduledInterval" + | "StatisticCountLimitExceeded" + | "StatisticVersionIncrementRateExceeded" + | "ContainerKeyInvalid" + | "CloudScriptExecutionTimeLimitExceeded" + | "NoWritePermissionsForEvent" + | "CloudScriptFunctionArgumentSizeExceeded" + | "CloudScriptAPIRequestCountExceeded" + | "CloudScriptAPIRequestError" + | "CloudScriptHTTPRequestError" + | "InsufficientGuildRole" + | "GuildNotFound" + | "OverLimit" + | "EventNotFound" + | "InvalidEventField" + | "InvalidEventName" + | "CatalogNotConfigured" + | "OperationNotSupportedForPlatform" + | "SegmentNotFound" + | "StoreNotFound" + | "InvalidStatisticName" + | "TitleNotQualifiedForLimit" + | "InvalidServiceLimitLevel" + | "ServiceLimitLevelInTransition" + | "CouponAlreadyRedeemed" + | "GameServerBuildSizeLimitExceeded" + | "GameServerBuildCountLimitExceeded" + | "VirtualCurrencyCountLimitExceeded" + | "VirtualCurrencyCodeExists" + | "TitleNewsItemCountLimitExceeded" + | "InvalidTwitchToken" + | "TwitchResponseError" + | "ProfaneDisplayName" + | "UserAlreadyAdded" + | "InvalidVirtualCurrencyCode" + | "VirtualCurrencyCannotBeDeleted" + | "IdentifierAlreadyClaimed" + | "IdentifierNotLinked" + | "InvalidContinuationToken" + | "ExpiredContinuationToken" + | "InvalidSegment" + | "InvalidSessionId" + | "SessionLogNotFound" + | "InvalidSearchTerm" + | "TwoFactorAuthenticationTokenRequired" + | "GameServerHostCountLimitExceeded" + | "PlayerTagCountLimitExceeded" + | "RequestAlreadyRunning" + | "ActionGroupNotFound" + | "MaximumSegmentBulkActionJobsRunning" + | "NoActionsOnPlayersInSegmentJob" + | "DuplicateStatisticName" + | "ScheduledTaskNameConflict" + | "ScheduledTaskCreateConflict" + | "InvalidScheduledTaskName" + | "InvalidTaskSchedule" + | "SteamNotEnabledForTitle" + | "LimitNotAnUpgradeOption" + | "NoSecretKeyEnabledForCloudScript" + | "TaskNotFound" + | "TaskInstanceNotFound" + | "InvalidIdentityProviderId" + | "MisconfiguredIdentityProvider" + | "InvalidScheduledTaskType" + | "BillingInformationRequired" + | "LimitedEditionItemUnavailable" + | "InvalidAdPlacementAndReward" + | "AllAdPlacementViewsAlreadyConsumed" + | "GoogleOAuthNotConfiguredForTitle" + | "GoogleOAuthError" + | "UserNotFriend" + | "InvalidSignature" + | "InvalidPublicKey" + | "GoogleOAuthNoIdTokenIncludedInResponse" + | "StatisticUpdateInProgress" + | "LeaderboardVersionNotAvailable" + | "StatisticAlreadyHasPrizeTable" + | "PrizeTableHasOverlappingRanks" + | "PrizeTableHasMissingRanks" + | "PrizeTableRankStartsAtZero" + | "InvalidStatistic" + | "ExpressionParseFailure" + | "ExpressionInvokeFailure" + | "ExpressionTooLong" + | "DataUpdateRateExceeded" + | "RestrictedEmailDomain" + | "EncryptionKeyDisabled" + | "EncryptionKeyMissing" + | "EncryptionKeyBroken" + | "NoSharedSecretKeyConfigured" + | "SecretKeyNotFound" + | "PlayerSecretAlreadyConfigured" + | "APIRequestsDisabledForTitle" + | "InvalidSharedSecretKey" + | "PrizeTableHasNoRanks" + | "ProfileDoesNotExist" + | "ContentS3OriginBucketNotConfigured" + | "InvalidEnvironmentForReceipt" + | "EncryptedRequestNotAllowed" + | "SignedRequestNotAllowed" + | "RequestViewConstraintParamsNotAllowed" + | "BadPartnerConfiguration" + | "XboxBPCertificateFailure" + | "XboxXASSExchangeFailure" + | "InvalidEntityId" + | "StatisticValueAggregationOverflow" + | "EmailMessageFromAddressIsMissing" + | "EmailMessageToAddressIsMissing" + | "SmtpServerAuthenticationError" + | "SmtpServerLimitExceeded" + | "SmtpServerInsufficientStorage" + | "SmtpServerCommunicationError" + | "SmtpServerGeneralFailure" + | "EmailClientTimeout" + | "EmailClientCanceledTask" + | "EmailTemplateMissing" + | "InvalidHostForTitleId" + | "EmailConfirmationTokenDoesNotExist" + | "EmailConfirmationTokenExpired" + | "AccountDeleted" + | "PlayerSecretNotConfigured" + | "InvalidSignatureTime" + | "NoContactEmailAddressFound" + | "InvalidAuthToken" + | "AuthTokenDoesNotExist" + | "AuthTokenExpired" + | "AuthTokenAlreadyUsedToResetPassword" + | "MembershipNameTooLong" + | "MembershipNotFound" + | "GoogleServiceAccountInvalid" + | "GoogleServiceAccountParseFailure" + | "EntityTokenMissing" + | "EntityTokenInvalid" + | "EntityTokenExpired" + | "EntityTokenRevoked" + | "InvalidProductForSubscription" + | "XboxInaccessible" + | "SubscriptionAlreadyTaken" + | "SmtpAddonNotEnabled" + | "APIConcurrentRequestLimitExceeded" + | "XboxRejectedXSTSExchangeRequest" + | "VariableNotDefined" + | "TemplateVersionNotDefined" + | "FileTooLarge" + | "TitleDeleted" + | "TitleContainsUserAccounts" + | "TitleDeletionPlayerCleanupFailure" + | "EntityFileOperationPending" + | "NoEntityFileOperationPending" + | "EntityProfileVersionMismatch" + | "TemplateVersionTooOld" + | "MembershipDefinitionInUse" + | "PaymentPageNotConfigured" + | "FailedLoginAttemptRateLimitExceeded" + | "EntityBlockedByGroup" + | "RoleDoesNotExist" + | "EntityIsAlreadyMember" + | "DuplicateRoleId" + | "GroupInvitationNotFound" + | "GroupApplicationNotFound" + | "OutstandingInvitationAcceptedInstead" + | "OutstandingApplicationAcceptedInstead" + | "RoleIsGroupDefaultMember" + | "RoleIsGroupAdmin" + | "RoleNameNotAvailable" + | "GroupNameNotAvailable" + | "EmailReportAlreadySent" + | "EmailReportRecipientBlacklisted"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1654,7 +2019,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1670,7 +2035,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -1681,7 +2046,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -1696,7 +2061,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1711,14 +2076,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1727,7 +2092,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for the statistics. */ CharacterId?: string; @@ -1738,7 +2103,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -1752,14 +2117,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -1784,7 +2149,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -1801,14 +2166,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1823,14 +2188,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -1849,7 +2214,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -1860,7 +2225,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -1871,14 +2236,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -1897,7 +2262,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -1908,7 +2273,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -1917,7 +2282,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -1955,7 +2320,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -1964,7 +2329,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -1998,7 +2363,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2011,7 +2376,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2021,14 +2386,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2044,7 +2409,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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; @@ -2055,14 +2420,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** user for whom statistics are being requested */ PlayFabId: string; @@ -2076,7 +2441,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; @@ -2085,21 +2450,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2108,7 +2473,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2117,52 +2482,52 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses + * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses * default/primary catalog. */ CatalogVersion?: string; @@ -2171,14 +2536,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2189,7 +2554,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2203,7 +2568,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2212,75 +2577,75 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2294,7 +2659,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2308,14 +2673,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2328,7 +2693,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; @@ -2339,14 +2704,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2390,7 +2755,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2405,14 +2770,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2425,14 +2790,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2441,14 +2806,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2462,8 +2827,8 @@ declare module PlayFabServerModels { /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2471,7 +2836,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2509,7 +2874,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2522,21 +2887,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2566,7 +2931,7 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2576,7 +2941,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2594,7 +2959,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2603,7 +2968,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; @@ -2614,7 +2979,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -2623,7 +2988,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2639,7 +3004,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; @@ -2652,12 +3017,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2668,12 +3033,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2684,12 +3049,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; @@ -2698,7 +3063,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { /** State of user leaving the Game Server Instance. */ PlayerState?: string; @@ -2710,7 +3075,7 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -2725,7 +3090,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -2738,7 +3103,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -2753,7 +3118,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -2798,7 +3163,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -2836,7 +3201,7 @@ declare module PlayFabServerModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -2844,7 +3209,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -2881,7 +3246,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -2894,7 +3259,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -2911,7 +3276,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; @@ -2931,7 +3296,7 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2940,7 +3305,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2949,7 +3314,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -2960,7 +3325,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. */ CatalogVersion?: string; @@ -2973,14 +3338,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; @@ -2989,7 +3354,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Error value if the ticket was not validated. */ Error?: string; @@ -3000,14 +3365,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3020,7 +3385,7 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -3047,7 +3412,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -3057,7 +3422,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -3066,7 +3431,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3075,12 +3440,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3089,12 +3454,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3105,14 +3470,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3126,35 +3491,46 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ + export interface RevokeInventoryItem { + /** Unique PlayFab assigned ID for a specific character owned by a user */ + CharacterId?: string; + /** Unique PlayFab assigned instance identifier of the item */ + ItemInstanceId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3165,12 +3541,35 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ + export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of player items to revoke, between 1 and 25 items. */ + Items: RevokeInventoryItem[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ + export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** Collection of any errors that occurred during processing. */ + Errors?: RevokeItemError[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ + export interface RevokeItemError { + /** Specific error that was encountered. */ + Error?: string; + /** Item information that failed to be revoked. */ + Item?: RevokeInventoryItem; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3184,7 +3583,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -3195,12 +3594,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The email template id of the email template to send. */ EmailTemplateId: string; @@ -3209,12 +3608,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver @@ -3237,12 +3636,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3253,7 +3652,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data to set for the specified game server instance. */ GameServerData: string; @@ -3262,12 +3661,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; @@ -3276,12 +3675,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; @@ -3293,12 +3692,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3307,12 +3706,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3324,12 +3723,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3341,12 +3740,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3359,7 +3758,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3370,7 +3769,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -3379,7 +3778,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -3393,7 +3792,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -3404,7 +3803,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -3413,7 +3812,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3441,7 +3840,7 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3454,7 +3853,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3465,7 +3864,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -3478,7 +3877,7 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -3491,10 +3890,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog * associated with the item instance. */ CatalogVersion?: string; @@ -3503,7 +3902,7 @@ declare module PlayFabServerModels { /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. */ KeyItemInstanceId?: string; @@ -3512,10 +3911,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary * catalog. */ CatalogVersion?: string; @@ -3528,7 +3927,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -3541,7 +3940,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; @@ -3550,7 +3949,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3569,21 +3968,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3593,8 +3992,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -3604,7 +4003,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3614,7 +4013,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3625,12 +4024,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. @@ -3644,12 +4043,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3657,8 +4056,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys in this request. */ @@ -3668,12 +4067,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3681,8 +4080,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -3692,7 +4091,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3702,7 +4101,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3710,8 +4109,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3719,7 +4118,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3731,8 +4130,8 @@ declare module PlayFabServerModels { /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3740,7 +4139,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -3777,14 +4176,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -3794,7 +4193,7 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3808,7 +4207,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -3817,14 +4216,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -3837,14 +4236,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -3872,14 +4271,14 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -3888,7 +4287,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -3901,7 +4300,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -3926,7 +4325,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -3935,14 +4334,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -3959,7 +4358,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -3974,7 +4373,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -3984,7 +4383,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4002,7 +4401,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4018,7 +4417,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 5ac4d213..514227f2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -2,6 +2,7 @@ /// /// /// +/// declare module PlayFabModule { export interface ISettings { @@ -42,6 +43,7 @@ declare var PlayFab: { MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; ServerApi: PlayFabServerModule.IPlayFabServer; ClientApi: PlayFabClientModule.IPlayFabClient; + EntityApi: PlayFabEntityModule.IPlayFabEntity; }; // Continue to support older usage @@ -49,4 +51,5 @@ declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; +declare var PlayFabEntitySDK: PlayFabEntityModule.IPlayFabEntity; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index c61a76dc..77f79ebc 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -26,7 +26,7 @@ - + @@ -36,7 +36,7 @@ - + diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 7a7c6ebe..5477a26b 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -10,8 +10,7 @@ var PlayFabApiTests = { }, testData: { entityToken: null, - entityType: null, - entityId: null, + entityKey: null, playFabId: null, testNumber: null, }, @@ -49,7 +48,8 @@ var PlayFabApiTests = { } else { // Continue with other tests that require login - // QUnit.test("GetEntityToken", PlayFabApiTests.GetEntityToken); // TODO: Release Entity API + QUnit.test("GetEntityToken", PlayFabApiTests.GetEntityToken); + QUnit.test("EntityObjects", PlayFabApiTests.EntityObjects); QUnit.test("UserDataApi", PlayFabApiTests.UserDataApi); QUnit.test("PlayerStatisticsApi", PlayFabApiTests.PlayerStatisticsApi); QUnit.test("UserCharacter", PlayFabApiTests.UserCharacter); @@ -413,77 +413,67 @@ var PlayFabApiTests = { }; PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); }, - // TODO: Release Entity API ///* ENTITY API // * Test a sequence of calls that modifies saved data, // * and verifies that the next sequential API call contains updated data. // * Verify that the data is correctly modified on the next call. // * Parameter types tested: string, Dictionary, DateTime // */ - //GetEntityToken: function (assert): void { - // var getTokenDone = assert.async(); - // var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); - // PlayFabApiTests.testData.entityId = result.data.EntityId; - // PlayFabApiTests.testData.entityType = result.data.EntityType; - // getTokenDone(); - // }; - // var getTokenRequest = {}; - // PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); - //}, + GetEntityToken: function (assert) { + var getTokenDone = assert.async(); + var getTokenCallback = function (result, error) { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); + PlayFabApiTests.testData.entityKey = result.data.Entity; + getTokenDone(); + }; + var getTokenRequest = {}; + PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); + }, ///* ENTITY API // * Test a sequence of calls that modifies saved data, // * and verifies that the next sequential API call contains updated data. // * Verify that the data is correctly modified on the next call. // * Parameter types tested: string, Dictionary, DateTime // */ - //EntityObjects: function (assert): void { - // var getObjectRequest = { - // EntityId: PlayFabApiTests.testData.entityId, - // EntityType: PlayFabApiTests.testData.entityType, - // EscapeObject: true, - // }; - // // This test is always exactly 3 async calls - // var get1Done = assert.async(); - // var updateDone = assert.async(); - // var get2Done = assert.async(); - // var getObjectCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); - // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); - // var actualtestNumber = null; - // for (var i = 0; i < result.data.Objects.length; i++) - // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) - // actualtestNumber = JSON.parse(result.data.Objects[i].EscapedObject); - // assert.ok(actualtestNumber != null && typeof actualtestNumber === "number", "Testing GetObjects contains target obj (as number)"); - // assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); - // get2Done(); - // }; - // var setObjectCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); - // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); - // updateDone(); - // }; - // var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); - // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); - // PlayFabApiTests.testData.testNumber = null; - // for (var i = 0; i < result.data.Objects.length; i++) - // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) - // PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[i].EscapedObject); - // if (typeof PlayFabApiTests.testData.testNumber === "number") - // PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet - // PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds - // var updateDataRequest = { - // EntityId: PlayFabApiTests.testData.entityId, - // EntityType: PlayFabApiTests.testData.entityType, - // Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, Object: PlayFabApiTests.testData.testNumber }] - // }; - // PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); - // get1Done(); - // }; - // // Kick off this test process - // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); - //}, + EntityObjects: function (assert) { + var getObjectRequest = { + Entity: PlayFabApiTests.testData.entityKey, + EscapeObject: true, + }; + // This test is always exactly 3 async calls + var get1Done = assert.async(); + var updateDone = assert.async(); + var get2Done = assert.async(); + var getObjectCallback2 = function (result, error) { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + var actualtestNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); + assert.ok(actualtestNumber != null && typeof actualtestNumber === "number", "Testing GetObjects contains target obj (as number)"); + assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); + get2Done(); + }; + var setObjectCallback = function (result, error) { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); + PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); + updateDone(); + }; + var getObjectCallback1 = function (result, error) { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); + if (typeof PlayFabApiTests.testData.testNumber === "number") + PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet + PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds + var updateDataRequest = { + Entity: PlayFabApiTests.testData.entityKey, + Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, DataObject: PlayFabApiTests.testData.testNumber }] + }; + PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); + get1Done(); + }; + // Kick off this test process + PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); + }, /* CLIENT API * Test that the client can log out */ diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index 9645c0b6..50cb2e7b 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -14,8 +14,7 @@ var PlayFabApiTests = { }, testData: { entityToken: null, // Entity-Login: filled after login - entityType: null, // Entity-Login: filled after login - entityId: null, // Entity-Login: filled after login + entityKey: null, // Entity-Login: filled after login playFabId: null, // Client-Login: filled during login testNumber: null, // Arbitrary counter, used by several tests }, @@ -58,7 +57,8 @@ var PlayFabApiTests = { setTimeout(function (): void { PlayFabApiTests.PostLoginTests(count + 1); }, PlayFabApiTests.testRetryDelay); } else { // Continue with other tests that require login - // QUnit.test("GetEntityToken", PlayFabApiTests.GetEntityToken); // TODO: Release Entity API + QUnit.test("GetEntityToken", PlayFabApiTests.GetEntityToken); + QUnit.test("EntityObjects", PlayFabApiTests.EntityObjects); QUnit.test("UserDataApi", PlayFabApiTests.UserDataApi); QUnit.test("PlayerStatisticsApi", PlayFabApiTests.PlayerStatisticsApi); QUnit.test("UserCharacter", PlayFabApiTests.UserCharacter); @@ -481,25 +481,23 @@ var PlayFabApiTests = { PlayFabClientSDK.WritePlayerEvent(writeEventRequest, PlayFabApiTests.CallbackWrapper("writeEventCallback", writeEventCallback, assert)); }, - // TODO: Release Entity API ///* ENTITY API // * Test a sequence of calls that modifies saved data, // * and verifies that the next sequential API call contains updated data. // * Verify that the data is correctly modified on the next call. // * Parameter types tested: string, Dictionary, DateTime // */ - //GetEntityToken: function (assert): void { - // var getTokenDone = assert.async(); - // var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); - // PlayFabApiTests.testData.entityId = result.data.EntityId; - // PlayFabApiTests.testData.entityType = result.data.EntityType; - // getTokenDone(); - // }; - - // var getTokenRequest = {}; - // PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); - //}, + GetEntityToken: function (assert): void { + var getTokenDone = assert.async(); + var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); + PlayFabApiTests.testData.entityKey = result.data.Entity; + getTokenDone(); + }; + + var getTokenRequest = {}; + PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); + }, ///* ENTITY API // * Test a sequence of calls that modifies saved data, @@ -507,59 +505,51 @@ var PlayFabApiTests = { // * Verify that the data is correctly modified on the next call. // * Parameter types tested: string, Dictionary, DateTime // */ - //EntityObjects: function (assert): void { - // var getObjectRequest = { - // EntityId: PlayFabApiTests.testData.entityId, - // EntityType: PlayFabApiTests.testData.entityType, - // EscapeObject: true, - // }; - - // // This test is always exactly 3 async calls - // var get1Done = assert.async(); - // var updateDone = assert.async(); - // var get2Done = assert.async(); - - // var getObjectCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); - // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); - // var actualtestNumber = null; - // for (var i = 0; i < result.data.Objects.length; i++) - // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) - // actualtestNumber = JSON.parse(result.data.Objects[i].EscapedObject); - // assert.ok(actualtestNumber != null && typeof actualtestNumber === "number", "Testing GetObjects contains target obj (as number)"); - - // assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); - // get2Done(); - // }; - // var setObjectCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); - - // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); - // updateDone(); - // }; - // var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - // PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); - // assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); - // PlayFabApiTests.testData.testNumber = null; - // for (var i = 0; i < result.data.Objects.length; i++) - // if (result.data.Objects[i].ObjectName === PlayFabApiTests.testConstants.TEST_DATA_KEY) - // PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[i].EscapedObject); - // if (typeof PlayFabApiTests.testData.testNumber === "number") - // PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet - // PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds - - // var updateDataRequest = { - // EntityId: PlayFabApiTests.testData.entityId, - // EntityType: PlayFabApiTests.testData.entityType, - // Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, Object: PlayFabApiTests.testData.testNumber }] - // }; - // PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); - // get1Done(); - // }; - - // // Kick off this test process - // PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); - //}, + EntityObjects: function (assert): void { + var getObjectRequest = { + Entity: PlayFabApiTests.testData.entityKey, + EscapeObject: true, + }; + + // This test is always exactly 3 async calls + var get1Done = assert.async(); + var updateDone = assert.async(); + var get2Done = assert.async(); + + var getObjectCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + var actualtestNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); + assert.ok(actualtestNumber != null && typeof actualtestNumber === "number", "Testing GetObjects contains target obj (as number)"); + + assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); + get2Done(); + }; + var setObjectCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); + + PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); + updateDone(); + }; + var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); + assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); + PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); + if (typeof PlayFabApiTests.testData.testNumber === "number") + PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet + PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds + + var updateDataRequest = { + Entity: PlayFabApiTests.testData.entityKey, + Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, DataObject: PlayFabApiTests.testData.testNumber }] + }; + PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); + get1Done(); + }; + + // Kick off this test process + PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); + }, /* CLIENT API * Test that the client can log out diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 1363f24c..3044e504 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -513,6 +513,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + RevokeInventoryItems: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + RunTask: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 4b03d5a6..48a043d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -525,9 +525,12 @@ PlayFab.ClientApi = { LoginWithAndroidDeviceID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -538,9 +541,12 @@ PlayFab.ClientApi = { LoginWithCustomID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -551,9 +557,12 @@ PlayFab.ClientApi = { LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -564,9 +573,12 @@ PlayFab.ClientApi = { LoginWithFacebook: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -577,9 +589,12 @@ PlayFab.ClientApi = { LoginWithGameCenter: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -590,9 +605,12 @@ PlayFab.ClientApi = { LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -603,9 +621,12 @@ PlayFab.ClientApi = { LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -616,9 +637,12 @@ PlayFab.ClientApi = { LoginWithKongregate: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -629,9 +653,12 @@ PlayFab.ClientApi = { LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -642,9 +669,12 @@ PlayFab.ClientApi = { LoginWithSteam: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -655,9 +685,12 @@ PlayFab.ClientApi = { LoginWithTwitch: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -668,9 +701,12 @@ PlayFab.ClientApi = { LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -724,9 +760,12 @@ PlayFab.ClientApi = { RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { - if (result != null && result.data.SessionTicket != null) { - PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + 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; + } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js new file mode 100644 index 00000000..419c24ee --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -0,0 +1,341 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.20.180316", + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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 (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.20.180316"; +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.EntityApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + AbortFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + AcceptGroupApplication: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + AcceptGroupInvitation: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + AddMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AddMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ApplyToGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ApplyToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + BlockEntity: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/BlockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ChangeMemberRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ChangeMemberRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + FinalizeFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetEntityToken: function (request, callback, customData, extraHeaders) { + var authKey = null; var authValue = null; + if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } + if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } + var overloadCallback = function (result, error) { + if (result != null && result.data.EntityToken != null) + PlayFab._internalSettings.entityToken = result.data.EntityToken; + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback); + }, + + GetFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/GetGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetProfile: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + InitiateFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + InviteToGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/InviteToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + IsMember: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/IsMember", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupApplications: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupApplications", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupBlocks: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupBlocks", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupInvitations: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupInvitations", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListGroupMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListMembership: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembership", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListMembershipOpportunities: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembershipOpportunities", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RemoveGroupApplication: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RemoveGroupInvitation: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RemoveMembers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetProfilePolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UnblockEntity: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UnblockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UpdateGroup: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UpdateRole: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabEntitySDK = PlayFab.EntityApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 76e81ca6..77354579 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 65c2b971..13ed8b0c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.19.180213", + sdkVersion: "1.20.180316", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.19.180213"; +PlayFab.sdkVersion = "1.20.180316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -528,6 +528,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + RevokeInventoryItems: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 5ac4d213..514227f2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -2,6 +2,7 @@ /// /// /// +/// declare module PlayFabModule { export interface ISettings { @@ -42,6 +43,7 @@ declare var PlayFab: { MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; ServerApi: PlayFabServerModule.IPlayFabServer; ClientApi: PlayFabClientModule.IPlayFabClient; + EntityApi: PlayFabEntityModule.IPlayFabEntity; }; // Continue to support older usage @@ -49,4 +51,5 @@ declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; +declare var PlayFabEntitySDK: PlayFabEntityModule.IPlayFabEntity; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 8f842036..9c702432 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -389,6 +389,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Revokes access for up to 25 items across multiple users and characters. + * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItems + */ + RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Run a task immediately regardless of its schedule. * https://api.playfab.com/Documentation/Admin/method/RunTask @@ -535,14 +540,14 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { /** ID of the action to perform on each player in segment. */ ActionId: string; @@ -551,7 +556,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -580,7 +585,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -591,7 +596,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -602,7 +607,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Body text of the news */ Body: string; @@ -613,14 +618,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique id of the new news item */ NewsId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -629,12 +634,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; @@ -656,7 +661,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -687,7 +692,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -701,7 +706,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) @@ -711,7 +716,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -720,7 +725,7 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -741,7 +746,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -756,26 +761,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -834,7 +839,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -848,7 +853,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -866,7 +871,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -885,7 +890,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; @@ -894,14 +899,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { /** The amount of the specified resource remaining. */ Amount: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -913,7 +918,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { /** Argument to pass to the CloudScript function. */ Argument?: any; @@ -922,7 +927,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -945,7 +950,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { /** Most recent revision for this Cloud Script version */ LatestRevision: number; @@ -960,7 +965,7 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -971,7 +976,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -982,7 +987,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { /** Key of the content */ Key?: string; @@ -1251,7 +1256,7 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1266,7 +1271,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1281,21 +1286,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ FriendlyName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -1306,14 +1311,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1483,38 +1488,38 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Key of the content item to be deleted */ Key: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1523,29 +1528,29 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1557,7 +1562,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1569,12 +1574,12 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1619,7 +1624,7 @@ declare module PlayFabAdminModels { | "Processing" | "FailedToProcess"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { /** specific game mode type */ Gamemode: string; @@ -1632,7 +1637,368 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ + type GenericErrorCodes = "Success" + | "InvalidParams" + | "AccountNotFound" + | "AccountBanned" + | "InvalidUsernameOrPassword" + | "InvalidTitleId" + | "InvalidEmailAddress" + | "EmailAddressNotAvailable" + | "InvalidUsername" + | "InvalidPassword" + | "UsernameNotAvailable" + | "InvalidSteamTicket" + | "AccountAlreadyLinked" + | "LinkedAccountAlreadyClaimed" + | "InvalidFacebookToken" + | "AccountNotLinked" + | "FailedByPaymentProvider" + | "CouponCodeNotFound" + | "InvalidContainerItem" + | "ContainerNotOwned" + | "KeyNotOwned" + | "InvalidItemIdInTable" + | "InvalidReceipt" + | "ReceiptAlreadyUsed" + | "ReceiptCancelled" + | "GameNotFound" + | "GameModeNotFound" + | "InvalidGoogleToken" + | "UserIsNotPartOfDeveloper" + | "InvalidTitleForDeveloper" + | "TitleNameConflicts" + | "UserisNotValid" + | "ValueAlreadyExists" + | "BuildNotFound" + | "PlayerNotInGame" + | "InvalidTicket" + | "InvalidDeveloper" + | "InvalidOrderInfo" + | "RegistrationIncomplete" + | "InvalidPlatform" + | "UnknownError" + | "SteamApplicationNotOwned" + | "WrongSteamAccount" + | "TitleNotActivated" + | "RegistrationSessionNotFound" + | "NoSuchMod" + | "FileNotFound" + | "DuplicateEmail" + | "ItemNotFound" + | "ItemNotOwned" + | "ItemNotRecycleable" + | "ItemNotAffordable" + | "InvalidVirtualCurrency" + | "WrongVirtualCurrency" + | "WrongPrice" + | "NonPositiveValue" + | "InvalidRegion" + | "RegionAtCapacity" + | "ServerFailedToStart" + | "NameNotAvailable" + | "InsufficientFunds" + | "InvalidDeviceID" + | "InvalidPushNotificationToken" + | "NoRemainingUses" + | "InvalidPaymentProvider" + | "PurchaseInitializationFailure" + | "DuplicateUsername" + | "InvalidBuyerInfo" + | "NoGameModeParamsSet" + | "BodyTooLarge" + | "ReservedWordInBody" + | "InvalidTypeInBody" + | "InvalidRequest" + | "ReservedEventName" + | "InvalidUserStatistics" + | "NotAuthenticated" + | "StreamAlreadyExists" + | "ErrorCreatingStream" + | "StreamNotFound" + | "InvalidAccount" + | "PurchaseDoesNotExist" + | "InvalidPurchaseTransactionStatus" + | "APINotEnabledForGameClientAccess" + | "NoPushNotificationARNForTitle" + | "BuildAlreadyExists" + | "BuildPackageDoesNotExist" + | "CustomAnalyticsEventsNotEnabledForTitle" + | "InvalidSharedGroupId" + | "NotAuthorized" + | "MissingTitleGoogleProperties" + | "InvalidItemProperties" + | "InvalidPSNAuthCode" + | "InvalidItemId" + | "PushNotEnabledForAccount" + | "PushServiceError" + | "ReceiptDoesNotContainInAppItems" + | "ReceiptContainsMultipleInAppItems" + | "InvalidBundleID" + | "JavascriptException" + | "InvalidSessionTicket" + | "UnableToConnectToDatabase" + | "InternalServerError" + | "InvalidReportDate" + | "ReportNotAvailable" + | "DatabaseThroughputExceeded" + | "InvalidGameTicket" + | "ExpiredGameTicket" + | "GameTicketDoesNotMatchLobby" + | "LinkedDeviceAlreadyClaimed" + | "DeviceAlreadyLinked" + | "DeviceNotLinked" + | "PartialFailure" + | "PublisherNotSet" + | "ServiceUnavailable" + | "VersionNotFound" + | "RevisionNotFound" + | "InvalidPublisherId" + | "DownstreamServiceUnavailable" + | "APINotIncludedInTitleUsageTier" + | "DAULimitExceeded" + | "APIRequestLimitExceeded" + | "InvalidAPIEndpoint" + | "BuildNotAvailable" + | "ConcurrentEditError" + | "ContentNotFound" + | "CharacterNotFound" + | "CloudScriptNotFound" + | "ContentQuotaExceeded" + | "InvalidCharacterStatistics" + | "PhotonNotEnabledForTitle" + | "PhotonApplicationNotFound" + | "PhotonApplicationNotAssociatedWithTitle" + | "InvalidEmailOrPassword" + | "FacebookAPIError" + | "InvalidContentType" + | "KeyLengthExceeded" + | "DataLengthExceeded" + | "TooManyKeys" + | "FreeTierCannotHaveVirtualCurrency" + | "MissingAmazonSharedKey" + | "AmazonValidationError" + | "InvalidPSNIssuerId" + | "PSNInaccessible" + | "ExpiredAuthToken" + | "FailedToGetEntitlements" + | "FailedToConsumeEntitlement" + | "TradeAcceptingUserNotAllowed" + | "TradeInventoryItemIsAssignedToCharacter" + | "TradeInventoryItemIsBundle" + | "TradeStatusNotValidForCancelling" + | "TradeStatusNotValidForAccepting" + | "TradeDoesNotExist" + | "TradeCancelled" + | "TradeAlreadyFilled" + | "TradeWaitForStatusTimeout" + | "TradeInventoryItemExpired" + | "TradeMissingOfferedAndAcceptedItems" + | "TradeAcceptedItemIsBundle" + | "TradeAcceptedItemIsStackable" + | "TradeInventoryItemInvalidStatus" + | "TradeAcceptedCatalogItemInvalid" + | "TradeAllowedUsersInvalid" + | "TradeInventoryItemDoesNotExist" + | "TradeInventoryItemIsConsumed" + | "TradeInventoryItemIsStackable" + | "TradeAcceptedItemsMismatch" + | "InvalidKongregateToken" + | "FeatureNotConfiguredForTitle" + | "NoMatchingCatalogItemForReceipt" + | "InvalidCurrencyCode" + | "NoRealMoneyPriceForCatalogItem" + | "TradeInventoryItemIsNotTradable" + | "TradeAcceptedCatalogItemIsNotTradable" + | "UsersAlreadyFriends" + | "LinkedIdentifierAlreadyClaimed" + | "CustomIdNotLinked" + | "TotalDataSizeExceeded" + | "DeleteKeyConflict" + | "InvalidXboxLiveToken" + | "ExpiredXboxLiveToken" + | "ResettableStatisticVersionRequired" + | "NotAuthorizedByTitle" + | "NoPartnerEnabled" + | "InvalidPartnerResponse" + | "APINotEnabledForGameServerAccess" + | "StatisticNotFound" + | "StatisticNameConflict" + | "StatisticVersionClosedForWrites" + | "StatisticVersionInvalid" + | "APIClientRequestRateLimitExceeded" + | "InvalidJSONContent" + | "InvalidDropTable" + | "StatisticVersionAlreadyIncrementedForScheduledInterval" + | "StatisticCountLimitExceeded" + | "StatisticVersionIncrementRateExceeded" + | "ContainerKeyInvalid" + | "CloudScriptExecutionTimeLimitExceeded" + | "NoWritePermissionsForEvent" + | "CloudScriptFunctionArgumentSizeExceeded" + | "CloudScriptAPIRequestCountExceeded" + | "CloudScriptAPIRequestError" + | "CloudScriptHTTPRequestError" + | "InsufficientGuildRole" + | "GuildNotFound" + | "OverLimit" + | "EventNotFound" + | "InvalidEventField" + | "InvalidEventName" + | "CatalogNotConfigured" + | "OperationNotSupportedForPlatform" + | "SegmentNotFound" + | "StoreNotFound" + | "InvalidStatisticName" + | "TitleNotQualifiedForLimit" + | "InvalidServiceLimitLevel" + | "ServiceLimitLevelInTransition" + | "CouponAlreadyRedeemed" + | "GameServerBuildSizeLimitExceeded" + | "GameServerBuildCountLimitExceeded" + | "VirtualCurrencyCountLimitExceeded" + | "VirtualCurrencyCodeExists" + | "TitleNewsItemCountLimitExceeded" + | "InvalidTwitchToken" + | "TwitchResponseError" + | "ProfaneDisplayName" + | "UserAlreadyAdded" + | "InvalidVirtualCurrencyCode" + | "VirtualCurrencyCannotBeDeleted" + | "IdentifierAlreadyClaimed" + | "IdentifierNotLinked" + | "InvalidContinuationToken" + | "ExpiredContinuationToken" + | "InvalidSegment" + | "InvalidSessionId" + | "SessionLogNotFound" + | "InvalidSearchTerm" + | "TwoFactorAuthenticationTokenRequired" + | "GameServerHostCountLimitExceeded" + | "PlayerTagCountLimitExceeded" + | "RequestAlreadyRunning" + | "ActionGroupNotFound" + | "MaximumSegmentBulkActionJobsRunning" + | "NoActionsOnPlayersInSegmentJob" + | "DuplicateStatisticName" + | "ScheduledTaskNameConflict" + | "ScheduledTaskCreateConflict" + | "InvalidScheduledTaskName" + | "InvalidTaskSchedule" + | "SteamNotEnabledForTitle" + | "LimitNotAnUpgradeOption" + | "NoSecretKeyEnabledForCloudScript" + | "TaskNotFound" + | "TaskInstanceNotFound" + | "InvalidIdentityProviderId" + | "MisconfiguredIdentityProvider" + | "InvalidScheduledTaskType" + | "BillingInformationRequired" + | "LimitedEditionItemUnavailable" + | "InvalidAdPlacementAndReward" + | "AllAdPlacementViewsAlreadyConsumed" + | "GoogleOAuthNotConfiguredForTitle" + | "GoogleOAuthError" + | "UserNotFriend" + | "InvalidSignature" + | "InvalidPublicKey" + | "GoogleOAuthNoIdTokenIncludedInResponse" + | "StatisticUpdateInProgress" + | "LeaderboardVersionNotAvailable" + | "StatisticAlreadyHasPrizeTable" + | "PrizeTableHasOverlappingRanks" + | "PrizeTableHasMissingRanks" + | "PrizeTableRankStartsAtZero" + | "InvalidStatistic" + | "ExpressionParseFailure" + | "ExpressionInvokeFailure" + | "ExpressionTooLong" + | "DataUpdateRateExceeded" + | "RestrictedEmailDomain" + | "EncryptionKeyDisabled" + | "EncryptionKeyMissing" + | "EncryptionKeyBroken" + | "NoSharedSecretKeyConfigured" + | "SecretKeyNotFound" + | "PlayerSecretAlreadyConfigured" + | "APIRequestsDisabledForTitle" + | "InvalidSharedSecretKey" + | "PrizeTableHasNoRanks" + | "ProfileDoesNotExist" + | "ContentS3OriginBucketNotConfigured" + | "InvalidEnvironmentForReceipt" + | "EncryptedRequestNotAllowed" + | "SignedRequestNotAllowed" + | "RequestViewConstraintParamsNotAllowed" + | "BadPartnerConfiguration" + | "XboxBPCertificateFailure" + | "XboxXASSExchangeFailure" + | "InvalidEntityId" + | "StatisticValueAggregationOverflow" + | "EmailMessageFromAddressIsMissing" + | "EmailMessageToAddressIsMissing" + | "SmtpServerAuthenticationError" + | "SmtpServerLimitExceeded" + | "SmtpServerInsufficientStorage" + | "SmtpServerCommunicationError" + | "SmtpServerGeneralFailure" + | "EmailClientTimeout" + | "EmailClientCanceledTask" + | "EmailTemplateMissing" + | "InvalidHostForTitleId" + | "EmailConfirmationTokenDoesNotExist" + | "EmailConfirmationTokenExpired" + | "AccountDeleted" + | "PlayerSecretNotConfigured" + | "InvalidSignatureTime" + | "NoContactEmailAddressFound" + | "InvalidAuthToken" + | "AuthTokenDoesNotExist" + | "AuthTokenExpired" + | "AuthTokenAlreadyUsedToResetPassword" + | "MembershipNameTooLong" + | "MembershipNotFound" + | "GoogleServiceAccountInvalid" + | "GoogleServiceAccountParseFailure" + | "EntityTokenMissing" + | "EntityTokenInvalid" + | "EntityTokenExpired" + | "EntityTokenRevoked" + | "InvalidProductForSubscription" + | "XboxInaccessible" + | "SubscriptionAlreadyTaken" + | "SmtpAddonNotEnabled" + | "APIConcurrentRequestLimitExceeded" + | "XboxRejectedXSTSExchangeRequest" + | "VariableNotDefined" + | "TemplateVersionNotDefined" + | "FileTooLarge" + | "TitleDeleted" + | "TitleContainsUserAccounts" + | "TitleDeletionPlayerCleanupFailure" + | "EntityFileOperationPending" + | "NoEntityFileOperationPending" + | "EntityProfileVersionMismatch" + | "TemplateVersionTooOld" + | "MembershipDefinitionInUse" + | "PaymentPageNotConfigured" + | "FailedLoginAttemptRateLimitExceeded" + | "EntityBlockedByGroup" + | "RoleDoesNotExist" + | "EntityIsAlreadyMember" + | "DuplicateRoleId" + | "GroupInvitationNotFound" + | "GroupApplicationNotFound" + | "OutstandingInvitationAcceptedInstead" + | "OutstandingApplicationAcceptedInstead" + | "RoleIsGroupDefaultMember" + | "RoleIsGroupAdmin" + | "RoleNameNotAvailable" + | "GroupNameNotAvailable" + | "EmailReportAlreadySent" + | "EmailReportRecipientBlacklisted"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; @@ -1641,33 +2007,33 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision number. If left null, defaults to the latest revision */ Revision?: number; @@ -1676,7 +2042,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { /** Time this revision was created */ CreatedAt: string; @@ -1691,7 +2057,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; @@ -1700,19 +2066,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, @@ -1722,7 +2088,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { /** List of content items. */ Contents?: ContentInfo[]; @@ -1733,7 +2099,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when @@ -1745,14 +2111,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { /** Reporting year (UTC) */ Day: number; @@ -1765,21 +2131,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { /** The URL where the requested report can be downloaded. */ DownloadUrl?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** version identifier of the game server executable binary being run */ BuildVersion?: string; @@ -1804,21 +2170,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -1827,14 +2193,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The player ID from the token passed in */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1847,7 +2213,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -1857,26 +2223,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -1892,7 +2258,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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; @@ -1903,40 +2269,40 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -1945,7 +2311,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1954,14 +2320,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; @@ -1970,35 +2336,35 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2009,14 +2375,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2045,21 +2411,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the game server build to upload */ BuildId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2068,7 +2434,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2083,14 +2449,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the requested task instance. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; @@ -2106,7 +2472,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get @@ -2117,49 +2483,49 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2173,7 +2539,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2187,14 +2553,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2207,7 +2573,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2251,7 +2617,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2260,14 +2626,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2278,26 +2644,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2311,8 +2677,8 @@ declare module PlayFabAdminModels { /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2320,7 +2686,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2358,7 +2724,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2371,31 +2737,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2425,7 +2791,7 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2435,7 +2801,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -2448,14 +2814,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2473,7 +2839,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; @@ -2482,12 +2848,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2511,7 +2877,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2542,7 +2908,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2558,14 +2924,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; @@ -2585,7 +2951,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -2598,7 +2964,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -2613,7 +2979,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -2658,7 +3024,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -2696,7 +3062,7 @@ declare module PlayFabAdminModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -2704,7 +3070,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -2741,7 +3107,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -2754,7 +3120,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -2767,7 +3133,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -2791,7 +3157,7 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2800,7 +3166,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2813,7 +3179,7 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; @@ -2822,7 +3188,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -2833,7 +3199,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -2847,7 +3213,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; @@ -2862,7 +3228,7 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2871,31 +3237,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2904,12 +3270,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new password for the player. */ Password: string; @@ -2918,19 +3284,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -2939,7 +3305,7 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -2958,14 +3324,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -2979,35 +3345,46 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ + export interface RevokeInventoryItem { + /** Unique PlayFab assigned ID for a specific character owned by a user */ + CharacterId?: string; + /** Unique PlayFab assigned instance identifier of the item */ + ItemInstanceId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3018,19 +3395,42 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ + export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of player items to revoke, between 1 and 25 items. */ + Items: RevokeInventoryItem[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ + export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** Collection of any errors that occurred during processing. */ + Errors?: RevokeItemError[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ + export interface RevokeItemError { + /** Specific error that was encountered. */ + Error?: string; + /** Item information that failed to be revoked. */ + Item?: RevokeInventoryItem; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call @@ -3040,7 +3440,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { /** Description the task */ Description?: string; @@ -3069,7 +3469,7 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3083,7 +3483,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3092,12 +3492,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3106,12 +3506,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision to make the current published revision */ Revision: number; @@ -3120,12 +3520,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3137,12 +3537,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3154,12 +3554,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; @@ -3183,14 +3583,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { /** Flag to indicate if this key is disabled */ Disabled: boolean; @@ -3212,7 +3612,7 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3241,7 +3641,7 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -3259,7 +3659,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -3270,7 +3670,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3298,7 +3698,7 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3309,14 +3709,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -3352,7 +3752,7 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3371,21 +3771,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not @@ -3402,12 +3802,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; @@ -3418,7 +3818,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** New revision number created */ Revision: number; @@ -3427,7 +3827,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -3438,12 +3838,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3457,14 +3857,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; @@ -3475,7 +3875,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy that was updated. */ PolicyName?: string; @@ -3484,7 +3884,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -3496,12 +3896,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -3514,12 +3914,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -3538,7 +3938,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3546,8 +3946,8 @@ declare module PlayFabAdminModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -3557,7 +3957,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3567,7 +3967,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3575,8 +3975,8 @@ declare module PlayFabAdminModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3584,7 +3984,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; @@ -3593,14 +3993,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -3637,14 +4037,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -3654,7 +4054,7 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3668,7 +4068,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -3677,14 +4077,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -3697,14 +4097,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -3732,14 +4132,14 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -3748,7 +4148,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -3761,7 +4161,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -3786,7 +4186,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -3795,14 +4195,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -3819,7 +4219,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; @@ -3834,7 +4234,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index ef91f359..4577402d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -9,7 +9,7 @@ declare module PlayFabClientModule { /** * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the * allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted - * items will be swapped between the two players' inventories. + * items will be swapped between the two players' inventories. * https://api.playfab.com/Documentation/Client/method/AcceptTrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -32,9 +32,9 @@ declare module PlayFabClientModule { */ AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only - * users in the group can add new members. Shared Groups are designed for sharing data between a very small number of - * players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users + * in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, + * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -62,12 +62,12 @@ declare module PlayFabClientModule { /** * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other - * players from accepting them, for trades that can be claimed by more than one player). + * players from accepting them, for trades that can be claimed by more than one player). * https://api.playfab.com/Documentation/Client/method/CancelTrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual + * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual * currency balances as appropriate * https://api.playfab.com/Documentation/Client/method/ConfirmPurchase */ @@ -78,9 +78,9 @@ declare module PlayFabClientModule { */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the - * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing - * data between a very small number of players, please see our guide: + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data + * between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ @@ -132,13 +132,12 @@ declare module PlayFabClientModule { */ GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned - * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the - * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. - * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates - * apply. + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -272,7 +271,7 @@ declare module PlayFabClientModule { */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile + * 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs */ @@ -296,9 +295,9 @@ declare module PlayFabClientModule { */ GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group - * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. - * Shared Groups are designed for sharing data between a very small number of players, please see our guide: + * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group + * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. + * Shared Groups are designed for sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/GetSharedGroupData */ @@ -469,8 +468,8 @@ declare module PlayFabClientModule { LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls - * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation - * of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via + * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of + * new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ @@ -515,13 +514,13 @@ declare module PlayFabClientModule { */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as - * what the client believes the price to be. This lets the server fail the purchase if the price has changed. + * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what + * the client believes the price to be. This lets the server fail the purchase if the price has changed. * https://api.playfab.com/Documentation/Client/method/PurchaseItem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ @@ -538,7 +537,7 @@ declare module PlayFabClientModule { */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can + * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can * subsequently be used for API calls which require an authenticated user * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello */ @@ -559,9 +558,9 @@ declare module PlayFabClientModule { */ RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the - * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data - * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the + * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers */ @@ -688,8 +687,7 @@ declare module PlayFabClientModule { */ UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Creates and updates the title-specific custom data for the user's character which is readable and writable by the - * client + * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -708,7 +706,7 @@ declare module PlayFabClientModule { /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. - * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for + * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData @@ -772,7 +770,7 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this @@ -786,14 +784,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -804,7 +802,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; @@ -817,38 +815,38 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { /** True if the friend request was processed successfully. */ Created: boolean; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new contact email to associate with the player. */ EmailAddress: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -857,12 +855,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -873,14 +871,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique user name. */ Username?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; @@ -889,7 +887,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -903,12 +901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { /** The adid for this device. */ Adid?: string; @@ -917,26 +915,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { /** Description of the catalog item. */ Description?: string; @@ -957,7 +955,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1016,7 +1014,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -1030,7 +1028,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1048,7 +1046,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1067,7 +1065,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1076,7 +1074,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1095,7 +1093,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -1110,7 +1108,7 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; @@ -1122,14 +1120,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items purchased. */ Items?: ItemInstance[]; @@ -1140,7 +1138,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1151,7 +1149,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1160,7 +1158,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1171,7 +1169,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ Data?: { [key: string]: string | null }; @@ -1436,14 +1434,14 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1613,7 +1611,7 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build to match against. */ BuildVersion?: string; @@ -1628,7 +1626,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { /** number of games running */ GameCount: number; @@ -1639,7 +1637,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -1650,25 +1648,40 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { - /** The identifier of the entity the token was issued for. */ - EntityId?: string; + /** The entity id and type. */ + Entity?: EntityKey; /** The token used to set X-EntityToken for all entity based API calls. */ EntityToken?: string; - /** The type of entity the token was issued for. */ - EntityType?: string; /** The time the token will expire, if it is an expiring token, in UTC. */ TokenExpiration?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1690,7 +1703,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1729,7 +1742,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1738,7 +1751,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1761,7 +1774,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { /** Unique Game Center identifier for a user. */ GameCenterId?: string; @@ -1770,7 +1783,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { /** build version this server is running */ BuildVersion?: string; @@ -1808,7 +1821,7 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** version of game server for which stats are being requested */ BuildVersion: string; @@ -1820,14 +1833,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -1836,7 +1849,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -1845,7 +1858,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address for the account to find (if no Username is specified). */ Email?: string; @@ -1864,28 +1877,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1901,7 +1914,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1915,7 +1928,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -1924,7 +1937,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -1937,7 +1950,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -1950,28 +1963,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -1985,14 +1998,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2015,7 +2028,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2026,7 +2039,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2049,7 +2062,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2064,14 +2077,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; @@ -2084,14 +2097,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2110,7 +2123,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2121,7 +2134,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2130,14 +2143,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2156,7 +2169,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2167,14 +2180,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of service to provide the payment token. Allowed Values are: xsolla */ TokenProvider: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab's purchase order identifier. */ OrderId?: string; @@ -2183,21 +2196,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2206,7 +2219,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2244,7 +2257,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2253,7 +2266,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2287,7 +2300,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2300,7 +2313,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2310,19 +2323,19 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; @@ -2334,28 +2347,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2364,7 +2377,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2373,14 +2386,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; @@ -2389,35 +2402,35 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2427,91 +2440,91 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Purchase order identifier. */ OrderId?: string; @@ -2526,7 +2539,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2537,7 +2550,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2551,7 +2564,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2560,7 +2573,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2569,7 +2582,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2584,47 +2597,47 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -2636,14 +2649,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player who opened trade. */ OfferingPlayerId: string; @@ -2652,21 +2665,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** Information about the requested trade. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the * version in the system is greater than this. */ IfChangedFromDataVersion?: number; - /** Specific keys to search for in the custom data. Leave null to get all keys. */ + /** List of unique keys to load from. */ Keys?: string[]; /** * Unique PlayFab identifier of the user to load data for. Optional, defaults to yourself if not set. When specified to a @@ -2676,7 +2689,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2688,12 +2701,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2704,7 +2717,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -2716,14 +2729,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -2732,7 +2745,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2746,7 +2759,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; @@ -2757,7 +2770,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2795,7 +2808,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Title-specific text concerning this purchase. */ Annotation?: string; @@ -2808,7 +2821,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { /** Unique Kongregate identifier for a user. */ KongregateId?: string; @@ -2817,7 +2830,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -2830,12 +2843,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -2844,12 +2857,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2862,7 +2875,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -2871,12 +2884,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2885,12 +2898,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2902,12 +2915,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; @@ -2920,12 +2933,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; @@ -2936,12 +2949,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2953,12 +2966,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; @@ -2967,12 +2980,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -2985,26 +2998,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3034,7 +3047,7 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3056,7 +3069,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3082,7 +3095,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3104,7 +3117,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address for the account. */ Email: string; @@ -3122,7 +3135,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3144,7 +3157,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3166,7 +3179,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3191,7 +3204,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3217,7 +3230,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; @@ -3241,7 +3254,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; @@ -3259,7 +3272,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3284,7 +3297,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Twitch's API for the user. */ AccessToken?: string; @@ -3306,7 +3319,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; @@ -3324,7 +3337,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3334,7 +3347,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; @@ -3355,7 +3368,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server will expire, if applicable */ Expires?: string; @@ -3382,7 +3395,7 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3400,7 +3413,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3416,14 +3429,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may @@ -3437,14 +3450,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; @@ -3457,7 +3470,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; @@ -3482,7 +3495,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { /** Specific currency to use to fund the purchase. */ Currency?: string; @@ -3495,7 +3508,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3510,7 +3523,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3548,7 +3561,7 @@ declare module PlayFabClientModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -3556,7 +3569,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3593,7 +3606,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3610,7 +3623,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; @@ -3627,7 +3640,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; @@ -3637,7 +3650,7 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3646,7 +3659,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; @@ -3657,7 +3670,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; @@ -3672,7 +3685,7 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { /** indicates whether the server specified is available in this region */ Available: boolean; @@ -3685,7 +3698,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -3696,12 +3709,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; @@ -3733,7 +3746,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier for this newly created account. */ PlayFabId?: string; @@ -3746,7 +3759,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -3770,41 +3783,41 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3813,12 +3826,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3827,26 +3840,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3860,7 +3873,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3874,12 +3887,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3888,12 +3901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; @@ -3902,12 +3915,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3926,7 +3939,7 @@ declare module PlayFabClientModels { | "GameServer" | "Partner"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** version information for the build of the game server which is to be started */ BuildVersion: string; @@ -3943,7 +3956,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server should expire, if applicable */ Expires?: string; @@ -3962,7 +3975,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; @@ -3973,7 +3986,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Cart items to be purchased. */ Contents?: CartItem[]; @@ -3986,7 +3999,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3997,7 +4010,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4006,7 +4019,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4020,7 +4033,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4031,7 +4044,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4040,7 +4053,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4058,7 +4071,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4069,7 +4082,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4097,7 +4110,7 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4106,7 +4119,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4119,7 +4132,7 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -4132,13 +4145,13 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; /** The PlayFab ID of the player who accepted the trade. If null, no one has accepted the trade. */ AcceptedPlayerId?: string; - /** An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ + /** An optional list of players allowed to complete this trade. If null, anybody can complete the trade. */ AllowedPlayerIds?: string[]; /** If set, The UTC time when this trade was canceled. */ CancelledAt?: string; @@ -4192,7 +4205,7 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; @@ -4201,7 +4214,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4211,12 +4224,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4226,42 +4239,42 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will @@ -4271,57 +4284,57 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog * associated with the item instance. */ CatalogVersion?: string; @@ -4330,17 +4343,17 @@ declare module PlayFabClientModels { /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. */ KeyItemInstanceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary * catalog. */ CatalogVersion?: string; @@ -4351,7 +4364,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4364,14 +4377,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4381,8 +4394,8 @@ declare module PlayFabClientModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -4390,7 +4403,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4400,7 +4413,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4409,24 +4422,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4434,8 +4447,8 @@ declare module PlayFabClientModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys in this request. */ @@ -4445,12 +4458,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4458,8 +4471,8 @@ declare module PlayFabClientModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** @@ -4470,7 +4483,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4480,21 +4493,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4531,14 +4544,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4548,7 +4561,7 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4562,7 +4575,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4571,14 +4584,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4591,14 +4604,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4626,14 +4639,14 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4642,7 +4655,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -4651,7 +4664,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4664,7 +4677,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4689,7 +4702,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4698,14 +4711,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4720,12 +4733,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode?: string; @@ -4738,12 +4751,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode: string; @@ -4754,12 +4767,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4772,12 +4785,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4794,7 +4807,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -4809,7 +4822,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4825,7 +4838,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4839,7 +4852,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -4849,7 +4862,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts new file mode 100644 index 00000000..9fa3bf28 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts @@ -0,0 +1,1097 @@ +/// + +declare module PlayFabEntityModule { + export interface IPlayFabEntity { + ForgetAllCredentials(): void; + + /** + * Abort pending file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/AbortFileUploads + */ + AbortFileUploads(request: PlayFabEntityModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Accepts an outstanding invitation to to join a group + * https://api.playfab.com/Documentation/Entity/method/AcceptGroupApplication + */ + AcceptGroupApplication(request: PlayFabEntityModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Accepts an invitation to join a group + * https://api.playfab.com/Documentation/Entity/method/AcceptGroupInvitation + */ + AcceptGroupInvitation(request: PlayFabEntityModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds members to a group or role. + * https://api.playfab.com/Documentation/Entity/method/AddMembers + */ + AddMembers(request: PlayFabEntityModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Applies to join a group + * https://api.playfab.com/Documentation/Entity/method/ApplyToGroup + */ + ApplyToGroup(request: PlayFabEntityModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Blocks a list of entities from joining a group. + * https://api.playfab.com/Documentation/Entity/method/BlockEntity + */ + BlockEntity(request: PlayFabEntityModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Changes the role membership of a list of entities from one role to another. + * https://api.playfab.com/Documentation/Entity/method/ChangeMemberRole + */ + ChangeMemberRole(request: PlayFabEntityModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group. + * https://api.playfab.com/Documentation/Entity/method/CreateGroup + */ + CreateGroup(request: PlayFabEntityModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group role. + * https://api.playfab.com/Documentation/Entity/method/CreateRole + */ + CreateRole(request: PlayFabEntityModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete files on an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/DeleteFiles + */ + DeleteFiles(request: PlayFabEntityModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a group and all roles, invitations, join requests, and blocks associated with it. + * https://api.playfab.com/Documentation/Entity/method/DeleteGroup + */ + DeleteGroup(request: PlayFabEntityModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing role in a group. + * https://api.playfab.com/Documentation/Entity/method/DeleteRole + */ + DeleteRole(request: PlayFabEntityModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Finalize file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/FinalizeFileUploads + */ + FinalizeFileUploads(request: PlayFabEntityModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid + * Entity Token. + * https://api.playfab.com/Documentation/Entity/method/GetEntityToken + */ + GetEntityToken(request: PlayFabEntityModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves file metadata from an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetFiles + */ + GetFiles(request: PlayFabEntityModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the global title access policy + * https://api.playfab.com/Documentation/Entity/method/GetGlobalPolicy + */ + GetGlobalPolicy(request: PlayFabEntityModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets information about a group and its roles + * https://api.playfab.com/Documentation/Entity/method/GetGroup + */ + GetGroup(request: PlayFabEntityModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves objects from an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetObjects + */ + GetObjects(request: PlayFabEntityModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetProfile + */ + GetProfile(request: PlayFabEntityModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Initiates file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/InitiateFileUploads + */ + InitiateFileUploads(request: PlayFabEntityModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Invites a player to join a group + * https://api.playfab.com/Documentation/Entity/method/InviteToGroup + */ + InviteToGroup(request: PlayFabEntityModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks to see if an entity is a member of a group or role within the group + * https://api.playfab.com/Documentation/Entity/method/IsMember + */ + IsMember(request: PlayFabEntityModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding requests to join a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupApplications + */ + ListGroupApplications(request: PlayFabEntityModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all entities blocked from joining a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupBlocks + */ + ListGroupBlocks(request: PlayFabEntityModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations for a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupInvitations + */ + ListGroupInvitations(request: PlayFabEntityModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all members for a group + * https://api.playfab.com/Documentation/Entity/method/ListGroupMembers + */ + ListGroupMembers(request: PlayFabEntityModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all groups and roles for an entity + * https://api.playfab.com/Documentation/Entity/method/ListMembership + */ + ListMembership(request: PlayFabEntityModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations and group applications for an entity + * https://api.playfab.com/Documentation/Entity/method/ListMembershipOpportunities + */ + ListMembershipOpportunities(request: PlayFabEntityModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an application to join a group + * https://api.playfab.com/Documentation/Entity/method/RemoveGroupApplication + */ + RemoveGroupApplication(request: PlayFabEntityModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an invitation join a group + * https://api.playfab.com/Documentation/Entity/method/RemoveGroupInvitation + */ + RemoveGroupInvitation(request: PlayFabEntityModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes members from a group. + * https://api.playfab.com/Documentation/Entity/method/RemoveMembers + */ + RemoveMembers(request: PlayFabEntityModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the global title access policy + * https://api.playfab.com/Documentation/Entity/method/SetGlobalPolicy + */ + SetGlobalPolicy(request: PlayFabEntityModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets objects on an entity's profile. + * https://api.playfab.com/Documentation/Entity/method/SetObjects + */ + SetObjects(request: PlayFabEntityModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the profiles access policy + * https://api.playfab.com/Documentation/Entity/method/SetProfilePolicy + */ + SetProfilePolicy(request: PlayFabEntityModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unblocks a list of entities from joining a group + * https://api.playfab.com/Documentation/Entity/method/UnblockEntity + */ + UnblockEntity(request: PlayFabEntityModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates non-membership data about a group. + * https://api.playfab.com/Documentation/Entity/method/UpdateGroup + */ + UpdateGroup(request: PlayFabEntityModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates metadata about a role. + * https://api.playfab.com/Documentation/Entity/method/UpdateRole + */ + UpdateRole(request: PlayFabEntityModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabEntityModels { + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsRequest */ + export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to have their pending uploads aborted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsResponse */ + export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupApplicationRequest */ + export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a + * child of the claimant entity. Defaults to the claimant entity. + */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupInvitationRequest */ + export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AddMembersRequest */ + export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ + Members: EntityKey[]; + /** + * Optional: The ID of the existing role to add the entities to. If this is not specified, the default member role for the + * group will be used. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupRequest */ + export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ + AutoAcceptOutstandingInvite?: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupResponse */ + export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.BlockEntityRequest */ + export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ChangeMemberRoleRequest */ + export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 + * and 64 characters long. + */ + DestinationRoleId?: string; + /** The identifier of the group */ + Group: EntityKey; + /** + * List of entities to move between roles in the group. All entities in this list must be members of the group and origin + * role. + */ + Members: EntityKey[]; + /** The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long. */ + OriginRoleId: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRequest */ + export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the group. This is unique at the title level by default. */ + GroupName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupResponse */ + export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleRequest */ + export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** + * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 + * characters long. + */ + RoleId: string; + /** + * The name of the role. This must be unique within the group and can be changed later. Role names must be between 1 and + * 100 characters long + */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleResponse */ + export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The current version of the group profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesRequest */ + export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be deleted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesResponse */ + export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteGroupRequest */ + export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group or role to remove */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteRoleRequest */ + export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + + } + + type EffectType = "Allow" + | "Deny"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityDataObject */ + export interface EntityDataObject { + /** Un-escaped JSON object, if DataAsObject is true. */ + DataObject?: any; + /** Escaped string JSON body of the object, if DataAsObject is default or false. */ + EscapedDataObject?: string; + /** Name of this object. */ + ObjectName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityMemberRole */ + export interface EntityMemberRole { + /** The list of members in the role */ + Members?: EntityWithLineage[]; + /** The ID of the role. */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityPermissionStatement */ + export interface EntityPermissionStatement { + /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ + Action: string; + /** A comment about the statement. Intended solely for bookkeeping and debugging. */ + Comment?: string; + /** Additional conditions to be applied for entity resources. */ + Condition?: any; + /** The effect this statement will have. It may be either Allow or Deny */ + Effect: string; + /** The principal this statement will effect. */ + Principal: any; + /** The resource this statements effects. Similar to 'pfrn:data--title![Title ID]/Profile/*' */ + Resource: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileBody */ + export interface EntityProfileBody { + /** The entity id and type. */ + Entity?: EntityKey; + /** + * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the + * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace + * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace + * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]/[Character ID]' + */ + EntityChain?: string; + /** The files on this profile. */ + Files?: { [key: string]: EntityProfileFileMetadata }; + /** The objects on this profile. */ + Objects?: { [key: string]: EntityDataObject }; + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + /** + * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic + * concurrency during update. + */ + VersionNumber: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileFileMetadata */ + export interface EntityProfileFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityWithLineage */ + export interface EntityWithLineage { + /** The entity key for the specified entity */ + Key?: EntityKey; + /** Dictionary of entity keys for related entities. Dictionary key is entity type. */ + Lineage?: { [key: string]: EntityKey }; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsRequest */ + export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsResponse */ + export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileRequest */ + export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileResponse */ + export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profile */ + Profile?: EntityProfileBody; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenRequest */ + export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenResponse */ + export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFileMetadata */ + export interface GetFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Download URL where the file can be retrieved */ + DownloadUrl?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesRequest */ + export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesResponse */ + export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyRequest */ + export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyResponse */ + export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupRequest */ + export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group?: EntityKey; + /** The full name of the group */ + GroupName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupResponse */ + export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsRequest */ + export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Determines whether the object will be returned as an escaped JSON string or as a un-escaped JSON object. Default is JSON + * object. + */ + EscapeObject?: boolean; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsResponse */ + export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Requested objects that the calling entity has access to */ + Objects?: { [key: string]: ObjectResult }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupApplication */ + export interface GroupApplication { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupBlock */ + export interface GroupBlock { + /** The entity that is blocked */ + Entity?: EntityWithLineage; + /** ID of the group that the entity is blocked from */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupInvitation */ + export interface GroupInvitation { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupRole */ + export interface GroupRole { + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupWithRoles */ + export interface GroupWithRoles { + /** ID for the group */ + Group?: EntityKey; + /** The name of the group */ + GroupName?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles within the group */ + Roles?: GroupRole[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadMetadata */ + export interface InitiateFileUploadMetadata { + /** Name of the file. */ + FileName?: string; + /** Location the data should be sent to via an HTTP PUT operation. */ + UploadUrl?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsRequest */ + export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsResponse */ + export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** Collection of file names and upload urls */ + UploadDetails?: InitiateFileUploadMetadata[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupRequest */ + export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ + AutoAcceptOutstandingApplication?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional. ID of an existing a role in the group to assign the user to. The group's default member role is used if this + * is not specified. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupResponse */ + export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberRequest */ + export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional: ID of the role to check membership of. Defaults to any role (that is, check to see if the entity is a member + * of the group in any capacity) if not specified. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberResponse */ + export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { + /** A value indicating whether or not the entity is a member. */ + IsMember: boolean; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsRequest */ + export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsResponse */ + export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of applications to the group. */ + Applications?: GroupApplication[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksRequest */ + export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksResponse */ + export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list blocked entities. */ + BlockedEntities?: GroupBlock[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsRequest */ + export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsResponse */ + export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersRequest */ + export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group to list the members and roles for */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersResponse */ + export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of roles and member entity IDs. */ + Members?: EntityMemberRole[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesRequest */ + export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesResponse */ + export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group applications. */ + Applications?: GroupApplication[]; + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipRequest */ + export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipResponse */ + export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of groups */ + Groups?: GroupWithRoles[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ObjectResult */ + export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { + /** Un-escaped JSON object, if EscapeObject false or default. */ + DataObject?: any; + /** Escaped string JSON body of the object, if EscapeObject is true. */ + EscapedDataObject?: string; + /** Name of the object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + ObjectName?: string; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupApplicationRequest */ + export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupInvitationRequest */ + export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveMembersRequest */ + export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to remove */ + Members: EntityKey[]; + /** The ID of the role to remove the entities from. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyRequest */ + export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The statements to include in the access policy. */ + Statements?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyResponse */ + export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyRequest */ + export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyResponse */ + export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObject */ + export interface SetObject { + /** + * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation + * will occur if it does not exist. Only one of Object or EscapedDataObject fields may be used. + */ + DataObject?: any; + /** Flag to indicate that this object should be deleted. Both DataObject and EscapedDataObject must not be set as well. */ + DeleteObject?: boolean; + /** + * Body of the object to be saved as an escaped JSON string. If empty and DeleteObject is true object will be deleted if it + * exists, or no operation will occur if it does not exist. Only one of DataObject or EscapedDataObject fields may be used. + */ + EscapedDataObject?: string; + /** Name of object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + ObjectName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectInfo */ + export interface SetObjectInfo { + /** Name of the object */ + ObjectName?: string; + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsRequest */ + export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from + * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** Collection of objects to set on the profile. */ + Objects: SetObject[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsResponse */ + export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** New version of the entity profile. */ + ProfileVersion: number; + /** New version of the entity profile. */ + SetResults?: SetObjectInfo[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UnblockEntityRequest */ + export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRequest */ + export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional: the ID of an existing role to set as the new administrator role for the group */ + AdminRoleId?: string; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** Optional: the new name of the group */ + GroupName?: string; + /** Optional: the ID of an existing role to set as the new member role for the group */ + MemberRoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupResponse */ + export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the group data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleRequest */ + export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** ID of the role to update. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + /** The new name of the role */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleResponse */ + export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the role data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index af6e0643..a94c2c52 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -35,14 +35,14 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; @@ -51,19 +51,19 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -101,7 +101,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the @@ -113,12 +113,12 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the @@ -130,7 +130,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -143,7 +143,7 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -170,7 +170,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -180,7 +180,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; @@ -199,7 +199,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; @@ -212,7 +212,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a @@ -224,7 +224,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; @@ -245,7 +245,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 596fff6c..368af631 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabServerModule { ForgetAllCredentials(): void; /** - * Increments the character's balance of the specified virtual currency by the stated amount + * Increments the character's balance of the specified virtual currency by the stated amount * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -21,14 +21,14 @@ declare module PlayFabServerModule { */ AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only - * users in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very - * small number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users + * in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small + * number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Increments the user's balance of the specified virtual currency by the stated amount + * Increments the user's balance of the specified virtual currency by the stated amount * https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -53,8 +53,8 @@ declare module PlayFabServerModule { */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the - * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data + * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the + * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/CreateSharedGroup @@ -66,7 +66,7 @@ declare module PlayFabServerModule { */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for + * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup @@ -141,13 +141,12 @@ declare module PlayFabServerModule { */ GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned - * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the - * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, + * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned + * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the + * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. - * Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates - * apply. + * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -228,7 +227,7 @@ declare module PlayFabServerModule { */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile + * 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ @@ -245,8 +244,8 @@ declare module PlayFabServerModule { */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all - * public and private group data. Shared Groups are designed for sharing data between a very small number of players, + * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all + * public and private group data. Shared Groups are designed for sharing data between a very small number of players, * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ @@ -363,7 +362,7 @@ declare module PlayFabServerModule { */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://api.playfab.com/Documentation/Server/method/RedeemCoupon */ @@ -396,7 +395,7 @@ declare module PlayFabServerModule { /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data - * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our + * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers */ @@ -422,6 +421,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Revokes access for up to 25 items across multiple users and characters. + * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItems + */ + RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template @@ -523,7 +527,7 @@ declare module PlayFabServerModule { */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Updates the title-specific custom data for the user's character which cannot be accessed by the client + * Updates the title-specific custom data for the user's character which cannot be accessed by the client * https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData */ UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -545,7 +549,7 @@ declare module PlayFabServerModule { /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. - * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are + * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are * designed for sharing data between a very small number of players, please see our guide: * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData @@ -606,7 +610,7 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -617,7 +621,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -628,7 +632,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 @@ -644,7 +648,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user being added. */ FriendEmail?: string; @@ -659,7 +663,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -668,12 +672,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -682,12 +686,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -701,7 +705,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { /** The Json the platform should receive. */ Json: string; @@ -710,21 +714,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { /** Unique Steam achievement name. */ AchievementName: string; @@ -735,21 +739,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -770,7 +774,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -785,21 +789,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -858,7 +862,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -872,7 +876,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -890,7 +894,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -909,7 +913,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -918,7 +922,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -937,7 +941,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -952,7 +956,7 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -965,7 +969,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -974,7 +978,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -985,7 +989,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1254,14 +1258,14 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1431,7 +1435,7 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1445,19 +1449,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1469,19 +1473,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1490,15 +1494,15 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses + * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses * default/primary catalog. */ CatalogVersion?: string; @@ -1507,14 +1511,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1553,7 +1557,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1577,7 +1581,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1586,7 +1590,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1612,33 +1616,394 @@ declare module PlayFabServerModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ + type GenericErrorCodes = "Success" + | "InvalidParams" + | "AccountNotFound" + | "AccountBanned" + | "InvalidUsernameOrPassword" + | "InvalidTitleId" + | "InvalidEmailAddress" + | "EmailAddressNotAvailable" + | "InvalidUsername" + | "InvalidPassword" + | "UsernameNotAvailable" + | "InvalidSteamTicket" + | "AccountAlreadyLinked" + | "LinkedAccountAlreadyClaimed" + | "InvalidFacebookToken" + | "AccountNotLinked" + | "FailedByPaymentProvider" + | "CouponCodeNotFound" + | "InvalidContainerItem" + | "ContainerNotOwned" + | "KeyNotOwned" + | "InvalidItemIdInTable" + | "InvalidReceipt" + | "ReceiptAlreadyUsed" + | "ReceiptCancelled" + | "GameNotFound" + | "GameModeNotFound" + | "InvalidGoogleToken" + | "UserIsNotPartOfDeveloper" + | "InvalidTitleForDeveloper" + | "TitleNameConflicts" + | "UserisNotValid" + | "ValueAlreadyExists" + | "BuildNotFound" + | "PlayerNotInGame" + | "InvalidTicket" + | "InvalidDeveloper" + | "InvalidOrderInfo" + | "RegistrationIncomplete" + | "InvalidPlatform" + | "UnknownError" + | "SteamApplicationNotOwned" + | "WrongSteamAccount" + | "TitleNotActivated" + | "RegistrationSessionNotFound" + | "NoSuchMod" + | "FileNotFound" + | "DuplicateEmail" + | "ItemNotFound" + | "ItemNotOwned" + | "ItemNotRecycleable" + | "ItemNotAffordable" + | "InvalidVirtualCurrency" + | "WrongVirtualCurrency" + | "WrongPrice" + | "NonPositiveValue" + | "InvalidRegion" + | "RegionAtCapacity" + | "ServerFailedToStart" + | "NameNotAvailable" + | "InsufficientFunds" + | "InvalidDeviceID" + | "InvalidPushNotificationToken" + | "NoRemainingUses" + | "InvalidPaymentProvider" + | "PurchaseInitializationFailure" + | "DuplicateUsername" + | "InvalidBuyerInfo" + | "NoGameModeParamsSet" + | "BodyTooLarge" + | "ReservedWordInBody" + | "InvalidTypeInBody" + | "InvalidRequest" + | "ReservedEventName" + | "InvalidUserStatistics" + | "NotAuthenticated" + | "StreamAlreadyExists" + | "ErrorCreatingStream" + | "StreamNotFound" + | "InvalidAccount" + | "PurchaseDoesNotExist" + | "InvalidPurchaseTransactionStatus" + | "APINotEnabledForGameClientAccess" + | "NoPushNotificationARNForTitle" + | "BuildAlreadyExists" + | "BuildPackageDoesNotExist" + | "CustomAnalyticsEventsNotEnabledForTitle" + | "InvalidSharedGroupId" + | "NotAuthorized" + | "MissingTitleGoogleProperties" + | "InvalidItemProperties" + | "InvalidPSNAuthCode" + | "InvalidItemId" + | "PushNotEnabledForAccount" + | "PushServiceError" + | "ReceiptDoesNotContainInAppItems" + | "ReceiptContainsMultipleInAppItems" + | "InvalidBundleID" + | "JavascriptException" + | "InvalidSessionTicket" + | "UnableToConnectToDatabase" + | "InternalServerError" + | "InvalidReportDate" + | "ReportNotAvailable" + | "DatabaseThroughputExceeded" + | "InvalidGameTicket" + | "ExpiredGameTicket" + | "GameTicketDoesNotMatchLobby" + | "LinkedDeviceAlreadyClaimed" + | "DeviceAlreadyLinked" + | "DeviceNotLinked" + | "PartialFailure" + | "PublisherNotSet" + | "ServiceUnavailable" + | "VersionNotFound" + | "RevisionNotFound" + | "InvalidPublisherId" + | "DownstreamServiceUnavailable" + | "APINotIncludedInTitleUsageTier" + | "DAULimitExceeded" + | "APIRequestLimitExceeded" + | "InvalidAPIEndpoint" + | "BuildNotAvailable" + | "ConcurrentEditError" + | "ContentNotFound" + | "CharacterNotFound" + | "CloudScriptNotFound" + | "ContentQuotaExceeded" + | "InvalidCharacterStatistics" + | "PhotonNotEnabledForTitle" + | "PhotonApplicationNotFound" + | "PhotonApplicationNotAssociatedWithTitle" + | "InvalidEmailOrPassword" + | "FacebookAPIError" + | "InvalidContentType" + | "KeyLengthExceeded" + | "DataLengthExceeded" + | "TooManyKeys" + | "FreeTierCannotHaveVirtualCurrency" + | "MissingAmazonSharedKey" + | "AmazonValidationError" + | "InvalidPSNIssuerId" + | "PSNInaccessible" + | "ExpiredAuthToken" + | "FailedToGetEntitlements" + | "FailedToConsumeEntitlement" + | "TradeAcceptingUserNotAllowed" + | "TradeInventoryItemIsAssignedToCharacter" + | "TradeInventoryItemIsBundle" + | "TradeStatusNotValidForCancelling" + | "TradeStatusNotValidForAccepting" + | "TradeDoesNotExist" + | "TradeCancelled" + | "TradeAlreadyFilled" + | "TradeWaitForStatusTimeout" + | "TradeInventoryItemExpired" + | "TradeMissingOfferedAndAcceptedItems" + | "TradeAcceptedItemIsBundle" + | "TradeAcceptedItemIsStackable" + | "TradeInventoryItemInvalidStatus" + | "TradeAcceptedCatalogItemInvalid" + | "TradeAllowedUsersInvalid" + | "TradeInventoryItemDoesNotExist" + | "TradeInventoryItemIsConsumed" + | "TradeInventoryItemIsStackable" + | "TradeAcceptedItemsMismatch" + | "InvalidKongregateToken" + | "FeatureNotConfiguredForTitle" + | "NoMatchingCatalogItemForReceipt" + | "InvalidCurrencyCode" + | "NoRealMoneyPriceForCatalogItem" + | "TradeInventoryItemIsNotTradable" + | "TradeAcceptedCatalogItemIsNotTradable" + | "UsersAlreadyFriends" + | "LinkedIdentifierAlreadyClaimed" + | "CustomIdNotLinked" + | "TotalDataSizeExceeded" + | "DeleteKeyConflict" + | "InvalidXboxLiveToken" + | "ExpiredXboxLiveToken" + | "ResettableStatisticVersionRequired" + | "NotAuthorizedByTitle" + | "NoPartnerEnabled" + | "InvalidPartnerResponse" + | "APINotEnabledForGameServerAccess" + | "StatisticNotFound" + | "StatisticNameConflict" + | "StatisticVersionClosedForWrites" + | "StatisticVersionInvalid" + | "APIClientRequestRateLimitExceeded" + | "InvalidJSONContent" + | "InvalidDropTable" + | "StatisticVersionAlreadyIncrementedForScheduledInterval" + | "StatisticCountLimitExceeded" + | "StatisticVersionIncrementRateExceeded" + | "ContainerKeyInvalid" + | "CloudScriptExecutionTimeLimitExceeded" + | "NoWritePermissionsForEvent" + | "CloudScriptFunctionArgumentSizeExceeded" + | "CloudScriptAPIRequestCountExceeded" + | "CloudScriptAPIRequestError" + | "CloudScriptHTTPRequestError" + | "InsufficientGuildRole" + | "GuildNotFound" + | "OverLimit" + | "EventNotFound" + | "InvalidEventField" + | "InvalidEventName" + | "CatalogNotConfigured" + | "OperationNotSupportedForPlatform" + | "SegmentNotFound" + | "StoreNotFound" + | "InvalidStatisticName" + | "TitleNotQualifiedForLimit" + | "InvalidServiceLimitLevel" + | "ServiceLimitLevelInTransition" + | "CouponAlreadyRedeemed" + | "GameServerBuildSizeLimitExceeded" + | "GameServerBuildCountLimitExceeded" + | "VirtualCurrencyCountLimitExceeded" + | "VirtualCurrencyCodeExists" + | "TitleNewsItemCountLimitExceeded" + | "InvalidTwitchToken" + | "TwitchResponseError" + | "ProfaneDisplayName" + | "UserAlreadyAdded" + | "InvalidVirtualCurrencyCode" + | "VirtualCurrencyCannotBeDeleted" + | "IdentifierAlreadyClaimed" + | "IdentifierNotLinked" + | "InvalidContinuationToken" + | "ExpiredContinuationToken" + | "InvalidSegment" + | "InvalidSessionId" + | "SessionLogNotFound" + | "InvalidSearchTerm" + | "TwoFactorAuthenticationTokenRequired" + | "GameServerHostCountLimitExceeded" + | "PlayerTagCountLimitExceeded" + | "RequestAlreadyRunning" + | "ActionGroupNotFound" + | "MaximumSegmentBulkActionJobsRunning" + | "NoActionsOnPlayersInSegmentJob" + | "DuplicateStatisticName" + | "ScheduledTaskNameConflict" + | "ScheduledTaskCreateConflict" + | "InvalidScheduledTaskName" + | "InvalidTaskSchedule" + | "SteamNotEnabledForTitle" + | "LimitNotAnUpgradeOption" + | "NoSecretKeyEnabledForCloudScript" + | "TaskNotFound" + | "TaskInstanceNotFound" + | "InvalidIdentityProviderId" + | "MisconfiguredIdentityProvider" + | "InvalidScheduledTaskType" + | "BillingInformationRequired" + | "LimitedEditionItemUnavailable" + | "InvalidAdPlacementAndReward" + | "AllAdPlacementViewsAlreadyConsumed" + | "GoogleOAuthNotConfiguredForTitle" + | "GoogleOAuthError" + | "UserNotFriend" + | "InvalidSignature" + | "InvalidPublicKey" + | "GoogleOAuthNoIdTokenIncludedInResponse" + | "StatisticUpdateInProgress" + | "LeaderboardVersionNotAvailable" + | "StatisticAlreadyHasPrizeTable" + | "PrizeTableHasOverlappingRanks" + | "PrizeTableHasMissingRanks" + | "PrizeTableRankStartsAtZero" + | "InvalidStatistic" + | "ExpressionParseFailure" + | "ExpressionInvokeFailure" + | "ExpressionTooLong" + | "DataUpdateRateExceeded" + | "RestrictedEmailDomain" + | "EncryptionKeyDisabled" + | "EncryptionKeyMissing" + | "EncryptionKeyBroken" + | "NoSharedSecretKeyConfigured" + | "SecretKeyNotFound" + | "PlayerSecretAlreadyConfigured" + | "APIRequestsDisabledForTitle" + | "InvalidSharedSecretKey" + | "PrizeTableHasNoRanks" + | "ProfileDoesNotExist" + | "ContentS3OriginBucketNotConfigured" + | "InvalidEnvironmentForReceipt" + | "EncryptedRequestNotAllowed" + | "SignedRequestNotAllowed" + | "RequestViewConstraintParamsNotAllowed" + | "BadPartnerConfiguration" + | "XboxBPCertificateFailure" + | "XboxXASSExchangeFailure" + | "InvalidEntityId" + | "StatisticValueAggregationOverflow" + | "EmailMessageFromAddressIsMissing" + | "EmailMessageToAddressIsMissing" + | "SmtpServerAuthenticationError" + | "SmtpServerLimitExceeded" + | "SmtpServerInsufficientStorage" + | "SmtpServerCommunicationError" + | "SmtpServerGeneralFailure" + | "EmailClientTimeout" + | "EmailClientCanceledTask" + | "EmailTemplateMissing" + | "InvalidHostForTitleId" + | "EmailConfirmationTokenDoesNotExist" + | "EmailConfirmationTokenExpired" + | "AccountDeleted" + | "PlayerSecretNotConfigured" + | "InvalidSignatureTime" + | "NoContactEmailAddressFound" + | "InvalidAuthToken" + | "AuthTokenDoesNotExist" + | "AuthTokenExpired" + | "AuthTokenAlreadyUsedToResetPassword" + | "MembershipNameTooLong" + | "MembershipNotFound" + | "GoogleServiceAccountInvalid" + | "GoogleServiceAccountParseFailure" + | "EntityTokenMissing" + | "EntityTokenInvalid" + | "EntityTokenExpired" + | "EntityTokenRevoked" + | "InvalidProductForSubscription" + | "XboxInaccessible" + | "SubscriptionAlreadyTaken" + | "SmtpAddonNotEnabled" + | "APIConcurrentRequestLimitExceeded" + | "XboxRejectedXSTSExchangeRequest" + | "VariableNotDefined" + | "TemplateVersionNotDefined" + | "FileTooLarge" + | "TitleDeleted" + | "TitleContainsUserAccounts" + | "TitleDeletionPlayerCleanupFailure" + | "EntityFileOperationPending" + | "NoEntityFileOperationPending" + | "EntityProfileVersionMismatch" + | "TemplateVersionTooOld" + | "MembershipDefinitionInUse" + | "PaymentPageNotConfigured" + | "FailedLoginAttemptRateLimitExceeded" + | "EntityBlockedByGroup" + | "RoleDoesNotExist" + | "EntityIsAlreadyMember" + | "DuplicateRoleId" + | "GroupInvitationNotFound" + | "GroupApplicationNotFound" + | "OutstandingInvitationAcceptedInstead" + | "OutstandingApplicationAcceptedInstead" + | "RoleIsGroupDefaultMember" + | "RoleIsGroupAdmin" + | "RoleNameNotAvailable" + | "GroupNameNotAvailable" + | "EmailReportAlreadySent" + | "EmailReportRecipientBlacklisted"; + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1654,7 +2019,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1670,7 +2035,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -1681,7 +2046,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -1696,7 +2061,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1711,14 +2076,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1727,7 +2092,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for the statistics. */ CharacterId?: string; @@ -1738,7 +2103,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -1752,14 +2117,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -1784,7 +2149,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -1801,14 +2166,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1823,14 +2188,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -1849,7 +2214,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -1860,7 +2225,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -1871,14 +2236,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -1897,7 +2262,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -1908,7 +2273,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -1917,7 +2282,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -1955,7 +2320,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -1964,7 +2329,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -1998,7 +2363,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2011,7 +2376,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2021,14 +2386,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2044,7 +2409,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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; @@ -2055,14 +2420,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** user for whom statistics are being requested */ PlayFabId: string; @@ -2076,7 +2441,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; @@ -2085,21 +2450,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2108,7 +2473,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2117,52 +2482,52 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses + * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses * default/primary catalog. */ CatalogVersion?: string; @@ -2171,14 +2536,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2189,7 +2554,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2203,7 +2568,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2212,75 +2577,75 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2294,7 +2659,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2308,14 +2673,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2328,7 +2693,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; @@ -2339,14 +2704,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2390,7 +2755,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2405,14 +2770,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2425,14 +2790,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2441,14 +2806,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2462,8 +2827,8 @@ declare module PlayFabServerModels { /** Unique identifier of the catalog item to be granted to the user. */ ItemId: string; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2471,7 +2836,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2509,7 +2874,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2522,21 +2887,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2566,7 +2931,7 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2576,7 +2941,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2594,7 +2959,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2603,7 +2968,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; @@ -2614,7 +2979,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -2623,7 +2988,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2639,7 +3004,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; @@ -2652,12 +3017,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2668,12 +3033,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2684,12 +3049,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; @@ -2698,7 +3063,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { /** State of user leaving the Game Server Instance. */ PlayerState?: string; @@ -2710,7 +3075,7 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -2725,7 +3090,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -2738,7 +3103,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -2753,7 +3118,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -2798,7 +3163,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -2836,7 +3201,7 @@ declare module PlayFabServerModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -2844,7 +3209,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -2881,7 +3246,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -2894,7 +3259,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -2911,7 +3276,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; @@ -2931,7 +3296,7 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2940,7 +3305,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -2949,7 +3314,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -2960,7 +3325,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. */ CatalogVersion?: string; @@ -2973,14 +3338,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; @@ -2989,7 +3354,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Error value if the ticket was not validated. */ Error?: string; @@ -3000,14 +3365,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3020,7 +3385,7 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -3047,7 +3412,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -3057,7 +3422,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -3066,7 +3431,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3075,12 +3440,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3089,12 +3454,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3105,14 +3470,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3126,35 +3491,46 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ + export interface RevokeInventoryItem { + /** Unique PlayFab assigned ID for a specific character owned by a user */ + CharacterId?: string; + /** Unique PlayFab assigned instance identifier of the item */ + ItemInstanceId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3165,12 +3541,35 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ + export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of player items to revoke, between 1 and 25 items. */ + Items: RevokeInventoryItem[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ + export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** Collection of any errors that occurred during processing. */ + Errors?: RevokeItemError[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ + export interface RevokeItemError { + /** Specific error that was encountered. */ + Error?: string; + /** Item information that failed to be revoked. */ + Item?: RevokeInventoryItem; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3184,7 +3583,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -3195,12 +3594,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The email template id of the email template to send. */ EmailTemplateId: string; @@ -3209,12 +3608,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver @@ -3237,12 +3636,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3253,7 +3652,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data to set for the specified game server instance. */ GameServerData: string; @@ -3262,12 +3661,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; @@ -3276,12 +3675,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; @@ -3293,12 +3692,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3307,12 +3706,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3324,12 +3723,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3341,12 +3740,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3359,7 +3758,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3370,7 +3769,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -3379,7 +3778,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -3393,7 +3792,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -3404,7 +3803,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -3413,7 +3812,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3441,7 +3840,7 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3454,7 +3853,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3465,7 +3864,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -3478,7 +3877,7 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -3491,10 +3890,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog * associated with the item instance. */ CatalogVersion?: string; @@ -3503,7 +3902,7 @@ declare module PlayFabServerModels { /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; /** - * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this + * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. */ KeyItemInstanceId?: string; @@ -3512,10 +3911,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary + * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary * catalog. */ CatalogVersion?: string; @@ -3528,7 +3927,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -3541,7 +3940,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; @@ -3550,7 +3949,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3569,21 +3968,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3593,8 +3992,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -3604,7 +4003,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3614,7 +4013,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3625,12 +4024,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. @@ -3644,12 +4043,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3657,8 +4056,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys in this request. */ @@ -3668,12 +4067,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3681,8 +4080,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Permission to be applied to all user data keys written in this request. Defaults to "private" if not set. */ @@ -3692,7 +4091,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3702,7 +4101,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3710,8 +4109,8 @@ declare module PlayFabServerModels { */ Data?: { [key: string]: string | null }; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3719,7 +4118,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3731,8 +4130,8 @@ declare module PlayFabServerModels { /** Unique PlayFab assigned instance identifier of the item */ ItemInstanceId: string; /** - * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language - * constraints. Use this to delete the keys directly. + * Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language + * constraints. Use this to delete the keys directly. */ KeysToRemove?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3740,7 +4139,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -3777,14 +4176,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -3794,7 +4193,7 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3808,7 +4207,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -3817,14 +4216,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -3837,14 +4236,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -3872,14 +4271,14 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -3888,7 +4287,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -3901,7 +4300,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -3926,7 +4325,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -3935,14 +4334,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -3959,7 +4358,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -3974,7 +4373,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -3984,7 +4383,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4002,7 +4401,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4018,7 +4417,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; From 2c3ee95f5e89a976839a838975b1e700f36ec17f Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Mon, 9 Apr 2018 23:23:18 +0000 Subject: [PATCH 058/253] https://api.playfab.com/releaseNotes/#180409 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 4 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 23 ++++++++++++++++++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 ++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 23 ++++++++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 4 ++-- .../src/PlayFab/PlayFabClientApi.js | 4 ++-- .../src/PlayFab/PlayFabEntityApi.js | 4 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- .../src/PlayFab/PlayFabServerApi.js | 4 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 23 ++++++++++++++++++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 23 ++++++++++++++++++- 17 files changed, 113 insertions(+), 25 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index a966dd1d..557a8750 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.20.180316", + "version": "1.20.180409", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 3044e504..3e9cee79 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 48a043d4..3421e186 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js index 419c24ee..2636d624 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 77354579..ade6bd2c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 13ed8b0c..7567b452 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9c702432..fd2f7214 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1579,6 +1579,23 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ @@ -1996,7 +2013,9 @@ declare module PlayFabAdminModels { | "RoleNameNotAvailable" | "GroupNameNotAvailable" | "EmailReportAlreadySent" - | "EmailReportRecipientBlacklisted"; + | "EmailReportRecipientBlacklisted" + | "EventNamespaceNotAllowed" + | "EventEntityNotAllowed"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -4183,6 +4202,8 @@ declare module PlayFabAdminModels { LastLogin?: string; /** source by which the user first joined the game, if known */ Origination?: string; + /** Title player account entity for this user */ + TitlePlayerAccount?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 4577402d..f88b8485 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -4699,6 +4699,8 @@ declare module PlayFabClientModels { LastLogin?: string; /** source by which the user first joined the game, if known */ Origination?: string; + /** Title player account entity for this user */ + TitlePlayerAccount?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 368af631..f74a7c93 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1499,6 +1499,23 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -1975,7 +1992,9 @@ declare module PlayFabServerModels { | "RoleNameNotAvailable" | "GroupNameNotAvailable" | "EmailReportAlreadySent" - | "EmailReportRecipientBlacklisted"; + | "EmailReportRecipientBlacklisted" + | "EventNamespaceNotAllowed" + | "EventEntityNotAllowed"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4322,6 +4341,8 @@ declare module PlayFabServerModels { LastLogin?: string; /** source by which the user first joined the game, if known */ Origination?: string; + /** Title player account entity for this user */ + TitlePlayerAccount?: EntityKey; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 3044e504..3e9cee79 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 48a043d4..3421e186 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js index 419c24ee..2636d624 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 77354579..ade6bd2c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 13ed8b0c..7567b452 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180316", + sdkVersion: "1.20.180409", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180316"; +PlayFab.sdkVersion = "1.20.180409"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9c702432..fd2f7214 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1579,6 +1579,23 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ @@ -1996,7 +2013,9 @@ declare module PlayFabAdminModels { | "RoleNameNotAvailable" | "GroupNameNotAvailable" | "EmailReportAlreadySent" - | "EmailReportRecipientBlacklisted"; + | "EmailReportRecipientBlacklisted" + | "EventNamespaceNotAllowed" + | "EventEntityNotAllowed"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -4183,6 +4202,8 @@ declare module PlayFabAdminModels { LastLogin?: string; /** source by which the user first joined the game, if known */ Origination?: string; + /** Title player account entity for this user */ + TitlePlayerAccount?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 4577402d..f88b8485 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -4699,6 +4699,8 @@ declare module PlayFabClientModels { LastLogin?: string; /** source by which the user first joined the game, if known */ Origination?: string; + /** Title player account entity for this user */ + TitlePlayerAccount?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 368af631..f74a7c93 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1499,6 +1499,23 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group"; + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -1975,7 +1992,9 @@ declare module PlayFabServerModels { | "RoleNameNotAvailable" | "GroupNameNotAvailable" | "EmailReportAlreadySent" - | "EmailReportRecipientBlacklisted"; + | "EmailReportRecipientBlacklisted" + | "EventNamespaceNotAllowed" + | "EventEntityNotAllowed"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4322,6 +4341,8 @@ declare module PlayFabServerModels { LastLogin?: string; /** source by which the user first joined the game, if known */ Origination?: string; + /** Title player account entity for this user */ + TitlePlayerAccount?: EntityKey; } From aec9b2e70b41a3abbd8e4e8ff044a2af8703d577 Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Mon, 7 May 2018 19:08:04 +0000 Subject: [PATCH 059/253] https://api.playfab.com/releaseNotes/#180507 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 11 ++++++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++ .../src/Typings/PlayFab/PlayFabEntityApi.d.ts | 24 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 9 ++++++- .../src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabEntityApi.js | 11 ++++++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++--- .../src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++ .../src/typings/PlayFab/PlayFabEntityApi.d.ts | 24 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 9 ++++++- 19 files changed, 131 insertions(+), 35 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 557a8750..12c58358 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.20.180409", + "version": "1.21.180507", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 3e9cee79..554ca6cb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 3421e186..49b5c95a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js index 2636d624..5e91f631 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -246,6 +246,11 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + GetProfiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + InitiateFileUploads: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ade6bd2c..b357d7fd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7567b452..973c550e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index fd2f7214..a7be70d9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1655,6 +1655,7 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" | "AccountBanned" @@ -2015,7 +2016,13 @@ declare module PlayFabAdminModels { | "EmailReportAlreadySent" | "EmailReportRecipientBlacklisted" | "EventNamespaceNotAllowed" - | "EventEntityNotAllowed"; + | "EventEntityNotAllowed" + | "InvalidEntityType" + | "NullTokenResultFromAad" + | "InvalidTokenResultFromAad" + | "NoValidCertificateForAad" + | "InvalidCertificateForAad" + | "DuplicateDropTableId"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index f88b8485..971fe743 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3748,6 +3748,11 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and + * returned. + */ + EntityToken?: EntityTokenResponse; /** PlayFab unique identifier for this newly created account. */ PlayFabId?: string; /** Unique token identifying the user and game at the server level, for the current session. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts index 9fa3bf28..0bc58729 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts @@ -100,6 +100,11 @@ declare module PlayFabEntityModule { * https://api.playfab.com/Documentation/Entity/method/GetProfile */ GetProfile(request: PlayFabEntityModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetProfiles + */ + GetProfiles(request: PlayFabEntityModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates file uploads to an entity's profile. * https://api.playfab.com/Documentation/Entity/method/InitiateFileUploads @@ -553,6 +558,25 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesRequest */ + export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** Entity keys of the profiles to load. Must be between 1 and 25 */ + Entities: EntityKey[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesResponse */ + export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profiles */ + Profiles?: EntityProfileBody[]; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f74a7c93..b5769452 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1634,6 +1634,7 @@ declare module PlayFabServerModels { | "Closed"; type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" | "AccountBanned" @@ -1994,7 +1995,13 @@ declare module PlayFabServerModels { | "EmailReportAlreadySent" | "EmailReportRecipientBlacklisted" | "EventNamespaceNotAllowed" - | "EventEntityNotAllowed"; + | "EventEntityNotAllowed" + | "InvalidEntityType" + | "NullTokenResultFromAad" + | "InvalidTokenResultFromAad" + | "NoValidCertificateForAad" + | "InvalidCertificateForAad" + | "DuplicateDropTableId"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 3e9cee79..554ca6cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 3421e186..49b5c95a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js index 2636d624..5e91f631 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -246,6 +246,11 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + GetProfiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + InitiateFileUploads: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ade6bd2c..b357d7fd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7567b452..973c550e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.20.180409", + sdkVersion: "1.21.180507", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.20.180409"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.21.180507"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index fd2f7214..a7be70d9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1655,6 +1655,7 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" | "AccountBanned" @@ -2015,7 +2016,13 @@ declare module PlayFabAdminModels { | "EmailReportAlreadySent" | "EmailReportRecipientBlacklisted" | "EventNamespaceNotAllowed" - | "EventEntityNotAllowed"; + | "EventEntityNotAllowed" + | "InvalidEntityType" + | "NullTokenResultFromAad" + | "InvalidTokenResultFromAad" + | "NoValidCertificateForAad" + | "InvalidCertificateForAad" + | "DuplicateDropTableId"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index f88b8485..971fe743 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3748,6 +3748,11 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { + /** + * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and + * returned. + */ + EntityToken?: EntityTokenResponse; /** PlayFab unique identifier for this newly created account. */ PlayFabId?: string; /** Unique token identifying the user and game at the server level, for the current session. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts index 9fa3bf28..0bc58729 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts @@ -100,6 +100,11 @@ declare module PlayFabEntityModule { * https://api.playfab.com/Documentation/Entity/method/GetProfile */ GetProfile(request: PlayFabEntityModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Entity/method/GetProfiles + */ + GetProfiles(request: PlayFabEntityModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates file uploads to an entity's profile. * https://api.playfab.com/Documentation/Entity/method/InitiateFileUploads @@ -553,6 +558,25 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesRequest */ + export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** Entity keys of the profiles to load. Must be between 1 and 25 */ + Entities: EntityKey[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesResponse */ + export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profiles */ + Profiles?: EntityProfileBody[]; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f74a7c93..b5769452 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1634,6 +1634,7 @@ declare module PlayFabServerModels { | "Closed"; type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" | "AccountBanned" @@ -1994,7 +1995,13 @@ declare module PlayFabServerModels { | "EmailReportAlreadySent" | "EmailReportRecipientBlacklisted" | "EventNamespaceNotAllowed" - | "EventEntityNotAllowed"; + | "EventEntityNotAllowed" + | "InvalidEntityType" + | "NullTokenResultFromAad" + | "InvalidTokenResultFromAad" + | "NoValidCertificateForAad" + | "InvalidCertificateForAad" + | "DuplicateDropTableId"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { From 966afc9800834033ef19ac6d7ed94c45bb724502 Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Tue, 29 May 2018 23:14:03 +0000 Subject: [PATCH 060/253] https://api.playfab.com/releaseNotes/#180529 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 19 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 574 +++++++++------- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 635 +++++++++--------- .../src/Typings/PlayFab/PlayFabEntityApi.d.ts | 3 +- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 32 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 527 ++++++++------- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 12 +- .../src/PlayFab/PlayFabAdminApi.js | 19 +- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabEntityApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFab.d.ts | 12 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 574 +++++++++------- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 635 +++++++++--------- .../src/typings/PlayFab/PlayFabEntityApi.d.ts | 3 +- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 32 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 527 ++++++++------- 23 files changed, 1941 insertions(+), 1697 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 12c58358..11ffba47 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.21.180507", + "version": "1.22.180529", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 554ca6cb..5f98cb0c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -208,6 +208,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + DeleteMasterPlayerAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -233,6 +238,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ExportMasterPlayerData: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ExportMasterPlayerData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -288,6 +298,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 49b5c95a..d466c14d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js index 5e91f631..cc067d05 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index b357d7fd..f6bb476f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 973c550e..57af02a3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index a7be70d9..ef19d994 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -73,6 +73,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/DeleteContent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a master player account entirely from all titles and deletes all associated data + * https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount + */ + DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data * https://api.playfab.com/Documentation/Admin/method/DeletePlayer @@ -99,6 +104,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/DeleteTitle */ DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Exports all associated data of a master player account + * https://api.playfab.com/Documentation/Admin/method/ExportMasterPlayerData + */ + ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get information about a ActionsOnPlayersInSegment task instance. * https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance @@ -158,6 +168,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get the list of titles that the player has played + * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList + */ + GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a player's ID from an auth token. * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken @@ -540,14 +555,14 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { /** ID of the action to perform on each player in segment. */ ActionId: string; @@ -556,7 +571,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -585,7 +600,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -596,7 +611,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -607,7 +622,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Body text of the news */ Body: string; @@ -618,14 +633,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique id of the new news item */ NewsId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -634,12 +649,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; @@ -661,7 +676,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -692,7 +707,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -706,7 +721,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) @@ -716,7 +731,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -725,7 +740,7 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -746,7 +761,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -761,26 +776,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -839,7 +854,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -853,7 +868,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -871,7 +886,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -890,7 +905,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; @@ -899,14 +914,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { /** The amount of the specified resource remaining. */ Amount: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -918,7 +933,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { /** Argument to pass to the CloudScript function. */ Argument?: any; @@ -927,7 +942,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -950,7 +965,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { /** Most recent revision for this Cloud Script version */ LatestRevision: number; @@ -965,7 +980,7 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -976,7 +991,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -987,7 +1002,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { /** Key of the content */ Key?: string; @@ -1256,7 +1271,7 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1271,7 +1286,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1286,21 +1301,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ FriendlyName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -1311,14 +1326,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1488,38 +1503,57 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Key of the content item to be deleted */ Key: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest */ + export interface DeleteMasterPlayerAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountResult */ + export interface DeleteMasterPlayerAccountResult extends PlayFabModule.IPlayFabResultCommon { + /** + * A notification email with this job receipt Id will be sent to the title notification email address when deletion is + * complete. + */ + JobReceiptId?: string; + /** List of titles from which the player's data will be deleted. */ + TitleIds?: string[]; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1528,29 +1562,29 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1562,7 +1596,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1574,12 +1608,12 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ export interface EntityKey { /** Entity profile ID. */ Id: string; @@ -1594,9 +1628,10 @@ declare module PlayFabAdminModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1635,13 +1670,30 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataRequest */ + export interface ExportMasterPlayerDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataResult */ + export interface ExportMasterPlayerDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + * An email with this job receipt Id containing the export download link will be sent to the title notification email + * address when the export is complete. + */ + JobReceiptId?: string; + + } + type GameBuildStatus = "Available" | "Validating" | "InvalidBuildPackage" | "Processing" | "FailedToProcess"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { /** specific game mode type */ Gamemode: string; @@ -2022,9 +2074,19 @@ declare module PlayFabAdminModels { | "InvalidTokenResultFromAad" | "NoValidCertificateForAad" | "InvalidCertificateForAad" - | "DuplicateDropTableId"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ + | "DuplicateDropTableId" + | "ComputeOK" + | "ComputeAccepted" + | "ComputeNoContent" + | "ComputeBadRequest" + | "ComputeUnauthorized" + | "ComputeForbidden" + | "ComputeNotFound" + | "ComputeConflict" + | "ComputeInternalServerError" + | "ComputeServiceUnavailable"; + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; @@ -2033,33 +2095,33 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision number. If left null, defaults to the latest revision */ Revision?: number; @@ -2068,7 +2130,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { /** Time this revision was created */ CreatedAt: string; @@ -2083,7 +2145,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; @@ -2092,19 +2154,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, @@ -2114,7 +2176,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { /** List of content items. */ Contents?: ContentInfo[]; @@ -2125,7 +2187,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when @@ -2137,14 +2199,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { /** Reporting year (UTC) */ Day: number; @@ -2157,21 +2219,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { /** The URL where the requested report can be downloaded. */ DownloadUrl?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** version identifier of the game server executable binary being run */ BuildVersion?: string; @@ -2196,21 +2258,35 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ + export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListResult */ + export interface GetPlayedTitleListResult extends PlayFabModule.IPlayFabResultCommon { + /** List of titles the player has played */ + TitleIds?: string[]; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -2219,14 +2295,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The player ID from the token passed in */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2239,7 +2315,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2249,26 +2325,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2284,7 +2360,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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; @@ -2295,40 +2371,40 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2337,7 +2413,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2346,14 +2422,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; @@ -2362,35 +2438,35 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2401,14 +2477,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2437,21 +2513,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the game server build to upload */ BuildId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2460,7 +2536,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2475,14 +2551,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the requested task instance. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; @@ -2498,7 +2574,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get @@ -2509,49 +2585,49 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2565,7 +2641,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2579,14 +2655,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2599,7 +2675,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2643,7 +2719,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2652,14 +2728,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2670,26 +2746,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2712,7 +2788,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2750,7 +2826,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2763,31 +2839,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2817,7 +2893,7 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2827,7 +2903,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -2840,14 +2916,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2865,7 +2941,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; @@ -2874,12 +2950,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2903,7 +2979,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2934,7 +3010,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2950,14 +3026,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; @@ -2977,7 +3053,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -2990,7 +3066,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3005,7 +3081,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3050,7 +3126,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3096,7 +3172,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3133,7 +3209,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3146,7 +3222,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3159,7 +3235,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3183,7 +3259,7 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3192,7 +3268,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3205,7 +3281,7 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; @@ -3214,7 +3290,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3225,7 +3301,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3239,7 +3315,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; @@ -3254,7 +3330,7 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3263,31 +3339,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3296,12 +3372,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new password for the player. */ Password: string; @@ -3310,19 +3386,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3331,7 +3407,7 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3350,14 +3426,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3371,35 +3447,35 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3410,7 +3486,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3421,26 +3497,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -3449,14 +3525,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call @@ -3466,7 +3542,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { /** Description the task */ Description?: string; @@ -3495,7 +3571,7 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3509,7 +3585,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3518,12 +3594,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3532,12 +3608,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision to make the current published revision */ Revision: number; @@ -3546,12 +3622,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3563,12 +3639,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3580,12 +3656,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; @@ -3609,14 +3685,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { /** Flag to indicate if this key is disabled */ Disabled: boolean; @@ -3638,7 +3714,7 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3667,7 +3743,7 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -3685,7 +3761,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -3696,7 +3772,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3724,7 +3800,7 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3735,14 +3811,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -3778,7 +3854,7 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3797,21 +3873,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not @@ -3828,12 +3904,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; @@ -3844,7 +3920,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** New revision number created */ Revision: number; @@ -3853,7 +3929,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -3864,12 +3940,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3883,14 +3959,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; @@ -3901,7 +3977,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy that was updated. */ PolicyName?: string; @@ -3910,7 +3986,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -3922,12 +3998,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -3940,12 +4016,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -3964,7 +4040,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3983,7 +4059,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3993,7 +4069,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4010,7 +4086,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; @@ -4019,14 +4095,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4063,14 +4139,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4080,7 +4156,7 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4094,7 +4170,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4103,14 +4179,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4123,14 +4199,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4158,14 +4234,14 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4174,7 +4250,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4187,7 +4263,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4214,7 +4290,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4223,14 +4299,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4247,7 +4323,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; @@ -4262,7 +4338,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 971fe743..37999452 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -770,7 +770,7 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this @@ -784,14 +784,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -802,7 +802,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; @@ -815,38 +815,38 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { /** True if the friend request was processed successfully. */ Created: boolean; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new contact email to associate with the player. */ EmailAddress: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -855,12 +855,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -871,14 +871,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique user name. */ Username?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; @@ -887,7 +887,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -901,12 +901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { /** The adid for this device. */ Adid?: string; @@ -915,26 +915,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { /** Description of the catalog item. */ Description?: string; @@ -955,7 +955,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1014,7 +1014,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -1028,7 +1028,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1046,7 +1046,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1065,7 +1065,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1074,7 +1074,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1093,7 +1093,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -1108,7 +1108,7 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; @@ -1120,14 +1120,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items purchased. */ Items?: ItemInstance[]; @@ -1138,7 +1138,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1149,7 +1149,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1158,7 +1158,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1169,7 +1169,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ Data?: { [key: string]: string | null }; @@ -1434,14 +1434,14 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1611,7 +1611,7 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build to match against. */ BuildVersion?: string; @@ -1626,7 +1626,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { /** number of games running */ GameCount: number; @@ -1637,7 +1637,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -1648,12 +1648,12 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { /** Entity profile ID. */ Id: string; @@ -1664,7 +1664,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -1679,9 +1679,10 @@ declare module PlayFabClientModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1703,7 +1704,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1742,7 +1743,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1751,7 +1752,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1763,6 +1764,8 @@ declare module PlayFabClientModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ @@ -1771,10 +1774,12 @@ declare module PlayFabClientModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; + /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + XboxInfo?: UserXboxInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { /** Unique Game Center identifier for a user. */ GameCenterId?: string; @@ -1783,7 +1788,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { /** build version this server is running */ BuildVersion?: string; @@ -1821,7 +1826,7 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** version of game server for which stats are being requested */ BuildVersion: string; @@ -1833,14 +1838,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -1849,7 +1854,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -1858,7 +1863,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address for the account to find (if no Username is specified). */ Email?: string; @@ -1877,28 +1882,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1914,7 +1919,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1928,7 +1933,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -1937,7 +1942,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -1950,7 +1955,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -1963,28 +1968,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -1998,14 +2003,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2025,10 +2030,12 @@ declare module PlayFabClientModels { StatisticName: string; /** The version of the leaderboard to get. */ Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2039,7 +2046,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2059,10 +2066,12 @@ declare module PlayFabClientModels { StatisticName: string; /** The version of the leaderboard to get. */ Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2074,17 +2083,19 @@ declare module PlayFabClientModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; @@ -2097,14 +2108,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2123,7 +2134,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2134,7 +2145,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2143,14 +2154,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2169,7 +2180,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2180,14 +2191,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of service to provide the payment token. Allowed Values are: xsolla */ TokenProvider: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab's purchase order identifier. */ OrderId?: string; @@ -2196,21 +2207,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2219,7 +2230,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2257,7 +2268,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2266,7 +2277,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2300,7 +2311,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2313,7 +2324,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2323,19 +2334,19 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; @@ -2347,28 +2358,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2377,7 +2388,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2386,14 +2397,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; @@ -2402,35 +2413,35 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2440,91 +2451,91 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Purchase order identifier. */ OrderId?: string; @@ -2539,7 +2550,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2550,7 +2561,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2564,7 +2575,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2573,7 +2584,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2582,7 +2593,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2597,47 +2608,47 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -2649,14 +2660,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player who opened trade. */ OfferingPlayerId: string; @@ -2665,14 +2676,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** Information about the requested trade. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2689,7 +2700,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2701,12 +2712,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2717,7 +2728,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -2729,14 +2740,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -2745,7 +2756,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2759,7 +2770,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; @@ -2770,7 +2781,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2808,7 +2819,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Title-specific text concerning this purchase. */ Annotation?: string; @@ -2821,7 +2832,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { /** Unique Kongregate identifier for a user. */ KongregateId?: string; @@ -2830,7 +2841,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -2843,12 +2854,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -2857,12 +2868,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2875,7 +2886,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -2884,12 +2895,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2898,12 +2909,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2915,12 +2926,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; @@ -2933,12 +2944,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; @@ -2949,12 +2960,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2966,12 +2977,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; @@ -2980,12 +2991,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -2998,26 +3009,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3047,7 +3058,7 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3069,7 +3080,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3095,7 +3106,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3117,7 +3128,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address for the account. */ Email: string; @@ -3135,7 +3146,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3157,7 +3168,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3179,7 +3190,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3204,7 +3215,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3230,7 +3241,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; @@ -3254,7 +3265,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; @@ -3272,7 +3283,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3297,7 +3308,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Twitch's API for the user. */ AccessToken?: string; @@ -3319,7 +3330,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; @@ -3337,7 +3348,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3347,7 +3358,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; @@ -3368,7 +3379,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server will expire, if applicable */ Expires?: string; @@ -3395,7 +3406,7 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3413,7 +3424,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3429,14 +3440,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may @@ -3450,14 +3461,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; @@ -3470,7 +3481,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; @@ -3495,7 +3506,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { /** Specific currency to use to fund the purchase. */ Currency?: string; @@ -3508,7 +3519,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3523,7 +3534,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3569,7 +3580,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3606,7 +3617,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3623,7 +3634,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; @@ -3640,7 +3651,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; @@ -3650,7 +3661,7 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3659,7 +3670,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; @@ -3670,7 +3681,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; @@ -3685,7 +3696,7 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { /** indicates whether the server specified is available in this region */ Available: boolean; @@ -3698,7 +3709,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -3709,12 +3720,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; @@ -3746,7 +3757,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3764,7 +3775,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -3788,41 +3799,41 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3831,12 +3842,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3845,26 +3856,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3878,7 +3889,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3892,12 +3903,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3906,12 +3917,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; @@ -3920,12 +3931,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3944,7 +3955,7 @@ declare module PlayFabClientModels { | "GameServer" | "Partner"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** version information for the build of the game server which is to be started */ BuildVersion: string; @@ -3961,7 +3972,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server should expire, if applicable */ Expires?: string; @@ -3980,7 +3991,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; @@ -3991,7 +4002,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Cart items to be purchased. */ Contents?: CartItem[]; @@ -4004,7 +4015,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4015,7 +4026,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4024,7 +4035,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4038,7 +4049,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4049,7 +4060,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4058,7 +4069,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4076,7 +4087,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4087,7 +4098,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4115,7 +4126,7 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4124,7 +4135,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4137,7 +4148,7 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -4150,7 +4161,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; @@ -4210,7 +4221,7 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; @@ -4219,7 +4230,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4229,12 +4240,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4244,42 +4255,42 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will @@ -4289,54 +4300,54 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -4355,7 +4366,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -4369,7 +4380,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4382,14 +4393,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4408,7 +4419,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4418,7 +4429,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4427,24 +4438,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4463,12 +4474,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4488,7 +4499,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4498,21 +4509,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4549,14 +4560,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4566,7 +4577,7 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4580,7 +4591,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4589,14 +4600,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4609,14 +4620,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4644,14 +4655,14 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4660,7 +4671,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -4669,7 +4680,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4682,7 +4693,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4709,7 +4720,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4718,14 +4729,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4740,12 +4751,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode?: string; @@ -4758,12 +4769,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode: string; @@ -4774,12 +4785,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4792,12 +4803,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4814,7 +4825,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -4829,7 +4840,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4845,7 +4856,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4859,7 +4870,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -4869,7 +4880,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts index 0bc58729..f8674eb2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts @@ -508,7 +508,8 @@ declare module PlayFabEntityModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityWithLineage */ export interface EntityWithLineage { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index a94c2c52..93866194 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -35,14 +35,14 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; @@ -51,19 +51,19 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -101,7 +101,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the @@ -113,12 +113,12 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the @@ -130,7 +130,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -143,7 +143,7 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -170,7 +170,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -180,7 +180,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; @@ -199,7 +199,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; @@ -212,7 +212,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a @@ -224,7 +224,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; @@ -245,7 +245,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index b5769452..d90ebe31 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -610,7 +610,7 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -621,7 +621,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -632,7 +632,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 @@ -648,7 +648,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user being added. */ FriendEmail?: string; @@ -663,7 +663,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -672,12 +672,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -686,12 +686,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -705,7 +705,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { /** The Json the platform should receive. */ Json: string; @@ -714,21 +714,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { /** Unique Steam achievement name. */ AchievementName: string; @@ -739,21 +739,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -774,7 +774,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -789,21 +789,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -862,7 +862,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -876,7 +876,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -894,7 +894,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -913,7 +913,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -922,7 +922,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -941,7 +941,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -956,7 +956,7 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -969,7 +969,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -978,7 +978,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -989,7 +989,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1258,14 +1258,14 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1435,7 +1435,7 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1449,19 +1449,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1473,19 +1473,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1494,12 +1494,12 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { /** Entity profile ID. */ Id: string; @@ -1514,9 +1514,10 @@ declare module PlayFabServerModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses @@ -1528,14 +1529,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1574,7 +1575,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1598,7 +1599,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1607,7 +1608,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1619,6 +1620,8 @@ declare module PlayFabServerModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ @@ -1627,6 +1630,8 @@ declare module PlayFabServerModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; + /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + XboxInfo?: UserXboxInfo; } @@ -2001,35 +2006,45 @@ declare module PlayFabServerModels { | "InvalidTokenResultFromAad" | "NoValidCertificateForAad" | "InvalidCertificateForAad" - | "DuplicateDropTableId"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ + | "DuplicateDropTableId" + | "ComputeOK" + | "ComputeAccepted" + | "ComputeNoContent" + | "ComputeBadRequest" + | "ComputeUnauthorized" + | "ComputeForbidden" + | "ComputeNotFound" + | "ComputeConflict" + | "ComputeInternalServerError" + | "ComputeServiceUnavailable"; + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2045,7 +2060,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -2061,7 +2076,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -2072,7 +2087,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -2087,7 +2102,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2102,14 +2117,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2118,7 +2133,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for the statistics. */ CharacterId?: string; @@ -2129,7 +2144,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -2143,14 +2158,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2172,10 +2187,12 @@ declare module PlayFabServerModels { StatisticName: string; /** The version of the leaderboard to get. */ Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2189,17 +2206,19 @@ declare module PlayFabServerModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2214,14 +2233,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2240,7 +2259,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2251,7 +2270,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2262,14 +2281,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2288,7 +2307,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2299,7 +2318,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2308,7 +2327,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2346,7 +2365,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2355,7 +2374,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2389,7 +2408,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2402,7 +2421,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2412,14 +2431,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2435,7 +2454,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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; @@ -2446,14 +2465,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** user for whom statistics are being requested */ PlayFabId: string; @@ -2467,7 +2486,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; @@ -2476,21 +2495,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2499,7 +2518,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2508,49 +2527,49 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses @@ -2562,14 +2581,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2580,7 +2599,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2594,7 +2613,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2603,75 +2622,75 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2685,7 +2704,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2699,14 +2718,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2719,7 +2738,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; @@ -2730,14 +2749,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2781,7 +2800,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2796,14 +2815,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2816,14 +2835,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2832,14 +2851,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2862,7 +2881,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2900,7 +2919,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2913,21 +2932,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2957,7 +2976,7 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2967,7 +2986,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2985,7 +3004,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2994,7 +3013,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; @@ -3005,7 +3024,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -3014,7 +3033,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3030,7 +3049,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; @@ -3043,12 +3062,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3059,12 +3078,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3075,12 +3094,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; @@ -3089,7 +3108,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { /** State of user leaving the Game Server Instance. */ PlayerState?: string; @@ -3101,7 +3120,7 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3116,7 +3135,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -3129,7 +3148,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3144,7 +3163,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3189,7 +3208,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3235,7 +3254,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3272,7 +3291,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3285,7 +3304,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3302,7 +3321,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; @@ -3322,7 +3341,7 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3331,7 +3350,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3340,7 +3359,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3351,7 +3370,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. */ CatalogVersion?: string; @@ -3364,14 +3383,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; @@ -3380,7 +3399,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Error value if the ticket was not validated. */ Error?: string; @@ -3391,14 +3410,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3411,7 +3430,7 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -3438,7 +3457,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -3448,7 +3467,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -3457,7 +3476,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3466,12 +3485,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3480,12 +3499,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3496,14 +3515,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3517,35 +3536,35 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3556,7 +3575,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3567,26 +3586,26 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -3595,7 +3614,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3609,7 +3628,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -3620,12 +3639,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The email template id of the email template to send. */ EmailTemplateId: string; @@ -3634,12 +3653,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver @@ -3662,12 +3681,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3678,7 +3697,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data to set for the specified game server instance. */ GameServerData: string; @@ -3687,12 +3706,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; @@ -3701,12 +3720,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; @@ -3718,12 +3737,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3732,12 +3751,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3749,12 +3768,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3766,12 +3785,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3784,7 +3803,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3795,7 +3814,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -3804,7 +3823,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -3818,7 +3837,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -3829,7 +3848,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -3838,7 +3857,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3866,7 +3885,7 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3879,7 +3898,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3890,7 +3909,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -3903,7 +3922,7 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -3916,7 +3935,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -3937,7 +3956,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -3953,7 +3972,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -3966,7 +3985,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; @@ -3975,7 +3994,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3994,21 +4013,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4029,7 +4048,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4039,7 +4058,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4050,12 +4069,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. @@ -4069,12 +4088,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4093,12 +4112,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4117,7 +4136,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4127,7 +4146,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4144,7 +4163,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4165,7 +4184,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4202,14 +4221,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4219,7 +4238,7 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4233,7 +4252,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4242,14 +4261,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4262,14 +4281,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4297,14 +4316,14 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4313,7 +4332,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4326,7 +4345,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4353,7 +4372,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4362,14 +4381,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4386,7 +4405,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -4401,7 +4420,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -4411,7 +4430,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4429,7 +4448,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4445,7 +4464,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 514227f2..87c8ba94 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -1,8 +1,8 @@ /// -/// -/// /// /// +/// +/// declare module PlayFabModule { export interface ISettings { @@ -40,16 +40,16 @@ declare var PlayFab: { GenerateErrorReport(IPlayFabError): string; settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; - MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; - ServerApi: PlayFabServerModule.IPlayFabServer; ClientApi: PlayFabClientModule.IPlayFabClient; EntityApi: PlayFabEntityModule.IPlayFabEntity; + MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; + ServerApi: PlayFabServerModule.IPlayFabServer; }; // Continue to support older usage declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; -declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; -declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; declare var PlayFabEntitySDK: PlayFabEntityModule.IPlayFabEntity; +declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; +declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 554ca6cb..5f98cb0c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -208,6 +208,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + DeleteMasterPlayerAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -233,6 +238,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ExportMasterPlayerData: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ExportMasterPlayerData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -288,6 +298,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 49b5c95a..d466c14d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js index 5e91f631..cc067d05 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index b357d7fd..f6bb476f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 973c550e..57af02a3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.21.180507", + sdkVersion: "1.22.180529", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.21.180507"; +PlayFab.sdkVersion = "1.22.180529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 514227f2..87c8ba94 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -1,8 +1,8 @@ /// -/// -/// /// /// +/// +/// declare module PlayFabModule { export interface ISettings { @@ -40,16 +40,16 @@ declare var PlayFab: { GenerateErrorReport(IPlayFabError): string; settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; - MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; - ServerApi: PlayFabServerModule.IPlayFabServer; ClientApi: PlayFabClientModule.IPlayFabClient; EntityApi: PlayFabEntityModule.IPlayFabEntity; + MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; + ServerApi: PlayFabServerModule.IPlayFabServer; }; // Continue to support older usage declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; -declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; -declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; declare var PlayFabEntitySDK: PlayFabEntityModule.IPlayFabEntity; +declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; +declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index a7be70d9..ef19d994 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -73,6 +73,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/DeleteContent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a master player account entirely from all titles and deletes all associated data + * https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount + */ + DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data * https://api.playfab.com/Documentation/Admin/method/DeletePlayer @@ -99,6 +104,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/DeleteTitle */ DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Exports all associated data of a master player account + * https://api.playfab.com/Documentation/Admin/method/ExportMasterPlayerData + */ + ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get information about a ActionsOnPlayersInSegment task instance. * https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance @@ -158,6 +168,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get the list of titles that the player has played + * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList + */ + GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a player's ID from an auth token. * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken @@ -540,14 +555,14 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { /** ID of the action to perform on each player in segment. */ ActionId: string; @@ -556,7 +571,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -585,7 +600,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -596,7 +611,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -607,7 +622,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Body text of the news */ Body: string; @@ -618,14 +633,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique id of the new news item */ NewsId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -634,12 +649,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; @@ -661,7 +676,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -692,7 +707,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -706,7 +721,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) @@ -716,7 +731,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -725,7 +740,7 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -746,7 +761,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -761,26 +776,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -839,7 +854,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -853,7 +868,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -871,7 +886,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -890,7 +905,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; @@ -899,14 +914,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { /** The amount of the specified resource remaining. */ Amount: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -918,7 +933,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { /** Argument to pass to the CloudScript function. */ Argument?: any; @@ -927,7 +942,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -950,7 +965,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { /** Most recent revision for this Cloud Script version */ LatestRevision: number; @@ -965,7 +980,7 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -976,7 +991,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -987,7 +1002,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { /** Key of the content */ Key?: string; @@ -1256,7 +1271,7 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1271,7 +1286,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1286,21 +1301,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ FriendlyName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -1311,14 +1326,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1488,38 +1503,57 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Key of the content item to be deleted */ Key: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest */ + export interface DeleteMasterPlayerAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountResult */ + export interface DeleteMasterPlayerAccountResult extends PlayFabModule.IPlayFabResultCommon { + /** + * A notification email with this job receipt Id will be sent to the title notification email address when deletion is + * complete. + */ + JobReceiptId?: string; + /** List of titles from which the player's data will be deleted. */ + TitleIds?: string[]; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1528,29 +1562,29 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1562,7 +1596,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1574,12 +1608,12 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ export interface EntityKey { /** Entity profile ID. */ Id: string; @@ -1594,9 +1628,10 @@ declare module PlayFabAdminModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1635,13 +1670,30 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataRequest */ + export interface ExportMasterPlayerDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataResult */ + export interface ExportMasterPlayerDataResult extends PlayFabModule.IPlayFabResultCommon { + /** + * An email with this job receipt Id containing the export download link will be sent to the title notification email + * address when the export is complete. + */ + JobReceiptId?: string; + + } + type GameBuildStatus = "Available" | "Validating" | "InvalidBuildPackage" | "Processing" | "FailedToProcess"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { /** specific game mode type */ Gamemode: string; @@ -2022,9 +2074,19 @@ declare module PlayFabAdminModels { | "InvalidTokenResultFromAad" | "NoValidCertificateForAad" | "InvalidCertificateForAad" - | "DuplicateDropTableId"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ + | "DuplicateDropTableId" + | "ComputeOK" + | "ComputeAccepted" + | "ComputeNoContent" + | "ComputeBadRequest" + | "ComputeUnauthorized" + | "ComputeForbidden" + | "ComputeNotFound" + | "ComputeConflict" + | "ComputeInternalServerError" + | "ComputeServiceUnavailable"; + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; @@ -2033,33 +2095,33 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision number. If left null, defaults to the latest revision */ Revision?: number; @@ -2068,7 +2130,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { /** Time this revision was created */ CreatedAt: string; @@ -2083,7 +2145,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; @@ -2092,19 +2154,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, @@ -2114,7 +2176,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { /** List of content items. */ Contents?: ContentInfo[]; @@ -2125,7 +2187,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when @@ -2137,14 +2199,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { /** Reporting year (UTC) */ Day: number; @@ -2157,21 +2219,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { /** The URL where the requested report can be downloaded. */ DownloadUrl?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** version identifier of the game server executable binary being run */ BuildVersion?: string; @@ -2196,21 +2258,35 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ + export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListResult */ + export interface GetPlayedTitleListResult extends PlayFabModule.IPlayFabResultCommon { + /** List of titles the player has played */ + TitleIds?: string[]; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -2219,14 +2295,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The player ID from the token passed in */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2239,7 +2315,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2249,26 +2325,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2284,7 +2360,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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; @@ -2295,40 +2371,40 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2337,7 +2413,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2346,14 +2422,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; @@ -2362,35 +2438,35 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2401,14 +2477,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2437,21 +2513,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the game server build to upload */ BuildId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2460,7 +2536,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2475,14 +2551,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the requested task instance. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; @@ -2498,7 +2574,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get @@ -2509,49 +2585,49 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2565,7 +2641,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2579,14 +2655,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2599,7 +2675,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2643,7 +2719,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2652,14 +2728,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2670,26 +2746,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2712,7 +2788,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2750,7 +2826,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2763,31 +2839,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2817,7 +2893,7 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2827,7 +2903,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -2840,14 +2916,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2865,7 +2941,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; @@ -2874,12 +2950,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2903,7 +2979,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2934,7 +3010,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2950,14 +3026,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; @@ -2977,7 +3053,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -2990,7 +3066,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3005,7 +3081,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3050,7 +3126,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3096,7 +3172,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3133,7 +3209,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3146,7 +3222,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3159,7 +3235,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3183,7 +3259,7 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3192,7 +3268,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3205,7 +3281,7 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; @@ -3214,7 +3290,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3225,7 +3301,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3239,7 +3315,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; @@ -3254,7 +3330,7 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3263,31 +3339,31 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3296,12 +3372,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new password for the player. */ Password: string; @@ -3310,19 +3386,19 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3331,7 +3407,7 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3350,14 +3426,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3371,35 +3447,35 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3410,7 +3486,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3421,26 +3497,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -3449,14 +3525,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call @@ -3466,7 +3542,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { /** Description the task */ Description?: string; @@ -3495,7 +3571,7 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3509,7 +3585,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3518,12 +3594,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3532,12 +3608,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision to make the current published revision */ Revision: number; @@ -3546,12 +3622,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3563,12 +3639,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3580,12 +3656,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; @@ -3609,14 +3685,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { /** Flag to indicate if this key is disabled */ Disabled: boolean; @@ -3638,7 +3714,7 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3667,7 +3743,7 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -3685,7 +3761,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -3696,7 +3772,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3724,7 +3800,7 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3735,14 +3811,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -3778,7 +3854,7 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3797,21 +3873,21 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not @@ -3828,12 +3904,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; @@ -3844,7 +3920,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** New revision number created */ Revision: number; @@ -3853,7 +3929,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -3864,12 +3940,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3883,14 +3959,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; @@ -3901,7 +3977,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy that was updated. */ PolicyName?: string; @@ -3910,7 +3986,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -3922,12 +3998,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -3940,12 +4016,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -3964,7 +4040,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -3983,7 +4059,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -3993,7 +4069,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4010,7 +4086,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; @@ -4019,14 +4095,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4063,14 +4139,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4080,7 +4156,7 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4094,7 +4170,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4103,14 +4179,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4123,14 +4199,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4158,14 +4234,14 @@ declare module PlayFabAdminModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4174,7 +4250,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4187,7 +4263,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4214,7 +4290,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4223,14 +4299,14 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4247,7 +4323,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; @@ -4262,7 +4338,7 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 971fe743..37999452 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -770,7 +770,7 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this @@ -784,14 +784,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -802,7 +802,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; @@ -815,38 +815,38 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { /** True if the friend request was processed successfully. */ Created: boolean; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new contact email to associate with the player. */ EmailAddress: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -855,12 +855,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -871,14 +871,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique user name. */ Username?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; @@ -887,7 +887,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -901,12 +901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { /** The adid for this device. */ Adid?: string; @@ -915,26 +915,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { /** Description of the catalog item. */ Description?: string; @@ -955,7 +955,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1014,7 +1014,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -1028,7 +1028,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1046,7 +1046,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1065,7 +1065,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1074,7 +1074,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1093,7 +1093,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -1108,7 +1108,7 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; @@ -1120,14 +1120,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items purchased. */ Items?: ItemInstance[]; @@ -1138,7 +1138,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1149,7 +1149,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1158,7 +1158,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1169,7 +1169,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ Data?: { [key: string]: string | null }; @@ -1434,14 +1434,14 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1611,7 +1611,7 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build to match against. */ BuildVersion?: string; @@ -1626,7 +1626,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { /** number of games running */ GameCount: number; @@ -1637,7 +1637,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -1648,12 +1648,12 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { /** Entity profile ID. */ Id: string; @@ -1664,7 +1664,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -1679,9 +1679,10 @@ declare module PlayFabClientModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1703,7 +1704,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1742,7 +1743,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1751,7 +1752,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1763,6 +1764,8 @@ declare module PlayFabClientModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ @@ -1771,10 +1774,12 @@ declare module PlayFabClientModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; + /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + XboxInfo?: UserXboxInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { /** Unique Game Center identifier for a user. */ GameCenterId?: string; @@ -1783,7 +1788,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { /** build version this server is running */ BuildVersion?: string; @@ -1821,7 +1826,7 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** version of game server for which stats are being requested */ BuildVersion: string; @@ -1833,14 +1838,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -1849,7 +1854,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -1858,7 +1863,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address for the account to find (if no Username is specified). */ Email?: string; @@ -1877,28 +1882,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1914,7 +1919,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1928,7 +1933,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -1937,7 +1942,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -1950,7 +1955,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -1963,28 +1968,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -1998,14 +2003,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2025,10 +2030,12 @@ declare module PlayFabClientModels { StatisticName: string; /** The version of the leaderboard to get. */ Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2039,7 +2046,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2059,10 +2066,12 @@ declare module PlayFabClientModels { StatisticName: string; /** The version of the leaderboard to get. */ Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2074,17 +2083,19 @@ declare module PlayFabClientModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; @@ -2097,14 +2108,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2123,7 +2134,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2134,7 +2145,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2143,14 +2154,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2169,7 +2180,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2180,14 +2191,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of service to provide the payment token. Allowed Values are: xsolla */ TokenProvider: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab's purchase order identifier. */ OrderId?: string; @@ -2196,21 +2207,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2219,7 +2230,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2257,7 +2268,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2266,7 +2277,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2300,7 +2311,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2313,7 +2324,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2323,19 +2334,19 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; @@ -2347,28 +2358,28 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2377,7 +2388,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2386,14 +2397,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; @@ -2402,35 +2413,35 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2440,91 +2451,91 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Purchase order identifier. */ OrderId?: string; @@ -2539,7 +2550,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2550,7 +2561,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2564,7 +2575,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2573,7 +2584,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2582,7 +2593,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2597,47 +2608,47 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -2649,14 +2660,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player who opened trade. */ OfferingPlayerId: string; @@ -2665,14 +2676,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** Information about the requested trade. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2689,7 +2700,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2701,12 +2712,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2717,7 +2728,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -2729,14 +2740,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -2745,7 +2756,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2759,7 +2770,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; @@ -2770,7 +2781,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2808,7 +2819,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Title-specific text concerning this purchase. */ Annotation?: string; @@ -2821,7 +2832,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { /** Unique Kongregate identifier for a user. */ KongregateId?: string; @@ -2830,7 +2841,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -2843,12 +2854,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -2857,12 +2868,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2875,7 +2886,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -2884,12 +2895,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2898,12 +2909,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2915,12 +2926,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; @@ -2933,12 +2944,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; @@ -2949,12 +2960,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -2966,12 +2977,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; @@ -2980,12 +2991,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -2998,26 +3009,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3047,7 +3058,7 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3069,7 +3080,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3095,7 +3106,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3117,7 +3128,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address for the account. */ Email: string; @@ -3135,7 +3146,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3157,7 +3168,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3179,7 +3190,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3204,7 +3215,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3230,7 +3241,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; @@ -3254,7 +3265,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; @@ -3272,7 +3283,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3297,7 +3308,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Twitch's API for the user. */ AccessToken?: string; @@ -3319,7 +3330,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; @@ -3337,7 +3348,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3347,7 +3358,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; @@ -3368,7 +3379,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server will expire, if applicable */ Expires?: string; @@ -3395,7 +3406,7 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3413,7 +3424,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3429,14 +3440,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ export interface NameIdentifier { Id?: string; Name?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may @@ -3450,14 +3461,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; @@ -3470,7 +3481,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; @@ -3495,7 +3506,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { /** Specific currency to use to fund the purchase. */ Currency?: string; @@ -3508,7 +3519,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3523,7 +3534,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3569,7 +3580,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3606,7 +3617,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3623,7 +3634,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; @@ -3640,7 +3651,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; @@ -3650,7 +3661,7 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3659,7 +3670,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; @@ -3670,7 +3681,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; @@ -3685,7 +3696,7 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { /** indicates whether the server specified is available in this region */ Available: boolean; @@ -3698,7 +3709,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -3709,12 +3720,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; @@ -3746,7 +3757,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3764,7 +3775,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -3788,41 +3799,41 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3831,12 +3842,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3845,26 +3856,26 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3878,7 +3889,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3892,12 +3903,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3906,12 +3917,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; @@ -3920,12 +3931,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3944,7 +3955,7 @@ declare module PlayFabClientModels { | "GameServer" | "Partner"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** version information for the build of the game server which is to be started */ BuildVersion: string; @@ -3961,7 +3972,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server should expire, if applicable */ Expires?: string; @@ -3980,7 +3991,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; @@ -3991,7 +4002,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Cart items to be purchased. */ Contents?: CartItem[]; @@ -4004,7 +4015,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4015,7 +4026,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4024,7 +4035,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4038,7 +4049,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4049,7 +4060,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4058,7 +4069,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4076,7 +4087,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4087,7 +4098,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4115,7 +4126,7 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4124,7 +4135,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4137,7 +4148,7 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -4150,7 +4161,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; @@ -4210,7 +4221,7 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; @@ -4219,7 +4230,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4229,12 +4240,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4244,42 +4255,42 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will @@ -4289,54 +4300,54 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -4355,7 +4366,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -4369,7 +4380,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4382,14 +4393,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4408,7 +4419,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4418,7 +4429,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4427,24 +4438,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4463,12 +4474,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4488,7 +4499,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4498,21 +4509,21 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4549,14 +4560,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4566,7 +4577,7 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4580,7 +4591,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4589,14 +4600,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4609,14 +4620,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4644,14 +4655,14 @@ declare module PlayFabClientModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4660,7 +4671,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -4669,7 +4680,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4682,7 +4693,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4709,7 +4720,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4718,14 +4729,14 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4740,12 +4751,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode?: string; @@ -4758,12 +4769,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency used for the purchase. */ CurrencyCode: string; @@ -4774,12 +4785,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4792,12 +4803,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4814,7 +4825,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -4829,7 +4840,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4845,7 +4856,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4859,7 +4870,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -4869,7 +4880,7 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts index 0bc58729..f8674eb2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts @@ -508,7 +508,8 @@ declare module PlayFabEntityModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityWithLineage */ export interface EntityWithLineage { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index a94c2c52..93866194 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -35,14 +35,14 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; @@ -51,19 +51,19 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -101,7 +101,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the @@ -113,12 +113,12 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the @@ -130,7 +130,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -143,7 +143,7 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -170,7 +170,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -180,7 +180,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; @@ -199,7 +199,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; @@ -212,7 +212,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a @@ -224,7 +224,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; @@ -245,7 +245,7 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index b5769452..d90ebe31 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -610,7 +610,7 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -621,7 +621,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -632,7 +632,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 @@ -648,7 +648,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user being added. */ FriendEmail?: string; @@ -663,7 +663,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -672,12 +672,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -686,12 +686,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -705,7 +705,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { /** The Json the platform should receive. */ Json: string; @@ -714,21 +714,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { /** Unique Steam achievement name. */ AchievementName: string; @@ -739,21 +739,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -774,7 +774,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -789,21 +789,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -862,7 +862,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -876,7 +876,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -894,7 +894,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -913,7 +913,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -922,7 +922,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -941,7 +941,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { /** The id for this character on this player. */ CharacterId?: string; @@ -956,7 +956,7 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -969,7 +969,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -978,7 +978,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -989,7 +989,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1258,14 +1258,14 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1435,7 +1435,7 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1449,19 +1449,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -1473,19 +1473,19 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1494,12 +1494,12 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { /** Entity profile ID. */ Id: string; @@ -1514,9 +1514,10 @@ declare module PlayFabServerModels { | "master_player_account" | "title_player_account" | "character" - | "group"; + | "group" + | "service"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses @@ -1528,14 +1529,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1574,7 +1575,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1598,7 +1599,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1607,7 +1608,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ CurrentMatchmakerLobbyId?: string; @@ -1619,6 +1620,8 @@ declare module PlayFabServerModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; + /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ @@ -1627,6 +1630,8 @@ declare module PlayFabServerModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; + /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + XboxInfo?: UserXboxInfo; } @@ -2001,35 +2006,45 @@ declare module PlayFabServerModels { | "InvalidTokenResultFromAad" | "NoValidCertificateForAad" | "InvalidCertificateForAad" - | "DuplicateDropTableId"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ + | "DuplicateDropTableId" + | "ComputeOK" + | "ComputeAccepted" + | "ComputeNoContent" + | "ComputeBadRequest" + | "ComputeUnauthorized" + | "ComputeForbidden" + | "ComputeNotFound" + | "ComputeConflict" + | "ComputeInternalServerError" + | "ComputeServiceUnavailable"; + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2045,7 +2060,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -2061,7 +2076,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -2072,7 +2087,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -2087,7 +2102,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2102,14 +2117,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2118,7 +2133,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for the statistics. */ CharacterId?: string; @@ -2129,7 +2144,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -2143,14 +2158,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2172,10 +2187,12 @@ declare module PlayFabServerModels { StatisticName: string; /** The version of the leaderboard to get. */ Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2189,17 +2206,19 @@ declare module PlayFabServerModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2214,14 +2233,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2240,7 +2259,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2251,7 +2270,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2262,14 +2281,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2288,7 +2307,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2299,7 +2318,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2308,7 +2327,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2346,7 +2365,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2355,7 +2374,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2389,7 +2408,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2402,7 +2421,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2412,14 +2431,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2435,7 +2454,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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; @@ -2446,14 +2465,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** user for whom statistics are being requested */ PlayFabId: string; @@ -2467,7 +2486,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; @@ -2476,21 +2495,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2499,7 +2518,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2508,49 +2527,49 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses @@ -2562,14 +2581,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2580,7 +2599,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2594,7 +2613,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2603,75 +2622,75 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2685,7 +2704,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2699,14 +2718,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2719,7 +2738,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Non-unique display name of the character being granted (1-20 characters in length). */ CharacterName: string; @@ -2730,14 +2749,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2781,7 +2800,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2796,14 +2815,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2816,14 +2835,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2832,14 +2851,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -2862,7 +2881,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2900,7 +2919,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -2913,21 +2932,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -2957,7 +2976,7 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -2967,7 +2986,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -2985,7 +3004,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -2994,7 +3013,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; @@ -3005,7 +3024,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -3014,7 +3033,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3030,7 +3049,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; @@ -3043,12 +3062,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3059,12 +3078,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3075,12 +3094,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; @@ -3089,7 +3108,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { /** State of user leaving the Game Server Instance. */ PlayerState?: string; @@ -3101,7 +3120,7 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3116,7 +3135,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -3129,7 +3148,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3144,7 +3163,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3189,7 +3208,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3235,7 +3254,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3272,7 +3291,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3285,7 +3304,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3302,7 +3321,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; @@ -3322,7 +3341,7 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3331,7 +3350,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3340,7 +3359,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3351,7 +3370,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. */ CatalogVersion?: string; @@ -3364,14 +3383,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; @@ -3380,7 +3399,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Error value if the ticket was not validated. */ Error?: string; @@ -3391,14 +3410,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3411,7 +3430,7 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -3438,7 +3457,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -3448,7 +3467,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -3457,7 +3476,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3466,12 +3485,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -3480,12 +3499,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -3496,14 +3515,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3517,35 +3536,35 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3556,7 +3575,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3567,26 +3586,26 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -3595,7 +3614,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3609,7 +3628,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -3620,12 +3639,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The email template id of the email template to send. */ EmailTemplateId: string; @@ -3634,12 +3653,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver @@ -3662,12 +3681,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -3678,7 +3697,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data to set for the specified game server instance. */ GameServerData: string; @@ -3687,12 +3706,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; @@ -3701,12 +3720,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; @@ -3718,12 +3737,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret: string; @@ -3732,12 +3751,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3749,12 +3768,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3766,12 +3785,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -3784,7 +3803,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -3795,7 +3814,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -3804,7 +3823,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -3818,7 +3837,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -3829,7 +3848,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -3838,7 +3857,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -3866,7 +3885,7 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3879,7 +3898,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -3890,7 +3909,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -3903,7 +3922,7 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -3916,7 +3935,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -3937,7 +3956,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -3953,7 +3972,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -3966,7 +3985,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; @@ -3975,7 +3994,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -3994,21 +4013,21 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4029,7 +4048,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4039,7 +4058,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4050,12 +4069,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. @@ -4069,12 +4088,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4093,12 +4112,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4117,7 +4136,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4127,7 +4146,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4144,7 +4163,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4165,7 +4184,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4202,14 +4221,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4219,7 +4238,7 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4233,7 +4252,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4242,14 +4261,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4262,14 +4281,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4297,14 +4316,14 @@ declare module PlayFabServerModels { | "Twitch" | "WindowsHello"; - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4313,7 +4332,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4326,7 +4345,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4353,7 +4372,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4362,14 +4381,14 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4386,7 +4405,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -4401,7 +4420,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -4411,7 +4430,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4429,7 +4448,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; @@ -4445,7 +4464,7 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; From dd8c833e55a09bdca59fdf10e67f2f9d4396a2a9 Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Mon, 18 Jun 2018 22:22:07 +0000 Subject: [PATCH 061/253] https://api.playfab.com/releaseNotes/#180618 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 82 ++++++++++++------- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 77 ++++++++++------- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 7 -- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 49 ----------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 52 +++++++++--- PlayFabTestingExample/PlayFabApiTest.js | 6 +- PlayFabTestingExample/PlayFabApiTest.ts | 6 +- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 82 ++++++++++++------- .../src/PlayFab/PlayFabEntityApi.js | 4 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 77 ++++++++++------- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 7 -- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 49 ----------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 52 +++++++++--- 21 files changed, 311 insertions(+), 269 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 11ffba47..25d18e47 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.22.180529", + "version": "1.23.180618", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5f98cb0c..f1811fd5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d466c14d..2cc4781c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -528,9 +528,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -544,9 +546,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -560,9 +564,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -576,9 +582,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -592,9 +600,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -608,9 +618,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -624,9 +636,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -640,9 +654,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -656,9 +672,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -672,9 +690,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -688,9 +708,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -704,9 +726,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -763,9 +787,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js index cc067d05..ade4aab7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index f6bb476f..3b57f758 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 57af02a3..30b4c23c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index ef19d994..4e43c8f2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1584,23 +1584,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ - export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabIds: 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; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ - export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { - - } - type EffectType = "Allow" | "Deny"; @@ -1707,6 +1690,7 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" + | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2075,16 +2059,47 @@ declare module PlayFabAdminModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "ComputeOK" - | "ComputeAccepted" - | "ComputeNoContent" - | "ComputeBadRequest" - | "ComputeUnauthorized" - | "ComputeForbidden" - | "ComputeNotFound" - | "ComputeConflict" - | "ComputeInternalServerError" - | "ComputeServiceUnavailable"; + | "GameServerOk" + | "GameServerAccepted" + | "GameServerNoContent" + | "GameServerBadRequest" + | "GameServerUnauthorized" + | "GameServerForbidden" + | "GameServerNotFound" + | "GameServerConflict" + | "GameServerInternalServerError" + | "GameServerServiceUnavailable" + | "MatchmakingInvalidEntityKeyList" + | "MatchmakingInvalidTicketCreatorProfile" + | "MatchmakingInvalidUserAttributes" + | "MatchmakingCreateRequestMissing" + | "MatchmakingCreateRequestCreatorMissing" + | "MatchmakingCreateRequestCreatorIdMissing" + | "MatchmakingCreateRequestUserListMissing" + | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingTicketIdMissing" + | "MatchmakingMatchIdMissing" + | "MatchmakingMatchIdIdMissing" + | "MatchmakingHopperIdMissing" + | "MatchmakingTitleIdMissing" + | "MatchmakingTicketIdIdMissing" + | "MatchmakingUserIdMissing" + | "MatchmakingJoinRequestUserMissing" + | "MatchmakingHopperConfigNotFound" + | "MatchmakingMatchNotFound" + | "MatchmakingTicketNotFound" + | "MatchmakingCreateTicketServerIdentityInvalid" + | "MatchmakingCreateTicketClientIdentityInvalid" + | "MatchmakingGetTicketUserMismatch" + | "MatchmakingJoinTicketServerIdentityInvalid" + | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingCancelTicketServerIdentityInvalid" + | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingGetMatchIdentityMismatch" + | "MatchmakingUserIdentityMismatch" + | "MatchmakingAlreadyJoinedTicket" + | "MatchmakingTicketAlreadyCompleted" + | "MatchmakingHopperConfigInvalid"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3028,7 +3043,9 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { + /** Id Identifier, if present */ Id?: string; + /** Name Identifier, if present */ Name?: string; } @@ -3308,7 +3325,8 @@ declare module PlayFabAdminModels { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; @@ -3419,7 +3437,8 @@ declare module PlayFabAdminModels { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 37999452..408d9c3c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3440,13 +3440,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ - export interface NameIdentifier { - Id?: string; - Name?: string; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 93866194..fc992efb 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -51,18 +51,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ - export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the Game Server Instance that is being deregistered. */ - LobbyId: string; - - } - - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ - export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ @@ -143,43 +131,6 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ - export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the build running on the Game Server Instance. */ - Build: string; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - GameMode: string; - /** Previous lobby id if re-registering an existing game. */ - LobbyId?: string; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - Region: string; - /** IPV4 address of the Game Server Instance. */ - ServerHost: string; - /** IPV6 address of the Game Server Instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: string; - /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string | null }; - - } - - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ - export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - LobbyId?: string; - - } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d90ebe31..d9110bcd 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1639,6 +1639,7 @@ declare module PlayFabServerModels { | "Closed"; type GenericErrorCodes = "Success" + | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2007,16 +2008,47 @@ declare module PlayFabServerModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "ComputeOK" - | "ComputeAccepted" - | "ComputeNoContent" - | "ComputeBadRequest" - | "ComputeUnauthorized" - | "ComputeForbidden" - | "ComputeNotFound" - | "ComputeConflict" - | "ComputeInternalServerError" - | "ComputeServiceUnavailable"; + | "GameServerOk" + | "GameServerAccepted" + | "GameServerNoContent" + | "GameServerBadRequest" + | "GameServerUnauthorized" + | "GameServerForbidden" + | "GameServerNotFound" + | "GameServerConflict" + | "GameServerInternalServerError" + | "GameServerServiceUnavailable" + | "MatchmakingInvalidEntityKeyList" + | "MatchmakingInvalidTicketCreatorProfile" + | "MatchmakingInvalidUserAttributes" + | "MatchmakingCreateRequestMissing" + | "MatchmakingCreateRequestCreatorMissing" + | "MatchmakingCreateRequestCreatorIdMissing" + | "MatchmakingCreateRequestUserListMissing" + | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingTicketIdMissing" + | "MatchmakingMatchIdMissing" + | "MatchmakingMatchIdIdMissing" + | "MatchmakingHopperIdMissing" + | "MatchmakingTitleIdMissing" + | "MatchmakingTicketIdIdMissing" + | "MatchmakingUserIdMissing" + | "MatchmakingJoinRequestUserMissing" + | "MatchmakingHopperConfigNotFound" + | "MatchmakingMatchNotFound" + | "MatchmakingTicketNotFound" + | "MatchmakingCreateTicketServerIdentityInvalid" + | "MatchmakingCreateTicketClientIdentityInvalid" + | "MatchmakingGetTicketUserMismatch" + | "MatchmakingJoinTicketServerIdentityInvalid" + | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingCancelTicketServerIdentityInvalid" + | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingGetMatchIdentityMismatch" + | "MatchmakingUserIdentityMismatch" + | "MatchmakingAlreadyJoinedTicket" + | "MatchmakingTicketAlreadyCompleted" + | "MatchmakingHopperConfigInvalid"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 5477a26b..42a3a73f 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -460,9 +460,9 @@ var PlayFabApiTests = { var getObjectCallback1 = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); - PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); - if (typeof PlayFabApiTests.testData.testNumber === "number") - PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet + PlayFabApiTests.testData.testNumber = 0; + if (result.data.Objects.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY)) + PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds var updateDataRequest = { Entity: PlayFabApiTests.testData.entityKey, diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index 50cb2e7b..ce1ffa19 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -534,9 +534,9 @@ var PlayFabApiTests = { var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); - PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); - if (typeof PlayFabApiTests.testData.testNumber === "number") - PlayFabApiTests.testData.testNumber = 0; // Default number if not set yet + PlayFabApiTests.testData.testNumber = 0; + if (result.data.Objects.hasOwnProperty(PlayFabApiTests.testConstants.TEST_DATA_KEY)) + PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds var updateDataRequest = { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5f98cb0c..f1811fd5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d466c14d..2cc4781c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -528,9 +528,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -544,9 +546,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -560,9 +564,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -576,9 +582,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -592,9 +600,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -608,9 +618,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -624,9 +636,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -640,9 +654,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -656,9 +672,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -672,9 +690,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -688,9 +708,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -704,9 +726,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); @@ -763,9 +787,11 @@ PlayFab.ClientApi = { if (result != null) { if(result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - } if (result.data.EntityToken != null) { + } + if (result.data.EntityToken != null) { PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; - } PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) == "function") callback(result, error); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js index cc067d05..ade4aab7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index f6bb476f..3b57f758 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 57af02a3..30b4c23c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.22.180529", + sdkVersion: "1.23.180618", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.22.180529"; +PlayFab.sdkVersion = "1.23.180618"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ef19d994..4e43c8f2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1584,23 +1584,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersRequest */ - export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabIds: 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; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteUsersResult */ - export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { - - } - type EffectType = "Allow" | "Deny"; @@ -1707,6 +1690,7 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" + | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2075,16 +2059,47 @@ declare module PlayFabAdminModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "ComputeOK" - | "ComputeAccepted" - | "ComputeNoContent" - | "ComputeBadRequest" - | "ComputeUnauthorized" - | "ComputeForbidden" - | "ComputeNotFound" - | "ComputeConflict" - | "ComputeInternalServerError" - | "ComputeServiceUnavailable"; + | "GameServerOk" + | "GameServerAccepted" + | "GameServerNoContent" + | "GameServerBadRequest" + | "GameServerUnauthorized" + | "GameServerForbidden" + | "GameServerNotFound" + | "GameServerConflict" + | "GameServerInternalServerError" + | "GameServerServiceUnavailable" + | "MatchmakingInvalidEntityKeyList" + | "MatchmakingInvalidTicketCreatorProfile" + | "MatchmakingInvalidUserAttributes" + | "MatchmakingCreateRequestMissing" + | "MatchmakingCreateRequestCreatorMissing" + | "MatchmakingCreateRequestCreatorIdMissing" + | "MatchmakingCreateRequestUserListMissing" + | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingTicketIdMissing" + | "MatchmakingMatchIdMissing" + | "MatchmakingMatchIdIdMissing" + | "MatchmakingHopperIdMissing" + | "MatchmakingTitleIdMissing" + | "MatchmakingTicketIdIdMissing" + | "MatchmakingUserIdMissing" + | "MatchmakingJoinRequestUserMissing" + | "MatchmakingHopperConfigNotFound" + | "MatchmakingMatchNotFound" + | "MatchmakingTicketNotFound" + | "MatchmakingCreateTicketServerIdentityInvalid" + | "MatchmakingCreateTicketClientIdentityInvalid" + | "MatchmakingGetTicketUserMismatch" + | "MatchmakingJoinTicketServerIdentityInvalid" + | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingCancelTicketServerIdentityInvalid" + | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingGetMatchIdentityMismatch" + | "MatchmakingUserIdentityMismatch" + | "MatchmakingAlreadyJoinedTicket" + | "MatchmakingTicketAlreadyCompleted" + | "MatchmakingHopperConfigInvalid"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3028,7 +3043,9 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { + /** Id Identifier, if present */ Id?: string; + /** Name Identifier, if present */ Name?: string; } @@ -3308,7 +3325,8 @@ declare module PlayFabAdminModels { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; @@ -3419,7 +3437,8 @@ declare module PlayFabAdminModels { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** - * Reason for refund. In the case of Facebook this must match one of their refund or dispute resolution enums (See: + * The Reason parameter should correspond with the payment providers reason field, if they require one such as Facebook. In + * the case of Facebook this must match one of their refund or dispute resolution enums (See: * https://developers.facebook.com/docs/payments/implementation-guide/handling-disputes-refunds) */ Reason?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 37999452..408d9c3c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3440,13 +3440,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NameIdentifier */ - export interface NameIdentifier { - Id?: string; - Name?: string; - - } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 93866194..fc992efb 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -51,18 +51,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameRequest */ - export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the Game Server Instance that is being deregistered. */ - LobbyId: string; - - } - - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.DeregisterGameResponse */ - export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ @@ -143,43 +131,6 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameRequest */ - export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the build running on the Game Server Instance. */ - Build: string; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - GameMode: string; - /** Previous lobby id if re-registering an existing game. */ - LobbyId?: string; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - Region: string; - /** IPV4 address of the Game Server Instance. */ - ServerHost: string; - /** IPV6 address of the Game Server Instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: string; - /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string | null }; - - } - - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.RegisterGameResponse */ - export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - LobbyId?: string; - - } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d90ebe31..d9110bcd 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1639,6 +1639,7 @@ declare module PlayFabServerModels { | "Closed"; type GenericErrorCodes = "Success" + | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2007,16 +2008,47 @@ declare module PlayFabServerModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "ComputeOK" - | "ComputeAccepted" - | "ComputeNoContent" - | "ComputeBadRequest" - | "ComputeUnauthorized" - | "ComputeForbidden" - | "ComputeNotFound" - | "ComputeConflict" - | "ComputeInternalServerError" - | "ComputeServiceUnavailable"; + | "GameServerOk" + | "GameServerAccepted" + | "GameServerNoContent" + | "GameServerBadRequest" + | "GameServerUnauthorized" + | "GameServerForbidden" + | "GameServerNotFound" + | "GameServerConflict" + | "GameServerInternalServerError" + | "GameServerServiceUnavailable" + | "MatchmakingInvalidEntityKeyList" + | "MatchmakingInvalidTicketCreatorProfile" + | "MatchmakingInvalidUserAttributes" + | "MatchmakingCreateRequestMissing" + | "MatchmakingCreateRequestCreatorMissing" + | "MatchmakingCreateRequestCreatorIdMissing" + | "MatchmakingCreateRequestUserListMissing" + | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingTicketIdMissing" + | "MatchmakingMatchIdMissing" + | "MatchmakingMatchIdIdMissing" + | "MatchmakingHopperIdMissing" + | "MatchmakingTitleIdMissing" + | "MatchmakingTicketIdIdMissing" + | "MatchmakingUserIdMissing" + | "MatchmakingJoinRequestUserMissing" + | "MatchmakingHopperConfigNotFound" + | "MatchmakingMatchNotFound" + | "MatchmakingTicketNotFound" + | "MatchmakingCreateTicketServerIdentityInvalid" + | "MatchmakingCreateTicketClientIdentityInvalid" + | "MatchmakingGetTicketUserMismatch" + | "MatchmakingJoinTicketServerIdentityInvalid" + | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingCancelTicketServerIdentityInvalid" + | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingGetMatchIdentityMismatch" + | "MatchmakingUserIdentityMismatch" + | "MatchmakingAlreadyJoinedTicket" + | "MatchmakingTicketAlreadyCompleted" + | "MatchmakingHopperConfigInvalid"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { From 3cd83234fa7ae93a63a41d5c64da9530b9f1c9c7 Mon Sep 17 00:00:00 2001 From: PlayFabJenkinsBot Date: Fri, 6 Jul 2018 18:46:46 +0000 Subject: [PATCH 062/253] https://api.playfab.com/releaseNotes/#180705 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 36 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++-- .../src/PlayFab/PlayFabAdminApi.js | 6 ++-- .../src/PlayFab/PlayFabClientApi.js | 36 +++++++++---------- .../src/PlayFab/PlayFabEntityApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++-- .../src/PlayFab/PlayFabServerApi.js | 6 ++-- 11 files changed, 63 insertions(+), 63 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 25d18e47..37f065e9 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.23.180618", + "version": "1.24.180705", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f1811fd5..4b94489e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 2cc4781c..c4f30002 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -196,7 +196,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback, customData, extraHeaders); }, CancelTrade: function (request, callback, customData, extraHeaders) { @@ -537,7 +537,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithCustomID: function (request, callback, customData, extraHeaders) { @@ -555,7 +555,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { @@ -573,7 +573,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithFacebook: function (request, callback, customData, extraHeaders) { @@ -591,7 +591,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithGameCenter: function (request, callback, customData, extraHeaders) { @@ -609,7 +609,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { @@ -627,7 +627,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { @@ -645,7 +645,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithKongregate: function (request, callback, customData, extraHeaders) { @@ -663,7 +663,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithPlayFab: function (request, callback, customData, extraHeaders) { @@ -681,7 +681,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithSteam: function (request, callback, customData, extraHeaders) { @@ -699,7 +699,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithTwitch: function (request, callback, customData, extraHeaders) { @@ -717,7 +717,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { @@ -735,7 +735,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); }, Matchmake: function (request, callback, customData, extraHeaders) { @@ -778,7 +778,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback, customData, extraHeaders); }, RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { @@ -796,7 +796,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); }, RemoveContactEmail: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js index ade4aab7..cca9ff90 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -218,7 +218,7 @@ PlayFab.EntityApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); }, GetFiles: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 3b57f758..3d596cd9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 30b4c23c..6d89ae88 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f1811fd5..4b94489e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 2cc4781c..c4f30002 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -196,7 +196,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback, customData, extraHeaders); }, CancelTrade: function (request, callback, customData, extraHeaders) { @@ -537,7 +537,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithCustomID: function (request, callback, customData, extraHeaders) { @@ -555,7 +555,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithEmailAddress: function (request, callback, customData, extraHeaders) { @@ -573,7 +573,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithFacebook: function (request, callback, customData, extraHeaders) { @@ -591,7 +591,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithGameCenter: function (request, callback, customData, extraHeaders) { @@ -609,7 +609,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithGoogleAccount: function (request, callback, customData, extraHeaders) { @@ -627,7 +627,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) { @@ -645,7 +645,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithKongregate: function (request, callback, customData, extraHeaders) { @@ -663,7 +663,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithPlayFab: function (request, callback, customData, extraHeaders) { @@ -681,7 +681,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithSteam: function (request, callback, customData, extraHeaders) { @@ -699,7 +699,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithTwitch: function (request, callback, customData, extraHeaders) { @@ -717,7 +717,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback, customData, extraHeaders); }, LoginWithWindowsHello: function (request, callback, customData, extraHeaders) { @@ -735,7 +735,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); }, Matchmake: function (request, callback, customData, extraHeaders) { @@ -778,7 +778,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback, customData, extraHeaders); }, RegisterWithWindowsHello: function (request, callback, customData, extraHeaders) { @@ -796,7 +796,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); }, RemoveContactEmail: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js index ade4aab7..cca9ff90 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -218,7 +218,7 @@ PlayFab.EntityApi = { if (callback != null && typeof (callback) == "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback); + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); }, GetFiles: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 3b57f758..3d596cd9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 30b4c23c..6d89ae88 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.23.180618", + sdkVersion: "1.24.180705", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -125,8 +125,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.23.180618"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; +PlayFab.sdkVersion = "1.24.180705"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 27bd72709d9badacac677e17ab26b9a5fe37f587 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 9 Jul 2018 19:44:25 +0000 Subject: [PATCH 063/253] https://api.playfab.com/releaseNotes/#180709 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 14 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 21 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 8 +- .../src/Typings/PlayFab/PlayFabEntityApi.d.ts | 146 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 17 +- PlayFabTestingExample/index.html | 2 +- .../src/PlayFab/PlayFabAdminApi.js | 4 +- .../src/PlayFab/PlayFabClientApi.js | 4 +- .../src/PlayFab/PlayFabEntityApi.js | 14 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 4 +- .../src/PlayFab/PlayFabServerApi.js | 4 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 21 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 8 +- .../src/typings/PlayFab/PlayFabEntityApi.d.ts | 146 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 17 +- 20 files changed, 392 insertions(+), 56 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 37f065e9..6112331b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.24.180705", + "version": "1.26.180709", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 4b94489e..6b4bd77a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c4f30002..8768d358 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js index cca9ff90..af844ba5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -203,6 +203,11 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + FinalizeFileUploads: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -340,6 +345,11 @@ PlayFab.EntityApi = { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + + WriteEvents: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, }; var PlayFabEntitySDK = PlayFab.EntityApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 3d596cd9..b9b4f44d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 6d89ae88..5586ccb8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 4e43c8f2..b14f6b75 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1690,7 +1690,6 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" - | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2069,9 +2068,11 @@ declare module PlayFabAdminModels { | "GameServerConflict" | "GameServerInternalServerError" | "GameServerServiceUnavailable" - | "MatchmakingInvalidEntityKeyList" - | "MatchmakingInvalidTicketCreatorProfile" - | "MatchmakingInvalidUserAttributes" + | "ExplicitContentDetected" + | "PIIContentDetected" + | "InvalidScheduledTaskParameter" + | "MatchmakingEntityInvalid" + | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" | "MatchmakingCreateRequestCreatorMissing" | "MatchmakingCreateRequestCreatorIdMissing" @@ -2083,7 +2084,7 @@ declare module PlayFabAdminModels { | "MatchmakingHopperIdMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" - | "MatchmakingUserIdMissing" + | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" | "MatchmakingHopperConfigNotFound" | "MatchmakingMatchNotFound" @@ -2096,10 +2097,12 @@ declare module PlayFabAdminModels { | "MatchmakingCancelTicketServerIdentityInvalid" | "MatchmakingCancelTicketUserIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingUserIdentityMismatch" + | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperConfigInvalid"; + | "MatchmakingHopperIdInvalid" + | "MatchmakingHopperConfigInvalid" + | "MatchmakingMemberProfileInvalid"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3726,7 +3729,9 @@ declare module PlayFabAdminModels { | "BackEnd" | "GameClient" | "GameServer" - | "Partner"; + | "Partner" + | "Custom" + | "API"; type StatisticAggregationMethod = "Last" | "Min" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 408d9c3c..ac34a39c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2314,7 +2314,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabId: string; + PlayFabId?: string; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in @@ -3946,7 +3946,9 @@ declare module PlayFabClientModels { | "BackEnd" | "GameClient" | "GameServer" - | "Partner"; + | "Partner" + | "Custom" + | "API"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4668,6 +4670,8 @@ declare module PlayFabClientModels { export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; + /** Boolean for whether this player should report OnFocus play-time tracking. */ + GatherFocusInfo: boolean; /** Boolean for whether this player is eligible for ad tracking. */ NeedsAttribution: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts index f8674eb2..53f3fb17 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts @@ -64,6 +64,11 @@ declare module PlayFabEntityModule { * https://api.playfab.com/Documentation/Entity/method/DeleteRole */ DeleteRole(request: PlayFabEntityModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Executes CloudScript using the Entity Profile + * https://api.playfab.com/Documentation/Entity/method/ExecuteEntityCloudScript + */ + ExecuteEntityCloudScript(request: PlayFabEntityModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Finalize file uploads to an entity's profile. * https://api.playfab.com/Documentation/Entity/method/FinalizeFileUploads @@ -195,6 +200,11 @@ declare module PlayFabEntityModule { * https://api.playfab.com/Documentation/Entity/method/UpdateRole */ UpdateRole(request: PlayFabEntityModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Write batches of entity based events to PlayStream. + * https://api.playfab.com/Documentation/Entity/method/WriteEvents + */ + WriteEvents(request: PlayFabEntityModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -308,6 +318,10 @@ declare module PlayFabEntityModels { } + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRequest */ export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -520,6 +534,97 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EventContents */ + export interface EventContents { + /** Entity associated with the event */ + Entity: EntityKey; + /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ + EventNamespace: string; + /** The name of this event. */ + Name: string; + /** + * The original unique identifier associated with this event before it was posted to PlayFab. The value might differ from + * the EventId value, which is assigned when the event is received by the server. + */ + OriginalId?: string; + /** + * The time (in UTC) associated with this event when it occurred. If specified, this value is stored in the + * OriginalTimestamp property of the PlayStream event. + */ + OriginalTimestamp?: string; + /** Arbitrary data associated with the event. Only one of Payload or PayloadJSON is allowed. */ + Payload?: any; + /** + * Arbitrary data associated with the event, represented as a JSON serialized string. Only one of Payload or PayloadJSON is + * allowed. + */ + PayloadJSON?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteCloudScriptResult */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** Number of PlayFab API requests issued by the CloudScript function */ + APIRequestsIssued: number; + /** Information about the error, if any, that occurred during execution */ + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** The name of the function that executed */ + FunctionName?: string; + /** The object returned from the CloudScript function, if any */ + FunctionResult?: any; + /** + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. + */ + FunctionResultTooLarge?: boolean; + /** Number of external HTTP requests issued by the CloudScript function */ + HttpRequestsIssued: number; + /** + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + /** + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. + */ + LogsTooLarge?: boolean; + MemoryConsumedBytes: number; + /** + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. + */ + ProcessorTimeSeconds: number; + /** The revision of the CloudScript that executed */ + Revision: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteEntityCloudScriptRequest */ + export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the CloudScript function to execute */ + FunctionName: string; + /** Object that is passed in to the function as the first argument */ + FunctionParameter?: any; + /** + * Generate a 'entity_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + /** + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpecificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** The specific revision to execute, when RevisionSelection is set to 'Specific' */ + SpecificRevision?: number; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsRequest */ export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -921,6 +1026,16 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.LogStatement */ + export interface LogStatement { + /** Optional object accompanying the message as contextual information */ + Data?: any; + /** 'Debug', 'Info', or 'Error' */ + Level?: string; + Message?: string; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ObjectResult */ export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { /** Un-escaped JSON object, if EscapeObject false or default. */ @@ -966,6 +1081,20 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ScriptExecutionError */ + export interface ScriptExecutionError { + /** + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** Details about the error */ + Message?: string; + /** Point during the execution of the script at which the error occurred, if any */ + StackTrace?: string; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyRequest */ export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -1118,5 +1247,22 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsRequest */ + export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Collection of events to write to PlayStream. */ + Events: EventContents[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsResponse */ + export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only + * returned if FlushToPlayStream option is true. + */ + AssignedEventIds?: string[]; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d9110bcd..24ae8dcf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1639,7 +1639,6 @@ declare module PlayFabServerModels { | "Closed"; type GenericErrorCodes = "Success" - | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2018,9 +2017,11 @@ declare module PlayFabServerModels { | "GameServerConflict" | "GameServerInternalServerError" | "GameServerServiceUnavailable" - | "MatchmakingInvalidEntityKeyList" - | "MatchmakingInvalidTicketCreatorProfile" - | "MatchmakingInvalidUserAttributes" + | "ExplicitContentDetected" + | "PIIContentDetected" + | "InvalidScheduledTaskParameter" + | "MatchmakingEntityInvalid" + | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" | "MatchmakingCreateRequestCreatorMissing" | "MatchmakingCreateRequestCreatorIdMissing" @@ -2032,7 +2033,7 @@ declare module PlayFabServerModels { | "MatchmakingHopperIdMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" - | "MatchmakingUserIdMissing" + | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" | "MatchmakingHopperConfigNotFound" | "MatchmakingMatchNotFound" @@ -2045,10 +2046,12 @@ declare module PlayFabServerModels { | "MatchmakingCancelTicketServerIdentityInvalid" | "MatchmakingCancelTicketUserIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingUserIdentityMismatch" + | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperConfigInvalid"; + | "MatchmakingHopperIdInvalid" + | "MatchmakingHopperConfigInvalid" + | "MatchmakingMemberProfileInvalid"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 1c9db004..493e8555 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -1,4 +1,4 @@ - + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 4b94489e..6b4bd77a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c4f30002..8768d358 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js index cca9ff90..af844ba5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -203,6 +203,11 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + FinalizeFileUploads: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -340,6 +345,11 @@ PlayFab.EntityApi = { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + + WriteEvents: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, }; var PlayFabEntitySDK = PlayFab.EntityApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 3d596cd9..b9b4f44d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 6d89ae88..5586ccb8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.24.180705", + sdkVersion: "1.26.180709", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.24.180705"; +PlayFab.sdkVersion = "1.26.180709"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 4e43c8f2..b14f6b75 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1690,7 +1690,6 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" - | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2069,9 +2068,11 @@ declare module PlayFabAdminModels { | "GameServerConflict" | "GameServerInternalServerError" | "GameServerServiceUnavailable" - | "MatchmakingInvalidEntityKeyList" - | "MatchmakingInvalidTicketCreatorProfile" - | "MatchmakingInvalidUserAttributes" + | "ExplicitContentDetected" + | "PIIContentDetected" + | "InvalidScheduledTaskParameter" + | "MatchmakingEntityInvalid" + | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" | "MatchmakingCreateRequestCreatorMissing" | "MatchmakingCreateRequestCreatorIdMissing" @@ -2083,7 +2084,7 @@ declare module PlayFabAdminModels { | "MatchmakingHopperIdMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" - | "MatchmakingUserIdMissing" + | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" | "MatchmakingHopperConfigNotFound" | "MatchmakingMatchNotFound" @@ -2096,10 +2097,12 @@ declare module PlayFabAdminModels { | "MatchmakingCancelTicketServerIdentityInvalid" | "MatchmakingCancelTicketUserIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingUserIdentityMismatch" + | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperConfigInvalid"; + | "MatchmakingHopperIdInvalid" + | "MatchmakingHopperConfigInvalid" + | "MatchmakingMemberProfileInvalid"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3726,7 +3729,9 @@ declare module PlayFabAdminModels { | "BackEnd" | "GameClient" | "GameServer" - | "Partner"; + | "Partner" + | "Custom" + | "API"; type StatisticAggregationMethod = "Last" | "Min" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 408d9c3c..ac34a39c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2314,7 +2314,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabId: string; + PlayFabId?: string; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in @@ -3946,7 +3946,9 @@ declare module PlayFabClientModels { | "BackEnd" | "GameClient" | "GameServer" - | "Partner"; + | "Partner" + | "Custom" + | "API"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4668,6 +4670,8 @@ declare module PlayFabClientModels { export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; + /** Boolean for whether this player should report OnFocus play-time tracking. */ + GatherFocusInfo: boolean; /** Boolean for whether this player is eligible for ad tracking. */ NeedsAttribution: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts index f8674eb2..53f3fb17 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts @@ -64,6 +64,11 @@ declare module PlayFabEntityModule { * https://api.playfab.com/Documentation/Entity/method/DeleteRole */ DeleteRole(request: PlayFabEntityModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Executes CloudScript using the Entity Profile + * https://api.playfab.com/Documentation/Entity/method/ExecuteEntityCloudScript + */ + ExecuteEntityCloudScript(request: PlayFabEntityModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Finalize file uploads to an entity's profile. * https://api.playfab.com/Documentation/Entity/method/FinalizeFileUploads @@ -195,6 +200,11 @@ declare module PlayFabEntityModule { * https://api.playfab.com/Documentation/Entity/method/UpdateRole */ UpdateRole(request: PlayFabEntityModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Write batches of entity based events to PlayStream. + * https://api.playfab.com/Documentation/Entity/method/WriteEvents + */ + WriteEvents(request: PlayFabEntityModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -308,6 +318,10 @@ declare module PlayFabEntityModels { } + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRequest */ export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -520,6 +534,97 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EventContents */ + export interface EventContents { + /** Entity associated with the event */ + Entity: EntityKey; + /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ + EventNamespace: string; + /** The name of this event. */ + Name: string; + /** + * The original unique identifier associated with this event before it was posted to PlayFab. The value might differ from + * the EventId value, which is assigned when the event is received by the server. + */ + OriginalId?: string; + /** + * The time (in UTC) associated with this event when it occurred. If specified, this value is stored in the + * OriginalTimestamp property of the PlayStream event. + */ + OriginalTimestamp?: string; + /** Arbitrary data associated with the event. Only one of Payload or PayloadJSON is allowed. */ + Payload?: any; + /** + * Arbitrary data associated with the event, represented as a JSON serialized string. Only one of Payload or PayloadJSON is + * allowed. + */ + PayloadJSON?: string; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteCloudScriptResult */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** Number of PlayFab API requests issued by the CloudScript function */ + APIRequestsIssued: number; + /** Information about the error, if any, that occurred during execution */ + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** The name of the function that executed */ + FunctionName?: string; + /** The object returned from the CloudScript function, if any */ + FunctionResult?: any; + /** + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. + */ + FunctionResultTooLarge?: boolean; + /** Number of external HTTP requests issued by the CloudScript function */ + HttpRequestsIssued: number; + /** + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + /** + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. + */ + LogsTooLarge?: boolean; + MemoryConsumedBytes: number; + /** + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. + */ + ProcessorTimeSeconds: number; + /** The revision of the CloudScript that executed */ + Revision: number; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteEntityCloudScriptRequest */ + export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the CloudScript function to execute */ + FunctionName: string; + /** Object that is passed in to the function as the first argument */ + FunctionParameter?: any; + /** + * Generate a 'entity_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + /** + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpecificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** The specific revision to execute, when RevisionSelection is set to 'Specific' */ + SpecificRevision?: number; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsRequest */ export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -921,6 +1026,16 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.LogStatement */ + export interface LogStatement { + /** Optional object accompanying the message as contextual information */ + Data?: any; + /** 'Debug', 'Info', or 'Error' */ + Level?: string; + Message?: string; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ObjectResult */ export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { /** Un-escaped JSON object, if EscapeObject false or default. */ @@ -966,6 +1081,20 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ScriptExecutionError */ + export interface ScriptExecutionError { + /** + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** Details about the error */ + Message?: string; + /** Point during the execution of the script at which the error occurred, if any */ + StackTrace?: string; + + } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyRequest */ export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -1118,5 +1247,22 @@ declare module PlayFabEntityModels { } + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsRequest */ + export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Collection of events to write to PlayStream. */ + Events: EventContents[]; + + } + + /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsResponse */ + export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only + * returned if FlushToPlayStream option is true. + */ + AssignedEventIds?: string[]; + + } + } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d9110bcd..24ae8dcf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1639,7 +1639,6 @@ declare module PlayFabServerModels { | "Closed"; type GenericErrorCodes = "Success" - | "MatchmakingHopperIdInvalid" | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2018,9 +2017,11 @@ declare module PlayFabServerModels { | "GameServerConflict" | "GameServerInternalServerError" | "GameServerServiceUnavailable" - | "MatchmakingInvalidEntityKeyList" - | "MatchmakingInvalidTicketCreatorProfile" - | "MatchmakingInvalidUserAttributes" + | "ExplicitContentDetected" + | "PIIContentDetected" + | "InvalidScheduledTaskParameter" + | "MatchmakingEntityInvalid" + | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" | "MatchmakingCreateRequestCreatorMissing" | "MatchmakingCreateRequestCreatorIdMissing" @@ -2032,7 +2033,7 @@ declare module PlayFabServerModels { | "MatchmakingHopperIdMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" - | "MatchmakingUserIdMissing" + | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" | "MatchmakingHopperConfigNotFound" | "MatchmakingMatchNotFound" @@ -2045,10 +2046,12 @@ declare module PlayFabServerModels { | "MatchmakingCancelTicketServerIdentityInvalid" | "MatchmakingCancelTicketUserIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingUserIdentityMismatch" + | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperConfigInvalid"; + | "MatchmakingHopperIdInvalid" + | "MatchmakingHopperConfigInvalid" + | "MatchmakingMemberProfileInvalid"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { From 7756e1224e2b24c2095468f2f428a4ff991a0cb5 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 17 Jul 2018 01:19:46 +0000 Subject: [PATCH 064/253] https://api.playfab.com/releaseNotes/#180716 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabEntityApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 6112331b..f8e1ea9e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.26.180709", + "version": "1.27.180716", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6b4bd77a..ceaf756d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8768d358..53d6317f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js index af844ba5..46c83bd3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index b9b4f44d..5a68ec7d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5586ccb8..9e6610c1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6b4bd77a..ceaf756d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8768d358..53d6317f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js index af844ba5..46c83bd3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index b9b4f44d..5a68ec7d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5586ccb8..9e6610c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,7 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.26.180709", + sdkVersion: "1.27.180716", sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -126,7 +126,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.26.180709"; +PlayFab.sdkVersion = "1.27.180716"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 12074e0351a7dd0c91b78bbe63bc58f85963b753 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 9 Aug 2018 19:44:59 +0000 Subject: [PATCH 065/253] https://api.playfab.com/releaseNotes/#180809 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 26 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 179 + PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 92 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 171 + PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 201 + PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 171 + ...layFabEntityApi.js => PlayFabGroupsApi.js} | 115 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 26 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 196 + PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 36 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 40 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 55 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 209 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 127 + .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 292 ++ .../src/Typings/PlayFab/PlayFabEntityApi.d.ts | 1268 ------ .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 81 + .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 662 +++ .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 4 + .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 243 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 100 +- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 21 +- PlayFabTestingExample/PlayFabApiTest.csproj | 14 +- PlayFabTestingExample/PlayFabApiTest.js | 24 +- PlayFabTestingExample/PlayFabApiTest.ts | 38 +- .../code.jquery.com/qunit/qunit-1.19.0.js | 3963 ----------------- PlayFabTestingExample/index.html | 7 +- .../src/PlayFab/PlayFabAdminApi.js | 26 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 179 + .../src/PlayFab/PlayFabClientApi.js | 92 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 171 + .../src/PlayFab/PlayFabDataApi.js | 201 + .../src/PlayFab/PlayFabEventsApi.js | 171 + ...layFabEntityApi.js => PlayFabGroupsApi.js} | 115 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 26 +- .../src/PlayFab/PlayFabProfilesApi.js | 196 + .../src/PlayFab/PlayFabServerApi.js | 36 +- .../src/typings/PlayFab/PlayFab.d.ts | 21 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 40 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 55 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 209 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 127 + .../src/typings/PlayFab/PlayFabDataApi.d.ts | 292 ++ .../src/typings/PlayFab/PlayFabEntityApi.d.ts | 1268 ------ .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 81 + .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 662 +++ .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 4 + .../typings/PlayFab/PlayFabProfilesApi.d.ts | 243 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 100 +- 50 files changed, 5886 insertions(+), 6792 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js create mode 100644 PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js create mode 100644 PlayFabSdk/src/PlayFab/PlayFabDataApi.js create mode 100644 PlayFabSdk/src/PlayFab/PlayFabEventsApi.js rename PlayFabSdk/src/PlayFab/{PlayFabEntityApi.js => PlayFabGroupsApi.js} (68%) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts delete mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts delete mode 100644 PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.js create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js rename PlayFabTestingExample/src/PlayFab/{PlayFabEntityApi.js => PlayFabGroupsApi.js} (68%) create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts delete mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f8e1ea9e..0a78e7a8 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.27.180716", + "version": "1.28.180809", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ceaf756d..6968a967 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js new file mode 100644 index 00000000..aca652e4 --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -0,0 +1,179 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.AuthenticationApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetEntityToken: function (request, callback, customData, extraHeaders) { + var authKey = null; var authValue = null; + if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } + if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } + var overloadCallback = function (result, error) { + if (result != null && result.data.EntityToken != null) + PlayFab._internalSettings.entityToken = result.data.EntityToken; + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); + }, +}; + +var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 53d6317f..6e08c731 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -364,6 +382,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -384,6 +407,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -487,6 +515,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -507,6 +540,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -594,6 +632,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebookInstantGamesId", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithGameCenter: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -666,6 +722,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithNintendoSwitchDeviceId", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -878,6 +952,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -898,6 +977,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js new file mode 100644 index 00000000..77e7adaa --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -0,0 +1,171 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.CloudScriptApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabCloudScriptSDK = PlayFab.CloudScriptApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js new file mode 100644 index 00000000..0c49d90d --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -0,0 +1,201 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.DataApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + AbortFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + FinalizeFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + InitiateFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabDataSDK = PlayFab.DataApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js new file mode 100644 index 00000000..5f76dd93 --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -0,0 +1,171 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.EventsApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + WriteEvents: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabEventsSDK = PlayFab.EventsApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js similarity index 68% rename from PlayFabSdk/src/PlayFab/PlayFabEntityApi.js rename to PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 46c83bd3..5e1afab8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -1,4 +1,4 @@ -/// +/// var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {}; @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -137,17 +155,12 @@ PlayFab.GenerateErrorReport = function (error) { return fullErrors; }; -PlayFab.EntityApi = { +PlayFab.GroupsApi = { ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; PlayFab._internalSettings.entityToken = null; }, - AbortFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - AcceptGroupApplication: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -188,11 +201,6 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - DeleteFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - DeleteGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -203,64 +211,11 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - FinalizeFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetEntityToken: function (request, callback, customData, extraHeaders) { - var authKey = null; var authValue = null; - if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } - if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } - var overloadCallback = function (result, error) { - if (result != null && result.data.EntityToken != null) - PlayFab._internalSettings.entityToken = result.data.EntityToken; - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); - }, - - GetFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - GetGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/GetGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - GetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetProfiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - InitiateFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - InviteToGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/InviteToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -316,21 +271,6 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - SetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - SetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - SetProfilePolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - UnblockEntity: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UnblockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -345,12 +285,7 @@ PlayFab.EntityApi = { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - - WriteEvents: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, }; -var PlayFabEntitySDK = PlayFab.EntityApi; +var PlayFabGroupsSDK = PlayFab.GroupsApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 5a68ec7d..c461533e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js new file mode 100644 index 00000000..648dc359 --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -0,0 +1,196 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.ProfilesApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetProfile: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetProfiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetProfileLanguage: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfileLanguage", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetProfilePolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabProfilesSDK = PlayFab.ProfilesApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 9e6610c1..1aec61a7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -343,6 +361,16 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b14f6b75..3717732f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2071,6 +2071,12 @@ declare module PlayFabAdminModels { | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" + | "PerEntityEventRateLimitExceeded" + | "TitleDefaultLanguageNotSet" + | "EmailTemplateMissingDefaultVersion" + | "FacebookInstantGamesIdNotLinked" + | "InvalidFacebookInstantGamesSignature" + | "FacebookInstantGamesAuthNotConfiguredForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2081,12 +2087,12 @@ declare module PlayFabAdminModels { | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" - | "MatchmakingHopperIdMissing" + | "MatchmakingQueueNameMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" - | "MatchmakingHopperConfigNotFound" + | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" @@ -2100,9 +2106,12 @@ declare module PlayFabAdminModels { | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperIdInvalid" - | "MatchmakingHopperConfigInvalid" - | "MatchmakingMemberProfileInvalid"; + | "MatchmakingQueueNameInvalid" + | "MatchmakingQueueConfigInvalid" + | "MatchmakingMemberProfileInvalid" + | "WriteAttemptedDuringExport" + | "NintendoSwitchDeviceIdNotLinked" + | "MatchmakingNotEnabled"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2265,10 +2274,16 @@ declare module PlayFabAdminModels { Players?: string[]; /** region in which the Game Server Instance is running */ Region?: string; - /** IP address for this Game Server Instance */ + /** IPV4 address of the game server instance */ ServerAddress?: 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 */ @@ -2909,7 +2924,11 @@ declare module PlayFabAdminModels { | "IOSDevice" | "AndroidDevice" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { @@ -3184,7 +3203,7 @@ declare module PlayFabAdminModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -4256,7 +4275,10 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "ServerCustomId" + | "NintendoSwitchDeviceId" + | "FacebookInstantGamesId"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts new file mode 100644 index 00000000..f0b2cb9d --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -0,0 +1,55 @@ +/// + +declare module PlayFabAuthenticationModule { + export interface IPlayFabAuthentication { + ForgetAllCredentials(): void; + + /** + * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid + * Entity Token. + * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken + */ + GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabAuthenticationModels { + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ + export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenResponse */ + export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index ac34a39c..bee757c1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -244,6 +244,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Game identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookInstantGamesIds + */ + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center * Programming Guide as the Player Identifier). @@ -270,6 +275,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + */ + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -383,6 +393,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount */ LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Facebook Instant Games Id to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkFacebookInstantGamesId + */ + LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount @@ -403,6 +418,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkKongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the NintendoSwitchDeviceId to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkNintendoSwitchDeviceId + */ + LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount @@ -444,6 +464,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithFacebook */ LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Facebook Instant Games ID, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user. Requires Facebook Instant Games to be configured. + * https://api.playfab.com/Documentation/Client/method/LoginWithFacebookInstantGamesId + */ + LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be * used for API calls which require an authenticated user @@ -466,6 +492,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithKongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithNintendoSwitchDeviceId + */ + LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of @@ -631,6 +663,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount */ UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Facebook Instant Game Ids from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookInstantGamesId + */ + UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Game Center account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount @@ -652,6 +689,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkKongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkNintendoSwitchDeviceId + */ + UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount @@ -1743,6 +1785,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookInstantGamesPlayFabIdPair */ + export interface FacebookInstantGamesPlayFabIdPair { + /** Unique Facebook Instant Games identifier for a user. */ + FacebookInstantGamesId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook Instant Games identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ @@ -1812,10 +1863,14 @@ declare module PlayFabClientModels { RunTime: number; /** IPV4 address of the server */ ServerHostname?: string; + /** IPV4 address of the server */ + ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; /** port number to use for non-http communications with the server */ ServerPort?: number; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; /** stastic used to match this game in player statistic matchmaking */ StatisticName?: string; /** game session tags */ @@ -2427,6 +2482,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + FacebookInstantGamesIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ + Data?: FacebookInstantGamesPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ @@ -2486,6 +2555,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + NintendoSwitchDeviceIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ + Data?: number[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -2900,6 +2983,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdRequest */ + export interface LinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Facebook Instant Games signature for the user. */ + FacebookInstantGamesSignature: string; + /** If another user is already linked to the Facebook Instant Games ID, unlink the other user and re-link. */ + ForceLink?: boolean; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdResult */ + export interface LinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -2965,6 +3062,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdRequest */ + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Nintendo Switch unique identifier for the user's device. */ + NintendoSwitchDeviceId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdResult */ + export interface LinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3056,7 +3167,11 @@ declare module PlayFabClientModels { | "IOSDevice" | "AndroidDevice" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { @@ -3146,6 +3261,28 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookInstantGamesIdRequest */ + export interface LoginWithFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Facebook Instant Games signature for the user. */ + FacebookInstantGamesSignature: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ @@ -3265,6 +3402,28 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithNintendoSwitchDeviceIdRequest */ + export interface LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Nintendo Switch unique identifier for the user's device. */ + NintendoSwitchDeviceId?: string; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ @@ -3389,10 +3548,14 @@ declare module PlayFabClientModels { PollWaitTimeMS?: number; /** IPV4 address of the server */ ServerHostname?: string; + /** IPV4 address of the server */ + ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; /** port number to use for non-http communications with the server */ ServerPort?: number; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; /** result of match making process */ Status?: string; /** server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) */ @@ -3440,6 +3603,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NintendoSwitchPlayFabIdPair */ + export interface NintendoSwitchPlayFabIdPair { + /** Unique Nintendo Switch Device identifier for a user. */ + NintendoSwitchDeviceId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Device identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -3565,7 +3737,7 @@ declare module PlayFabClientModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -3977,10 +4149,14 @@ declare module PlayFabClientModels { Password?: string; /** server IPV4 address */ ServerHostname?: string; + /** server IPV4 address */ + ServerIPV4Address?: string; /** server IPV6 address */ ServerIPV6Address?: string; /** port on the server to be used for communication */ ServerPort?: number; + /** server public DNS name */ + ServerPublicDNSName?: string; /** unique identifier for the server */ Ticket?: string; @@ -4265,6 +4441,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdRequest */ + export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Facebook Instant Games identifier for the user. If not specified, the most recently signed in ID will be used. */ + FacebookInstantGamesId?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdResult */ + export interface UnlinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4310,6 +4498,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdRequest */ + export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdResult */ + export interface UnlinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4648,7 +4848,10 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "ServerCustomId" + | "NintendoSwitchDeviceId" + | "FacebookInstantGamesId"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts new file mode 100644 index 00000000..6d191390 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -0,0 +1,127 @@ +/// + +declare module PlayFabCloudScriptModule { + export interface IPlayFabCloudScript { + ForgetAllCredentials(): void; + + /** + * Executes CloudScript using the Entity Profile + * https://api.playfab.com/Documentation/CloudScript/method/ExecuteEntityCloudScript + */ + ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabCloudScriptModels { + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteCloudScriptResult */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** Number of PlayFab API requests issued by the CloudScript function */ + APIRequestsIssued: number; + /** Information about the error, if any, that occurred during execution */ + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** The name of the function that executed */ + FunctionName?: string; + /** The object returned from the CloudScript function, if any */ + FunctionResult?: any; + /** + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. + */ + FunctionResultTooLarge?: boolean; + /** Number of external HTTP requests issued by the CloudScript function */ + HttpRequestsIssued: number; + /** + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + /** + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. + */ + LogsTooLarge?: boolean; + MemoryConsumedBytes: number; + /** + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. + */ + ProcessorTimeSeconds: number; + /** The revision of the CloudScript that executed */ + Revision: number; + + } + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteEntityCloudScriptRequest */ + export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the CloudScript function to execute */ + FunctionName: string; + /** Object that is passed in to the function as the first argument */ + FunctionParameter?: any; + /** + * Generate a 'entity_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + /** + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpecificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** The specific revision to execute, when RevisionSelection is set to 'Specific' */ + SpecificRevision?: number; + + } + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.LogStatement */ + export interface LogStatement { + /** Optional object accompanying the message as contextual information */ + Data?: any; + /** 'Debug', 'Info', or 'Error' */ + Level?: string; + Message?: string; + + } + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ScriptExecutionError */ + export interface ScriptExecutionError { + /** + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** Details about the error */ + Message?: string; + /** Point during the execution of the script at which the error occurred, if any */ + StackTrace?: string; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts new file mode 100644 index 00000000..8defe6f4 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -0,0 +1,292 @@ +/// + +declare module PlayFabDataModule { + export interface IPlayFabData { + ForgetAllCredentials(): void; + + /** + * Abort pending file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Data/method/AbortFileUploads + */ + AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete files on an entity's profile. + * https://api.playfab.com/Documentation/Data/method/DeleteFiles + */ + DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Finalize file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Data/method/FinalizeFileUploads + */ + FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves file metadata from an entity's profile. + * https://api.playfab.com/Documentation/Data/method/GetFiles + */ + GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves objects from an entity's profile. + * https://api.playfab.com/Documentation/Data/method/GetObjects + */ + GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Initiates file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Data/method/InitiateFileUploads + */ + InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets objects on an entity's profile. + * https://api.playfab.com/Documentation/Data/method/SetObjects + */ + SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabDataModels { + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsRequest */ + export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to have their pending uploads aborted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsResponse */ + export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesRequest */ + export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be deleted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesResponse */ + export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsRequest */ + export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsResponse */ + export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFileMetadata */ + export interface GetFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Download URL where the file can be retrieved */ + DownloadUrl?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesRequest */ + export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesResponse */ + export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsRequest */ + export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Determines whether the object will be returned as an escaped JSON string or as a un-escaped JSON object. Default is JSON + * object. + */ + EscapeObject?: boolean; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsResponse */ + export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Requested objects that the calling entity has access to */ + Objects?: { [key: string]: ObjectResult }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadMetadata */ + export interface InitiateFileUploadMetadata { + /** Name of the file. */ + FileName?: string; + /** Location the data should be sent to via an HTTP PUT operation. */ + UploadUrl?: string; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsRequest */ + export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsResponse */ + export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** Collection of file names and upload urls */ + UploadDetails?: InitiateFileUploadMetadata[]; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.ObjectResult */ + export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { + /** Un-escaped JSON object, if EscapeObject false or default. */ + DataObject?: any; + /** Escaped string JSON body of the object, if EscapeObject is true. */ + EscapedDataObject?: string; + /** Name of the object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + ObjectName?: string; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObject */ + export interface SetObject { + /** + * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation + * will occur if it does not exist. Only one of Object or EscapedDataObject fields may be used. + */ + DataObject?: any; + /** Flag to indicate that this object should be deleted. Both DataObject and EscapedDataObject must not be set as well. */ + DeleteObject?: boolean; + /** + * Body of the object to be saved as an escaped JSON string. If empty and DeleteObject is true object will be deleted if it + * exists, or no operation will occur if it does not exist. Only one of DataObject or EscapedDataObject fields may be used. + */ + EscapedDataObject?: string; + /** Name of object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + ObjectName: string; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectInfo */ + export interface SetObjectInfo { + /** Name of the object */ + ObjectName?: string; + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsRequest */ + export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from + * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** Collection of objects to set on the profile. */ + Objects: SetObject[]; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsResponse */ + export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** New version of the entity profile. */ + ProfileVersion: number; + /** New version of the entity profile. */ + SetResults?: SetObjectInfo[]; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts deleted file mode 100644 index 53f3fb17..00000000 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEntityApi.d.ts +++ /dev/null @@ -1,1268 +0,0 @@ -/// - -declare module PlayFabEntityModule { - export interface IPlayFabEntity { - ForgetAllCredentials(): void; - - /** - * Abort pending file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/AbortFileUploads - */ - AbortFileUploads(request: PlayFabEntityModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Accepts an outstanding invitation to to join a group - * https://api.playfab.com/Documentation/Entity/method/AcceptGroupApplication - */ - AcceptGroupApplication(request: PlayFabEntityModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Accepts an invitation to join a group - * https://api.playfab.com/Documentation/Entity/method/AcceptGroupInvitation - */ - AcceptGroupInvitation(request: PlayFabEntityModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Adds members to a group or role. - * https://api.playfab.com/Documentation/Entity/method/AddMembers - */ - AddMembers(request: PlayFabEntityModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Applies to join a group - * https://api.playfab.com/Documentation/Entity/method/ApplyToGroup - */ - ApplyToGroup(request: PlayFabEntityModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Blocks a list of entities from joining a group. - * https://api.playfab.com/Documentation/Entity/method/BlockEntity - */ - BlockEntity(request: PlayFabEntityModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Changes the role membership of a list of entities from one role to another. - * https://api.playfab.com/Documentation/Entity/method/ChangeMemberRole - */ - ChangeMemberRole(request: PlayFabEntityModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a new group. - * https://api.playfab.com/Documentation/Entity/method/CreateGroup - */ - CreateGroup(request: PlayFabEntityModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a new group role. - * https://api.playfab.com/Documentation/Entity/method/CreateRole - */ - CreateRole(request: PlayFabEntityModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Delete files on an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/DeleteFiles - */ - DeleteFiles(request: PlayFabEntityModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes a group and all roles, invitations, join requests, and blocks associated with it. - * https://api.playfab.com/Documentation/Entity/method/DeleteGroup - */ - DeleteGroup(request: PlayFabEntityModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes an existing role in a group. - * https://api.playfab.com/Documentation/Entity/method/DeleteRole - */ - DeleteRole(request: PlayFabEntityModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Executes CloudScript using the Entity Profile - * https://api.playfab.com/Documentation/Entity/method/ExecuteEntityCloudScript - */ - ExecuteEntityCloudScript(request: PlayFabEntityModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Finalize file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/FinalizeFileUploads - */ - FinalizeFileUploads(request: PlayFabEntityModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid - * Entity Token. - * https://api.playfab.com/Documentation/Entity/method/GetEntityToken - */ - GetEntityToken(request: PlayFabEntityModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves file metadata from an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetFiles - */ - GetFiles(request: PlayFabEntityModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the global title access policy - * https://api.playfab.com/Documentation/Entity/method/GetGlobalPolicy - */ - GetGlobalPolicy(request: PlayFabEntityModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets information about a group and its roles - * https://api.playfab.com/Documentation/Entity/method/GetGroup - */ - GetGroup(request: PlayFabEntityModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves objects from an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetObjects - */ - GetObjects(request: PlayFabEntityModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetProfile - */ - GetProfile(request: PlayFabEntityModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetProfiles - */ - GetProfiles(request: PlayFabEntityModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Initiates file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/InitiateFileUploads - */ - InitiateFileUploads(request: PlayFabEntityModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Invites a player to join a group - * https://api.playfab.com/Documentation/Entity/method/InviteToGroup - */ - InviteToGroup(request: PlayFabEntityModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Checks to see if an entity is a member of a group or role within the group - * https://api.playfab.com/Documentation/Entity/method/IsMember - */ - IsMember(request: PlayFabEntityModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all outstanding requests to join a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupApplications - */ - ListGroupApplications(request: PlayFabEntityModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all entities blocked from joining a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupBlocks - */ - ListGroupBlocks(request: PlayFabEntityModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all outstanding invitations for a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupInvitations - */ - ListGroupInvitations(request: PlayFabEntityModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all members for a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupMembers - */ - ListGroupMembers(request: PlayFabEntityModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all groups and roles for an entity - * https://api.playfab.com/Documentation/Entity/method/ListMembership - */ - ListMembership(request: PlayFabEntityModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all outstanding invitations and group applications for an entity - * https://api.playfab.com/Documentation/Entity/method/ListMembershipOpportunities - */ - ListMembershipOpportunities(request: PlayFabEntityModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes an application to join a group - * https://api.playfab.com/Documentation/Entity/method/RemoveGroupApplication - */ - RemoveGroupApplication(request: PlayFabEntityModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes an invitation join a group - * https://api.playfab.com/Documentation/Entity/method/RemoveGroupInvitation - */ - RemoveGroupInvitation(request: PlayFabEntityModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes members from a group. - * https://api.playfab.com/Documentation/Entity/method/RemoveMembers - */ - RemoveMembers(request: PlayFabEntityModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Sets the global title access policy - * https://api.playfab.com/Documentation/Entity/method/SetGlobalPolicy - */ - SetGlobalPolicy(request: PlayFabEntityModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Sets objects on an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/SetObjects - */ - SetObjects(request: PlayFabEntityModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Sets the profiles access policy - * https://api.playfab.com/Documentation/Entity/method/SetProfilePolicy - */ - SetProfilePolicy(request: PlayFabEntityModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Unblocks a list of entities from joining a group - * https://api.playfab.com/Documentation/Entity/method/UnblockEntity - */ - UnblockEntity(request: PlayFabEntityModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates non-membership data about a group. - * https://api.playfab.com/Documentation/Entity/method/UpdateGroup - */ - UpdateGroup(request: PlayFabEntityModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates metadata about a role. - * https://api.playfab.com/Documentation/Entity/method/UpdateRole - */ - UpdateRole(request: PlayFabEntityModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Write batches of entity based events to PlayStream. - * https://api.playfab.com/Documentation/Entity/method/WriteEvents - */ - WriteEvents(request: PlayFabEntityModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - - } -} - -declare module PlayFabEntityModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsRequest */ - export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to have their pending uploads aborted. */ - FileNames: string[]; - /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. - */ - ProfileVersion?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsResponse */ - export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupApplicationRequest */ - export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a - * child of the claimant entity. Defaults to the claimant entity. - */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupInvitationRequest */ - export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AddMembersRequest */ - export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ - Members: EntityKey[]; - /** - * Optional: The ID of the existing role to add the entities to. If this is not specified, the default member role for the - * group will be used. Role IDs must be between 1 and 64 characters long. - */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupRequest */ - export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ - AutoAcceptOutstandingInvite?: boolean; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupResponse */ - export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** Type of entity that requested membership */ - Entity?: EntityWithLineage; - /** When the application to join will expire and be deleted */ - Expires: string; - /** ID of the group that the entity requesting membership to */ - Group?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.BlockEntityRequest */ - export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ChangeMemberRoleRequest */ - export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 - * and 64 characters long. - */ - DestinationRoleId?: string; - /** The identifier of the group */ - Group: EntityKey; - /** - * List of entities to move between roles in the group. All entities in this list must be members of the group and origin - * role. - */ - Members: EntityKey[]; - /** The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long. */ - OriginRoleId: string; - - } - - type CloudScriptRevisionOption = "Live" - | "Latest" - | "Specific"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRequest */ - export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The name of the group. This is unique at the title level by default. */ - GroupName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupResponse */ - export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** The ID of the administrator role for the group. */ - AdminRoleId?: string; - /** The server date and time the group was created. */ - Created: string; - /** The identifier of the group */ - Group: EntityKey; - /** The name of the group. */ - GroupName?: string; - /** The ID of the default member role for the group. */ - MemberRoleId?: string; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** The list of roles and names that belong to the group. */ - Roles?: { [key: string]: string | null }; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleRequest */ - export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** - * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 - * characters long. - */ - RoleId: string; - /** - * The name of the role. This must be unique within the group and can be changed later. Role names must be between 1 and - * 100 characters long - */ - RoleName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleResponse */ - export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { - /** The current version of the group profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** ID for the role */ - RoleId?: string; - /** The name of the role */ - RoleName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesRequest */ - export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to be deleted. */ - FileNames: string[]; - /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. - */ - ProfileVersion?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesResponse */ - export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteGroupRequest */ - export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** ID of the group or role to remove */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteRoleRequest */ - export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ - RoleId?: string; - - } - - type EffectType = "Allow" - | "Deny"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityDataObject */ - export interface EntityDataObject { - /** Un-escaped JSON object, if DataAsObject is true. */ - DataObject?: any; - /** Escaped string JSON body of the object, if DataAsObject is default or false. */ - EscapedDataObject?: string; - /** Name of this object. */ - ObjectName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityKey */ - export interface EntityKey { - /** Entity profile ID. */ - Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityMemberRole */ - export interface EntityMemberRole { - /** The list of members in the role */ - Members?: EntityWithLineage[]; - /** The ID of the role. */ - RoleId?: string; - /** The name of the role */ - RoleName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityPermissionStatement */ - export interface EntityPermissionStatement { - /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ - Action: string; - /** A comment about the statement. Intended solely for bookkeeping and debugging. */ - Comment?: string; - /** Additional conditions to be applied for entity resources. */ - Condition?: any; - /** The effect this statement will have. It may be either Allow or Deny */ - Effect: string; - /** The principal this statement will effect. */ - Principal: any; - /** The resource this statements effects. Similar to 'pfrn:data--title![Title ID]/Profile/*' */ - Resource: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileBody */ - export interface EntityProfileBody { - /** The entity id and type. */ - Entity?: EntityKey; - /** - * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the - * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace - * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace - * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]/[Character ID]' - */ - EntityChain?: string; - /** The files on this profile. */ - Files?: { [key: string]: EntityProfileFileMetadata }; - /** The objects on this profile. */ - Objects?: { [key: string]: EntityDataObject }; - /** - * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this - * profile, not global statements from titles and namespaces. - */ - Permissions?: EntityPermissionStatement[]; - /** - * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic - * concurrency during update. - */ - VersionNumber: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileFileMetadata */ - export interface EntityProfileFileMetadata { - /** Checksum value for the file */ - Checksum?: string; - /** Name of the file */ - FileName?: string; - /** Last UTC time the file was modified */ - LastModified: string; - /** Storage service's reported byte count */ - Size: number; - - } - - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityWithLineage */ - export interface EntityWithLineage { - /** The entity key for the specified entity */ - Key?: EntityKey; - /** Dictionary of entity keys for related entities. Dictionary key is entity type. */ - Lineage?: { [key: string]: EntityKey }; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EventContents */ - export interface EventContents { - /** Entity associated with the event */ - Entity: EntityKey; - /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ - EventNamespace: string; - /** The name of this event. */ - Name: string; - /** - * The original unique identifier associated with this event before it was posted to PlayFab. The value might differ from - * the EventId value, which is assigned when the event is received by the server. - */ - OriginalId?: string; - /** - * The time (in UTC) associated with this event when it occurred. If specified, this value is stored in the - * OriginalTimestamp property of the PlayStream event. - */ - OriginalTimestamp?: string; - /** Arbitrary data associated with the event. Only one of Payload or PayloadJSON is allowed. */ - Payload?: any; - /** - * Arbitrary data associated with the event, represented as a JSON serialized string. Only one of Payload or PayloadJSON is - * allowed. - */ - PayloadJSON?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteCloudScriptResult */ - export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** Number of PlayFab API requests issued by the CloudScript function */ - APIRequestsIssued: number; - /** Information about the error, if any, that occurred during execution */ - Error?: ScriptExecutionError; - ExecutionTimeSeconds: number; - /** The name of the function that executed */ - FunctionName?: string; - /** The object returned from the CloudScript function, if any */ - FunctionResult?: any; - /** - * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if - * the total event size is larger than 350KB. - */ - FunctionResultTooLarge?: boolean; - /** Number of external HTTP requests issued by the CloudScript function */ - HttpRequestsIssued: number; - /** - * Entries logged during the function execution. These include both entries logged in the function code using log.info() - * and log.error() and error entries for API and HTTP request failures. - */ - Logs?: LogStatement[]; - /** - * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total - * event size is larger than 350KB after the FunctionResult was removed. - */ - LogsTooLarge?: boolean; - MemoryConsumedBytes: number; - /** - * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP - * requests. - */ - ProcessorTimeSeconds: number; - /** The revision of the CloudScript that executed */ - Revision: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteEntityCloudScriptRequest */ - export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The name of the CloudScript function to execute */ - FunctionName: string; - /** Object that is passed in to the function as the first argument */ - FunctionParameter?: any; - /** - * Generate a 'entity_executed_cloudscript' PlayStream event containing the results of the function execution and other - * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. - */ - GeneratePlayStreamEvent?: boolean; - /** - * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' - * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is - * 'Specific', if the SpecificRevision parameter is specified, otherwise it is 'Live'. - */ - RevisionSelection?: string; - /** The specific revision to execute, when RevisionSelection is set to 'Specific' */ - SpecificRevision?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsRequest */ - export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ - FileNames: string[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsResponse */ - export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** Collection of metadata for the entity's files */ - Metadata?: { [key: string]: GetFileMetadata }; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileRequest */ - export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is - * JSON string. - */ - DataAsObject?: boolean; - /** The entity to perform this action on. */ - Entity: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileResponse */ - export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { - /** Entity profile */ - Profile?: EntityProfileBody; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesRequest */ - export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is - * JSON string. - */ - DataAsObject?: boolean; - /** Entity keys of the profiles to load. Must be between 1 and 25 */ - Entities: EntityKey[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesResponse */ - export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { - /** Entity profiles */ - Profiles?: EntityProfileBody[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenRequest */ - export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenResponse */ - export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The token used to set X-EntityToken for all entity based API calls. */ - EntityToken?: string; - /** The time the token will expire, if it is an expiring token, in UTC. */ - TokenExpiration?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFileMetadata */ - export interface GetFileMetadata { - /** Checksum value for the file */ - Checksum?: string; - /** Download URL where the file can be retrieved */ - DownloadUrl?: string; - /** Name of the file */ - FileName?: string; - /** Last UTC time the file was modified */ - LastModified: string; - /** Storage service's reported byte count */ - Size: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesRequest */ - export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesResponse */ - export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** Collection of metadata for the entity's files */ - Metadata?: { [key: string]: GetFileMetadata }; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyRequest */ - export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyResponse */ - export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** The permissions that govern access to all entities under this title or namespace. */ - Permissions?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupRequest */ - export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group?: EntityKey; - /** The full name of the group */ - GroupName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupResponse */ - export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** The ID of the administrator role for the group. */ - AdminRoleId?: string; - /** The server date and time the group was created. */ - Created: string; - /** The identifier of the group */ - Group: EntityKey; - /** The name of the group. */ - GroupName?: string; - /** The ID of the default member role for the group. */ - MemberRoleId?: string; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** The list of roles and names that belong to the group. */ - Roles?: { [key: string]: string | null }; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsRequest */ - export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** - * Determines whether the object will be returned as an escaped JSON string or as a un-escaped JSON object. Default is JSON - * object. - */ - EscapeObject?: boolean; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsResponse */ - export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** Requested objects that the calling entity has access to */ - Objects?: { [key: string]: ObjectResult }; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupApplication */ - export interface GroupApplication { - /** Type of entity that requested membership */ - Entity?: EntityWithLineage; - /** When the application to join will expire and be deleted */ - Expires: string; - /** ID of the group that the entity requesting membership to */ - Group?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupBlock */ - export interface GroupBlock { - /** The entity that is blocked */ - Entity?: EntityWithLineage; - /** ID of the group that the entity is blocked from */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupInvitation */ - export interface GroupInvitation { - /** When the invitation will expire and be deleted */ - Expires: string; - /** The group that the entity invited to */ - Group?: EntityKey; - /** The entity that created the invitation */ - InvitedByEntity?: EntityWithLineage; - /** The entity that is invited */ - InvitedEntity?: EntityWithLineage; - /** ID of the role in the group to assign the user to. */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupRole */ - export interface GroupRole { - /** ID for the role */ - RoleId?: string; - /** The name of the role */ - RoleName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupWithRoles */ - export interface GroupWithRoles { - /** ID for the group */ - Group?: EntityKey; - /** The name of the group */ - GroupName?: string; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** The list of roles within the group */ - Roles?: GroupRole[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadMetadata */ - export interface InitiateFileUploadMetadata { - /** Name of the file. */ - FileName?: string; - /** Location the data should be sent to via an HTTP PUT operation. */ - UploadUrl?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsRequest */ - export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ - FileNames: string[]; - /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. - */ - ProfileVersion?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsResponse */ - export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** Collection of file names and upload urls */ - UploadDetails?: InitiateFileUploadMetadata[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupRequest */ - export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ - AutoAcceptOutstandingApplication?: boolean; - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - /** - * Optional. ID of an existing a role in the group to assign the user to. The group's default member role is used if this - * is not specified. Role IDs must be between 1 and 64 characters long. - */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupResponse */ - export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** When the invitation will expire and be deleted */ - Expires: string; - /** The group that the entity invited to */ - Group?: EntityKey; - /** The entity that created the invitation */ - InvitedByEntity?: EntityWithLineage; - /** The entity that is invited */ - InvitedEntity?: EntityWithLineage; - /** ID of the role in the group to assign the user to. */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberRequest */ - export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - /** - * Optional: ID of the role to check membership of. Defaults to any role (that is, check to see if the entity is a member - * of the group in any capacity) if not specified. - */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberResponse */ - export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { - /** A value indicating whether or not the entity is a member. */ - IsMember: boolean; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsRequest */ - export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsResponse */ - export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of applications to the group. */ - Applications?: GroupApplication[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksRequest */ - export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksResponse */ - export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list blocked entities. */ - BlockedEntities?: GroupBlock[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsRequest */ - export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsResponse */ - export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of group invitations. */ - Invitations?: GroupInvitation[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersRequest */ - export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** ID of the group to list the members and roles for */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersResponse */ - export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of roles and member entity IDs. */ - Members?: EntityMemberRole[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesRequest */ - export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesResponse */ - export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of group applications. */ - Applications?: GroupApplication[]; - /** The requested list of group invitations. */ - Invitations?: GroupInvitation[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipRequest */ - export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipResponse */ - export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of groups */ - Groups?: GroupWithRoles[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.LogStatement */ - export interface LogStatement { - /** Optional object accompanying the message as contextual information */ - Data?: any; - /** 'Debug', 'Info', or 'Error' */ - Level?: string; - Message?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ObjectResult */ - export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { - /** Un-escaped JSON object, if EscapeObject false or default. */ - DataObject?: any; - /** Escaped string JSON body of the object, if EscapeObject is true. */ - EscapedDataObject?: string; - /** Name of the object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ - ObjectName?: string; - - } - - type OperationTypes = "Created" - | "Updated" - | "Deleted" - | "None"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupApplicationRequest */ - export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupInvitationRequest */ - export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveMembersRequest */ - export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** List of entities to remove */ - Members: EntityKey[]; - /** The ID of the role to remove the entities from. */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ScriptExecutionError */ - export interface ScriptExecutionError { - /** - * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, - * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError - */ - Error?: string; - /** Details about the error */ - Message?: string; - /** Point during the execution of the script at which the error occurred, if any */ - StackTrace?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyRequest */ - export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The statements to include in the access policy. */ - Statements?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyResponse */ - export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this - * profile, not global statements from titles and namespaces. - */ - Permissions?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyRequest */ - export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The permissions that govern access to all entities under this title or namespace. */ - Permissions?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyResponse */ - export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObject */ - export interface SetObject { - /** - * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation - * will occur if it does not exist. Only one of Object or EscapedDataObject fields may be used. - */ - DataObject?: any; - /** Flag to indicate that this object should be deleted. Both DataObject and EscapedDataObject must not be set as well. */ - DeleteObject?: boolean; - /** - * Body of the object to be saved as an escaped JSON string. If empty and DeleteObject is true object will be deleted if it - * exists, or no operation will occur if it does not exist. Only one of DataObject or EscapedDataObject fields may be used. - */ - EscapedDataObject?: string; - /** Name of object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ - ObjectName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectInfo */ - export interface SetObjectInfo { - /** Name of the object */ - ObjectName?: string; - /** Optional reason to explain why the operation was the result that it was. */ - OperationReason?: string; - /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ - SetResult?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsRequest */ - export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from - * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any - * other clients since the version you last loaded. - */ - ExpectedProfileVersion?: number; - /** Collection of objects to set on the profile. */ - Objects: SetObject[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsResponse */ - export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { - /** New version of the entity profile. */ - ProfileVersion: number; - /** New version of the entity profile. */ - SetResults?: SetObjectInfo[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UnblockEntityRequest */ - export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRequest */ - export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional: the ID of an existing role to set as the new administrator role for the group */ - AdminRoleId?: string; - /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. - */ - ExpectedProfileVersion?: number; - /** The identifier of the group */ - Group: EntityKey; - /** Optional: the new name of the group */ - GroupName?: string; - /** Optional: the ID of an existing role to set as the new member role for the group */ - MemberRoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupResponse */ - export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** Optional reason to explain why the operation was the result that it was. */ - OperationReason?: string; - /** New version of the group data. */ - ProfileVersion: number; - /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ - SetResult?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleRequest */ - export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. - */ - ExpectedProfileVersion?: number; - /** The identifier of the group */ - Group: EntityKey; - /** ID of the role to update. Role IDs must be between 1 and 64 characters long. */ - RoleId?: string; - /** The new name of the role */ - RoleName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleResponse */ - export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { - /** Optional reason to explain why the operation was the result that it was. */ - OperationReason?: string; - /** New version of the role data. */ - ProfileVersion: number; - /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ - SetResult?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsRequest */ - export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Collection of events to write to PlayStream. */ - Events: EventContents[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsResponse */ - export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only - * returned if FlushToPlayStream option is true. - */ - AssignedEventIds?: string[]; - - } - - -} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts new file mode 100644 index 00000000..001f1f51 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -0,0 +1,81 @@ +/// + +declare module PlayFabEventsModule { + export interface IPlayFabEvents { + ForgetAllCredentials(): void; + + /** + * Write batches of entity based events to PlayStream. + * https://api.playfab.com/Documentation/Events/method/WriteEvents + */ + WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabEventsModels { + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ + export interface EventContents { + /** Entity associated with the event */ + Entity: EntityKey; + /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ + EventNamespace: string; + /** The name of this event. */ + Name: string; + /** + * The original unique identifier associated with this event before it was posted to PlayFab. The value might differ from + * the EventId value, which is assigned when the event is received by the server. + */ + OriginalId?: string; + /** + * The time (in UTC) associated with this event when it occurred. If specified, this value is stored in the + * OriginalTimestamp property of the PlayStream event. + */ + OriginalTimestamp?: string; + /** Arbitrary data associated with the event. Only one of Payload or PayloadJSON is allowed. */ + Payload?: any; + /** + * Arbitrary data associated with the event, represented as a JSON serialized string. Only one of Payload or PayloadJSON is + * allowed. + */ + PayloadJSON?: string; + + } + + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsRequest */ + export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Collection of events to write to PlayStream. */ + Events: EventContents[]; + + } + + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsResponse */ + export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only + * returned if FlushToPlayStream option is true. + */ + AssignedEventIds?: string[]; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts new file mode 100644 index 00000000..ee0d20bf --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -0,0 +1,662 @@ +/// + +declare module PlayFabGroupsModule { + export interface IPlayFabGroups { + ForgetAllCredentials(): void; + + /** + * Accepts an outstanding invitation to to join a group + * https://api.playfab.com/Documentation/Groups/method/AcceptGroupApplication + */ + AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Accepts an invitation to join a group + * https://api.playfab.com/Documentation/Groups/method/AcceptGroupInvitation + */ + AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds members to a group or role. + * https://api.playfab.com/Documentation/Groups/method/AddMembers + */ + AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Applies to join a group + * https://api.playfab.com/Documentation/Groups/method/ApplyToGroup + */ + ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Blocks a list of entities from joining a group. + * https://api.playfab.com/Documentation/Groups/method/BlockEntity + */ + BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Changes the role membership of a list of entities from one role to another. + * https://api.playfab.com/Documentation/Groups/method/ChangeMemberRole + */ + ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group. + * https://api.playfab.com/Documentation/Groups/method/CreateGroup + */ + CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group role. + * https://api.playfab.com/Documentation/Groups/method/CreateRole + */ + CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a group and all roles, invitations, join requests, and blocks associated with it. + * https://api.playfab.com/Documentation/Groups/method/DeleteGroup + */ + DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing role in a group. + * https://api.playfab.com/Documentation/Groups/method/DeleteRole + */ + DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets information about a group and its roles + * https://api.playfab.com/Documentation/Groups/method/GetGroup + */ + GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Invites a player to join a group + * https://api.playfab.com/Documentation/Groups/method/InviteToGroup + */ + InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks to see if an entity is a member of a group or role within the group + * https://api.playfab.com/Documentation/Groups/method/IsMember + */ + IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding requests to join a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupApplications + */ + ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all entities blocked from joining a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupBlocks + */ + ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations for a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupInvitations + */ + ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all members for a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupMembers + */ + ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all groups and roles for an entity + * https://api.playfab.com/Documentation/Groups/method/ListMembership + */ + ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations and group applications for an entity + * https://api.playfab.com/Documentation/Groups/method/ListMembershipOpportunities + */ + ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an application to join a group + * https://api.playfab.com/Documentation/Groups/method/RemoveGroupApplication + */ + RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an invitation join a group + * https://api.playfab.com/Documentation/Groups/method/RemoveGroupInvitation + */ + RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes members from a group. + * https://api.playfab.com/Documentation/Groups/method/RemoveMembers + */ + RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unblocks a list of entities from joining a group + * https://api.playfab.com/Documentation/Groups/method/UnblockEntity + */ + UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates non-membership data about a group. + * https://api.playfab.com/Documentation/Groups/method/UpdateGroup + */ + UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates metadata about a role. + * https://api.playfab.com/Documentation/Groups/method/UpdateRole + */ + UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabGroupsModels { + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupApplicationRequest */ + export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a + * child of the claimant entity. Defaults to the claimant entity. + */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupInvitationRequest */ + export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AddMembersRequest */ + export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ + Members: EntityKey[]; + /** + * Optional: The ID of the existing role to add the entities to. If this is not specified, the default member role for the + * group will be used. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupRequest */ + export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ + AutoAcceptOutstandingInvite?: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupResponse */ + export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.BlockEntityRequest */ + export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ChangeMemberRoleRequest */ + export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 + * and 64 characters long. + */ + DestinationRoleId?: string; + /** The identifier of the group */ + Group: EntityKey; + /** + * List of entities to move between roles in the group. All entities in this list must be members of the group and origin + * role. + */ + Members: EntityKey[]; + /** The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long. */ + OriginRoleId: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRequest */ + export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the group. This is unique at the title level by default. */ + GroupName: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupResponse */ + export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleRequest */ + export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** + * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 + * characters long. + */ + RoleId: string; + /** + * The name of the role. This must be unique within the group and can be changed later. Role names must be between 1 and + * 100 characters long + */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleResponse */ + export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The current version of the group profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteGroupRequest */ + export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group or role to remove */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteRoleRequest */ + export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityMemberRole */ + export interface EntityMemberRole { + /** The list of members in the role */ + Members?: EntityWithLineage[]; + /** The ID of the role. */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityWithLineage */ + export interface EntityWithLineage { + /** The entity key for the specified entity */ + Key?: EntityKey; + /** Dictionary of entity keys for related entities. Dictionary key is entity type. */ + Lineage?: { [key: string]: EntityKey }; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupRequest */ + export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group?: EntityKey; + /** The full name of the group */ + GroupName?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupResponse */ + export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupApplication */ + export interface GroupApplication { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupBlock */ + export interface GroupBlock { + /** The entity that is blocked */ + Entity?: EntityWithLineage; + /** ID of the group that the entity is blocked from */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupInvitation */ + export interface GroupInvitation { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupRole */ + export interface GroupRole { + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupWithRoles */ + export interface GroupWithRoles { + /** ID for the group */ + Group?: EntityKey; + /** The name of the group */ + GroupName?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles within the group */ + Roles?: GroupRole[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupRequest */ + export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ + AutoAcceptOutstandingApplication?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional. ID of an existing a role in the group to assign the user to. The group's default member role is used if this + * is not specified. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupResponse */ + export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberRequest */ + export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional: ID of the role to check membership of. Defaults to any role (that is, check to see if the entity is a member + * of the group in any capacity) if not specified. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberResponse */ + export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { + /** A value indicating whether or not the entity is a member. */ + IsMember: boolean; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsRequest */ + export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsResponse */ + export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of applications to the group. */ + Applications?: GroupApplication[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksRequest */ + export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksResponse */ + export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list blocked entities. */ + BlockedEntities?: GroupBlock[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsRequest */ + export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsResponse */ + export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersRequest */ + export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group to list the members and roles for */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersResponse */ + export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of roles and member entity IDs. */ + Members?: EntityMemberRole[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesRequest */ + export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesResponse */ + export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group applications. */ + Applications?: GroupApplication[]; + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipRequest */ + export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipResponse */ + export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of groups */ + Groups?: GroupWithRoles[]; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupApplicationRequest */ + export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupInvitationRequest */ + export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveMembersRequest */ + export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to remove */ + Members: EntityKey[]; + /** The ID of the role to remove the entities from. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UnblockEntityRequest */ + export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRequest */ + export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional: the ID of an existing role to set as the new administrator role for the group */ + AdminRoleId?: string; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** Optional: the new name of the group */ + GroupName?: string; + /** Optional: the ID of an existing role to set as the new member role for the group */ + MemberRoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupResponse */ + export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the group data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleRequest */ + export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** ID of the role to update. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + /** The new name of the role */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleResponse */ + export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the role data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index fc992efb..6e5e864d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -156,10 +156,14 @@ declare module PlayFabMatchmakerModels { GameID?: string; /** IPV4 address of the new Game Server Instance. */ ServerHostname?: string; + /** IPV4 address of the server */ + ServerIPV4Address?: string; /** IPV6 address of the new Game Server Instance. */ ServerIPV6Address?: string; /** Port number for communication with the Game Server Instance. */ ServerPort: number; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts new file mode 100644 index 00000000..d961faab --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -0,0 +1,243 @@ +/// + +declare module PlayFabProfilesModule { + export interface IPlayFabProfiles { + ForgetAllCredentials(): void; + + /** + * Gets the global title access policy + * https://api.playfab.com/Documentation/Profiles/method/GetGlobalPolicy + */ + GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Profiles/method/GetProfile + */ + GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Profiles/method/GetProfiles + */ + GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the global title access policy + * https://api.playfab.com/Documentation/Profiles/method/SetGlobalPolicy + */ + SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates the entity's language + * https://api.playfab.com/Documentation/Profiles/method/SetProfileLanguage + */ + SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the profiles access policy + * https://api.playfab.com/Documentation/Profiles/method/SetProfilePolicy + */ + SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabProfilesModels { + type EffectType = "Allow" + | "Deny"; + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityDataObject */ + export interface EntityDataObject { + /** Un-escaped JSON object, if DataAsObject is true. */ + DataObject?: any; + /** Escaped string JSON body of the object, if DataAsObject is default or false. */ + EscapedDataObject?: string; + /** Name of this object. */ + ObjectName?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityPermissionStatement */ + export interface EntityPermissionStatement { + /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ + Action: string; + /** A comment about the statement. Intended solely for bookkeeping and debugging. */ + Comment?: string; + /** Additional conditions to be applied for entity resources. */ + Condition?: any; + /** The effect this statement will have. It may be either Allow or Deny */ + Effect: string; + /** The principal this statement will effect. */ + Principal: any; + /** The resource this statements effects. Similar to 'pfrn:data--title![Title ID]/Profile/*' */ + Resource: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ + export interface EntityProfileBody { + /** The entity id and type. */ + Entity?: EntityKey; + /** + * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the + * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace + * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace + * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]/[Character ID]' + */ + EntityChain?: string; + /** The files on this profile. */ + Files?: { [key: string]: EntityProfileFileMetadata }; + /** The language on this profile. */ + Language?: string; + /** The objects on this profile. */ + Objects?: { [key: string]: EntityDataObject }; + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + /** + * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic + * concurrency during update. + */ + VersionNumber: number; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileFileMetadata */ + export interface EntityProfileFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ + export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileResponse */ + export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profile */ + Profile?: EntityProfileBody; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesRequest */ + export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** Entity keys of the profiles to load. Must be between 1 and 25 */ + Entities: EntityKey[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesResponse */ + export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profiles */ + Profiles?: EntityProfileBody[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyRequest */ + export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyResponse */ + export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyRequest */ + export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The statements to include in the access policy. */ + Statements?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyResponse */ + export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyRequest */ + export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyResponse */ + export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageRequest */ + export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The expected version of a profile to perform this update on */ + ExpectedVersion: number; + /** The language to set on the given entity. Deletes the profile's language if passed in a null string. */ + Language?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageResponse */ + export interface SetProfileLanguageResponse extends PlayFabModule.IPlayFabResultCommon { + /** The type of operation that occured on the profile's language */ + OperationResult?: string; + /** The updated version of the profile after the language update */ + VersionNumber?: number; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 24ae8dcf..d6db425e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -183,8 +183,8 @@ declare module PlayFabServerModule { */ GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) - * may be returned. All parameters default to false. + * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be + * returned. All parameters default to false. * https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -226,6 +226,16 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookInstantGamesIds + */ + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + */ + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -1599,6 +1609,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookInstantGamesPlayFabIdPair */ + export interface FacebookInstantGamesPlayFabIdPair { + /** Unique Facebook Instant Games identifier for a user. */ + FacebookInstantGamesId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook Instant Games identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ @@ -2020,6 +2039,12 @@ declare module PlayFabServerModels { | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" + | "PerEntityEventRateLimitExceeded" + | "TitleDefaultLanguageNotSet" + | "EmailTemplateMissingDefaultVersion" + | "FacebookInstantGamesIdNotLinked" + | "InvalidFacebookInstantGamesSignature" + | "FacebookInstantGamesAuthNotConfiguredForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2030,12 +2055,12 @@ declare module PlayFabServerModels { | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" - | "MatchmakingHopperIdMissing" + | "MatchmakingQueueNameMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" - | "MatchmakingHopperConfigNotFound" + | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" @@ -2049,9 +2074,12 @@ declare module PlayFabServerModels { | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperIdInvalid" - | "MatchmakingHopperConfigInvalid" - | "MatchmakingMemberProfileInvalid"; + | "MatchmakingQueueNameInvalid" + | "MatchmakingQueueConfigInvalid" + | "MatchmakingMemberProfileInvalid" + | "WriteAttemptedDuringExport" + | "NintendoSwitchDeviceIdNotLinked" + | "MatchmakingNotEnabled"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2576,6 +2604,34 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + FacebookInstantGamesIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ + Data?: FacebookInstantGamesPlayFabIdPair[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + NintendoSwitchDeviceIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ + Data?: number[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -3009,7 +3065,11 @@ declare module PlayFabServerModels { | "IOSDevice" | "AndroidDevice" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { @@ -3134,6 +3194,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NintendoSwitchPlayFabIdPair */ + export interface NintendoSwitchPlayFabIdPair { + /** Unique Nintendo Switch Device identifier for a user. */ + NintendoSwitchDeviceId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Device identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ @@ -3281,7 +3350,7 @@ declare module PlayFabServerModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -3482,11 +3551,15 @@ declare module PlayFabServerModels { */ Region: string; /** IPV4 address of the Game Server Instance. */ - ServerHost: string; - /** IPV6 address of the Game Server Instance. */ + ServerHost?: string; + /** IPV4 address of the game server instance. */ + ServerIPV4Address?: string; + /** IPV6 address (if any) of the game server instance. */ ServerIPV6Address?: string; /** Port number for communication with the Game Server Instance. */ ServerPort: string; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; /** Tags for the Game Server Instance */ Tags?: { [key: string]: string | null }; @@ -4349,7 +4422,10 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "ServerCustomId" + | "NintendoSwitchDeviceId" + | "FacebookInstantGamesId"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 87c8ba94..859e8aa3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -1,8 +1,13 @@ /// /// -/// /// /// +/// +/// +/// +/// +/// +/// declare module PlayFabModule { export interface ISettings { @@ -41,15 +46,25 @@ declare var PlayFab: { settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; ClientApi: PlayFabClientModule.IPlayFabClient; - EntityApi: PlayFabEntityModule.IPlayFabEntity; MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; ServerApi: PlayFabServerModule.IPlayFabServer; + AuthenticationApi: PlayFabAuthenticationModule.IPlayFabAuthentication; + CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; + DataApi: PlayFabDataModule.IPlayFabData; + EventsApi: PlayFabEventsModule.IPlayFabEvents; + GroupsApi: PlayFabGroupsModule.IPlayFabGroups; + ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; }; // Continue to support older usage declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; -declare var PlayFabEntitySDK: PlayFabEntityModule.IPlayFabEntity; declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; +declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthentication; +declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; +declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; +declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; +declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; +declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 77f79ebc..5e73a05e 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -26,9 +26,14 @@ - + + + + + + @@ -36,9 +41,14 @@ - + + + + + + diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 42a3a73f..725f058e 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -10,7 +10,8 @@ var PlayFabApiTests = { }, testData: { entityToken: null, - entityKey: null, + entityId: null, + entityTypeString: null, playFabId: null, testNumber: null, }, @@ -423,11 +424,12 @@ var PlayFabApiTests = { var getTokenDone = assert.async(); var getTokenCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); - PlayFabApiTests.testData.entityKey = result.data.Entity; + PlayFabApiTests.testData.entityId = result.data.Entity.Id; + PlayFabApiTests.testData.entityTypeString = result.data.Entity.TypeString; getTokenDone(); }; var getTokenRequest = {}; - PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); + PlayFabAuthenticationSDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); }, ///* ENTITY API // * Test a sequence of calls that modifies saved data, @@ -437,7 +439,10 @@ var PlayFabApiTests = { // */ EntityObjects: function (assert) { var getObjectRequest = { - Entity: PlayFabApiTests.testData.entityKey, + Entity: { + Id: PlayFabApiTests.testData.entityId, + TypeString: PlayFabApiTests.testData.entityTypeString, + }, EscapeObject: true, }; // This test is always exactly 3 async calls @@ -454,7 +459,7 @@ var PlayFabApiTests = { }; var setObjectCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); - PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); + PlayFabDataSDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); updateDone(); }; var getObjectCallback1 = function (result, error) { @@ -465,14 +470,17 @@ var PlayFabApiTests = { PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds var updateDataRequest = { - Entity: PlayFabApiTests.testData.entityKey, + Entity: { + Id: PlayFabApiTests.testData.entityId, + TypeString: PlayFabApiTests.testData.entityTypeString, + }, Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, DataObject: PlayFabApiTests.testData.testNumber }] }; - PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); + PlayFabDataSDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); get1Done(); }; // Kick off this test process - PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); + PlayFabDataSDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); }, /* CLIENT API * Test that the client can log out diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index ce1ffa19..a31660d2 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -14,7 +14,8 @@ var PlayFabApiTests = { }, testData: { entityToken: null, // Entity-Login: filled after login - entityKey: null, // Entity-Login: filled after login + entityId: null, // Entity-Login: filled after login + entityTypeString: null, // Entity-Login: filled after login playFabId: null, // Client-Login: filled during login testNumber: null, // Arbitrary counter, used by several tests }, @@ -489,14 +490,15 @@ var PlayFabApiTests = { // */ GetEntityToken: function (assert): void { var getTokenDone = assert.async(); - var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); - PlayFabApiTests.testData.entityKey = result.data.Entity; + PlayFabApiTests.testData.entityId = result.data.Entity.Id; + PlayFabApiTests.testData.entityTypeString = result.data.Entity.TypeString; getTokenDone(); }; - var getTokenRequest = {}; - PlayFabEntitySDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); + var getTokenRequest = {}; + PlayFabAuthenticationSDK.GetEntityToken(getTokenRequest, PlayFabApiTests.CallbackWrapper("getTokenCallback", getTokenCallback, assert)); }, ///* ENTITY API @@ -506,8 +508,11 @@ var PlayFabApiTests = { // * Parameter types tested: string, Dictionary, DateTime // */ EntityObjects: function (assert): void { - var getObjectRequest = { - Entity: PlayFabApiTests.testData.entityKey, + var getObjectRequest = { + Entity: { + Id: PlayFabApiTests.testData.entityId, + TypeString: PlayFabApiTests.testData.entityTypeString, + }, EscapeObject: true, }; @@ -516,7 +521,7 @@ var PlayFabApiTests = { var updateDone = assert.async(); var get2Done = assert.async(); - var getObjectCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + var getObjectCallback2 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); var actualtestNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); @@ -525,13 +530,13 @@ var PlayFabApiTests = { assert.equal(PlayFabApiTests.testData.testNumber, actualtestNumber, "Testing incrementing counter: " + PlayFabApiTests.testData.testNumber + "==" + actualtestNumber); get2Done(); }; - var setObjectCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + var setObjectCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing SetObjects result"); - PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); + PlayFabDataSDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback2", getObjectCallback2, assert)); updateDone(); }; - var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { + var getObjectCallback1 = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetObjects result"); assert.ok(result.data.Objects != null, "Testing GetObjects Objects"); PlayFabApiTests.testData.testNumber = 0; @@ -539,16 +544,19 @@ var PlayFabApiTests = { PlayFabApiTests.testData.testNumber = JSON.parse(result.data.Objects[PlayFabApiTests.testConstants.TEST_DATA_KEY].EscapedDataObject); PlayFabApiTests.testData.testNumber = (PlayFabApiTests.testData.testNumber + 1) % 100; // This test is about the expected value changing - but not testing more complicated issues like bounds - var updateDataRequest = { - Entity: PlayFabApiTests.testData.entityKey, + var updateDataRequest = { + Entity: { + Id: PlayFabApiTests.testData.entityId, + TypeString: PlayFabApiTests.testData.entityTypeString, + }, Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, DataObject: PlayFabApiTests.testData.testNumber }] }; - PlayFabEntitySDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); + PlayFabDataSDK.SetObjects(updateDataRequest, PlayFabApiTests.CallbackWrapper("setObjectCallback", setObjectCallback, assert)); get1Done(); }; // Kick off this test process - PlayFabEntitySDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); + PlayFabDataSDK.GetObjects(getObjectRequest, PlayFabApiTests.CallbackWrapper("getObjectCallback1", getObjectCallback1, assert)); }, /* CLIENT API diff --git a/PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.js b/PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.js deleted file mode 100644 index 2fbd37d7..00000000 --- a/PlayFabTestingExample/code.jquery.com/qunit/qunit-1.19.0.js +++ /dev/null @@ -1,3963 +0,0 @@ -/*! - * QUnit 1.19.0 - * http://qunitjs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2015-09-01T15:00Z - */ - -(function( global ) { - -var QUnit = {}; - -var Date = global.Date; -var now = Date.now || function() { - return new Date().getTime(); -}; - -var setTimeout = global.setTimeout; -var clearTimeout = global.clearTimeout; - -// Store a local window from the global to allow direct references. -var window = global.window; - -var defined = { - document: window && window.document !== undefined, - setTimeout: setTimeout !== undefined, - sessionStorage: (function() { - var x = "qunit-test-string"; - try { - sessionStorage.setItem( x, x ); - sessionStorage.removeItem( x ); - return true; - } catch ( e ) { - return false; - } - }() ) -}; - -var fileName = ( sourceFromStacktrace( 0 ) || "" ).replace( /(:\d+)+\)?/, "" ).replace( /.+\//, "" ); -var globalStartCalled = false; -var runStarted = false; - -var toString = Object.prototype.toString, - hasOwn = Object.prototype.hasOwnProperty; - -// returns a new Array with the elements that are in a but not in b -function diff( a, b ) { - var i, j, - result = a.slice(); - - for ( i = 0; i < result.length; i++ ) { - for ( j = 0; j < b.length; j++ ) { - if ( result[ i ] === b[ j ] ) { - result.splice( i, 1 ); - i--; - break; - } - } - } - return result; -} - -// from jquery.js -function inArray( elem, array ) { - if ( array.indexOf ) { - return array.indexOf( elem ); - } - - for ( var i = 0, length = array.length; i < length; i++ ) { - if ( array[ i ] === elem ) { - return i; - } - } - - return -1; -} - -/** - * Makes a clone of an object using only Array or Object as base, - * and copies over the own enumerable properties. - * - * @param {Object} obj - * @return {Object} New object with only the own properties (recursively). - */ -function objectValues ( obj ) { - var key, val, - vals = QUnit.is( "array", obj ) ? [] : {}; - for ( key in obj ) { - if ( hasOwn.call( obj, key ) ) { - val = obj[ key ]; - vals[ key ] = val === Object( val ) ? objectValues( val ) : val; - } - } - return vals; -} - -function extend( a, b, undefOnly ) { - for ( var prop in b ) { - if ( hasOwn.call( b, prop ) ) { - - // Avoid "Member not found" error in IE8 caused by messing with window.constructor - // This block runs on every environment, so `global` is being used instead of `window` - // to avoid errors on node. - if ( prop !== "constructor" || a !== global ) { - if ( b[ prop ] === undefined ) { - delete a[ prop ]; - } else if ( !( undefOnly && typeof a[ prop ] !== "undefined" ) ) { - a[ prop ] = b[ prop ]; - } - } - } - } - - return a; -} - -function objectType( obj ) { - if ( typeof obj === "undefined" ) { - return "undefined"; - } - - // Consider: typeof null === object - if ( obj === null ) { - return "null"; - } - - var match = toString.call( obj ).match( /^\[object\s(.*)\]$/ ), - type = match && match[ 1 ] || ""; - - switch ( type ) { - case "Number": - if ( isNaN( obj ) ) { - return "nan"; - } - return "number"; - case "String": - case "Boolean": - case "Array": - case "Set": - case "Map": - case "Date": - case "RegExp": - case "Function": - return type.toLowerCase(); - } - if ( typeof obj === "object" ) { - return "object"; - } - return undefined; -} - -// Safe object type checking -function is( type, obj ) { - return QUnit.objectType( obj ) === type; -} - -var getUrlParams = function() { - var i, current; - var urlParams = {}; - var location = window.location; - var params = location.search.slice( 1 ).split( "&" ); - var length = params.length; - - if ( params[ 0 ] ) { - for ( i = 0; i < length; i++ ) { - current = params[ i ].split( "=" ); - current[ 0 ] = decodeURIComponent( current[ 0 ] ); - - // allow just a key to turn on a flag, e.g., test.html?noglobals - current[ 1 ] = current[ 1 ] ? decodeURIComponent( current[ 1 ] ) : true; - if ( urlParams[ current[ 0 ] ] ) { - urlParams[ current[ 0 ] ] = [].concat( urlParams[ current[ 0 ] ], current[ 1 ] ); - } else { - urlParams[ current[ 0 ] ] = current[ 1 ]; - } - } - } - - return urlParams; -}; - -// Doesn't support IE6 to IE9, it will return undefined on these browsers -// See also https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error/Stack -function extractStacktrace( e, offset ) { - offset = offset === undefined ? 4 : offset; - - var stack, include, i; - - if ( e.stack ) { - stack = e.stack.split( "\n" ); - if ( /^error$/i.test( stack[ 0 ] ) ) { - stack.shift(); - } - if ( fileName ) { - include = []; - for ( i = offset; i < stack.length; i++ ) { - if ( stack[ i ].indexOf( fileName ) !== -1 ) { - break; - } - include.push( stack[ i ] ); - } - if ( include.length ) { - return include.join( "\n" ); - } - } - return stack[ offset ]; - - // Support: Safari <=6 only - } else if ( e.sourceURL ) { - - // exclude useless self-reference for generated Error objects - if ( /qunit.js$/.test( e.sourceURL ) ) { - return; - } - - // for actual exceptions, this is useful - return e.sourceURL + ":" + e.line; - } -} - -function sourceFromStacktrace( offset ) { - var error = new Error(); - - // Support: Safari <=7 only, IE <=10 - 11 only - // Not all browsers generate the `stack` property for `new Error()`, see also #636 - if ( !error.stack ) { - try { - throw error; - } catch ( err ) { - error = err; - } - } - - return extractStacktrace( error, offset ); -} - -/** - * Config object: Maintain internal state - * Later exposed as QUnit.config - * `config` initialized at top of scope - */ -var config = { - // The queue of tests to run - queue: [], - - // block until document ready - blocking: true, - - // by default, run previously failed tests first - // very useful in combination with "Hide passed tests" checked - reorder: true, - - // by default, modify document.title when suite is done - altertitle: true, - - // by default, scroll to top of the page when suite is done - scrolltop: true, - - // depth up-to which object will be dumped - maxDepth: 5, - - // when enabled, all tests must call expect() - requireExpects: false, - - // add checkboxes that are persisted in the query-string - // when enabled, the id is set to `true` as a `QUnit.config` property - urlConfig: [ - { - id: "hidepassed", - label: "Hide passed tests", - tooltip: "Only show tests and assertions that fail. Stored as query-strings." - }, - { - id: "noglobals", - label: "Check for Globals", - tooltip: "Enabling this will test if any test introduces new properties on the " + - "global object (`window` in Browsers). Stored as query-strings." - }, - { - id: "notrycatch", - label: "No try-catch", - tooltip: "Enabling this will run tests outside of a try-catch block. Makes debugging " + - "exceptions in IE reasonable. Stored as query-strings." - } - ], - - // Set of all modules. - modules: [], - - // The first unnamed module - currentModule: { - name: "", - tests: [] - }, - - callbacks: {} -}; - -var urlParams = defined.document ? getUrlParams() : {}; - -// Push a loose unnamed module to the modules collection -config.modules.push( config.currentModule ); - -if ( urlParams.filter === true ) { - delete urlParams.filter; -} - -// String search anywhere in moduleName+testName -config.filter = urlParams.filter; - -config.testId = []; -if ( urlParams.testId ) { - // Ensure that urlParams.testId is an array - urlParams.testId = decodeURIComponent( urlParams.testId ).split( "," ); - for (var i = 0; i < urlParams.testId.length; i++ ) { - config.testId.push( urlParams.testId[ i ] ); - } -} - -var loggingCallbacks = {}; - -// Register logging callbacks -function registerLoggingCallbacks( obj ) { - var i, l, key, - callbackNames = [ "begin", "done", "log", "testStart", "testDone", - "moduleStart", "moduleDone" ]; - - function registerLoggingCallback( key ) { - var loggingCallback = function( callback ) { - if ( objectType( callback ) !== "function" ) { - throw new Error( - "QUnit logging methods require a callback function as their first parameters." - ); - } - - config.callbacks[ key ].push( callback ); - }; - - // DEPRECATED: This will be removed on QUnit 2.0.0+ - // Stores the registered functions allowing restoring - // at verifyLoggingCallbacks() if modified - loggingCallbacks[ key ] = loggingCallback; - - return loggingCallback; - } - - for ( i = 0, l = callbackNames.length; i < l; i++ ) { - key = callbackNames[ i ]; - - // Initialize key collection of logging callback - if ( objectType( config.callbacks[ key ] ) === "undefined" ) { - config.callbacks[ key ] = []; - } - - obj[ key ] = registerLoggingCallback( key ); - } -} - -function runLoggingCallbacks( key, args ) { - var i, l, callbacks; - - callbacks = config.callbacks[ key ]; - for ( i = 0, l = callbacks.length; i < l; i++ ) { - callbacks[ i ]( args ); - } -} - -// DEPRECATED: This will be removed on 2.0.0+ -// This function verifies if the loggingCallbacks were modified by the user -// If so, it will restore it, assign the given callback and print a console warning -function verifyLoggingCallbacks() { - var loggingCallback, userCallback; - - for ( loggingCallback in loggingCallbacks ) { - if ( QUnit[ loggingCallback ] !== loggingCallbacks[ loggingCallback ] ) { - - userCallback = QUnit[ loggingCallback ]; - - // Restore the callback function - QUnit[ loggingCallback ] = loggingCallbacks[ loggingCallback ]; - - // Assign the deprecated given callback - QUnit[ loggingCallback ]( userCallback ); - - if ( global.console && global.console.warn ) { - global.console.warn( - "QUnit." + loggingCallback + " was replaced with a new value.\n" + - "Please, check out the documentation on how to apply logging callbacks.\n" + - "Reference: http://api.qunitjs.com/category/callbacks/" - ); - } - } - } -} - -( function() { - if ( !defined.document ) { - return; - } - - // `onErrorFnPrev` initialized at top of scope - // Preserve other handlers - var onErrorFnPrev = window.onerror; - - // Cover uncaught exceptions - // Returning true will suppress the default browser handler, - // returning false will let it run. - window.onerror = function( error, filePath, linerNr ) { - var ret = false; - if ( onErrorFnPrev ) { - ret = onErrorFnPrev( error, filePath, linerNr ); - } - - // Treat return value as window.onerror itself does, - // Only do our handling if not suppressed. - if ( ret !== true ) { - if ( QUnit.config.current ) { - if ( QUnit.config.current.ignoreGlobalErrors ) { - return true; - } - QUnit.pushFailure( error, filePath + ":" + linerNr ); - } else { - QUnit.test( "global failure", extend(function() { - QUnit.pushFailure( error, filePath + ":" + linerNr ); - }, { validTest: true } ) ); - } - return false; - } - - return ret; - }; -} )(); - -QUnit.urlParams = urlParams; - -// Figure out if we're running the tests from a server or not -QUnit.isLocal = !( defined.document && window.location.protocol !== "file:" ); - -// Expose the current QUnit version -QUnit.version = "1.19.0"; - -extend( QUnit, { - - // call on start of module test to prepend name to all tests - module: function( name, testEnvironment ) { - var currentModule = { - name: name, - testEnvironment: testEnvironment, - tests: [] - }; - - // DEPRECATED: handles setup/teardown functions, - // beforeEach and afterEach should be used instead - if ( testEnvironment && testEnvironment.setup ) { - testEnvironment.beforeEach = testEnvironment.setup; - delete testEnvironment.setup; - } - if ( testEnvironment && testEnvironment.teardown ) { - testEnvironment.afterEach = testEnvironment.teardown; - delete testEnvironment.teardown; - } - - config.modules.push( currentModule ); - config.currentModule = currentModule; - }, - - // DEPRECATED: QUnit.asyncTest() will be removed in QUnit 2.0. - asyncTest: asyncTest, - - test: test, - - skip: skip, - - // DEPRECATED: The functionality of QUnit.start() will be altered in QUnit 2.0. - // In QUnit 2.0, invoking it will ONLY affect the `QUnit.config.autostart` blocking behavior. - start: function( count ) { - var globalStartAlreadyCalled = globalStartCalled; - - if ( !config.current ) { - globalStartCalled = true; - - if ( runStarted ) { - throw new Error( "Called start() outside of a test context while already started" ); - } else if ( globalStartAlreadyCalled || count > 1 ) { - throw new Error( "Called start() outside of a test context too many times" ); - } else if ( config.autostart ) { - throw new Error( "Called start() outside of a test context when " + - "QUnit.config.autostart was true" ); - } else if ( !config.pageLoaded ) { - - // The page isn't completely loaded yet, so bail out and let `QUnit.load` handle it - config.autostart = true; - return; - } - } else { - - // If a test is running, adjust its semaphore - config.current.semaphore -= count || 1; - - // Don't start until equal number of stop-calls - if ( config.current.semaphore > 0 ) { - return; - } - - // throw an Error if start is called more often than stop - if ( config.current.semaphore < 0 ) { - config.current.semaphore = 0; - - QUnit.pushFailure( - "Called start() while already started (test's semaphore was 0 already)", - sourceFromStacktrace( 2 ) - ); - return; - } - } - - resumeProcessing(); - }, - - // DEPRECATED: QUnit.stop() will be removed in QUnit 2.0. - stop: function( count ) { - - // If there isn't a test running, don't allow QUnit.stop() to be called - if ( !config.current ) { - throw new Error( "Called stop() outside of a test context" ); - } - - // If a test is running, adjust its semaphore - config.current.semaphore += count || 1; - - pauseProcessing(); - }, - - config: config, - - is: is, - - objectType: objectType, - - extend: extend, - - load: function() { - config.pageLoaded = true; - - // Initialize the configuration options - extend( config, { - stats: { all: 0, bad: 0 }, - moduleStats: { all: 0, bad: 0 }, - started: 0, - updateRate: 1000, - autostart: true, - filter: "" - }, true ); - - config.blocking = false; - - if ( config.autostart ) { - resumeProcessing(); - } - }, - - stack: function( offset ) { - offset = ( offset || 0 ) + 2; - return sourceFromStacktrace( offset ); - } -}); - -registerLoggingCallbacks( QUnit ); - -function begin() { - var i, l, - modulesLog = []; - - // If the test run hasn't officially begun yet - if ( !config.started ) { - - // Record the time of the test run's beginning - config.started = now(); - - verifyLoggingCallbacks(); - - // Delete the loose unnamed module if unused. - if ( config.modules[ 0 ].name === "" && config.modules[ 0 ].tests.length === 0 ) { - config.modules.shift(); - } - - // Avoid unnecessary information by not logging modules' test environments - for ( i = 0, l = config.modules.length; i < l; i++ ) { - modulesLog.push({ - name: config.modules[ i ].name, - tests: config.modules[ i ].tests - }); - } - - // The test run is officially beginning now - runLoggingCallbacks( "begin", { - totalTests: Test.count, - modules: modulesLog - }); - } - - config.blocking = false; - process( true ); -} - -function process( last ) { - function next() { - process( last ); - } - var start = now(); - config.depth = ( config.depth || 0 ) + 1; - - while ( config.queue.length && !config.blocking ) { - if ( !defined.setTimeout || config.updateRate <= 0 || - ( ( now() - start ) < config.updateRate ) ) { - if ( config.current ) { - - // Reset async tracking for each phase of the Test lifecycle - config.current.usedAsync = false; - } - config.queue.shift()(); - } else { - setTimeout( next, 13 ); - break; - } - } - config.depth--; - if ( last && !config.blocking && !config.queue.length && config.depth === 0 ) { - done(); - } -} - -function pauseProcessing() { - config.blocking = true; - - if ( config.testTimeout && defined.setTimeout ) { - clearTimeout( config.timeout ); - config.timeout = setTimeout(function() { - if ( config.current ) { - config.current.semaphore = 0; - QUnit.pushFailure( "Test timed out", sourceFromStacktrace( 2 ) ); - } else { - throw new Error( "Test timed out" ); - } - resumeProcessing(); - }, config.testTimeout ); - } -} - -function resumeProcessing() { - runStarted = true; - - // A slight delay to allow this iteration of the event loop to finish (more assertions, etc.) - if ( defined.setTimeout ) { - setTimeout(function() { - if ( config.current && config.current.semaphore > 0 ) { - return; - } - if ( config.timeout ) { - clearTimeout( config.timeout ); - } - - begin(); - }, 13 ); - } else { - begin(); - } -} - -function done() { - var runtime, passed; - - config.autorun = true; - - // Log the last module results - if ( config.previousModule ) { - runLoggingCallbacks( "moduleDone", { - name: config.previousModule.name, - tests: config.previousModule.tests, - failed: config.moduleStats.bad, - passed: config.moduleStats.all - config.moduleStats.bad, - total: config.moduleStats.all, - runtime: now() - config.moduleStats.started - }); - } - delete config.previousModule; - - runtime = now() - config.started; - passed = config.stats.all - config.stats.bad; - - runLoggingCallbacks( "done", { - failed: config.stats.bad, - passed: passed, - total: config.stats.all, - runtime: runtime - }); -} - -function Test( settings ) { - var i, l; - - ++Test.count; - - extend( this, settings ); - this.assertions = []; - this.semaphore = 0; - this.usedAsync = false; - this.module = config.currentModule; - this.stack = sourceFromStacktrace( 3 ); - - // Register unique strings - for ( i = 0, l = this.module.tests; i < l.length; i++ ) { - if ( this.module.tests[ i ].name === this.testName ) { - this.testName += " "; - } - } - - this.testId = generateHash( this.module.name, this.testName ); - - this.module.tests.push({ - name: this.testName, - testId: this.testId - }); - - if ( settings.skip ) { - - // Skipped tests will fully ignore any sent callback - this.callback = function() {}; - this.async = false; - this.expected = 0; - } else { - this.assert = new Assert( this ); - } -} - -Test.count = 0; - -Test.prototype = { - before: function() { - if ( - - // Emit moduleStart when we're switching from one module to another - this.module !== config.previousModule || - - // They could be equal (both undefined) but if the previousModule property doesn't - // yet exist it means this is the first test in a suite that isn't wrapped in a - // module, in which case we'll just emit a moduleStart event for 'undefined'. - // Without this, reporters can get testStart before moduleStart which is a problem. - !hasOwn.call( config, "previousModule" ) - ) { - if ( hasOwn.call( config, "previousModule" ) ) { - runLoggingCallbacks( "moduleDone", { - name: config.previousModule.name, - tests: config.previousModule.tests, - failed: config.moduleStats.bad, - passed: config.moduleStats.all - config.moduleStats.bad, - total: config.moduleStats.all, - runtime: now() - config.moduleStats.started - }); - } - config.previousModule = this.module; - config.moduleStats = { all: 0, bad: 0, started: now() }; - runLoggingCallbacks( "moduleStart", { - name: this.module.name, - tests: this.module.tests - }); - } - - config.current = this; - - if ( this.module.testEnvironment ) { - delete this.module.testEnvironment.beforeEach; - delete this.module.testEnvironment.afterEach; - } - this.testEnvironment = extend( {}, this.module.testEnvironment ); - - this.started = now(); - runLoggingCallbacks( "testStart", { - name: this.testName, - module: this.module.name, - testId: this.testId - }); - - if ( !config.pollution ) { - saveGlobal(); - } - }, - - run: function() { - var promise; - - config.current = this; - - if ( this.async ) { - QUnit.stop(); - } - - this.callbackStarted = now(); - - if ( config.notrycatch ) { - promise = this.callback.call( this.testEnvironment, this.assert ); - this.resolvePromise( promise ); - return; - } - - try { - promise = this.callback.call( this.testEnvironment, this.assert ); - this.resolvePromise( promise ); - } catch ( e ) { - this.pushFailure( "Died on test #" + ( this.assertions.length + 1 ) + " " + - this.stack + ": " + ( e.message || e ), extractStacktrace( e, 0 ) ); - - // else next test will carry the responsibility - saveGlobal(); - - // Restart the tests if they're blocking - if ( config.blocking ) { - QUnit.start(); - } - } - }, - - after: function() { - checkPollution(); - }, - - queueHook: function( hook, hookName ) { - var promise, - test = this; - return function runHook() { - config.current = test; - if ( config.notrycatch ) { - promise = hook.call( test.testEnvironment, test.assert ); - test.resolvePromise( promise, hookName ); - return; - } - try { - promise = hook.call( test.testEnvironment, test.assert ); - test.resolvePromise( promise, hookName ); - } catch ( error ) { - test.pushFailure( hookName + " failed on " + test.testName + ": " + - ( error.message || error ), extractStacktrace( error, 0 ) ); - } - }; - }, - - // Currently only used for module level hooks, can be used to add global level ones - hooks: function( handler ) { - var hooks = []; - - // Hooks are ignored on skipped tests - if ( this.skip ) { - return hooks; - } - - if ( this.module.testEnvironment && - QUnit.objectType( this.module.testEnvironment[ handler ] ) === "function" ) { - hooks.push( this.queueHook( this.module.testEnvironment[ handler ], handler ) ); - } - - return hooks; - }, - - finish: function() { - config.current = this; - if ( config.requireExpects && this.expected === null ) { - this.pushFailure( "Expected number of assertions to be defined, but expect() was " + - "not called.", this.stack ); - } else if ( this.expected !== null && this.expected !== this.assertions.length ) { - this.pushFailure( "Expected " + this.expected + " assertions, but " + - this.assertions.length + " were run", this.stack ); - } else if ( this.expected === null && !this.assertions.length ) { - this.pushFailure( "Expected at least one assertion, but none were run - call " + - "expect(0) to accept zero assertions.", this.stack ); - } - - var i, - bad = 0; - - this.runtime = now() - this.started; - config.stats.all += this.assertions.length; - config.moduleStats.all += this.assertions.length; - - for ( i = 0; i < this.assertions.length; i++ ) { - if ( !this.assertions[ i ].result ) { - bad++; - config.stats.bad++; - config.moduleStats.bad++; - } - } - - runLoggingCallbacks( "testDone", { - name: this.testName, - module: this.module.name, - skipped: !!this.skip, - failed: bad, - passed: this.assertions.length - bad, - total: this.assertions.length, - runtime: this.runtime, - - // HTML Reporter use - assertions: this.assertions, - testId: this.testId, - - // Source of Test - source: this.stack, - - // DEPRECATED: this property will be removed in 2.0.0, use runtime instead - duration: this.runtime - }); - - // QUnit.reset() is deprecated and will be replaced for a new - // fixture reset function on QUnit 2.0/2.1. - // It's still called here for backwards compatibility handling - QUnit.reset(); - - config.current = undefined; - }, - - queue: function() { - var bad, - test = this; - - if ( !this.valid() ) { - return; - } - - function run() { - - // each of these can by async - synchronize([ - function() { - test.before(); - }, - - test.hooks( "beforeEach" ), - - function() { - test.run(); - }, - - test.hooks( "afterEach" ).reverse(), - - function() { - test.after(); - }, - function() { - test.finish(); - } - ]); - } - - // `bad` initialized at top of scope - // defer when previous test run passed, if storage is available - bad = QUnit.config.reorder && defined.sessionStorage && - +sessionStorage.getItem( "qunit-test-" + this.module.name + "-" + this.testName ); - - if ( bad ) { - run(); - } else { - synchronize( run, true ); - } - }, - - push: function( result, actual, expected, message, negative ) { - var source, - details = { - module: this.module.name, - name: this.testName, - result: result, - message: message, - actual: actual, - expected: expected, - testId: this.testId, - negative: negative || false, - runtime: now() - this.started - }; - - if ( !result ) { - source = sourceFromStacktrace(); - - if ( source ) { - details.source = source; - } - } - - runLoggingCallbacks( "log", details ); - - this.assertions.push({ - result: !!result, - message: message - }); - }, - - pushFailure: function( message, source, actual ) { - if ( !( this instanceof Test ) ) { - throw new Error( "pushFailure() assertion outside test context, was " + - sourceFromStacktrace( 2 ) ); - } - - var details = { - module: this.module.name, - name: this.testName, - result: false, - message: message || "error", - actual: actual || null, - testId: this.testId, - runtime: now() - this.started - }; - - if ( source ) { - details.source = source; - } - - runLoggingCallbacks( "log", details ); - - this.assertions.push({ - result: false, - message: message - }); - }, - - resolvePromise: function( promise, phase ) { - var then, message, - test = this; - if ( promise != null ) { - then = promise.then; - if ( QUnit.objectType( then ) === "function" ) { - QUnit.stop(); - then.call( - promise, - function() { QUnit.start(); }, - function( error ) { - message = "Promise rejected " + - ( !phase ? "during" : phase.replace( /Each$/, "" ) ) + - " " + test.testName + ": " + ( error.message || error ); - test.pushFailure( message, extractStacktrace( error, 0 ) ); - - // else next test will carry the responsibility - saveGlobal(); - - // Unblock - QUnit.start(); - } - ); - } - } - }, - - valid: function() { - var include, - filter = config.filter && config.filter.toLowerCase(), - module = QUnit.urlParams.module && QUnit.urlParams.module.toLowerCase(), - fullName = ( this.module.name + ": " + this.testName ).toLowerCase(); - - // Internally-generated tests are always valid - if ( this.callback && this.callback.validTest ) { - return true; - } - - if ( config.testId.length > 0 && inArray( this.testId, config.testId ) < 0 ) { - return false; - } - - if ( module && ( !this.module.name || this.module.name.toLowerCase() !== module ) ) { - return false; - } - - if ( !filter ) { - return true; - } - - include = filter.charAt( 0 ) !== "!"; - if ( !include ) { - filter = filter.slice( 1 ); - } - - // If the filter matches, we need to honour include - if ( fullName.indexOf( filter ) !== -1 ) { - return include; - } - - // Otherwise, do the opposite - return !include; - } - -}; - -// Resets the test setup. Useful for tests that modify the DOM. -/* -DEPRECATED: Use multiple tests instead of resetting inside a test. -Use testStart or testDone for custom cleanup. -This method will throw an error in 2.0, and will be removed in 2.1 -*/ -QUnit.reset = function() { - - // Return on non-browser environments - // This is necessary to not break on node tests - if ( !defined.document ) { - return; - } - - var fixture = defined.document && document.getElementById && - document.getElementById( "qunit-fixture" ); - - if ( fixture ) { - fixture.innerHTML = config.fixture; - } -}; - -QUnit.pushFailure = function() { - if ( !QUnit.config.current ) { - throw new Error( "pushFailure() assertion outside test context, in " + - sourceFromStacktrace( 2 ) ); - } - - // Gets current test obj - var currentTest = QUnit.config.current; - - return currentTest.pushFailure.apply( currentTest, arguments ); -}; - -// Based on Java's String.hashCode, a simple but not -// rigorously collision resistant hashing function -function generateHash( module, testName ) { - var hex, - i = 0, - hash = 0, - str = module + "\x1C" + testName, - len = str.length; - - for ( ; i < len; i++ ) { - hash = ( ( hash << 5 ) - hash ) + str.charCodeAt( i ); - hash |= 0; - } - - // Convert the possibly negative integer hash code into an 8 character hex string, which isn't - // strictly necessary but increases user understanding that the id is a SHA-like hash - hex = ( 0x100000000 + hash ).toString( 16 ); - if ( hex.length < 8 ) { - hex = "0000000" + hex; - } - - return hex.slice( -8 ); -} - -function synchronize( callback, last ) { - if ( QUnit.objectType( callback ) === "array" ) { - while ( callback.length ) { - synchronize( callback.shift() ); - } - return; - } - config.queue.push( callback ); - - if ( config.autorun && !config.blocking ) { - process( last ); - } -} - -function saveGlobal() { - config.pollution = []; - - if ( config.noglobals ) { - for ( var key in global ) { - if ( hasOwn.call( global, key ) ) { - - // in Opera sometimes DOM element ids show up here, ignore them - if ( /^qunit-test-output/.test( key ) ) { - continue; - } - config.pollution.push( key ); - } - } - } -} - -function checkPollution() { - var newGlobals, - deletedGlobals, - old = config.pollution; - - saveGlobal(); - - newGlobals = diff( config.pollution, old ); - if ( newGlobals.length > 0 ) { - QUnit.pushFailure( "Introduced global variable(s): " + newGlobals.join( ", " ) ); - } - - deletedGlobals = diff( old, config.pollution ); - if ( deletedGlobals.length > 0 ) { - QUnit.pushFailure( "Deleted global variable(s): " + deletedGlobals.join( ", " ) ); - } -} - -// Will be exposed as QUnit.asyncTest -function asyncTest( testName, expected, callback ) { - if ( arguments.length === 2 ) { - callback = expected; - expected = null; - } - - QUnit.test( testName, expected, callback, true ); -} - -// Will be exposed as QUnit.test -function test( testName, expected, callback, async ) { - var newTest; - - if ( arguments.length === 2 ) { - callback = expected; - expected = null; - } - - newTest = new Test({ - testName: testName, - expected: expected, - async: async, - callback: callback - }); - - newTest.queue(); -} - -// Will be exposed as QUnit.skip -function skip( testName ) { - var test = new Test({ - testName: testName, - skip: true - }); - - test.queue(); -} - -function Assert( testContext ) { - this.test = testContext; -} - -// Assert helpers -QUnit.assert = Assert.prototype = { - - // Specify the number of expected assertions to guarantee that failed test - // (no assertions are run at all) don't slip through. - expect: function( asserts ) { - if ( arguments.length === 1 ) { - this.test.expected = asserts; - } else { - return this.test.expected; - } - }, - - // Increment this Test's semaphore counter, then return a single-use function that - // decrements that counter a maximum of once. - async: function() { - var test = this.test, - popped = false; - - test.semaphore += 1; - test.usedAsync = true; - pauseProcessing(); - - return function done() { - if ( !popped ) { - test.semaphore -= 1; - popped = true; - resumeProcessing(); - } else { - test.pushFailure( "Called the callback returned from `assert.async` more than once", - sourceFromStacktrace( 2 ) ); - } - }; - }, - - // Exports test.push() to the user API - push: function( /* result, actual, expected, message, negative */ ) { - var assert = this, - currentTest = ( assert instanceof Assert && assert.test ) || QUnit.config.current; - - // Backwards compatibility fix. - // Allows the direct use of global exported assertions and QUnit.assert.* - // Although, it's use is not recommended as it can leak assertions - // to other tests from async tests, because we only get a reference to the current test, - // not exactly the test where assertion were intended to be called. - if ( !currentTest ) { - throw new Error( "assertion outside test context, in " + sourceFromStacktrace( 2 ) ); - } - - if ( currentTest.usedAsync === true && currentTest.semaphore === 0 ) { - currentTest.pushFailure( "Assertion after the final `assert.async` was resolved", - sourceFromStacktrace( 2 ) ); - - // Allow this assertion to continue running anyway... - } - - if ( !( assert instanceof Assert ) ) { - assert = currentTest.assert; - } - return assert.test.push.apply( assert.test, arguments ); - }, - - ok: function( result, message ) { - message = message || ( result ? "okay" : "failed, expected argument to be truthy, was: " + - QUnit.dump.parse( result ) ); - this.push( !!result, result, true, message ); - }, - - notOk: function( result, message ) { - message = message || ( !result ? "okay" : "failed, expected argument to be falsy, was: " + - QUnit.dump.parse( result ) ); - this.push( !result, result, false, message, true ); - }, - - equal: function( actual, expected, message ) { - /*jshint eqeqeq:false */ - this.push( expected == actual, actual, expected, message ); - }, - - notEqual: function( actual, expected, message ) { - /*jshint eqeqeq:false */ - this.push( expected != actual, actual, expected, message, true ); - }, - - propEqual: function( actual, expected, message ) { - actual = objectValues( actual ); - expected = objectValues( expected ); - this.push( QUnit.equiv( actual, expected ), actual, expected, message ); - }, - - notPropEqual: function( actual, expected, message ) { - actual = objectValues( actual ); - expected = objectValues( expected ); - this.push( !QUnit.equiv( actual, expected ), actual, expected, message, true ); - }, - - deepEqual: function( actual, expected, message ) { - this.push( QUnit.equiv( actual, expected ), actual, expected, message ); - }, - - notDeepEqual: function( actual, expected, message ) { - this.push( !QUnit.equiv( actual, expected ), actual, expected, message, true ); - }, - - strictEqual: function( actual, expected, message ) { - this.push( expected === actual, actual, expected, message ); - }, - - notStrictEqual: function( actual, expected, message ) { - this.push( expected !== actual, actual, expected, message, true ); - }, - - "throws": function( block, expected, message ) { - var actual, expectedType, - expectedOutput = expected, - ok = false, - currentTest = ( this instanceof Assert && this.test ) || QUnit.config.current; - - // 'expected' is optional unless doing string comparison - if ( message == null && typeof expected === "string" ) { - message = expected; - expected = null; - } - - currentTest.ignoreGlobalErrors = true; - try { - block.call( currentTest.testEnvironment ); - } catch (e) { - actual = e; - } - currentTest.ignoreGlobalErrors = false; - - if ( actual ) { - expectedType = QUnit.objectType( expected ); - - // we don't want to validate thrown error - if ( !expected ) { - ok = true; - expectedOutput = null; - - // expected is a regexp - } else if ( expectedType === "regexp" ) { - ok = expected.test( errorString( actual ) ); - - // expected is a string - } else if ( expectedType === "string" ) { - ok = expected === errorString( actual ); - - // expected is a constructor, maybe an Error constructor - } else if ( expectedType === "function" && actual instanceof expected ) { - ok = true; - - // expected is an Error object - } else if ( expectedType === "object" ) { - ok = actual instanceof expected.constructor && - actual.name === expected.name && - actual.message === expected.message; - - // expected is a validation function which returns true if validation passed - } else if ( expectedType === "function" && expected.call( {}, actual ) === true ) { - expectedOutput = null; - ok = true; - } - } - - currentTest.assert.push( ok, actual, expectedOutput, message ); - } -}; - -// Provide an alternative to assert.throws(), for enviroments that consider throws a reserved word -// Known to us are: Closure Compiler, Narwhal -(function() { - /*jshint sub:true */ - Assert.prototype.raises = Assert.prototype[ "throws" ]; -}()); - -function errorString( error ) { - var name, message, - resultErrorString = error.toString(); - if ( resultErrorString.substring( 0, 7 ) === "[object" ) { - name = error.name ? error.name.toString() : "Error"; - message = error.message ? error.message.toString() : ""; - if ( name && message ) { - return name + ": " + message; - } else if ( name ) { - return name; - } else if ( message ) { - return message; - } else { - return "Error"; - } - } else { - return resultErrorString; - } -} - -// Test for equality any JavaScript type. -// Author: Philippe Rathé -QUnit.equiv = (function() { - - // Call the o related callback with the given arguments. - function bindCallbacks( o, callbacks, args ) { - var prop = QUnit.objectType( o ); - if ( prop ) { - if ( QUnit.objectType( callbacks[ prop ] ) === "function" ) { - return callbacks[ prop ].apply( callbacks, args ); - } else { - return callbacks[ prop ]; // or undefined - } - } - } - - // the real equiv function - var innerEquiv, - - // stack to decide between skip/abort functions - callers = [], - - // stack to avoiding loops from circular referencing - parents = [], - parentsB = [], - - getProto = Object.getPrototypeOf || function( obj ) { - /* jshint camelcase: false, proto: true */ - return obj.__proto__; - }, - callbacks = (function() { - - // for string, boolean, number and null - function useStrictEquality( b, a ) { - - /*jshint eqeqeq:false */ - if ( b instanceof a.constructor || a instanceof b.constructor ) { - - // to catch short annotation VS 'new' annotation of a - // declaration - // e.g. var i = 1; - // var j = new Number(1); - return a == b; - } else { - return a === b; - } - } - - return { - "string": useStrictEquality, - "boolean": useStrictEquality, - "number": useStrictEquality, - "null": useStrictEquality, - "undefined": useStrictEquality, - - "nan": function( b ) { - return isNaN( b ); - }, - - "date": function( b, a ) { - return QUnit.objectType( b ) === "date" && a.valueOf() === b.valueOf(); - }, - - "regexp": function( b, a ) { - return QUnit.objectType( b ) === "regexp" && - - // the regex itself - a.source === b.source && - - // and its modifiers - a.global === b.global && - - // (gmi) ... - a.ignoreCase === b.ignoreCase && - a.multiline === b.multiline && - a.sticky === b.sticky; - }, - - // - skip when the property is a method of an instance (OOP) - // - abort otherwise, - // initial === would have catch identical references anyway - "function": function() { - var caller = callers[ callers.length - 1 ]; - return caller !== Object && typeof caller !== "undefined"; - }, - - "array": function( b, a ) { - var i, j, len, loop, aCircular, bCircular; - - // b could be an object literal here - if ( QUnit.objectType( b ) !== "array" ) { - return false; - } - - len = a.length; - if ( len !== b.length ) { - // safe and faster - return false; - } - - // track reference to avoid circular references - parents.push( a ); - parentsB.push( b ); - for ( i = 0; i < len; i++ ) { - loop = false; - for ( j = 0; j < parents.length; j++ ) { - aCircular = parents[ j ] === a[ i ]; - bCircular = parentsB[ j ] === b[ i ]; - if ( aCircular || bCircular ) { - if ( a[ i ] === b[ i ] || aCircular && bCircular ) { - loop = true; - } else { - parents.pop(); - parentsB.pop(); - return false; - } - } - } - if ( !loop && !innerEquiv( a[ i ], b[ i ] ) ) { - parents.pop(); - parentsB.pop(); - return false; - } - } - parents.pop(); - parentsB.pop(); - return true; - }, - - "set": function( b, a ) { - var aArray, bArray; - - // b could be any object here - if ( QUnit.objectType( b ) !== "set" ) { - return false; - } - - aArray = []; - a.forEach( function( v ) { - aArray.push( v ); - }); - bArray = []; - b.forEach( function( v ) { - bArray.push( v ); - }); - - return innerEquiv( bArray, aArray ); - }, - - "map": function( b, a ) { - var aArray, bArray; - - // b could be any object here - if ( QUnit.objectType( b ) !== "map" ) { - return false; - } - - aArray = []; - a.forEach( function( v, k ) { - aArray.push( [ k, v ] ); - }); - bArray = []; - b.forEach( function( v, k ) { - bArray.push( [ k, v ] ); - }); - - return innerEquiv( bArray, aArray ); - }, - - "object": function( b, a ) { - - /*jshint forin:false */ - var i, j, loop, aCircular, bCircular, - // Default to true - eq = true, - aProperties = [], - bProperties = []; - - // comparing constructors is more strict than using - // instanceof - if ( a.constructor !== b.constructor ) { - - // Allow objects with no prototype to be equivalent to - // objects with Object as their constructor. - if ( !( ( getProto( a ) === null && getProto( b ) === Object.prototype ) || - ( getProto( b ) === null && getProto( a ) === Object.prototype ) ) ) { - return false; - } - } - - // stack constructor before traversing properties - callers.push( a.constructor ); - - // track reference to avoid circular references - parents.push( a ); - parentsB.push( b ); - - // be strict: don't ensure hasOwnProperty and go deep - for ( i in a ) { - loop = false; - for ( j = 0; j < parents.length; j++ ) { - aCircular = parents[ j ] === a[ i ]; - bCircular = parentsB[ j ] === b[ i ]; - if ( aCircular || bCircular ) { - if ( a[ i ] === b[ i ] || aCircular && bCircular ) { - loop = true; - } else { - eq = false; - break; - } - } - } - aProperties.push( i ); - if ( !loop && !innerEquiv( a[ i ], b[ i ] ) ) { - eq = false; - break; - } - } - - parents.pop(); - parentsB.pop(); - callers.pop(); // unstack, we are done - - for ( i in b ) { - bProperties.push( i ); // collect b's properties - } - - // Ensures identical properties name - return eq && innerEquiv( aProperties.sort(), bProperties.sort() ); - } - }; - }()); - - innerEquiv = function() { // can take multiple arguments - var args = [].slice.apply( arguments ); - if ( args.length < 2 ) { - return true; // end transition - } - - return ( (function( a, b ) { - if ( a === b ) { - return true; // catch the most you can - } else if ( a === null || b === null || typeof a === "undefined" || - typeof b === "undefined" || - QUnit.objectType( a ) !== QUnit.objectType( b ) ) { - - // don't lose time with error prone cases - return false; - } else { - return bindCallbacks( a, callbacks, [ b, a ] ); - } - - // apply transition with (1..n) arguments - }( args[ 0 ], args[ 1 ] ) ) && - innerEquiv.apply( this, args.splice( 1, args.length - 1 ) ) ); - }; - - return innerEquiv; -}()); - -// Based on jsDump by Ariel Flesler -// http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html -QUnit.dump = (function() { - function quote( str ) { - return "\"" + str.toString().replace( /\\/g, "\\\\" ).replace( /"/g, "\\\"" ) + "\""; - } - function literal( o ) { - return o + ""; - } - function join( pre, arr, post ) { - var s = dump.separator(), - base = dump.indent(), - inner = dump.indent( 1 ); - if ( arr.join ) { - arr = arr.join( "," + s + inner ); - } - if ( !arr ) { - return pre + post; - } - return [ pre, inner + arr, base + post ].join( s ); - } - function array( arr, stack ) { - var i = arr.length, - ret = new Array( i ); - - if ( dump.maxDepth && dump.depth > dump.maxDepth ) { - return "[object Array]"; - } - - this.up(); - while ( i-- ) { - ret[ i ] = this.parse( arr[ i ], undefined, stack ); - } - this.down(); - return join( "[", ret, "]" ); - } - - var reName = /^function (\w+)/, - dump = { - - // objType is used mostly internally, you can fix a (custom) type in advance - parse: function( obj, objType, stack ) { - stack = stack || []; - var res, parser, parserType, - inStack = inArray( obj, stack ); - - if ( inStack !== -1 ) { - return "recursion(" + ( inStack - stack.length ) + ")"; - } - - objType = objType || this.typeOf( obj ); - parser = this.parsers[ objType ]; - parserType = typeof parser; - - if ( parserType === "function" ) { - stack.push( obj ); - res = parser.call( this, obj, stack ); - stack.pop(); - return res; - } - return ( parserType === "string" ) ? parser : this.parsers.error; - }, - typeOf: function( obj ) { - var type; - if ( obj === null ) { - type = "null"; - } else if ( typeof obj === "undefined" ) { - type = "undefined"; - } else if ( QUnit.is( "regexp", obj ) ) { - type = "regexp"; - } else if ( QUnit.is( "date", obj ) ) { - type = "date"; - } else if ( QUnit.is( "function", obj ) ) { - type = "function"; - } else if ( obj.setInterval !== undefined && - obj.document !== undefined && - obj.nodeType === undefined ) { - type = "window"; - } else if ( obj.nodeType === 9 ) { - type = "document"; - } else if ( obj.nodeType ) { - type = "node"; - } else if ( - - // native arrays - toString.call( obj ) === "[object Array]" || - - // NodeList objects - ( typeof obj.length === "number" && obj.item !== undefined && - ( obj.length ? obj.item( 0 ) === obj[ 0 ] : ( obj.item( 0 ) === null && - obj[ 0 ] === undefined ) ) ) - ) { - type = "array"; - } else if ( obj.constructor === Error.prototype.constructor ) { - type = "error"; - } else { - type = typeof obj; - } - return type; - }, - separator: function() { - return this.multiline ? this.HTML ? "
" : "\n" : this.HTML ? " " : " "; - }, - // extra can be a number, shortcut for increasing-calling-decreasing - indent: function( extra ) { - if ( !this.multiline ) { - return ""; - } - var chr = this.indentChar; - if ( this.HTML ) { - chr = chr.replace( /\t/g, " " ).replace( / /g, " " ); - } - return new Array( this.depth + ( extra || 0 ) ).join( chr ); - }, - up: function( a ) { - this.depth += a || 1; - }, - down: function( a ) { - this.depth -= a || 1; - }, - setParser: function( name, parser ) { - this.parsers[ name ] = parser; - }, - // The next 3 are exposed so you can use them - quote: quote, - literal: literal, - join: join, - // - depth: 1, - maxDepth: QUnit.config.maxDepth, - - // This is the list of parsers, to modify them, use dump.setParser - parsers: { - window: "[Window]", - document: "[Document]", - error: function( error ) { - return "Error(\"" + error.message + "\")"; - }, - unknown: "[Unknown]", - "null": "null", - "undefined": "undefined", - "function": function( fn ) { - var ret = "function", - - // functions never have name in IE - name = "name" in fn ? fn.name : ( reName.exec( fn ) || [] )[ 1 ]; - - if ( name ) { - ret += " " + name; - } - ret += "( "; - - ret = [ ret, dump.parse( fn, "functionArgs" ), "){" ].join( "" ); - return join( ret, dump.parse( fn, "functionCode" ), "}" ); - }, - array: array, - nodelist: array, - "arguments": array, - object: function( map, stack ) { - var keys, key, val, i, nonEnumerableProperties, - ret = []; - - if ( dump.maxDepth && dump.depth > dump.maxDepth ) { - return "[object Object]"; - } - - dump.up(); - keys = []; - for ( key in map ) { - keys.push( key ); - } - - // Some properties are not always enumerable on Error objects. - nonEnumerableProperties = [ "message", "name" ]; - for ( i in nonEnumerableProperties ) { - key = nonEnumerableProperties[ i ]; - if ( key in map && inArray( key, keys ) < 0 ) { - keys.push( key ); - } - } - keys.sort(); - for ( i = 0; i < keys.length; i++ ) { - key = keys[ i ]; - val = map[ key ]; - ret.push( dump.parse( key, "key" ) + ": " + - dump.parse( val, undefined, stack ) ); - } - dump.down(); - return join( "{", ret, "}" ); - }, - node: function( node ) { - var len, i, val, - open = dump.HTML ? "<" : "<", - close = dump.HTML ? ">" : ">", - tag = node.nodeName.toLowerCase(), - ret = open + tag, - attrs = node.attributes; - - if ( attrs ) { - for ( i = 0, len = attrs.length; i < len; i++ ) { - val = attrs[ i ].nodeValue; - - // IE6 includes all attributes in .attributes, even ones not explicitly - // set. Those have values like undefined, null, 0, false, "" or - // "inherit". - if ( val && val !== "inherit" ) { - ret += " " + attrs[ i ].nodeName + "=" + - dump.parse( val, "attribute" ); - } - } - } - ret += close; - - // Show content of TextNode or CDATASection - if ( node.nodeType === 3 || node.nodeType === 4 ) { - ret += node.nodeValue; - } - - return ret + open + "/" + tag + close; - }, - - // function calls it internally, it's the arguments part of the function - functionArgs: function( fn ) { - var args, - l = fn.length; - - if ( !l ) { - return ""; - } - - args = new Array( l ); - while ( l-- ) { - - // 97 is 'a' - args[ l ] = String.fromCharCode( 97 + l ); - } - return " " + args.join( ", " ) + " "; - }, - // object calls it internally, the key part of an item in a map - key: quote, - // function calls it internally, it's the content of the function - functionCode: "[code]", - // node calls it internally, it's an html attribute value - attribute: quote, - string: quote, - date: quote, - regexp: literal, - number: literal, - "boolean": literal - }, - // if true, entities are escaped ( <, >, \t, space and \n ) - HTML: false, - // indentation unit - indentChar: " ", - // if true, items in a collection, are separated by a \n, else just a space. - multiline: true - }; - - return dump; -}()); - -// back compat -QUnit.jsDump = QUnit.dump; - -// For browser, export only select globals -if ( defined.document ) { - - // Deprecated - // Extend assert methods to QUnit and Global scope through Backwards compatibility - (function() { - var i, - assertions = Assert.prototype; - - function applyCurrent( current ) { - return function() { - var assert = new Assert( QUnit.config.current ); - current.apply( assert, arguments ); - }; - } - - for ( i in assertions ) { - QUnit[ i ] = applyCurrent( assertions[ i ] ); - } - })(); - - (function() { - var i, l, - keys = [ - "test", - "module", - "expect", - "asyncTest", - "start", - "stop", - "ok", - "notOk", - "equal", - "notEqual", - "propEqual", - "notPropEqual", - "deepEqual", - "notDeepEqual", - "strictEqual", - "notStrictEqual", - "throws" - ]; - - for ( i = 0, l = keys.length; i < l; i++ ) { - window[ keys[ i ] ] = QUnit[ keys[ i ] ]; - } - })(); - - window.QUnit = QUnit; -} - -// For nodejs -if ( typeof module !== "undefined" && module && module.exports ) { - module.exports = QUnit; - - // For consistency with CommonJS environments' exports - module.exports.QUnit = QUnit; -} - -// For CommonJS with exports, but without module.exports, like Rhino -if ( typeof exports !== "undefined" && exports ) { - exports.QUnit = QUnit; -} - -if ( typeof define === "function" && define.amd ) { - define( function() { - return QUnit; - } ); - QUnit.config.autostart = false; -} - -/* - * This file is a modified version of google-diff-match-patch's JavaScript implementation - * (https://code.google.com/p/google-diff-match-patch/source/browse/trunk/javascript/diff_match_patch_uncompressed.js), - * modifications are licensed as more fully set forth in LICENSE.txt. - * - * The original source of google-diff-match-patch is attributable and licensed as follows: - * - * Copyright 2006 Google Inc. - * http://code.google.com/p/google-diff-match-patch/ - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * More Info: - * https://code.google.com/p/google-diff-match-patch/ - * - * Usage: QUnit.diff(expected, actual) - * - */ -QUnit.diff = ( function() { - function DiffMatchPatch() { - } - - // DIFF FUNCTIONS - - /** - * The data structure representing a diff is an array of tuples: - * [[DIFF_DELETE, 'Hello'], [DIFF_INSERT, 'Goodbye'], [DIFF_EQUAL, ' world.']] - * which means: delete 'Hello', add 'Goodbye' and keep ' world.' - */ - var DIFF_DELETE = -1, - DIFF_INSERT = 1, - DIFF_EQUAL = 0; - - /** - * Find the differences between two texts. Simplifies the problem by stripping - * any common prefix or suffix off the texts before diffing. - * @param {string} text1 Old string to be diffed. - * @param {string} text2 New string to be diffed. - * @param {boolean=} optChecklines Optional speedup flag. If present and false, - * then don't run a line-level diff first to identify the changed areas. - * Defaults to true, which does a faster, slightly less optimal diff. - * @return {!Array.} Array of diff tuples. - */ - DiffMatchPatch.prototype.DiffMain = function( text1, text2, optChecklines ) { - var deadline, checklines, commonlength, - commonprefix, commonsuffix, diffs; - - // The diff must be complete in up to 1 second. - deadline = ( new Date() ).getTime() + 1000; - - // Check for null inputs. - if ( text1 === null || text2 === null ) { - throw new Error( "Null input. (DiffMain)" ); - } - - // Check for equality (speedup). - if ( text1 === text2 ) { - if ( text1 ) { - return [ - [ DIFF_EQUAL, text1 ] - ]; - } - return []; - } - - if ( typeof optChecklines === "undefined" ) { - optChecklines = true; - } - - checklines = optChecklines; - - // Trim off common prefix (speedup). - commonlength = this.diffCommonPrefix( text1, text2 ); - commonprefix = text1.substring( 0, commonlength ); - text1 = text1.substring( commonlength ); - text2 = text2.substring( commonlength ); - - // Trim off common suffix (speedup). - commonlength = this.diffCommonSuffix( text1, text2 ); - commonsuffix = text1.substring( text1.length - commonlength ); - text1 = text1.substring( 0, text1.length - commonlength ); - text2 = text2.substring( 0, text2.length - commonlength ); - - // Compute the diff on the middle block. - diffs = this.diffCompute( text1, text2, checklines, deadline ); - - // Restore the prefix and suffix. - if ( commonprefix ) { - diffs.unshift( [ DIFF_EQUAL, commonprefix ] ); - } - if ( commonsuffix ) { - diffs.push( [ DIFF_EQUAL, commonsuffix ] ); - } - this.diffCleanupMerge( diffs ); - return diffs; - }; - - /** - * Reduce the number of edits by eliminating operationally trivial equalities. - * @param {!Array.} diffs Array of diff tuples. - */ - DiffMatchPatch.prototype.diffCleanupEfficiency = function( diffs ) { - var changes, equalities, equalitiesLength, lastequality, - pointer, preIns, preDel, postIns, postDel; - changes = false; - equalities = []; // Stack of indices where equalities are found. - equalitiesLength = 0; // Keeping our own length var is faster in JS. - /** @type {?string} */ - lastequality = null; - // Always equal to diffs[equalities[equalitiesLength - 1]][1] - pointer = 0; // Index of current position. - // Is there an insertion operation before the last equality. - preIns = false; - // Is there a deletion operation before the last equality. - preDel = false; - // Is there an insertion operation after the last equality. - postIns = false; - // Is there a deletion operation after the last equality. - postDel = false; - while ( pointer < diffs.length ) { - - // Equality found. - if ( diffs[ pointer ][ 0 ] === DIFF_EQUAL ) { - if ( diffs[ pointer ][ 1 ].length < 4 && ( postIns || postDel ) ) { - - // Candidate found. - equalities[ equalitiesLength++ ] = pointer; - preIns = postIns; - preDel = postDel; - lastequality = diffs[ pointer ][ 1 ]; - } else { - - // Not a candidate, and can never become one. - equalitiesLength = 0; - lastequality = null; - } - postIns = postDel = false; - - // An insertion or deletion. - } else { - - if ( diffs[ pointer ][ 0 ] === DIFF_DELETE ) { - postDel = true; - } else { - postIns = true; - } - - /* - * Five types to be split: - * ABXYCD - * AXCD - * ABXC - * AXCD - * ABXC - */ - if ( lastequality && ( ( preIns && preDel && postIns && postDel ) || - ( ( lastequality.length < 2 ) && - ( preIns + preDel + postIns + postDel ) === 3 ) ) ) { - - // Duplicate record. - diffs.splice( - equalities[ equalitiesLength - 1 ], - 0, - [ DIFF_DELETE, lastequality ] - ); - - // Change second copy to insert. - diffs[ equalities[ equalitiesLength - 1 ] + 1 ][ 0 ] = DIFF_INSERT; - equalitiesLength--; // Throw away the equality we just deleted; - lastequality = null; - if ( preIns && preDel ) { - // No changes made which could affect previous entry, keep going. - postIns = postDel = true; - equalitiesLength = 0; - } else { - equalitiesLength--; // Throw away the previous equality. - pointer = equalitiesLength > 0 ? equalities[ equalitiesLength - 1 ] : -1; - postIns = postDel = false; - } - changes = true; - } - } - pointer++; - } - - if ( changes ) { - this.diffCleanupMerge( diffs ); - } - }; - - /** - * Convert a diff array into a pretty HTML report. - * @param {!Array.} diffs Array of diff tuples. - * @param {integer} string to be beautified. - * @return {string} HTML representation. - */ - DiffMatchPatch.prototype.diffPrettyHtml = function( diffs ) { - var op, data, x, - html = []; - for ( x = 0; x < diffs.length; x++ ) { - op = diffs[ x ][ 0 ]; // Operation (insert, delete, equal) - data = diffs[ x ][ 1 ]; // Text of change. - switch ( op ) { - case DIFF_INSERT: - html[ x ] = "" + data + ""; - break; - case DIFF_DELETE: - html[ x ] = "" + data + ""; - break; - case DIFF_EQUAL: - html[ x ] = "" + data + ""; - break; - } - } - return html.join( "" ); - }; - - /** - * Determine the common prefix of two strings. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {number} The number of characters common to the start of each - * string. - */ - DiffMatchPatch.prototype.diffCommonPrefix = function( text1, text2 ) { - var pointermid, pointermax, pointermin, pointerstart; - // Quick check for common null cases. - if ( !text1 || !text2 || text1.charAt( 0 ) !== text2.charAt( 0 ) ) { - return 0; - } - // Binary search. - // Performance analysis: http://neil.fraser.name/news/2007/10/09/ - pointermin = 0; - pointermax = Math.min( text1.length, text2.length ); - pointermid = pointermax; - pointerstart = 0; - while ( pointermin < pointermid ) { - if ( text1.substring( pointerstart, pointermid ) === - text2.substring( pointerstart, pointermid ) ) { - pointermin = pointermid; - pointerstart = pointermin; - } else { - pointermax = pointermid; - } - pointermid = Math.floor( ( pointermax - pointermin ) / 2 + pointermin ); - } - return pointermid; - }; - - /** - * Determine the common suffix of two strings. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {number} The number of characters common to the end of each string. - */ - DiffMatchPatch.prototype.diffCommonSuffix = function( text1, text2 ) { - var pointermid, pointermax, pointermin, pointerend; - // Quick check for common null cases. - if ( !text1 || - !text2 || - text1.charAt( text1.length - 1 ) !== text2.charAt( text2.length - 1 ) ) { - return 0; - } - // Binary search. - // Performance analysis: http://neil.fraser.name/news/2007/10/09/ - pointermin = 0; - pointermax = Math.min( text1.length, text2.length ); - pointermid = pointermax; - pointerend = 0; - while ( pointermin < pointermid ) { - if ( text1.substring( text1.length - pointermid, text1.length - pointerend ) === - text2.substring( text2.length - pointermid, text2.length - pointerend ) ) { - pointermin = pointermid; - pointerend = pointermin; - } else { - pointermax = pointermid; - } - pointermid = Math.floor( ( pointermax - pointermin ) / 2 + pointermin ); - } - return pointermid; - }; - - /** - * Find the differences between two texts. Assumes that the texts do not - * have any common prefix or suffix. - * @param {string} text1 Old string to be diffed. - * @param {string} text2 New string to be diffed. - * @param {boolean} checklines Speedup flag. If false, then don't run a - * line-level diff first to identify the changed areas. - * If true, then run a faster, slightly less optimal diff. - * @param {number} deadline Time when the diff should be complete by. - * @return {!Array.} Array of diff tuples. - * @private - */ - DiffMatchPatch.prototype.diffCompute = function( text1, text2, checklines, deadline ) { - var diffs, longtext, shorttext, i, hm, - text1A, text2A, text1B, text2B, - midCommon, diffsA, diffsB; - - if ( !text1 ) { - // Just add some text (speedup). - return [ - [ DIFF_INSERT, text2 ] - ]; - } - - if ( !text2 ) { - // Just delete some text (speedup). - return [ - [ DIFF_DELETE, text1 ] - ]; - } - - longtext = text1.length > text2.length ? text1 : text2; - shorttext = text1.length > text2.length ? text2 : text1; - i = longtext.indexOf( shorttext ); - if ( i !== -1 ) { - // Shorter text is inside the longer text (speedup). - diffs = [ - [ DIFF_INSERT, longtext.substring( 0, i ) ], - [ DIFF_EQUAL, shorttext ], - [ DIFF_INSERT, longtext.substring( i + shorttext.length ) ] - ]; - // Swap insertions for deletions if diff is reversed. - if ( text1.length > text2.length ) { - diffs[ 0 ][ 0 ] = diffs[ 2 ][ 0 ] = DIFF_DELETE; - } - return diffs; - } - - if ( shorttext.length === 1 ) { - // Single character string. - // After the previous speedup, the character can't be an equality. - return [ - [ DIFF_DELETE, text1 ], - [ DIFF_INSERT, text2 ] - ]; - } - - // Check to see if the problem can be split in two. - hm = this.diffHalfMatch( text1, text2 ); - if ( hm ) { - // A half-match was found, sort out the return data. - text1A = hm[ 0 ]; - text1B = hm[ 1 ]; - text2A = hm[ 2 ]; - text2B = hm[ 3 ]; - midCommon = hm[ 4 ]; - // Send both pairs off for separate processing. - diffsA = this.DiffMain( text1A, text2A, checklines, deadline ); - diffsB = this.DiffMain( text1B, text2B, checklines, deadline ); - // Merge the results. - return diffsA.concat( [ - [ DIFF_EQUAL, midCommon ] - ], diffsB ); - } - - if ( checklines && text1.length > 100 && text2.length > 100 ) { - return this.diffLineMode( text1, text2, deadline ); - } - - return this.diffBisect( text1, text2, deadline ); - }; - - /** - * Do the two texts share a substring which is at least half the length of the - * longer text? - * This speedup can produce non-minimal diffs. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {Array.} Five element Array, containing the prefix of - * text1, the suffix of text1, the prefix of text2, the suffix of - * text2 and the common middle. Or null if there was no match. - * @private - */ - DiffMatchPatch.prototype.diffHalfMatch = function( text1, text2 ) { - var longtext, shorttext, dmp, - text1A, text2B, text2A, text1B, midCommon, - hm1, hm2, hm; - - longtext = text1.length > text2.length ? text1 : text2; - shorttext = text1.length > text2.length ? text2 : text1; - if ( longtext.length < 4 || shorttext.length * 2 < longtext.length ) { - return null; // Pointless. - } - dmp = this; // 'this' becomes 'window' in a closure. - - /** - * Does a substring of shorttext exist within longtext such that the substring - * is at least half the length of longtext? - * Closure, but does not reference any external variables. - * @param {string} longtext Longer string. - * @param {string} shorttext Shorter string. - * @param {number} i Start index of quarter length substring within longtext. - * @return {Array.} Five element Array, containing the prefix of - * longtext, the suffix of longtext, the prefix of shorttext, the suffix - * of shorttext and the common middle. Or null if there was no match. - * @private - */ - function diffHalfMatchI( longtext, shorttext, i ) { - var seed, j, bestCommon, prefixLength, suffixLength, - bestLongtextA, bestLongtextB, bestShorttextA, bestShorttextB; - // Start with a 1/4 length substring at position i as a seed. - seed = longtext.substring( i, i + Math.floor( longtext.length / 4 ) ); - j = -1; - bestCommon = ""; - while ( ( j = shorttext.indexOf( seed, j + 1 ) ) !== -1 ) { - prefixLength = dmp.diffCommonPrefix( longtext.substring( i ), - shorttext.substring( j ) ); - suffixLength = dmp.diffCommonSuffix( longtext.substring( 0, i ), - shorttext.substring( 0, j ) ); - if ( bestCommon.length < suffixLength + prefixLength ) { - bestCommon = shorttext.substring( j - suffixLength, j ) + - shorttext.substring( j, j + prefixLength ); - bestLongtextA = longtext.substring( 0, i - suffixLength ); - bestLongtextB = longtext.substring( i + prefixLength ); - bestShorttextA = shorttext.substring( 0, j - suffixLength ); - bestShorttextB = shorttext.substring( j + prefixLength ); - } - } - if ( bestCommon.length * 2 >= longtext.length ) { - return [ bestLongtextA, bestLongtextB, - bestShorttextA, bestShorttextB, bestCommon - ]; - } else { - return null; - } - } - - // First check if the second quarter is the seed for a half-match. - hm1 = diffHalfMatchI( longtext, shorttext, - Math.ceil( longtext.length / 4 ) ); - // Check again based on the third quarter. - hm2 = diffHalfMatchI( longtext, shorttext, - Math.ceil( longtext.length / 2 ) ); - if ( !hm1 && !hm2 ) { - return null; - } else if ( !hm2 ) { - hm = hm1; - } else if ( !hm1 ) { - hm = hm2; - } else { - // Both matched. Select the longest. - hm = hm1[ 4 ].length > hm2[ 4 ].length ? hm1 : hm2; - } - - // A half-match was found, sort out the return data. - text1A, text1B, text2A, text2B; - if ( text1.length > text2.length ) { - text1A = hm[ 0 ]; - text1B = hm[ 1 ]; - text2A = hm[ 2 ]; - text2B = hm[ 3 ]; - } else { - text2A = hm[ 0 ]; - text2B = hm[ 1 ]; - text1A = hm[ 2 ]; - text1B = hm[ 3 ]; - } - midCommon = hm[ 4 ]; - return [ text1A, text1B, text2A, text2B, midCommon ]; - }; - - /** - * Do a quick line-level diff on both strings, then rediff the parts for - * greater accuracy. - * This speedup can produce non-minimal diffs. - * @param {string} text1 Old string to be diffed. - * @param {string} text2 New string to be diffed. - * @param {number} deadline Time when the diff should be complete by. - * @return {!Array.} Array of diff tuples. - * @private - */ - DiffMatchPatch.prototype.diffLineMode = function( text1, text2, deadline ) { - var a, diffs, linearray, pointer, countInsert, - countDelete, textInsert, textDelete, j; - // Scan the text on a line-by-line basis first. - a = this.diffLinesToChars( text1, text2 ); - text1 = a.chars1; - text2 = a.chars2; - linearray = a.lineArray; - - diffs = this.DiffMain( text1, text2, false, deadline ); - - // Convert the diff back to original text. - this.diffCharsToLines( diffs, linearray ); - // Eliminate freak matches (e.g. blank lines) - this.diffCleanupSemantic( diffs ); - - // Rediff any replacement blocks, this time character-by-character. - // Add a dummy entry at the end. - diffs.push( [ DIFF_EQUAL, "" ] ); - pointer = 0; - countDelete = 0; - countInsert = 0; - textDelete = ""; - textInsert = ""; - while ( pointer < diffs.length ) { - switch ( diffs[ pointer ][ 0 ] ) { - case DIFF_INSERT: - countInsert++; - textInsert += diffs[ pointer ][ 1 ]; - break; - case DIFF_DELETE: - countDelete++; - textDelete += diffs[ pointer ][ 1 ]; - break; - case DIFF_EQUAL: - // Upon reaching an equality, check for prior redundancies. - if ( countDelete >= 1 && countInsert >= 1 ) { - // Delete the offending records and add the merged ones. - diffs.splice( pointer - countDelete - countInsert, - countDelete + countInsert ); - pointer = pointer - countDelete - countInsert; - a = this.DiffMain( textDelete, textInsert, false, deadline ); - for ( j = a.length - 1; j >= 0; j-- ) { - diffs.splice( pointer, 0, a[ j ] ); - } - pointer = pointer + a.length; - } - countInsert = 0; - countDelete = 0; - textDelete = ""; - textInsert = ""; - break; - } - pointer++; - } - diffs.pop(); // Remove the dummy entry at the end. - - return diffs; - }; - - /** - * Find the 'middle snake' of a diff, split the problem in two - * and return the recursively constructed diff. - * See Myers 1986 paper: An O(ND) Difference Algorithm and Its Variations. - * @param {string} text1 Old string to be diffed. - * @param {string} text2 New string to be diffed. - * @param {number} deadline Time at which to bail if not yet complete. - * @return {!Array.} Array of diff tuples. - * @private - */ - DiffMatchPatch.prototype.diffBisect = function( text1, text2, deadline ) { - var text1Length, text2Length, maxD, vOffset, vLength, - v1, v2, x, delta, front, k1start, k1end, k2start, - k2end, k2Offset, k1Offset, x1, x2, y1, y2, d, k1, k2; - // Cache the text lengths to prevent multiple calls. - text1Length = text1.length; - text2Length = text2.length; - maxD = Math.ceil( ( text1Length + text2Length ) / 2 ); - vOffset = maxD; - vLength = 2 * maxD; - v1 = new Array( vLength ); - v2 = new Array( vLength ); - // Setting all elements to -1 is faster in Chrome & Firefox than mixing - // integers and undefined. - for ( x = 0; x < vLength; x++ ) { - v1[ x ] = -1; - v2[ x ] = -1; - } - v1[ vOffset + 1 ] = 0; - v2[ vOffset + 1 ] = 0; - delta = text1Length - text2Length; - // If the total number of characters is odd, then the front path will collide - // with the reverse path. - front = ( delta % 2 !== 0 ); - // Offsets for start and end of k loop. - // Prevents mapping of space beyond the grid. - k1start = 0; - k1end = 0; - k2start = 0; - k2end = 0; - for ( d = 0; d < maxD; d++ ) { - // Bail out if deadline is reached. - if ( ( new Date() ).getTime() > deadline ) { - break; - } - - // Walk the front path one step. - for ( k1 = -d + k1start; k1 <= d - k1end; k1 += 2 ) { - k1Offset = vOffset + k1; - if ( k1 === -d || ( k1 !== d && v1[ k1Offset - 1 ] < v1[ k1Offset + 1 ] ) ) { - x1 = v1[ k1Offset + 1 ]; - } else { - x1 = v1[ k1Offset - 1 ] + 1; - } - y1 = x1 - k1; - while ( x1 < text1Length && y1 < text2Length && - text1.charAt( x1 ) === text2.charAt( y1 ) ) { - x1++; - y1++; - } - v1[ k1Offset ] = x1; - if ( x1 > text1Length ) { - // Ran off the right of the graph. - k1end += 2; - } else if ( y1 > text2Length ) { - // Ran off the bottom of the graph. - k1start += 2; - } else if ( front ) { - k2Offset = vOffset + delta - k1; - if ( k2Offset >= 0 && k2Offset < vLength && v2[ k2Offset ] !== -1 ) { - // Mirror x2 onto top-left coordinate system. - x2 = text1Length - v2[ k2Offset ]; - if ( x1 >= x2 ) { - // Overlap detected. - return this.diffBisectSplit( text1, text2, x1, y1, deadline ); - } - } - } - } - - // Walk the reverse path one step. - for ( k2 = -d + k2start; k2 <= d - k2end; k2 += 2 ) { - k2Offset = vOffset + k2; - if ( k2 === -d || ( k2 !== d && v2[ k2Offset - 1 ] < v2[ k2Offset + 1 ] ) ) { - x2 = v2[ k2Offset + 1 ]; - } else { - x2 = v2[ k2Offset - 1 ] + 1; - } - y2 = x2 - k2; - while ( x2 < text1Length && y2 < text2Length && - text1.charAt( text1Length - x2 - 1 ) === - text2.charAt( text2Length - y2 - 1 ) ) { - x2++; - y2++; - } - v2[ k2Offset ] = x2; - if ( x2 > text1Length ) { - // Ran off the left of the graph. - k2end += 2; - } else if ( y2 > text2Length ) { - // Ran off the top of the graph. - k2start += 2; - } else if ( !front ) { - k1Offset = vOffset + delta - k2; - if ( k1Offset >= 0 && k1Offset < vLength && v1[ k1Offset ] !== -1 ) { - x1 = v1[ k1Offset ]; - y1 = vOffset + x1 - k1Offset; - // Mirror x2 onto top-left coordinate system. - x2 = text1Length - x2; - if ( x1 >= x2 ) { - // Overlap detected. - return this.diffBisectSplit( text1, text2, x1, y1, deadline ); - } - } - } - } - } - // Diff took too long and hit the deadline or - // number of diffs equals number of characters, no commonality at all. - return [ - [ DIFF_DELETE, text1 ], - [ DIFF_INSERT, text2 ] - ]; - }; - - /** - * Given the location of the 'middle snake', split the diff in two parts - * and recurse. - * @param {string} text1 Old string to be diffed. - * @param {string} text2 New string to be diffed. - * @param {number} x Index of split point in text1. - * @param {number} y Index of split point in text2. - * @param {number} deadline Time at which to bail if not yet complete. - * @return {!Array.} Array of diff tuples. - * @private - */ - DiffMatchPatch.prototype.diffBisectSplit = function( text1, text2, x, y, deadline ) { - var text1a, text1b, text2a, text2b, diffs, diffsb; - text1a = text1.substring( 0, x ); - text2a = text2.substring( 0, y ); - text1b = text1.substring( x ); - text2b = text2.substring( y ); - - // Compute both diffs serially. - diffs = this.DiffMain( text1a, text2a, false, deadline ); - diffsb = this.DiffMain( text1b, text2b, false, deadline ); - - return diffs.concat( diffsb ); - }; - - /** - * Reduce the number of edits by eliminating semantically trivial equalities. - * @param {!Array.} diffs Array of diff tuples. - */ - DiffMatchPatch.prototype.diffCleanupSemantic = function( diffs ) { - var changes, equalities, equalitiesLength, lastequality, - pointer, lengthInsertions2, lengthDeletions2, lengthInsertions1, - lengthDeletions1, deletion, insertion, overlapLength1, overlapLength2; - changes = false; - equalities = []; // Stack of indices where equalities are found. - equalitiesLength = 0; // Keeping our own length var is faster in JS. - /** @type {?string} */ - lastequality = null; - // Always equal to diffs[equalities[equalitiesLength - 1]][1] - pointer = 0; // Index of current position. - // Number of characters that changed prior to the equality. - lengthInsertions1 = 0; - lengthDeletions1 = 0; - // Number of characters that changed after the equality. - lengthInsertions2 = 0; - lengthDeletions2 = 0; - while ( pointer < diffs.length ) { - if ( diffs[ pointer ][ 0 ] === DIFF_EQUAL ) { // Equality found. - equalities[ equalitiesLength++ ] = pointer; - lengthInsertions1 = lengthInsertions2; - lengthDeletions1 = lengthDeletions2; - lengthInsertions2 = 0; - lengthDeletions2 = 0; - lastequality = diffs[ pointer ][ 1 ]; - } else { // An insertion or deletion. - if ( diffs[ pointer ][ 0 ] === DIFF_INSERT ) { - lengthInsertions2 += diffs[ pointer ][ 1 ].length; - } else { - lengthDeletions2 += diffs[ pointer ][ 1 ].length; - } - // Eliminate an equality that is smaller or equal to the edits on both - // sides of it. - if ( lastequality && ( lastequality.length <= - Math.max( lengthInsertions1, lengthDeletions1 ) ) && - ( lastequality.length <= Math.max( lengthInsertions2, - lengthDeletions2 ) ) ) { - - // Duplicate record. - diffs.splice( - equalities[ equalitiesLength - 1 ], - 0, - [ DIFF_DELETE, lastequality ] - ); - - // Change second copy to insert. - diffs[ equalities[ equalitiesLength - 1 ] + 1 ][ 0 ] = DIFF_INSERT; - - // Throw away the equality we just deleted. - equalitiesLength--; - - // Throw away the previous equality (it needs to be reevaluated). - equalitiesLength--; - pointer = equalitiesLength > 0 ? equalities[ equalitiesLength - 1 ] : -1; - - // Reset the counters. - lengthInsertions1 = 0; - lengthDeletions1 = 0; - lengthInsertions2 = 0; - lengthDeletions2 = 0; - lastequality = null; - changes = true; - } - } - pointer++; - } - - // Normalize the diff. - if ( changes ) { - this.diffCleanupMerge( diffs ); - } - - // Find any overlaps between deletions and insertions. - // e.g: abcxxxxxxdef - // -> abcxxxdef - // e.g: xxxabcdefxxx - // -> defxxxabc - // Only extract an overlap if it is as big as the edit ahead or behind it. - pointer = 1; - while ( pointer < diffs.length ) { - if ( diffs[ pointer - 1 ][ 0 ] === DIFF_DELETE && - diffs[ pointer ][ 0 ] === DIFF_INSERT ) { - deletion = diffs[ pointer - 1 ][ 1 ]; - insertion = diffs[ pointer ][ 1 ]; - overlapLength1 = this.diffCommonOverlap( deletion, insertion ); - overlapLength2 = this.diffCommonOverlap( insertion, deletion ); - if ( overlapLength1 >= overlapLength2 ) { - if ( overlapLength1 >= deletion.length / 2 || - overlapLength1 >= insertion.length / 2 ) { - // Overlap found. Insert an equality and trim the surrounding edits. - diffs.splice( - pointer, - 0, - [ DIFF_EQUAL, insertion.substring( 0, overlapLength1 ) ] - ); - diffs[ pointer - 1 ][ 1 ] = - deletion.substring( 0, deletion.length - overlapLength1 ); - diffs[ pointer + 1 ][ 1 ] = insertion.substring( overlapLength1 ); - pointer++; - } - } else { - if ( overlapLength2 >= deletion.length / 2 || - overlapLength2 >= insertion.length / 2 ) { - - // Reverse overlap found. - // Insert an equality and swap and trim the surrounding edits. - diffs.splice( - pointer, - 0, - [ DIFF_EQUAL, deletion.substring( 0, overlapLength2 ) ] - ); - - diffs[ pointer - 1 ][ 0 ] = DIFF_INSERT; - diffs[ pointer - 1 ][ 1 ] = - insertion.substring( 0, insertion.length - overlapLength2 ); - diffs[ pointer + 1 ][ 0 ] = DIFF_DELETE; - diffs[ pointer + 1 ][ 1 ] = - deletion.substring( overlapLength2 ); - pointer++; - } - } - pointer++; - } - pointer++; - } - }; - - /** - * Determine if the suffix of one string is the prefix of another. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {number} The number of characters common to the end of the first - * string and the start of the second string. - * @private - */ - DiffMatchPatch.prototype.diffCommonOverlap = function( text1, text2 ) { - var text1Length, text2Length, textLength, - best, length, pattern, found; - // Cache the text lengths to prevent multiple calls. - text1Length = text1.length; - text2Length = text2.length; - // Eliminate the null case. - if ( text1Length === 0 || text2Length === 0 ) { - return 0; - } - // Truncate the longer string. - if ( text1Length > text2Length ) { - text1 = text1.substring( text1Length - text2Length ); - } else if ( text1Length < text2Length ) { - text2 = text2.substring( 0, text1Length ); - } - textLength = Math.min( text1Length, text2Length ); - // Quick check for the worst case. - if ( text1 === text2 ) { - return textLength; - } - - // Start by looking for a single character match - // and increase length until no match is found. - // Performance analysis: http://neil.fraser.name/news/2010/11/04/ - best = 0; - length = 1; - while ( true ) { - pattern = text1.substring( textLength - length ); - found = text2.indexOf( pattern ); - if ( found === -1 ) { - return best; - } - length += found; - if ( found === 0 || text1.substring( textLength - length ) === - text2.substring( 0, length ) ) { - best = length; - length++; - } - } - }; - - /** - * Split two texts into an array of strings. Reduce the texts to a string of - * hashes where each Unicode character represents one line. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {{chars1: string, chars2: string, lineArray: !Array.}} - * An object containing the encoded text1, the encoded text2 and - * the array of unique strings. - * The zeroth element of the array of unique strings is intentionally blank. - * @private - */ - DiffMatchPatch.prototype.diffLinesToChars = function( text1, text2 ) { - var lineArray, lineHash, chars1, chars2; - lineArray = []; // e.g. lineArray[4] === 'Hello\n' - lineHash = {}; // e.g. lineHash['Hello\n'] === 4 - - // '\x00' is a valid character, but various debuggers don't like it. - // So we'll insert a junk entry to avoid generating a null character. - lineArray[ 0 ] = ""; - - /** - * Split a text into an array of strings. Reduce the texts to a string of - * hashes where each Unicode character represents one line. - * Modifies linearray and linehash through being a closure. - * @param {string} text String to encode. - * @return {string} Encoded string. - * @private - */ - function diffLinesToCharsMunge( text ) { - var chars, lineStart, lineEnd, lineArrayLength, line; - chars = ""; - // Walk the text, pulling out a substring for each line. - // text.split('\n') would would temporarily double our memory footprint. - // Modifying text would create many large strings to garbage collect. - lineStart = 0; - lineEnd = -1; - // Keeping our own length variable is faster than looking it up. - lineArrayLength = lineArray.length; - while ( lineEnd < text.length - 1 ) { - lineEnd = text.indexOf( "\n", lineStart ); - if ( lineEnd === -1 ) { - lineEnd = text.length - 1; - } - line = text.substring( lineStart, lineEnd + 1 ); - lineStart = lineEnd + 1; - - if ( lineHash.hasOwnProperty ? lineHash.hasOwnProperty( line ) : - ( lineHash[ line ] !== undefined ) ) { - chars += String.fromCharCode( lineHash[ line ] ); - } else { - chars += String.fromCharCode( lineArrayLength ); - lineHash[ line ] = lineArrayLength; - lineArray[ lineArrayLength++ ] = line; - } - } - return chars; - } - - chars1 = diffLinesToCharsMunge( text1 ); - chars2 = diffLinesToCharsMunge( text2 ); - return { - chars1: chars1, - chars2: chars2, - lineArray: lineArray - }; - }; - - /** - * Rehydrate the text in a diff from a string of line hashes to real lines of - * text. - * @param {!Array.} diffs Array of diff tuples. - * @param {!Array.} lineArray Array of unique strings. - * @private - */ - DiffMatchPatch.prototype.diffCharsToLines = function( diffs, lineArray ) { - var x, chars, text, y; - for ( x = 0; x < diffs.length; x++ ) { - chars = diffs[ x ][ 1 ]; - text = []; - for ( y = 0; y < chars.length; y++ ) { - text[ y ] = lineArray[ chars.charCodeAt( y ) ]; - } - diffs[ x ][ 1 ] = text.join( "" ); - } - }; - - /** - * Reorder and merge like edit sections. Merge equalities. - * Any edit section can move as long as it doesn't cross an equality. - * @param {!Array.} diffs Array of diff tuples. - */ - DiffMatchPatch.prototype.diffCleanupMerge = function( diffs ) { - var pointer, countDelete, countInsert, textInsert, textDelete, - commonlength, changes, diffPointer, position; - diffs.push( [ DIFF_EQUAL, "" ] ); // Add a dummy entry at the end. - pointer = 0; - countDelete = 0; - countInsert = 0; - textDelete = ""; - textInsert = ""; - commonlength; - while ( pointer < diffs.length ) { - switch ( diffs[ pointer ][ 0 ] ) { - case DIFF_INSERT: - countInsert++; - textInsert += diffs[ pointer ][ 1 ]; - pointer++; - break; - case DIFF_DELETE: - countDelete++; - textDelete += diffs[ pointer ][ 1 ]; - pointer++; - break; - case DIFF_EQUAL: - // Upon reaching an equality, check for prior redundancies. - if ( countDelete + countInsert > 1 ) { - if ( countDelete !== 0 && countInsert !== 0 ) { - // Factor out any common prefixies. - commonlength = this.diffCommonPrefix( textInsert, textDelete ); - if ( commonlength !== 0 ) { - if ( ( pointer - countDelete - countInsert ) > 0 && - diffs[ pointer - countDelete - countInsert - 1 ][ 0 ] === - DIFF_EQUAL ) { - diffs[ pointer - countDelete - countInsert - 1 ][ 1 ] += - textInsert.substring( 0, commonlength ); - } else { - diffs.splice( 0, 0, [ DIFF_EQUAL, - textInsert.substring( 0, commonlength ) - ] ); - pointer++; - } - textInsert = textInsert.substring( commonlength ); - textDelete = textDelete.substring( commonlength ); - } - // Factor out any common suffixies. - commonlength = this.diffCommonSuffix( textInsert, textDelete ); - if ( commonlength !== 0 ) { - diffs[ pointer ][ 1 ] = textInsert.substring( textInsert.length - - commonlength ) + diffs[ pointer ][ 1 ]; - textInsert = textInsert.substring( 0, textInsert.length - - commonlength ); - textDelete = textDelete.substring( 0, textDelete.length - - commonlength ); - } - } - // Delete the offending records and add the merged ones. - if ( countDelete === 0 ) { - diffs.splice( pointer - countInsert, - countDelete + countInsert, [ DIFF_INSERT, textInsert ] ); - } else if ( countInsert === 0 ) { - diffs.splice( pointer - countDelete, - countDelete + countInsert, [ DIFF_DELETE, textDelete ] ); - } else { - diffs.splice( - pointer - countDelete - countInsert, - countDelete + countInsert, - [ DIFF_DELETE, textDelete ], [ DIFF_INSERT, textInsert ] - ); - } - pointer = pointer - countDelete - countInsert + - ( countDelete ? 1 : 0 ) + ( countInsert ? 1 : 0 ) + 1; - } else if ( pointer !== 0 && diffs[ pointer - 1 ][ 0 ] === DIFF_EQUAL ) { - - // Merge this equality with the previous one. - diffs[ pointer - 1 ][ 1 ] += diffs[ pointer ][ 1 ]; - diffs.splice( pointer, 1 ); - } else { - pointer++; - } - countInsert = 0; - countDelete = 0; - textDelete = ""; - textInsert = ""; - break; - } - } - if ( diffs[ diffs.length - 1 ][ 1 ] === "" ) { - diffs.pop(); // Remove the dummy entry at the end. - } - - // Second pass: look for single edits surrounded on both sides by equalities - // which can be shifted sideways to eliminate an equality. - // e.g: ABAC -> ABAC - changes = false; - pointer = 1; - - // Intentionally ignore the first and last element (don't need checking). - while ( pointer < diffs.length - 1 ) { - if ( diffs[ pointer - 1 ][ 0 ] === DIFF_EQUAL && - diffs[ pointer + 1 ][ 0 ] === DIFF_EQUAL ) { - - diffPointer = diffs[ pointer ][ 1 ]; - position = diffPointer.substring( - diffPointer.length - diffs[ pointer - 1 ][ 1 ].length - ); - - // This is a single edit surrounded by equalities. - if ( position === diffs[ pointer - 1 ][ 1 ] ) { - - // Shift the edit over the previous equality. - diffs[ pointer ][ 1 ] = diffs[ pointer - 1 ][ 1 ] + - diffs[ pointer ][ 1 ].substring( 0, diffs[ pointer ][ 1 ].length - - diffs[ pointer - 1 ][ 1 ].length ); - diffs[ pointer + 1 ][ 1 ] = - diffs[ pointer - 1 ][ 1 ] + diffs[ pointer + 1 ][ 1 ]; - diffs.splice( pointer - 1, 1 ); - changes = true; - } else if ( diffPointer.substring( 0, diffs[ pointer + 1 ][ 1 ].length ) === - diffs[ pointer + 1 ][ 1 ] ) { - - // Shift the edit over the next equality. - diffs[ pointer - 1 ][ 1 ] += diffs[ pointer + 1 ][ 1 ]; - diffs[ pointer ][ 1 ] = - diffs[ pointer ][ 1 ].substring( diffs[ pointer + 1 ][ 1 ].length ) + - diffs[ pointer + 1 ][ 1 ]; - diffs.splice( pointer + 1, 1 ); - changes = true; - } - } - pointer++; - } - // If shifts were made, the diff needs reordering and another shift sweep. - if ( changes ) { - this.diffCleanupMerge( diffs ); - } - }; - - return function( o, n ) { - var diff, output, text; - diff = new DiffMatchPatch(); - output = diff.DiffMain( o, n ); - diff.diffCleanupEfficiency( output ); - text = diff.diffPrettyHtml( output ); - - return text; - }; -}() ); - -// Get a reference to the global object, like window in browsers -}( (function() { - return this; -})() )); - -(function() { - -// Don't load the HTML Reporter on non-Browser environments -if ( typeof window === "undefined" || !window.document ) { - return; -} - -// Deprecated QUnit.init - Ref #530 -// Re-initialize the configuration options -QUnit.init = function() { - var tests, banner, result, qunit, - config = QUnit.config; - - config.stats = { all: 0, bad: 0 }; - config.moduleStats = { all: 0, bad: 0 }; - config.started = 0; - config.updateRate = 1000; - config.blocking = false; - config.autostart = true; - config.autorun = false; - config.filter = ""; - config.queue = []; - - // Return on non-browser environments - // This is necessary to not break on node tests - if ( typeof window === "undefined" ) { - return; - } - - qunit = id( "qunit" ); - if ( qunit ) { - qunit.innerHTML = - "

" + escapeText( document.title ) + "

" + - "

" + - "
" + - "

" + - "
    "; - } - - tests = id( "qunit-tests" ); - banner = id( "qunit-banner" ); - result = id( "qunit-testresult" ); - - if ( tests ) { - tests.innerHTML = ""; - } - - if ( banner ) { - banner.className = ""; - } - - if ( result ) { - result.parentNode.removeChild( result ); - } - - if ( tests ) { - result = document.createElement( "p" ); - result.id = "qunit-testresult"; - result.className = "result"; - tests.parentNode.insertBefore( result, tests ); - result.innerHTML = "Running...
     "; - } -}; - -var config = QUnit.config, - hasOwn = Object.prototype.hasOwnProperty, - defined = { - document: window.document !== undefined, - sessionStorage: (function() { - var x = "qunit-test-string"; - try { - sessionStorage.setItem( x, x ); - sessionStorage.removeItem( x ); - return true; - } catch ( e ) { - return false; - } - }()) - }, - modulesList = []; - -/** -* Escape text for attribute or text content. -*/ -function escapeText( s ) { - if ( !s ) { - return ""; - } - s = s + ""; - - // Both single quotes and double quotes (for attributes) - return s.replace( /['"<>&]/g, function( s ) { - switch ( s ) { - case "'": - return "'"; - case "\"": - return """; - case "<": - return "<"; - case ">": - return ">"; - case "&": - return "&"; - } - }); -} - -/** - * @param {HTMLElement} elem - * @param {string} type - * @param {Function} fn - */ -function addEvent( elem, type, fn ) { - if ( elem.addEventListener ) { - - // Standards-based browsers - elem.addEventListener( type, fn, false ); - } else if ( elem.attachEvent ) { - - // support: IE <9 - elem.attachEvent( "on" + type, function() { - var event = window.event; - if ( !event.target ) { - event.target = event.srcElement || document; - } - - fn.call( elem, event ); - }); - } -} - -/** - * @param {Array|NodeList} elems - * @param {string} type - * @param {Function} fn - */ -function addEvents( elems, type, fn ) { - var i = elems.length; - while ( i-- ) { - addEvent( elems[ i ], type, fn ); - } -} - -function hasClass( elem, name ) { - return ( " " + elem.className + " " ).indexOf( " " + name + " " ) >= 0; -} - -function addClass( elem, name ) { - if ( !hasClass( elem, name ) ) { - elem.className += ( elem.className ? " " : "" ) + name; - } -} - -function toggleClass( elem, name ) { - if ( hasClass( elem, name ) ) { - removeClass( elem, name ); - } else { - addClass( elem, name ); - } -} - -function removeClass( elem, name ) { - var set = " " + elem.className + " "; - - // Class name may appear multiple times - while ( set.indexOf( " " + name + " " ) >= 0 ) { - set = set.replace( " " + name + " ", " " ); - } - - // trim for prettiness - elem.className = typeof set.trim === "function" ? set.trim() : set.replace( /^\s+|\s+$/g, "" ); -} - -function id( name ) { - return defined.document && document.getElementById && document.getElementById( name ); -} - -function getUrlConfigHtml() { - var i, j, val, - escaped, escapedTooltip, - selection = false, - len = config.urlConfig.length, - urlConfigHtml = ""; - - for ( i = 0; i < len; i++ ) { - val = config.urlConfig[ i ]; - if ( typeof val === "string" ) { - val = { - id: val, - label: val - }; - } - - escaped = escapeText( val.id ); - escapedTooltip = escapeText( val.tooltip ); - - if ( config[ val.id ] === undefined ) { - config[ val.id ] = QUnit.urlParams[ val.id ]; - } - - if ( !val.value || typeof val.value === "string" ) { - urlConfigHtml += ""; - } else { - urlConfigHtml += ""; - } - } - - return urlConfigHtml; -} - -// Handle "click" events on toolbar checkboxes and "change" for select menus. -// Updates the URL with the new state of `config.urlConfig` values. -function toolbarChanged() { - var updatedUrl, value, - field = this, - params = {}; - - // Detect if field is a select menu or a checkbox - if ( "selectedIndex" in field ) { - value = field.options[ field.selectedIndex ].value || undefined; - } else { - value = field.checked ? ( field.defaultValue || true ) : undefined; - } - - params[ field.name ] = value; - updatedUrl = setUrl( params ); - - if ( "hidepassed" === field.name && "replaceState" in window.history ) { - config[ field.name ] = value || false; - if ( value ) { - addClass( id( "qunit-tests" ), "hidepass" ); - } else { - removeClass( id( "qunit-tests" ), "hidepass" ); - } - - // It is not necessary to refresh the whole page - window.history.replaceState( null, "", updatedUrl ); - } else { - window.location = updatedUrl; - } -} - -function setUrl( params ) { - var key, - querystring = "?"; - - params = QUnit.extend( QUnit.extend( {}, QUnit.urlParams ), params ); - - for ( key in params ) { - if ( hasOwn.call( params, key ) ) { - if ( params[ key ] === undefined ) { - continue; - } - querystring += encodeURIComponent( key ); - if ( params[ key ] !== true ) { - querystring += "=" + encodeURIComponent( params[ key ] ); - } - querystring += "&"; - } - } - return location.protocol + "//" + location.host + - location.pathname + querystring.slice( 0, -1 ); -} - -function applyUrlParams() { - var selectedModule, - modulesList = id( "qunit-modulefilter" ), - filter = id( "qunit-filter-input" ).value; - - selectedModule = modulesList ? - decodeURIComponent( modulesList.options[ modulesList.selectedIndex ].value ) : - undefined; - - window.location = setUrl({ - module: ( selectedModule === "" ) ? undefined : selectedModule, - filter: ( filter === "" ) ? undefined : filter, - - // Remove testId filter - testId: undefined - }); -} - -function toolbarUrlConfigContainer() { - var urlConfigContainer = document.createElement( "span" ); - - urlConfigContainer.innerHTML = getUrlConfigHtml(); - addClass( urlConfigContainer, "qunit-url-config" ); - - // For oldIE support: - // * Add handlers to the individual elements instead of the container - // * Use "click" instead of "change" for checkboxes - addEvents( urlConfigContainer.getElementsByTagName( "input" ), "click", toolbarChanged ); - addEvents( urlConfigContainer.getElementsByTagName( "select" ), "change", toolbarChanged ); - - return urlConfigContainer; -} - -function toolbarLooseFilter() { - var filter = document.createElement( "form" ), - label = document.createElement( "label" ), - input = document.createElement( "input" ), - button = document.createElement( "button" ); - - addClass( filter, "qunit-filter" ); - - label.innerHTML = "Filter: "; - - input.type = "text"; - input.value = config.filter || ""; - input.name = "filter"; - input.id = "qunit-filter-input"; - - button.innerHTML = "Go"; - - label.appendChild( input ); - - filter.appendChild( label ); - filter.appendChild( button ); - addEvent( filter, "submit", function( ev ) { - applyUrlParams(); - - if ( ev && ev.preventDefault ) { - ev.preventDefault(); - } - - return false; - }); - - return filter; -} - -function toolbarModuleFilterHtml() { - var i, - moduleFilterHtml = ""; - - if ( !modulesList.length ) { - return false; - } - - modulesList.sort(function( a, b ) { - return a.localeCompare( b ); - }); - - moduleFilterHtml += "" + - ""; - - return moduleFilterHtml; -} - -function toolbarModuleFilter() { - var toolbar = id( "qunit-testrunner-toolbar" ), - moduleFilter = document.createElement( "span" ), - moduleFilterHtml = toolbarModuleFilterHtml(); - - if ( !toolbar || !moduleFilterHtml ) { - return false; - } - - moduleFilter.setAttribute( "id", "qunit-modulefilter-container" ); - moduleFilter.innerHTML = moduleFilterHtml; - - addEvent( moduleFilter.lastChild, "change", applyUrlParams ); - - toolbar.appendChild( moduleFilter ); -} - -function appendToolbar() { - var toolbar = id( "qunit-testrunner-toolbar" ); - - if ( toolbar ) { - toolbar.appendChild( toolbarUrlConfigContainer() ); - toolbar.appendChild( toolbarLooseFilter() ); - } -} - -function appendHeader() { - var header = id( "qunit-header" ); - - if ( header ) { - header.innerHTML = "" + header.innerHTML + " "; - } -} - -function appendBanner() { - var banner = id( "qunit-banner" ); - - if ( banner ) { - banner.className = ""; - } -} - -function appendTestResults() { - var tests = id( "qunit-tests" ), - result = id( "qunit-testresult" ); - - if ( result ) { - result.parentNode.removeChild( result ); - } - - if ( tests ) { - tests.innerHTML = ""; - result = document.createElement( "p" ); - result.id = "qunit-testresult"; - result.className = "result"; - tests.parentNode.insertBefore( result, tests ); - result.innerHTML = "Running...
     "; - } -} - -function storeFixture() { - var fixture = id( "qunit-fixture" ); - if ( fixture ) { - config.fixture = fixture.innerHTML; - } -} - -function appendUserAgent() { - var userAgent = id( "qunit-userAgent" ); - - if ( userAgent ) { - userAgent.innerHTML = ""; - userAgent.appendChild( - document.createTextNode( - "QUnit " + QUnit.version + "; " + navigator.userAgent - ) - ); - } -} - -function appendTestsList( modules ) { - var i, l, x, z, test, moduleObj; - - for ( i = 0, l = modules.length; i < l; i++ ) { - moduleObj = modules[ i ]; - - if ( moduleObj.name ) { - modulesList.push( moduleObj.name ); - } - - for ( x = 0, z = moduleObj.tests.length; x < z; x++ ) { - test = moduleObj.tests[ x ]; - - appendTest( test.name, test.testId, moduleObj.name ); - } - } -} - -function appendTest( name, testId, moduleName ) { - var title, rerunTrigger, testBlock, assertList, - tests = id( "qunit-tests" ); - - if ( !tests ) { - return; - } - - title = document.createElement( "strong" ); - title.innerHTML = getNameHtml( name, moduleName ); - - rerunTrigger = document.createElement( "a" ); - rerunTrigger.innerHTML = "Rerun"; - rerunTrigger.href = setUrl({ testId: testId }); - - testBlock = document.createElement( "li" ); - testBlock.appendChild( title ); - testBlock.appendChild( rerunTrigger ); - testBlock.id = "qunit-test-output-" + testId; - - assertList = document.createElement( "ol" ); - assertList.className = "qunit-assert-list"; - - testBlock.appendChild( assertList ); - - tests.appendChild( testBlock ); -} - -// HTML Reporter initialization and load -QUnit.begin(function( details ) { - var qunit = id( "qunit" ); - - // Fixture is the only one necessary to run without the #qunit element - storeFixture(); - - if ( qunit ) { - qunit.innerHTML = - "

    " + escapeText( document.title ) + "

    " + - "

    " + - "
    " + - "

    " + - "
      "; - } - - appendHeader(); - appendBanner(); - appendTestResults(); - appendUserAgent(); - appendToolbar(); - appendTestsList( details.modules ); - toolbarModuleFilter(); - - if ( qunit && config.hidepassed ) { - addClass( qunit.lastChild, "hidepass" ); - } -}); - -QUnit.done(function( details ) { - var i, key, - banner = id( "qunit-banner" ), - tests = id( "qunit-tests" ), - html = [ - "Tests completed in ", - details.runtime, - " milliseconds.
      ", - "", - details.passed, - " assertions of ", - details.total, - " passed, ", - details.failed, - " failed." - ].join( "" ); - - if ( banner ) { - banner.className = details.failed ? "qunit-fail" : "qunit-pass"; - } - - if ( tests ) { - id( "qunit-testresult" ).innerHTML = html; - } - - if ( config.altertitle && defined.document && document.title ) { - - // show ✖ for good, ✔ for bad suite result in title - // use escape sequences in case file gets loaded with non-utf-8-charset - document.title = [ - ( details.failed ? "\u2716" : "\u2714" ), - document.title.replace( /^[\u2714\u2716] /i, "" ) - ].join( " " ); - } - - // clear own sessionStorage items if all tests passed - if ( config.reorder && defined.sessionStorage && details.failed === 0 ) { - for ( i = 0; i < sessionStorage.length; i++ ) { - key = sessionStorage.key( i++ ); - if ( key.indexOf( "qunit-test-" ) === 0 ) { - sessionStorage.removeItem( key ); - } - } - } - - // scroll back to top to show results - if ( config.scrolltop && window.scrollTo ) { - window.scrollTo( 0, 0 ); - } -}); - -function getNameHtml( name, module ) { - var nameHtml = ""; - - if ( module ) { - nameHtml = "" + escapeText( module ) + ": "; - } - - nameHtml += "" + escapeText( name ) + ""; - - return nameHtml; -} - -QUnit.testStart(function( details ) { - var running, testBlock, bad; - - testBlock = id( "qunit-test-output-" + details.testId ); - if ( testBlock ) { - testBlock.className = "running"; - } else { - - // Report later registered tests - appendTest( details.name, details.testId, details.module ); - } - - running = id( "qunit-testresult" ); - if ( running ) { - bad = QUnit.config.reorder && defined.sessionStorage && - +sessionStorage.getItem( "qunit-test-" + details.module + "-" + details.name ); - - running.innerHTML = ( bad ? - "Rerunning previously failed test:
      " : - "Running:
      " ) + - getNameHtml( details.name, details.module ); - } - -}); - -function stripHtml( string ) { - // strip tags, html entity and whitespaces - return string.replace(/<\/?[^>]+(>|$)/g, "").replace(/\"/g, "").replace(/\s+/g, ""); -} - -QUnit.log(function( details ) { - var assertList, assertLi, - message, expected, actual, diff, - showDiff = false, - testItem = id( "qunit-test-output-" + details.testId ); - - if ( !testItem ) { - return; - } - - message = escapeText( details.message ) || ( details.result ? "okay" : "failed" ); - message = "" + message + ""; - message += "@ " + details.runtime + " ms"; - - // pushFailure doesn't provide details.expected - // when it calls, it's implicit to also not show expected and diff stuff - // Also, we need to check details.expected existence, as it can exist and be undefined - if ( !details.result && hasOwn.call( details, "expected" ) ) { - if ( details.negative ) { - expected = escapeText( "NOT " + QUnit.dump.parse( details.expected ) ); - } else { - expected = escapeText( QUnit.dump.parse( details.expected ) ); - } - - actual = escapeText( QUnit.dump.parse( details.actual ) ); - message += ""; - - if ( actual !== expected ) { - - message += ""; - - // Don't show diff if actual or expected are booleans - if ( !( /^(true|false)$/.test( actual ) ) && - !( /^(true|false)$/.test( expected ) ) ) { - diff = QUnit.diff( expected, actual ); - showDiff = stripHtml( diff ).length !== - stripHtml( expected ).length + - stripHtml( actual ).length; - } - - // Don't show diff if expected and actual are totally different - if ( showDiff ) { - message += ""; - } - } else if ( expected.indexOf( "[object Array]" ) !== -1 || - expected.indexOf( "[object Object]" ) !== -1 ) { - message += ""; - } - - if ( details.source ) { - message += ""; - } - - message += "
      Expected:
      " +
      -			expected +
      -			"
      Result:
      " +
      -				actual + "
      Diff:
      " +
      -					diff + "
      Message: " + - "Diff suppressed as the depth of object is more than current max depth (" + - QUnit.config.maxDepth + ").

      Hint: Use QUnit.dump.maxDepth to " + - " run with a higher max depth or " + - "Rerun without max depth.

      Source:
      " +
      -				escapeText( details.source ) + "
      "; - - // this occours when pushFailure is set and we have an extracted stack trace - } else if ( !details.result && details.source ) { - message += "" + - "" + - "
      Source:
      " +
      -			escapeText( details.source ) + "
      "; - } - - assertList = testItem.getElementsByTagName( "ol" )[ 0 ]; - - assertLi = document.createElement( "li" ); - assertLi.className = details.result ? "pass" : "fail"; - assertLi.innerHTML = message; - assertList.appendChild( assertLi ); -}); - -QUnit.testDone(function( details ) { - var testTitle, time, testItem, assertList, - good, bad, testCounts, skipped, sourceName, - tests = id( "qunit-tests" ); - - if ( !tests ) { - return; - } - - testItem = id( "qunit-test-output-" + details.testId ); - - assertList = testItem.getElementsByTagName( "ol" )[ 0 ]; - - good = details.passed; - bad = details.failed; - - // store result when possible - if ( config.reorder && defined.sessionStorage ) { - if ( bad ) { - sessionStorage.setItem( "qunit-test-" + details.module + "-" + details.name, bad ); - } else { - sessionStorage.removeItem( "qunit-test-" + details.module + "-" + details.name ); - } - } - - if ( bad === 0 ) { - addClass( assertList, "qunit-collapsed" ); - } - - // testItem.firstChild is the test name - testTitle = testItem.firstChild; - - testCounts = bad ? - "" + bad + ", " + "" + good + ", " : - ""; - - testTitle.innerHTML += " (" + testCounts + - details.assertions.length + ")"; - - if ( details.skipped ) { - testItem.className = "skipped"; - skipped = document.createElement( "em" ); - skipped.className = "qunit-skipped-label"; - skipped.innerHTML = "skipped"; - testItem.insertBefore( skipped, testTitle ); - } else { - addEvent( testTitle, "click", function() { - toggleClass( assertList, "qunit-collapsed" ); - }); - - testItem.className = bad ? "fail" : "pass"; - - time = document.createElement( "span" ); - time.className = "runtime"; - time.innerHTML = details.runtime + " ms"; - testItem.insertBefore( time, assertList ); - } - - // Show the source of the test when showing assertions - if ( details.source ) { - sourceName = document.createElement( "p" ); - sourceName.innerHTML = "Source: " + details.source; - addClass( sourceName, "qunit-source" ); - if ( bad === 0 ) { - addClass( sourceName, "qunit-collapsed" ); - } - addEvent( testTitle, "click", function() { - toggleClass( sourceName, "qunit-collapsed" ); - }); - testItem.appendChild( sourceName ); - } -}); - -if ( defined.document ) { - - // Avoid readyState issue with phantomjs - // Ref: #818 - var notPhantom = ( function( p ) { - return !( p && p.version && p.version.major > 0 ); - } )( window.phantom ); - - if ( notPhantom && document.readyState === "complete" ) { - QUnit.load(); - } else { - addEvent( window, "load", QUnit.load ); - } -} else { - config.pageLoaded = true; - config.autorun = true; -} - -})(); diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 493e8555..de5d2c5c 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -12,9 +12,14 @@ - + + + + + + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ceaf756d..6968a967 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js new file mode 100644 index 00000000..aca652e4 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -0,0 +1,179 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.AuthenticationApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetEntityToken: function (request, callback, customData, extraHeaders) { + var authKey = null; var authValue = null; + if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } + if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } + var overloadCallback = function (result, error) { + if (result != null && result.data.EntityToken != null) + PlayFab._internalSettings.entityToken = result.data.EntityToken; + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); + }, +}; + +var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 53d6317f..6e08c731 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -364,6 +382,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -384,6 +407,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -487,6 +515,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -507,6 +540,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -594,6 +632,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebookInstantGamesId", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithGameCenter: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -666,6 +722,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithNintendoSwitchDeviceId", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -878,6 +952,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -898,6 +977,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js new file mode 100644 index 00000000..77e7adaa --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -0,0 +1,171 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.CloudScriptApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabCloudScriptSDK = PlayFab.CloudScriptApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js new file mode 100644 index 00000000..0c49d90d --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -0,0 +1,201 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.DataApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + AbortFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + FinalizeFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetFiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + InitiateFileUploads: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetObjects: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabDataSDK = PlayFab.DataApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js new file mode 100644 index 00000000..5f76dd93 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -0,0 +1,171 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.EventsApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + WriteEvents: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabEventsSDK = PlayFab.EventsApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js similarity index 68% rename from PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js rename to PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 46c83bd3..5e1afab8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEntityApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -1,4 +1,4 @@ -/// +/// var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {}; @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -137,17 +155,12 @@ PlayFab.GenerateErrorReport = function (error) { return fullErrors; }; -PlayFab.EntityApi = { +PlayFab.GroupsApi = { ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; PlayFab._internalSettings.entityToken = null; }, - AbortFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - AcceptGroupApplication: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -188,11 +201,6 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - DeleteFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - DeleteGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -203,64 +211,11 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - FinalizeFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetEntityToken: function (request, callback, customData, extraHeaders) { - var authKey = null; var authValue = null; - if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } - if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } - var overloadCallback = function (result, error) { - if (result != null && result.data.EntityToken != null) - PlayFab._internalSettings.entityToken = result.data.EntityToken; - if (callback != null && typeof (callback) == "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); - }, - - GetFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - GetGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/GetGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - GetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - GetProfiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - InitiateFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - InviteToGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/InviteToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -316,21 +271,6 @@ PlayFab.EntityApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - SetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - SetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - - SetProfilePolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, - UnblockEntity: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UnblockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); @@ -345,12 +285,7 @@ PlayFab.EntityApi = { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, - - WriteEvents: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); - }, }; -var PlayFabEntitySDK = PlayFab.EntityApi; +var PlayFabGroupsSDK = PlayFab.GroupsApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 5a68ec7d..c461533e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js new file mode 100644 index 00000000..648dc359 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -0,0 +1,196 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of a function"; + + if (request == null) + request = {}; + + var startTime = new Date(); + var requestBody = JSON.stringify(request); + + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + + 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; +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.ProfilesApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetProfile: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetProfiles: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetGlobalPolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetProfileLanguage: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfileLanguage", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + SetProfilePolicy: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabProfilesSDK = PlayFab.ProfilesApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 9e6610c1..1aec61a7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,7 +21,10 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.27.180716", + sdkVersion: "1.28.180809", + requestGetParams: { + sdk: "JavaScriptSDK-1.28.180809" + }, sessionTicket: null, productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", @@ -47,7 +50,7 @@ if(!PlayFab._internalSettings) { } }, - ExecuteRequest: function (completeUrl, request, authkey, authValue, callback, customData, extraHeaders) { + ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { if (callback != null && typeof (callback) != "function") throw "Callback must be null of a function"; @@ -57,6 +60,21 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); + var completeUrl = url; + var getParams = PlayFab._internalSettings.requestGetParams; + if (getParams != null) { + var firstParam = true; + for (var key in getParams) { + if (firstParam) { + completeUrl += "?"; + firstParam = false; + } else { + completeUrl += "&"; + } + completeUrl += key + "=" + getParams[key]; + } + } + var xhr = new XMLHttpRequest(); // window.console.log("URL: " + completeUrl); xhr.open("POST", completeUrl, true); @@ -125,8 +143,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_0"; -PlayFab.sdkVersion = "1.27.180716"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; +PlayFab.sdkVersion = "1.28.180809"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -343,6 +361,16 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 87c8ba94..859e8aa3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -1,8 +1,13 @@ /// /// -/// /// /// +/// +/// +/// +/// +/// +/// declare module PlayFabModule { export interface ISettings { @@ -41,15 +46,25 @@ declare var PlayFab: { settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; ClientApi: PlayFabClientModule.IPlayFabClient; - EntityApi: PlayFabEntityModule.IPlayFabEntity; MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; ServerApi: PlayFabServerModule.IPlayFabServer; + AuthenticationApi: PlayFabAuthenticationModule.IPlayFabAuthentication; + CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; + DataApi: PlayFabDataModule.IPlayFabData; + EventsApi: PlayFabEventsModule.IPlayFabEvents; + GroupsApi: PlayFabGroupsModule.IPlayFabGroups; + ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; }; // Continue to support older usage declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; -declare var PlayFabEntitySDK: PlayFabEntityModule.IPlayFabEntity; declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; +declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthentication; +declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; +declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; +declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; +declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; +declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b14f6b75..3717732f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2071,6 +2071,12 @@ declare module PlayFabAdminModels { | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" + | "PerEntityEventRateLimitExceeded" + | "TitleDefaultLanguageNotSet" + | "EmailTemplateMissingDefaultVersion" + | "FacebookInstantGamesIdNotLinked" + | "InvalidFacebookInstantGamesSignature" + | "FacebookInstantGamesAuthNotConfiguredForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2081,12 +2087,12 @@ declare module PlayFabAdminModels { | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" - | "MatchmakingHopperIdMissing" + | "MatchmakingQueueNameMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" - | "MatchmakingHopperConfigNotFound" + | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" @@ -2100,9 +2106,12 @@ declare module PlayFabAdminModels { | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperIdInvalid" - | "MatchmakingHopperConfigInvalid" - | "MatchmakingMemberProfileInvalid"; + | "MatchmakingQueueNameInvalid" + | "MatchmakingQueueConfigInvalid" + | "MatchmakingMemberProfileInvalid" + | "WriteAttemptedDuringExport" + | "NintendoSwitchDeviceIdNotLinked" + | "MatchmakingNotEnabled"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2265,10 +2274,16 @@ declare module PlayFabAdminModels { Players?: string[]; /** region in which the Game Server Instance is running */ Region?: string; - /** IP address for this Game Server Instance */ + /** IPV4 address of the game server instance */ ServerAddress?: 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 */ @@ -2909,7 +2924,11 @@ declare module PlayFabAdminModels { | "IOSDevice" | "AndroidDevice" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { @@ -3184,7 +3203,7 @@ declare module PlayFabAdminModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -4256,7 +4275,10 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "ServerCustomId" + | "NintendoSwitchDeviceId" + | "FacebookInstantGamesId"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts new file mode 100644 index 00000000..f0b2cb9d --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -0,0 +1,55 @@ +/// + +declare module PlayFabAuthenticationModule { + export interface IPlayFabAuthentication { + ForgetAllCredentials(): void; + + /** + * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid + * Entity Token. + * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken + */ + GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabAuthenticationModels { + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ + export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenResponse */ + export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index ac34a39c..bee757c1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -244,6 +244,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Game identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookInstantGamesIds + */ + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center * Programming Guide as the Player Identifier). @@ -270,6 +275,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + */ + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -383,6 +393,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount */ LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Facebook Instant Games Id to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkFacebookInstantGamesId + */ + LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount @@ -403,6 +418,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkKongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the NintendoSwitchDeviceId to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkNintendoSwitchDeviceId + */ + LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount @@ -444,6 +464,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithFacebook */ LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Facebook Instant Games ID, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user. Requires Facebook Instant Games to be configured. + * https://api.playfab.com/Documentation/Client/method/LoginWithFacebookInstantGamesId + */ + LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be * used for API calls which require an authenticated user @@ -466,6 +492,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithKongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithNintendoSwitchDeviceId + */ + LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of @@ -631,6 +663,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount */ UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Facebook Instant Game Ids from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookInstantGamesId + */ + UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Game Center account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount @@ -652,6 +689,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkKongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkNintendoSwitchDeviceId + */ + UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount @@ -1743,6 +1785,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookInstantGamesPlayFabIdPair */ + export interface FacebookInstantGamesPlayFabIdPair { + /** Unique Facebook Instant Games identifier for a user. */ + FacebookInstantGamesId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook Instant Games identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ @@ -1812,10 +1863,14 @@ declare module PlayFabClientModels { RunTime: number; /** IPV4 address of the server */ ServerHostname?: string; + /** IPV4 address of the server */ + ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; /** port number to use for non-http communications with the server */ ServerPort?: number; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; /** stastic used to match this game in player statistic matchmaking */ StatisticName?: string; /** game session tags */ @@ -2427,6 +2482,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + FacebookInstantGamesIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ + Data?: FacebookInstantGamesPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ @@ -2486,6 +2555,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + NintendoSwitchDeviceIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ + Data?: number[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -2900,6 +2983,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdRequest */ + export interface LinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Facebook Instant Games signature for the user. */ + FacebookInstantGamesSignature: string; + /** If another user is already linked to the Facebook Instant Games ID, unlink the other user and re-link. */ + ForceLink?: boolean; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdResult */ + export interface LinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -2965,6 +3062,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdRequest */ + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Nintendo Switch unique identifier for the user's device. */ + NintendoSwitchDeviceId: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdResult */ + export interface LinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3056,7 +3167,11 @@ declare module PlayFabClientModels { | "IOSDevice" | "AndroidDevice" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { @@ -3146,6 +3261,28 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookInstantGamesIdRequest */ + export interface LoginWithFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Facebook Instant Games signature for the user. */ + FacebookInstantGamesSignature: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ @@ -3265,6 +3402,28 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithNintendoSwitchDeviceIdRequest */ + export interface LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Nintendo Switch unique identifier for the user's device. */ + NintendoSwitchDeviceId?: string; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ @@ -3389,10 +3548,14 @@ declare module PlayFabClientModels { PollWaitTimeMS?: number; /** IPV4 address of the server */ ServerHostname?: string; + /** IPV4 address of the server */ + ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; /** port number to use for non-http communications with the server */ ServerPort?: number; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; /** result of match making process */ Status?: string; /** server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) */ @@ -3440,6 +3603,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NintendoSwitchPlayFabIdPair */ + export interface NintendoSwitchPlayFabIdPair { + /** Unique Nintendo Switch Device identifier for a user. */ + NintendoSwitchDeviceId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Device identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -3565,7 +3737,7 @@ declare module PlayFabClientModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -3977,10 +4149,14 @@ declare module PlayFabClientModels { Password?: string; /** server IPV4 address */ ServerHostname?: string; + /** server IPV4 address */ + ServerIPV4Address?: string; /** server IPV6 address */ ServerIPV6Address?: string; /** port on the server to be used for communication */ ServerPort?: number; + /** server public DNS name */ + ServerPublicDNSName?: string; /** unique identifier for the server */ Ticket?: string; @@ -4265,6 +4441,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdRequest */ + export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Facebook Instant Games identifier for the user. If not specified, the most recently signed in ID will be used. */ + FacebookInstantGamesId?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdResult */ + export interface UnlinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4310,6 +4498,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdRequest */ + export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdResult */ + export interface UnlinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4648,7 +4848,10 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "ServerCustomId" + | "NintendoSwitchDeviceId" + | "FacebookInstantGamesId"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts new file mode 100644 index 00000000..6d191390 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -0,0 +1,127 @@ +/// + +declare module PlayFabCloudScriptModule { + export interface IPlayFabCloudScript { + ForgetAllCredentials(): void; + + /** + * Executes CloudScript using the Entity Profile + * https://api.playfab.com/Documentation/CloudScript/method/ExecuteEntityCloudScript + */ + ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabCloudScriptModels { + type CloudScriptRevisionOption = "Live" + | "Latest" + | "Specific"; + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteCloudScriptResult */ + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + /** Number of PlayFab API requests issued by the CloudScript function */ + APIRequestsIssued: number; + /** Information about the error, if any, that occurred during execution */ + Error?: ScriptExecutionError; + ExecutionTimeSeconds: number; + /** The name of the function that executed */ + FunctionName?: string; + /** The object returned from the CloudScript function, if any */ + FunctionResult?: any; + /** + * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if + * the total event size is larger than 350KB. + */ + FunctionResultTooLarge?: boolean; + /** Number of external HTTP requests issued by the CloudScript function */ + HttpRequestsIssued: number; + /** + * Entries logged during the function execution. These include both entries logged in the function code using log.info() + * and log.error() and error entries for API and HTTP request failures. + */ + Logs?: LogStatement[]; + /** + * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total + * event size is larger than 350KB after the FunctionResult was removed. + */ + LogsTooLarge?: boolean; + MemoryConsumedBytes: number; + /** + * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP + * requests. + */ + ProcessorTimeSeconds: number; + /** The revision of the CloudScript that executed */ + Revision: number; + + } + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteEntityCloudScriptRequest */ + export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the CloudScript function to execute */ + FunctionName: string; + /** Object that is passed in to the function as the first argument */ + FunctionParameter?: any; + /** + * Generate a 'entity_executed_cloudscript' PlayStream event containing the results of the function execution and other + * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + /** + * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' + * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is + * 'Specific', if the SpecificRevision parameter is specified, otherwise it is 'Live'. + */ + RevisionSelection?: string; + /** The specific revision to execute, when RevisionSelection is set to 'Specific' */ + SpecificRevision?: number; + + } + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.LogStatement */ + export interface LogStatement { + /** Optional object accompanying the message as contextual information */ + Data?: any; + /** 'Debug', 'Info', or 'Error' */ + Level?: string; + Message?: string; + + } + + /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ScriptExecutionError */ + export interface ScriptExecutionError { + /** + * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, + * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError + */ + Error?: string; + /** Details about the error */ + Message?: string; + /** Point during the execution of the script at which the error occurred, if any */ + StackTrace?: string; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts new file mode 100644 index 00000000..8defe6f4 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -0,0 +1,292 @@ +/// + +declare module PlayFabDataModule { + export interface IPlayFabData { + ForgetAllCredentials(): void; + + /** + * Abort pending file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Data/method/AbortFileUploads + */ + AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete files on an entity's profile. + * https://api.playfab.com/Documentation/Data/method/DeleteFiles + */ + DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Finalize file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Data/method/FinalizeFileUploads + */ + FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves file metadata from an entity's profile. + * https://api.playfab.com/Documentation/Data/method/GetFiles + */ + GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves objects from an entity's profile. + * https://api.playfab.com/Documentation/Data/method/GetObjects + */ + GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Initiates file uploads to an entity's profile. + * https://api.playfab.com/Documentation/Data/method/InitiateFileUploads + */ + InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets objects on an entity's profile. + * https://api.playfab.com/Documentation/Data/method/SetObjects + */ + SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabDataModels { + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsRequest */ + export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to have their pending uploads aborted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsResponse */ + export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesRequest */ + export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be deleted. */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesResponse */ + export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsRequest */ + export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsResponse */ + export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFileMetadata */ + export interface GetFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Download URL where the file can be retrieved */ + DownloadUrl?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesRequest */ + export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesResponse */ + export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Collection of metadata for the entity's files */ + Metadata?: { [key: string]: GetFileMetadata }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsRequest */ + export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Determines whether the object will be returned as an escaped JSON string or as a un-escaped JSON object. Default is JSON + * object. + */ + EscapeObject?: boolean; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsResponse */ + export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** Requested objects that the calling entity has access to */ + Objects?: { [key: string]: ObjectResult }; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadMetadata */ + export interface InitiateFileUploadMetadata { + /** Name of the file. */ + FileName?: string; + /** Location the data should be sent to via an HTTP PUT operation. */ + UploadUrl?: string; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsRequest */ + export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + FileNames: string[]; + /** + * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not + * be performed. + */ + ProfileVersion?: number; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsResponse */ + export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** Collection of file names and upload urls */ + UploadDetails?: InitiateFileUploadMetadata[]; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.ObjectResult */ + export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { + /** Un-escaped JSON object, if EscapeObject false or default. */ + DataObject?: any; + /** Escaped string JSON body of the object, if EscapeObject is true. */ + EscapedDataObject?: string; + /** Name of the object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ + ObjectName?: string; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObject */ + export interface SetObject { + /** + * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation + * will occur if it does not exist. Only one of Object or EscapedDataObject fields may be used. + */ + DataObject?: any; + /** Flag to indicate that this object should be deleted. Both DataObject and EscapedDataObject must not be set as well. */ + DeleteObject?: boolean; + /** + * Body of the object to be saved as an escaped JSON string. If empty and DeleteObject is true object will be deleted if it + * exists, or no operation will occur if it does not exist. Only one of DataObject or EscapedDataObject fields may be used. + */ + EscapedDataObject?: string; + /** Name of object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + ObjectName: string; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectInfo */ + export interface SetObjectInfo { + /** Name of the object */ + ObjectName?: string; + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsRequest */ + export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from + * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** Collection of objects to set on the profile. */ + Objects: SetObject[]; + + } + + /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsResponse */ + export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { + /** New version of the entity profile. */ + ProfileVersion: number; + /** New version of the entity profile. */ + SetResults?: SetObjectInfo[]; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts deleted file mode 100644 index 53f3fb17..00000000 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEntityApi.d.ts +++ /dev/null @@ -1,1268 +0,0 @@ -/// - -declare module PlayFabEntityModule { - export interface IPlayFabEntity { - ForgetAllCredentials(): void; - - /** - * Abort pending file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/AbortFileUploads - */ - AbortFileUploads(request: PlayFabEntityModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Accepts an outstanding invitation to to join a group - * https://api.playfab.com/Documentation/Entity/method/AcceptGroupApplication - */ - AcceptGroupApplication(request: PlayFabEntityModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Accepts an invitation to join a group - * https://api.playfab.com/Documentation/Entity/method/AcceptGroupInvitation - */ - AcceptGroupInvitation(request: PlayFabEntityModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Adds members to a group or role. - * https://api.playfab.com/Documentation/Entity/method/AddMembers - */ - AddMembers(request: PlayFabEntityModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Applies to join a group - * https://api.playfab.com/Documentation/Entity/method/ApplyToGroup - */ - ApplyToGroup(request: PlayFabEntityModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Blocks a list of entities from joining a group. - * https://api.playfab.com/Documentation/Entity/method/BlockEntity - */ - BlockEntity(request: PlayFabEntityModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Changes the role membership of a list of entities from one role to another. - * https://api.playfab.com/Documentation/Entity/method/ChangeMemberRole - */ - ChangeMemberRole(request: PlayFabEntityModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a new group. - * https://api.playfab.com/Documentation/Entity/method/CreateGroup - */ - CreateGroup(request: PlayFabEntityModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a new group role. - * https://api.playfab.com/Documentation/Entity/method/CreateRole - */ - CreateRole(request: PlayFabEntityModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Delete files on an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/DeleteFiles - */ - DeleteFiles(request: PlayFabEntityModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes a group and all roles, invitations, join requests, and blocks associated with it. - * https://api.playfab.com/Documentation/Entity/method/DeleteGroup - */ - DeleteGroup(request: PlayFabEntityModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes an existing role in a group. - * https://api.playfab.com/Documentation/Entity/method/DeleteRole - */ - DeleteRole(request: PlayFabEntityModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Executes CloudScript using the Entity Profile - * https://api.playfab.com/Documentation/Entity/method/ExecuteEntityCloudScript - */ - ExecuteEntityCloudScript(request: PlayFabEntityModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Finalize file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/FinalizeFileUploads - */ - FinalizeFileUploads(request: PlayFabEntityModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid - * Entity Token. - * https://api.playfab.com/Documentation/Entity/method/GetEntityToken - */ - GetEntityToken(request: PlayFabEntityModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves file metadata from an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetFiles - */ - GetFiles(request: PlayFabEntityModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the global title access policy - * https://api.playfab.com/Documentation/Entity/method/GetGlobalPolicy - */ - GetGlobalPolicy(request: PlayFabEntityModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets information about a group and its roles - * https://api.playfab.com/Documentation/Entity/method/GetGroup - */ - GetGroup(request: PlayFabEntityModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves objects from an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetObjects - */ - GetObjects(request: PlayFabEntityModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetProfile - */ - GetProfile(request: PlayFabEntityModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Entity/method/GetProfiles - */ - GetProfiles(request: PlayFabEntityModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Initiates file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/InitiateFileUploads - */ - InitiateFileUploads(request: PlayFabEntityModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Invites a player to join a group - * https://api.playfab.com/Documentation/Entity/method/InviteToGroup - */ - InviteToGroup(request: PlayFabEntityModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Checks to see if an entity is a member of a group or role within the group - * https://api.playfab.com/Documentation/Entity/method/IsMember - */ - IsMember(request: PlayFabEntityModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all outstanding requests to join a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupApplications - */ - ListGroupApplications(request: PlayFabEntityModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all entities blocked from joining a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupBlocks - */ - ListGroupBlocks(request: PlayFabEntityModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all outstanding invitations for a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupInvitations - */ - ListGroupInvitations(request: PlayFabEntityModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all members for a group - * https://api.playfab.com/Documentation/Entity/method/ListGroupMembers - */ - ListGroupMembers(request: PlayFabEntityModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all groups and roles for an entity - * https://api.playfab.com/Documentation/Entity/method/ListMembership - */ - ListMembership(request: PlayFabEntityModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists all outstanding invitations and group applications for an entity - * https://api.playfab.com/Documentation/Entity/method/ListMembershipOpportunities - */ - ListMembershipOpportunities(request: PlayFabEntityModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes an application to join a group - * https://api.playfab.com/Documentation/Entity/method/RemoveGroupApplication - */ - RemoveGroupApplication(request: PlayFabEntityModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes an invitation join a group - * https://api.playfab.com/Documentation/Entity/method/RemoveGroupInvitation - */ - RemoveGroupInvitation(request: PlayFabEntityModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes members from a group. - * https://api.playfab.com/Documentation/Entity/method/RemoveMembers - */ - RemoveMembers(request: PlayFabEntityModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Sets the global title access policy - * https://api.playfab.com/Documentation/Entity/method/SetGlobalPolicy - */ - SetGlobalPolicy(request: PlayFabEntityModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Sets objects on an entity's profile. - * https://api.playfab.com/Documentation/Entity/method/SetObjects - */ - SetObjects(request: PlayFabEntityModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Sets the profiles access policy - * https://api.playfab.com/Documentation/Entity/method/SetProfilePolicy - */ - SetProfilePolicy(request: PlayFabEntityModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Unblocks a list of entities from joining a group - * https://api.playfab.com/Documentation/Entity/method/UnblockEntity - */ - UnblockEntity(request: PlayFabEntityModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates non-membership data about a group. - * https://api.playfab.com/Documentation/Entity/method/UpdateGroup - */ - UpdateGroup(request: PlayFabEntityModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates metadata about a role. - * https://api.playfab.com/Documentation/Entity/method/UpdateRole - */ - UpdateRole(request: PlayFabEntityModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Write batches of entity based events to PlayStream. - * https://api.playfab.com/Documentation/Entity/method/WriteEvents - */ - WriteEvents(request: PlayFabEntityModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - - } -} - -declare module PlayFabEntityModels { - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsRequest */ - export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to have their pending uploads aborted. */ - FileNames: string[]; - /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. - */ - ProfileVersion?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AbortFileUploadsResponse */ - export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupApplicationRequest */ - export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a - * child of the claimant entity. Defaults to the claimant entity. - */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AcceptGroupInvitationRequest */ - export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.AddMembersRequest */ - export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ - Members: EntityKey[]; - /** - * Optional: The ID of the existing role to add the entities to. If this is not specified, the default member role for the - * group will be used. Role IDs must be between 1 and 64 characters long. - */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupRequest */ - export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ - AutoAcceptOutstandingInvite?: boolean; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ApplyToGroupResponse */ - export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** Type of entity that requested membership */ - Entity?: EntityWithLineage; - /** When the application to join will expire and be deleted */ - Expires: string; - /** ID of the group that the entity requesting membership to */ - Group?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.BlockEntityRequest */ - export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ChangeMemberRoleRequest */ - export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 - * and 64 characters long. - */ - DestinationRoleId?: string; - /** The identifier of the group */ - Group: EntityKey; - /** - * List of entities to move between roles in the group. All entities in this list must be members of the group and origin - * role. - */ - Members: EntityKey[]; - /** The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long. */ - OriginRoleId: string; - - } - - type CloudScriptRevisionOption = "Live" - | "Latest" - | "Specific"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRequest */ - export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The name of the group. This is unique at the title level by default. */ - GroupName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupResponse */ - export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** The ID of the administrator role for the group. */ - AdminRoleId?: string; - /** The server date and time the group was created. */ - Created: string; - /** The identifier of the group */ - Group: EntityKey; - /** The name of the group. */ - GroupName?: string; - /** The ID of the default member role for the group. */ - MemberRoleId?: string; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** The list of roles and names that belong to the group. */ - Roles?: { [key: string]: string | null }; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleRequest */ - export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** - * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 - * characters long. - */ - RoleId: string; - /** - * The name of the role. This must be unique within the group and can be changed later. Role names must be between 1 and - * 100 characters long - */ - RoleName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.CreateGroupRoleResponse */ - export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { - /** The current version of the group profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** ID for the role */ - RoleId?: string; - /** The name of the role */ - RoleName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesRequest */ - export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to be deleted. */ - FileNames: string[]; - /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. - */ - ProfileVersion?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteFilesResponse */ - export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteGroupRequest */ - export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** ID of the group or role to remove */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.DeleteRoleRequest */ - export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ - RoleId?: string; - - } - - type EffectType = "Allow" - | "Deny"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityDataObject */ - export interface EntityDataObject { - /** Un-escaped JSON object, if DataAsObject is true. */ - DataObject?: any; - /** Escaped string JSON body of the object, if DataAsObject is default or false. */ - EscapedDataObject?: string; - /** Name of this object. */ - ObjectName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityKey */ - export interface EntityKey { - /** Entity profile ID. */ - Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityMemberRole */ - export interface EntityMemberRole { - /** The list of members in the role */ - Members?: EntityWithLineage[]; - /** The ID of the role. */ - RoleId?: string; - /** The name of the role */ - RoleName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityPermissionStatement */ - export interface EntityPermissionStatement { - /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ - Action: string; - /** A comment about the statement. Intended solely for bookkeeping and debugging. */ - Comment?: string; - /** Additional conditions to be applied for entity resources. */ - Condition?: any; - /** The effect this statement will have. It may be either Allow or Deny */ - Effect: string; - /** The principal this statement will effect. */ - Principal: any; - /** The resource this statements effects. Similar to 'pfrn:data--title![Title ID]/Profile/*' */ - Resource: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileBody */ - export interface EntityProfileBody { - /** The entity id and type. */ - Entity?: EntityKey; - /** - * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the - * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace - * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace - * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]/[Character ID]' - */ - EntityChain?: string; - /** The files on this profile. */ - Files?: { [key: string]: EntityProfileFileMetadata }; - /** The objects on this profile. */ - Objects?: { [key: string]: EntityDataObject }; - /** - * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this - * profile, not global statements from titles and namespaces. - */ - Permissions?: EntityPermissionStatement[]; - /** - * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic - * concurrency during update. - */ - VersionNumber: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityProfileFileMetadata */ - export interface EntityProfileFileMetadata { - /** Checksum value for the file */ - Checksum?: string; - /** Name of the file */ - FileName?: string; - /** Last UTC time the file was modified */ - LastModified: string; - /** Storage service's reported byte count */ - Size: number; - - } - - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EntityWithLineage */ - export interface EntityWithLineage { - /** The entity key for the specified entity */ - Key?: EntityKey; - /** Dictionary of entity keys for related entities. Dictionary key is entity type. */ - Lineage?: { [key: string]: EntityKey }; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.EventContents */ - export interface EventContents { - /** Entity associated with the event */ - Entity: EntityKey; - /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ - EventNamespace: string; - /** The name of this event. */ - Name: string; - /** - * The original unique identifier associated with this event before it was posted to PlayFab. The value might differ from - * the EventId value, which is assigned when the event is received by the server. - */ - OriginalId?: string; - /** - * The time (in UTC) associated with this event when it occurred. If specified, this value is stored in the - * OriginalTimestamp property of the PlayStream event. - */ - OriginalTimestamp?: string; - /** Arbitrary data associated with the event. Only one of Payload or PayloadJSON is allowed. */ - Payload?: any; - /** - * Arbitrary data associated with the event, represented as a JSON serialized string. Only one of Payload or PayloadJSON is - * allowed. - */ - PayloadJSON?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteCloudScriptResult */ - export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { - /** Number of PlayFab API requests issued by the CloudScript function */ - APIRequestsIssued: number; - /** Information about the error, if any, that occurred during execution */ - Error?: ScriptExecutionError; - ExecutionTimeSeconds: number; - /** The name of the function that executed */ - FunctionName?: string; - /** The object returned from the CloudScript function, if any */ - FunctionResult?: any; - /** - * Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. This only occurs if - * the total event size is larger than 350KB. - */ - FunctionResultTooLarge?: boolean; - /** Number of external HTTP requests issued by the CloudScript function */ - HttpRequestsIssued: number; - /** - * Entries logged during the function execution. These include both entries logged in the function code using log.info() - * and log.error() and error entries for API and HTTP request failures. - */ - Logs?: LogStatement[]; - /** - * Flag indicating if the logs were too large and were subsequently dropped from this event. This only occurs if the total - * event size is larger than 350KB after the FunctionResult was removed. - */ - LogsTooLarge?: boolean; - MemoryConsumedBytes: number; - /** - * Processor time consumed while executing the function. This does not include time spent waiting on API calls or HTTP - * requests. - */ - ProcessorTimeSeconds: number; - /** The revision of the CloudScript that executed */ - Revision: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ExecuteEntityCloudScriptRequest */ - export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The name of the CloudScript function to execute */ - FunctionName: string; - /** Object that is passed in to the function as the first argument */ - FunctionParameter?: any; - /** - * Generate a 'entity_executed_cloudscript' PlayStream event containing the results of the function execution and other - * contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. - */ - GeneratePlayStreamEvent?: boolean; - /** - * Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' - * executes the current live, published revision, and 'Specific' executes the specified revision. The default value is - * 'Specific', if the SpecificRevision parameter is specified, otherwise it is 'Live'. - */ - RevisionSelection?: string; - /** The specific revision to execute, when RevisionSelection is set to 'Specific' */ - SpecificRevision?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsRequest */ - export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ - FileNames: string[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.FinalizeFileUploadsResponse */ - export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** Collection of metadata for the entity's files */ - Metadata?: { [key: string]: GetFileMetadata }; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileRequest */ - export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is - * JSON string. - */ - DataAsObject?: boolean; - /** The entity to perform this action on. */ - Entity: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfileResponse */ - export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { - /** Entity profile */ - Profile?: EntityProfileBody; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesRequest */ - export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is - * JSON string. - */ - DataAsObject?: boolean; - /** Entity keys of the profiles to load. Must be between 1 and 25 */ - Entities: EntityKey[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityProfilesResponse */ - export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { - /** Entity profiles */ - Profiles?: EntityProfileBody[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenRequest */ - export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetEntityTokenResponse */ - export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The token used to set X-EntityToken for all entity based API calls. */ - EntityToken?: string; - /** The time the token will expire, if it is an expiring token, in UTC. */ - TokenExpiration?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFileMetadata */ - export interface GetFileMetadata { - /** Checksum value for the file */ - Checksum?: string; - /** Download URL where the file can be retrieved */ - DownloadUrl?: string; - /** Name of the file */ - FileName?: string; - /** Last UTC time the file was modified */ - LastModified: string; - /** Storage service's reported byte count */ - Size: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesRequest */ - export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetFilesResponse */ - export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** Collection of metadata for the entity's files */ - Metadata?: { [key: string]: GetFileMetadata }; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyRequest */ - export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGlobalPolicyResponse */ - export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** The permissions that govern access to all entities under this title or namespace. */ - Permissions?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupRequest */ - export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group?: EntityKey; - /** The full name of the group */ - GroupName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetGroupResponse */ - export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** The ID of the administrator role for the group. */ - AdminRoleId?: string; - /** The server date and time the group was created. */ - Created: string; - /** The identifier of the group */ - Group: EntityKey; - /** The name of the group. */ - GroupName?: string; - /** The ID of the default member role for the group. */ - MemberRoleId?: string; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** The list of roles and names that belong to the group. */ - Roles?: { [key: string]: string | null }; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsRequest */ - export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** - * Determines whether the object will be returned as an escaped JSON string or as a un-escaped JSON object. Default is JSON - * object. - */ - EscapeObject?: boolean; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GetObjectsResponse */ - export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** Requested objects that the calling entity has access to */ - Objects?: { [key: string]: ObjectResult }; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupApplication */ - export interface GroupApplication { - /** Type of entity that requested membership */ - Entity?: EntityWithLineage; - /** When the application to join will expire and be deleted */ - Expires: string; - /** ID of the group that the entity requesting membership to */ - Group?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupBlock */ - export interface GroupBlock { - /** The entity that is blocked */ - Entity?: EntityWithLineage; - /** ID of the group that the entity is blocked from */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupInvitation */ - export interface GroupInvitation { - /** When the invitation will expire and be deleted */ - Expires: string; - /** The group that the entity invited to */ - Group?: EntityKey; - /** The entity that created the invitation */ - InvitedByEntity?: EntityWithLineage; - /** The entity that is invited */ - InvitedEntity?: EntityWithLineage; - /** ID of the role in the group to assign the user to. */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupRole */ - export interface GroupRole { - /** ID for the role */ - RoleId?: string; - /** The name of the role */ - RoleName?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.GroupWithRoles */ - export interface GroupWithRoles { - /** ID for the group */ - Group?: EntityKey; - /** The name of the group */ - GroupName?: string; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** The list of roles within the group */ - Roles?: GroupRole[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadMetadata */ - export interface InitiateFileUploadMetadata { - /** Name of the file. */ - FileName?: string; - /** Location the data should be sent to via an HTTP PUT operation. */ - UploadUrl?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsRequest */ - export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ - FileNames: string[]; - /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. - */ - ProfileVersion?: number; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InitiateFileUploadsResponse */ - export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The current version of the profile, can be used for concurrency control during updates. */ - ProfileVersion: number; - /** Collection of file names and upload urls */ - UploadDetails?: InitiateFileUploadMetadata[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupRequest */ - export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ - AutoAcceptOutstandingApplication?: boolean; - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - /** - * Optional. ID of an existing a role in the group to assign the user to. The group's default member role is used if this - * is not specified. Role IDs must be between 1 and 64 characters long. - */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.InviteToGroupResponse */ - export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** When the invitation will expire and be deleted */ - Expires: string; - /** The group that the entity invited to */ - Group?: EntityKey; - /** The entity that created the invitation */ - InvitedByEntity?: EntityWithLineage; - /** The entity that is invited */ - InvitedEntity?: EntityWithLineage; - /** ID of the role in the group to assign the user to. */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberRequest */ - export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - /** - * Optional: ID of the role to check membership of. Defaults to any role (that is, check to see if the entity is a member - * of the group in any capacity) if not specified. - */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.IsMemberResponse */ - export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { - /** A value indicating whether or not the entity is a member. */ - IsMember: boolean; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsRequest */ - export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupApplicationsResponse */ - export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of applications to the group. */ - Applications?: GroupApplication[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksRequest */ - export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupBlocksResponse */ - export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list blocked entities. */ - BlockedEntities?: GroupBlock[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsRequest */ - export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupInvitationsResponse */ - export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of group invitations. */ - Invitations?: GroupInvitation[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersRequest */ - export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** ID of the group to list the members and roles for */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListGroupMembersResponse */ - export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of roles and member entity IDs. */ - Members?: EntityMemberRole[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesRequest */ - export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipOpportunitiesResponse */ - export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested list of group applications. */ - Applications?: GroupApplication[]; - /** The requested list of group invitations. */ - Invitations?: GroupInvitation[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipRequest */ - export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ListMembershipResponse */ - export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of groups */ - Groups?: GroupWithRoles[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.LogStatement */ - export interface LogStatement { - /** Optional object accompanying the message as contextual information */ - Data?: any; - /** 'Debug', 'Info', or 'Error' */ - Level?: string; - Message?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ObjectResult */ - export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { - /** Un-escaped JSON object, if EscapeObject false or default. */ - DataObject?: any; - /** Escaped string JSON body of the object, if EscapeObject is true. */ - EscapedDataObject?: string; - /** Name of the object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ - ObjectName?: string; - - } - - type OperationTypes = "Created" - | "Updated" - | "Deleted" - | "None"; - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupApplicationRequest */ - export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveGroupInvitationRequest */ - export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.RemoveMembersRequest */ - export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The identifier of the group */ - Group: EntityKey; - /** List of entities to remove */ - Members: EntityKey[]; - /** The ID of the role to remove the entities from. */ - RoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.ScriptExecutionError */ - export interface ScriptExecutionError { - /** - * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, - * CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError - */ - Error?: string; - /** Details about the error */ - Message?: string; - /** Point during the execution of the script at which the error occurred, if any */ - StackTrace?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyRequest */ - export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The statements to include in the access policy. */ - Statements?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetEntityProfilePolicyResponse */ - export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this - * profile, not global statements from titles and namespaces. - */ - Permissions?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyRequest */ - export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The permissions that govern access to all entities under this title or namespace. */ - Permissions?: EntityPermissionStatement[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetGlobalPolicyResponse */ - export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObject */ - export interface SetObject { - /** - * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation - * will occur if it does not exist. Only one of Object or EscapedDataObject fields may be used. - */ - DataObject?: any; - /** Flag to indicate that this object should be deleted. Both DataObject and EscapedDataObject must not be set as well. */ - DeleteObject?: boolean; - /** - * Body of the object to be saved as an escaped JSON string. If empty and DeleteObject is true object will be deleted if it - * exists, or no operation will occur if it does not exist. Only one of DataObject or EscapedDataObject fields may be used. - */ - EscapedDataObject?: string; - /** Name of object. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ - ObjectName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectInfo */ - export interface SetObjectInfo { - /** Name of the object */ - ObjectName?: string; - /** Optional reason to explain why the operation was the result that it was. */ - OperationReason?: string; - /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ - SetResult?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsRequest */ - export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from - * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any - * other clients since the version you last loaded. - */ - ExpectedProfileVersion?: number; - /** Collection of objects to set on the profile. */ - Objects: SetObject[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.SetObjectsResponse */ - export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { - /** New version of the entity profile. */ - ProfileVersion: number; - /** New version of the entity profile. */ - SetResults?: SetObjectInfo[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UnblockEntityRequest */ - export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity: EntityKey; - /** The identifier of the group */ - Group: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRequest */ - export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional: the ID of an existing role to set as the new administrator role for the group */ - AdminRoleId?: string; - /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. - */ - ExpectedProfileVersion?: number; - /** The identifier of the group */ - Group: EntityKey; - /** Optional: the new name of the group */ - GroupName?: string; - /** Optional: the ID of an existing role to set as the new member role for the group */ - MemberRoleId?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupResponse */ - export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { - /** Optional reason to explain why the operation was the result that it was. */ - OperationReason?: string; - /** New version of the group data. */ - ProfileVersion: number; - /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ - SetResult?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleRequest */ - export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. - */ - ExpectedProfileVersion?: number; - /** The identifier of the group */ - Group: EntityKey; - /** ID of the role to update. Role IDs must be between 1 and 64 characters long. */ - RoleId?: string; - /** The new name of the role */ - RoleName: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.UpdateGroupRoleResponse */ - export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { - /** Optional reason to explain why the operation was the result that it was. */ - OperationReason?: string; - /** New version of the role data. */ - ProfileVersion: number; - /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ - SetResult?: string; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsRequest */ - export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Collection of events to write to PlayStream. */ - Events: EventContents[]; - - } - - /** https://api.playfab.com/Documentation/Entity/datatype/PlayFab.Entity.Models/PlayFab.Entity.Models.WriteEventsResponse */ - export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only - * returned if FlushToPlayStream option is true. - */ - AssignedEventIds?: string[]; - - } - - -} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts new file mode 100644 index 00000000..001f1f51 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -0,0 +1,81 @@ +/// + +declare module PlayFabEventsModule { + export interface IPlayFabEvents { + ForgetAllCredentials(): void; + + /** + * Write batches of entity based events to PlayStream. + * https://api.playfab.com/Documentation/Events/method/WriteEvents + */ + WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabEventsModels { + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ + export interface EventContents { + /** Entity associated with the event */ + Entity: EntityKey; + /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ + EventNamespace: string; + /** The name of this event. */ + Name: string; + /** + * The original unique identifier associated with this event before it was posted to PlayFab. The value might differ from + * the EventId value, which is assigned when the event is received by the server. + */ + OriginalId?: string; + /** + * The time (in UTC) associated with this event when it occurred. If specified, this value is stored in the + * OriginalTimestamp property of the PlayStream event. + */ + OriginalTimestamp?: string; + /** Arbitrary data associated with the event. Only one of Payload or PayloadJSON is allowed. */ + Payload?: any; + /** + * Arbitrary data associated with the event, represented as a JSON serialized string. Only one of Payload or PayloadJSON is + * allowed. + */ + PayloadJSON?: string; + + } + + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsRequest */ + export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Collection of events to write to PlayStream. */ + Events: EventContents[]; + + } + + /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsResponse */ + export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only + * returned if FlushToPlayStream option is true. + */ + AssignedEventIds?: string[]; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts new file mode 100644 index 00000000..ee0d20bf --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -0,0 +1,662 @@ +/// + +declare module PlayFabGroupsModule { + export interface IPlayFabGroups { + ForgetAllCredentials(): void; + + /** + * Accepts an outstanding invitation to to join a group + * https://api.playfab.com/Documentation/Groups/method/AcceptGroupApplication + */ + AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Accepts an invitation to join a group + * https://api.playfab.com/Documentation/Groups/method/AcceptGroupInvitation + */ + AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds members to a group or role. + * https://api.playfab.com/Documentation/Groups/method/AddMembers + */ + AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Applies to join a group + * https://api.playfab.com/Documentation/Groups/method/ApplyToGroup + */ + ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Blocks a list of entities from joining a group. + * https://api.playfab.com/Documentation/Groups/method/BlockEntity + */ + BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Changes the role membership of a list of entities from one role to another. + * https://api.playfab.com/Documentation/Groups/method/ChangeMemberRole + */ + ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group. + * https://api.playfab.com/Documentation/Groups/method/CreateGroup + */ + CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new group role. + * https://api.playfab.com/Documentation/Groups/method/CreateRole + */ + CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a group and all roles, invitations, join requests, and blocks associated with it. + * https://api.playfab.com/Documentation/Groups/method/DeleteGroup + */ + DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing role in a group. + * https://api.playfab.com/Documentation/Groups/method/DeleteRole + */ + DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets information about a group and its roles + * https://api.playfab.com/Documentation/Groups/method/GetGroup + */ + GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Invites a player to join a group + * https://api.playfab.com/Documentation/Groups/method/InviteToGroup + */ + InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks to see if an entity is a member of a group or role within the group + * https://api.playfab.com/Documentation/Groups/method/IsMember + */ + IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding requests to join a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupApplications + */ + ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all entities blocked from joining a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupBlocks + */ + ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations for a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupInvitations + */ + ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all members for a group + * https://api.playfab.com/Documentation/Groups/method/ListGroupMembers + */ + ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all groups and roles for an entity + * https://api.playfab.com/Documentation/Groups/method/ListMembership + */ + ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all outstanding invitations and group applications for an entity + * https://api.playfab.com/Documentation/Groups/method/ListMembershipOpportunities + */ + ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an application to join a group + * https://api.playfab.com/Documentation/Groups/method/RemoveGroupApplication + */ + RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an invitation join a group + * https://api.playfab.com/Documentation/Groups/method/RemoveGroupInvitation + */ + RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes members from a group. + * https://api.playfab.com/Documentation/Groups/method/RemoveMembers + */ + RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unblocks a list of entities from joining a group + * https://api.playfab.com/Documentation/Groups/method/UnblockEntity + */ + UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates non-membership data about a group. + * https://api.playfab.com/Documentation/Groups/method/UpdateGroup + */ + UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates metadata about a role. + * https://api.playfab.com/Documentation/Groups/method/UpdateRole + */ + UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabGroupsModels { + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupApplicationRequest */ + export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a + * child of the claimant entity. Defaults to the claimant entity. + */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupInvitationRequest */ + export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AddMembersRequest */ + export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ + Members: EntityKey[]; + /** + * Optional: The ID of the existing role to add the entities to. If this is not specified, the default member role for the + * group will be used. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupRequest */ + export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ + AutoAcceptOutstandingInvite?: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupResponse */ + export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.BlockEntityRequest */ + export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ChangeMemberRoleRequest */ + export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 + * and 64 characters long. + */ + DestinationRoleId?: string; + /** The identifier of the group */ + Group: EntityKey; + /** + * List of entities to move between roles in the group. All entities in this list must be members of the group and origin + * role. + */ + Members: EntityKey[]; + /** The ID of the role that the entities currently are a member of. Role IDs must be between 1 and 64 characters long. */ + OriginRoleId: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRequest */ + export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the group. This is unique at the title level by default. */ + GroupName: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupResponse */ + export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleRequest */ + export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** + * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 + * characters long. + */ + RoleId: string; + /** + * The name of the role. This must be unique within the group and can be changed later. Role names must be between 1 and + * 100 characters long + */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleResponse */ + export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The current version of the group profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteGroupRequest */ + export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group or role to remove */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteRoleRequest */ + export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityMemberRole */ + export interface EntityMemberRole { + /** The list of members in the role */ + Members?: EntityWithLineage[]; + /** The ID of the role. */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityWithLineage */ + export interface EntityWithLineage { + /** The entity key for the specified entity */ + Key?: EntityKey; + /** Dictionary of entity keys for related entities. Dictionary key is entity type. */ + Lineage?: { [key: string]: EntityKey }; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupRequest */ + export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group?: EntityKey; + /** The full name of the group */ + GroupName?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupResponse */ + export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the administrator role for the group. */ + AdminRoleId?: string; + /** The server date and time the group was created. */ + Created: string; + /** The identifier of the group */ + Group: EntityKey; + /** The name of the group. */ + GroupName?: string; + /** The ID of the default member role for the group. */ + MemberRoleId?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles and names that belong to the group. */ + Roles?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupApplication */ + export interface GroupApplication { + /** Type of entity that requested membership */ + Entity?: EntityWithLineage; + /** When the application to join will expire and be deleted */ + Expires: string; + /** ID of the group that the entity requesting membership to */ + Group?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupBlock */ + export interface GroupBlock { + /** The entity that is blocked */ + Entity?: EntityWithLineage; + /** ID of the group that the entity is blocked from */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupInvitation */ + export interface GroupInvitation { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupRole */ + export interface GroupRole { + /** ID for the role */ + RoleId?: string; + /** The name of the role */ + RoleName?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupWithRoles */ + export interface GroupWithRoles { + /** ID for the group */ + Group?: EntityKey; + /** The name of the group */ + GroupName?: string; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; + /** The list of roles within the group */ + Roles?: GroupRole[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupRequest */ + export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ + AutoAcceptOutstandingApplication?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional. ID of an existing a role in the group to assign the user to. The group's default member role is used if this + * is not specified. Role IDs must be between 1 and 64 characters long. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupResponse */ + export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** When the invitation will expire and be deleted */ + Expires: string; + /** The group that the entity invited to */ + Group?: EntityKey; + /** The entity that created the invitation */ + InvitedByEntity?: EntityWithLineage; + /** The entity that is invited */ + InvitedEntity?: EntityWithLineage; + /** ID of the role in the group to assign the user to. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberRequest */ + export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + /** + * Optional: ID of the role to check membership of. Defaults to any role (that is, check to see if the entity is a member + * of the group in any capacity) if not specified. + */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberResponse */ + export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { + /** A value indicating whether or not the entity is a member. */ + IsMember: boolean; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsRequest */ + export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsResponse */ + export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of applications to the group. */ + Applications?: GroupApplication[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksRequest */ + export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksResponse */ + export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list blocked entities. */ + BlockedEntities?: GroupBlock[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsRequest */ + export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsResponse */ + export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersRequest */ + export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the group to list the members and roles for */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersResponse */ + export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of roles and member entity IDs. */ + Members?: EntityMemberRole[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesRequest */ + export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesResponse */ + export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested list of group applications. */ + Applications?: GroupApplication[]; + /** The requested list of group invitations. */ + Invitations?: GroupInvitation[]; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipRequest */ + export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipResponse */ + export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of groups */ + Groups?: GroupWithRoles[]; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupApplicationRequest */ + export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupInvitationRequest */ + export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveMembersRequest */ + export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifier of the group */ + Group: EntityKey; + /** List of entities to remove */ + Members: EntityKey[]; + /** The ID of the role to remove the entities from. */ + RoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UnblockEntityRequest */ + export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The identifier of the group */ + Group: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRequest */ + export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Optional: the ID of an existing role to set as the new administrator role for the group */ + AdminRoleId?: string; + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** Optional: the new name of the group */ + GroupName?: string; + /** Optional: the ID of an existing role to set as the new member role for the group */ + MemberRoleId?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupResponse */ + export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the group data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleRequest */ + export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the + * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any + * other clients since the version you last loaded. + */ + ExpectedProfileVersion?: number; + /** The identifier of the group */ + Group: EntityKey; + /** ID of the role to update. Role IDs must be between 1 and 64 characters long. */ + RoleId?: string; + /** The new name of the role */ + RoleName: string; + + } + + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleResponse */ + export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional reason to explain why the operation was the result that it was. */ + OperationReason?: string; + /** New version of the role data. */ + ProfileVersion: number; + /** Indicates which operation was completed, either Created, Updated, Deleted or None. */ + SetResult?: string; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index fc992efb..6e5e864d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -156,10 +156,14 @@ declare module PlayFabMatchmakerModels { GameID?: string; /** IPV4 address of the new Game Server Instance. */ ServerHostname?: string; + /** IPV4 address of the server */ + ServerIPV4Address?: string; /** IPV6 address of the new Game Server Instance. */ ServerIPV6Address?: string; /** Port number for communication with the Game Server Instance. */ ServerPort: number; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts new file mode 100644 index 00000000..d961faab --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -0,0 +1,243 @@ +/// + +declare module PlayFabProfilesModule { + export interface IPlayFabProfiles { + ForgetAllCredentials(): void; + + /** + * Gets the global title access policy + * https://api.playfab.com/Documentation/Profiles/method/GetGlobalPolicy + */ + GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Profiles/method/GetProfile + */ + GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the entity's profile. + * https://api.playfab.com/Documentation/Profiles/method/GetProfiles + */ + GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the global title access policy + * https://api.playfab.com/Documentation/Profiles/method/SetGlobalPolicy + */ + SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates the entity's language + * https://api.playfab.com/Documentation/Profiles/method/SetProfileLanguage + */ + SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the profiles access policy + * https://api.playfab.com/Documentation/Profiles/method/SetProfilePolicy + */ + SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabProfilesModels { + type EffectType = "Allow" + | "Deny"; + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityDataObject */ + export interface EntityDataObject { + /** Un-escaped JSON object, if DataAsObject is true. */ + DataObject?: any; + /** Escaped string JSON body of the object, if DataAsObject is default or false. */ + EscapedDataObject?: string; + /** Name of this object. */ + ObjectName?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityKey */ + export interface EntityKey { + /** Entity profile ID. */ + Id: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + Type?: string; + /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + TypeString?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityPermissionStatement */ + export interface EntityPermissionStatement { + /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ + Action: string; + /** A comment about the statement. Intended solely for bookkeeping and debugging. */ + Comment?: string; + /** Additional conditions to be applied for entity resources. */ + Condition?: any; + /** The effect this statement will have. It may be either Allow or Deny */ + Effect: string; + /** The principal this statement will effect. */ + Principal: any; + /** The resource this statements effects. Similar to 'pfrn:data--title![Title ID]/Profile/*' */ + Resource: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ + export interface EntityProfileBody { + /** The entity id and type. */ + Entity?: EntityKey; + /** + * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the + * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace + * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace + * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount + * ID]/[TitlePlayerAccount ID]/[Character ID]' + */ + EntityChain?: string; + /** The files on this profile. */ + Files?: { [key: string]: EntityProfileFileMetadata }; + /** The language on this profile. */ + Language?: string; + /** The objects on this profile. */ + Objects?: { [key: string]: EntityDataObject }; + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + /** + * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic + * concurrency during update. + */ + VersionNumber: number; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileFileMetadata */ + export interface EntityProfileFileMetadata { + /** Checksum value for the file */ + Checksum?: string; + /** Name of the file */ + FileName?: string; + /** Last UTC time the file was modified */ + LastModified: string; + /** Storage service's reported byte count */ + Size: number; + + } + + type EntityTypes = "title" + | "master_player_account" + | "title_player_account" + | "character" + | "group" + | "service"; + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ + export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** The entity to perform this action on. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileResponse */ + export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profile */ + Profile?: EntityProfileBody; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesRequest */ + export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is + * JSON string. + */ + DataAsObject?: boolean; + /** Entity keys of the profiles to load. Must be between 1 and 25 */ + Entities: EntityKey[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesResponse */ + export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { + /** Entity profiles */ + Profiles?: EntityProfileBody[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyRequest */ + export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyResponse */ + export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + type OperationTypes = "Created" + | "Updated" + | "Deleted" + | "None"; + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyRequest */ + export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The statements to include in the access policy. */ + Statements?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyResponse */ + export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this + * profile, not global statements from titles and namespaces. + */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyRequest */ + export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The permissions that govern access to all entities under this title or namespace. */ + Permissions?: EntityPermissionStatement[]; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyResponse */ + export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageRequest */ + export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The expected version of a profile to perform this update on */ + ExpectedVersion: number; + /** The language to set on the given entity. Deletes the profile's language if passed in a null string. */ + Language?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageResponse */ + export interface SetProfileLanguageResponse extends PlayFabModule.IPlayFabResultCommon { + /** The type of operation that occured on the profile's language */ + OperationResult?: string; + /** The updated version of the profile after the language update */ + VersionNumber?: number; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 24ae8dcf..d6db425e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -183,8 +183,8 @@ declare module PlayFabServerModule { */ GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) - * may be returned. All parameters default to false. + * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be + * returned. All parameters default to false. * https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -226,6 +226,16 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookInstantGamesIds + */ + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + */ + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -1599,6 +1609,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookInstantGamesPlayFabIdPair */ + export interface FacebookInstantGamesPlayFabIdPair { + /** Unique Facebook Instant Games identifier for a user. */ + FacebookInstantGamesId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Facebook Instant Games identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ @@ -2020,6 +2039,12 @@ declare module PlayFabServerModels { | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" + | "PerEntityEventRateLimitExceeded" + | "TitleDefaultLanguageNotSet" + | "EmailTemplateMissingDefaultVersion" + | "FacebookInstantGamesIdNotLinked" + | "InvalidFacebookInstantGamesSignature" + | "FacebookInstantGamesAuthNotConfiguredForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2030,12 +2055,12 @@ declare module PlayFabServerModels { | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" - | "MatchmakingHopperIdMissing" + | "MatchmakingQueueNameMissing" | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" | "MatchmakingJoinRequestUserMissing" - | "MatchmakingHopperConfigNotFound" + | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" @@ -2049,9 +2074,12 @@ declare module PlayFabServerModels { | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingHopperIdInvalid" - | "MatchmakingHopperConfigInvalid" - | "MatchmakingMemberProfileInvalid"; + | "MatchmakingQueueNameInvalid" + | "MatchmakingQueueConfigInvalid" + | "MatchmakingMemberProfileInvalid" + | "WriteAttemptedDuringExport" + | "NintendoSwitchDeviceIdNotLinked" + | "MatchmakingNotEnabled"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2576,6 +2604,34 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + FacebookInstantGamesIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ + export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ + Data?: FacebookInstantGamesPlayFabIdPair[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + NintendoSwitchDeviceIds: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ + Data?: number[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -3009,7 +3065,11 @@ declare module PlayFabServerModels { | "IOSDevice" | "AndroidDevice" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { @@ -3134,6 +3194,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NintendoSwitchPlayFabIdPair */ + export interface NintendoSwitchPlayFabIdPair { + /** Unique Nintendo Switch Device identifier for a user. */ + NintendoSwitchDeviceId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Device identifier. */ + PlayFabId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ @@ -3281,7 +3350,7 @@ declare module PlayFabServerModels { TitleId?: string; /** * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a - * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. */ TotalValueToDateInUSD?: number; /** List of the player's lifetime purchase totals, summed by real-money currency */ @@ -3482,11 +3551,15 @@ declare module PlayFabServerModels { */ Region: string; /** IPV4 address of the Game Server Instance. */ - ServerHost: string; - /** IPV6 address of the Game Server Instance. */ + ServerHost?: string; + /** IPV4 address of the game server instance. */ + ServerIPV4Address?: string; + /** IPV6 address (if any) of the game server instance. */ ServerIPV6Address?: string; /** Port number for communication with the Game Server Instance. */ ServerPort: string; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; /** Tags for the Game Server Instance */ Tags?: { [key: string]: string | null }; @@ -4349,7 +4422,10 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello"; + | "WindowsHello" + | "ServerCustomId" + | "NintendoSwitchDeviceId" + | "FacebookInstantGamesId"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { From 532d600f53ff59ac56a2cd0552a645a0b4aee1df Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 29 Aug 2018 22:29:42 +0000 Subject: [PATCH 066/253] https://api.playfab.com/releaseNotes/#180829 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 20 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 53 ++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 20 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 20 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 91 ++++++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 13 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 189 ++++++++++++++---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 16 +- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 13 +- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 13 +- .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 39 ++-- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 13 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 99 ++++++--- PlayFabTestingExample/PlayFabApiTest.js | 8 +- PlayFabTestingExample/PlayFabApiTest.ts | 8 +- .../src/PlayFab/PlayFabAdminApi.js | 20 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 20 +- .../src/PlayFab/PlayFabClientApi.js | 53 ++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 20 +- .../src/PlayFab/PlayFabDataApi.js | 20 +- .../src/PlayFab/PlayFabEventsApi.js | 20 +- .../src/PlayFab/PlayFabGroupsApi.js | 20 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 20 +- .../src/PlayFab/PlayFabProfilesApi.js | 20 +- .../src/PlayFab/PlayFabServerApi.js | 20 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 91 ++++++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 13 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 189 ++++++++++++++---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 16 +- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 13 +- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 13 +- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 39 ++-- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 13 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 99 ++++++--- 41 files changed, 937 insertions(+), 519 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0a78e7a8..87c37278 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.28.180809", + "version": "1.29.180829", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6968a967..24e747d3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index aca652e4..ae378671 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6e08c731..f87ff219 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -232,6 +236,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + ConsumeXboxEntitlements: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeXboxEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -560,6 +569,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, 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; var overloadCallback = function (result, error) { @@ -812,6 +826,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithXbox", request, null, null, overloadCallback, customData, extraHeaders); + }, + Matchmake: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -997,6 +1029,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 77e7adaa..0f2702f4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 0c49d90d..e240d5e6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 5f76dd93..3c19397f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 5e1afab8..301eb02a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index c461533e..21ab1ab5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 648dc359..50e5ceaa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1aec61a7..2526f0b4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3717732f..9a8cc307 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -8,7 +8,7 @@ declare module PlayFabAdminModule { * Abort an ongoing task instance. * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ - AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new news item to the title's news feed * https://api.playfab.com/Documentation/Admin/method/AddNews @@ -98,7 +98,7 @@ declare module PlayFabAdminModule { * Delete a task. * https://api.playfab.com/Documentation/Admin/method/DeleteTask */ - DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Permanently deletes a title and all associated configuration * https://api.playfab.com/Documentation/Admin/method/DeleteTitle @@ -514,7 +514,7 @@ declare module PlayFabAdminModule { * Update an existing task. * https://api.playfab.com/Documentation/Admin/method/UpdateTask */ - UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which is readable and writable by the client * https://api.playfab.com/Documentation/Admin/method/UpdateUserData @@ -1591,29 +1591,20 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ @@ -2058,16 +2049,16 @@ declare module PlayFabAdminModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "GameServerOk" - | "GameServerAccepted" - | "GameServerNoContent" - | "GameServerBadRequest" - | "GameServerUnauthorized" - | "GameServerForbidden" - | "GameServerNotFound" - | "GameServerConflict" - | "GameServerInternalServerError" - | "GameServerServiceUnavailable" + | "MultiplayerServerError" + | "MultiplayerServerTooManyRequests" + | "MultiplayerServerNoContent" + | "MultiplayerServerBadRequest" + | "MultiplayerServerUnauthorized" + | "MultiplayerServerForbidden" + | "MultiplayerServerNotFound" + | "MultiplayerServerConflict" + | "MultiplayerServerInternalServerError" + | "MultiplayerServerUnavailable" | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" @@ -2928,7 +2919,8 @@ declare module PlayFabAdminModels { | "GameServer" | "CustomServer" | "NintendoSwitch" - | "FacebookInstantGames"; + | "FacebookInstantGames" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { @@ -4155,6 +4147,8 @@ declare module PlayFabAdminModels { CustomIdInfo?: UserCustomIdInfo; /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; + /** Facebook Instant Games account information, if a Facebook Instant Games account has been linked */ + FacebookInstantGamesIdInfo?: UserFacebookInstantGamesIdInfo; /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ @@ -4163,6 +4157,10 @@ declare module PlayFabAdminModels { IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; + /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchDeviceIdInfo?: number; + /** OpenID Connect information, if any OpenID Connect accounts have been linked */ + OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ @@ -4177,6 +4175,8 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -4222,6 +4222,13 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInstantGamesIdInfo */ + export interface UserFacebookInstantGamesIdInfo { + /** Facebook Instant Games ID */ + FacebookInstantGamesId?: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ @@ -4258,6 +4265,24 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserNintendoSwitchDeviceIdInfo */ + export interface UserNintendoSwitchDeviceIdInfo { + /** Nintendo Switch Device ID */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserOpenIdInfo */ + export interface UserOpenIdInfo { + /** OpenID Connection ID */ + ConnectionId?: string; + /** OpenID Issuer */ + Issuer?: string; + /** OpenID Subject */ + Subject?: string; + + } + type UserOrigination = "Organic" | "Steam" | "Google" @@ -4278,7 +4303,8 @@ declare module PlayFabAdminModels { | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" - | "FacebookInstantGamesId"; + | "FacebookInstantGamesId" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { @@ -4345,6 +4371,15 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserWindowsHelloInfo */ + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index f0b2cb9d..fc5d29b6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -17,22 +17,13 @@ declare module PlayFabAuthenticationModule { declare module PlayFabAuthenticationModels { /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index bee757c1..8142c0fa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -77,6 +77,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/ConsumeItem */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the + * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. + * https://api.playfab.com/Documentation/Client/method/ConsumeXboxEntitlements + */ + ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data @@ -438,6 +444,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkWindowsHello */ LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Xbox Live account associated with the provided access code to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkXboxAccount + */ + LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -525,6 +536,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello */ LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls + * which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithXbox + */ + LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required @@ -602,7 +619,7 @@ declare module PlayFabClientModule { * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. * https://api.playfab.com/Documentation/Client/method/ReportDeviceInfo */ - ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. @@ -709,6 +726,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello */ UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Xbox Live account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkXboxAccount + */ + UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, @@ -727,7 +749,7 @@ declare module PlayFabClientModule { * Update the avatar URL of the player * https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl */ - UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData @@ -1200,6 +1222,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsRequest */ + export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsResult */ + export interface ConsumeXboxEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ @@ -1690,19 +1728,17 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } @@ -1717,13 +1753,6 @@ declare module PlayFabClientModels { } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ @@ -2908,7 +2937,7 @@ declare module PlayFabClientModels { Annotation?: string; /** Unique ItemId of the item to purchase. */ ItemId: string; - /** How many of this item to purchase. */ + /** How many of this item to purchase. Min 1, maximum 25. */ Quantity: number; /** Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). */ UpgradeFromItems?: string[]; @@ -3125,6 +3154,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountRequest */ + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountResult */ + export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3171,7 +3214,8 @@ declare module PlayFabClientModels { | "GameServer" | "CustomServer" | "NintendoSwitch" - | "FacebookInstantGames"; + | "FacebookInstantGames" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { @@ -3207,7 +3251,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; @@ -3231,7 +3275,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3249,7 +3293,7 @@ declare module PlayFabClientModels { Email: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; @@ -3271,7 +3315,7 @@ declare module PlayFabClientModels { FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3293,7 +3337,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3313,7 +3357,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Unique Game Center player id. */ PlayerId?: string; @@ -3335,7 +3379,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3364,7 +3408,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; @@ -3390,7 +3434,7 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3410,7 +3454,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; @@ -3428,7 +3472,7 @@ declare module PlayFabClientModels { export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; @@ -3450,7 +3494,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3477,7 +3521,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3495,7 +3539,7 @@ declare module PlayFabClientModels { ChallengeSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -3507,6 +3551,28 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithXboxRequest */ + export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -3900,7 +3966,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password?: string; @@ -3948,7 +4014,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4542,6 +4608,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountRequest */ + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountResult */ + export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -4728,6 +4806,8 @@ declare module PlayFabClientModels { CustomIdInfo?: UserCustomIdInfo; /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; + /** Facebook Instant Games account information, if a Facebook Instant Games account has been linked */ + FacebookInstantGamesIdInfo?: UserFacebookInstantGamesIdInfo; /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ @@ -4736,6 +4816,10 @@ declare module PlayFabClientModels { IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; + /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchDeviceIdInfo?: number; + /** OpenID Connect information, if any OpenID Connect accounts have been linked */ + OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ @@ -4750,6 +4834,8 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -4795,6 +4881,13 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInstantGamesIdInfo */ + export interface UserFacebookInstantGamesIdInfo { + /** Facebook Instant Games ID */ + FacebookInstantGamesId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ @@ -4831,6 +4924,24 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserNintendoSwitchDeviceIdInfo */ + export interface UserNintendoSwitchDeviceIdInfo { + /** Nintendo Switch Device ID */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserOpenIdInfo */ + export interface UserOpenIdInfo { + /** OpenID Connection ID */ + ConnectionId?: string; + /** OpenID Issuer */ + Issuer?: string; + /** OpenID Subject */ + Subject?: string; + + } + type UserOrigination = "Organic" | "Steam" | "Google" @@ -4851,7 +4962,8 @@ declare module PlayFabClientModels { | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" - | "FacebookInstantGamesId"; + | "FacebookInstantGamesId" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { @@ -4929,6 +5041,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserWindowsHelloInfo */ + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 6d191390..f34cd74a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -5,7 +5,8 @@ declare module PlayFabCloudScriptModule { ForgetAllCredentials(): void; /** - * Executes CloudScript using the Entity Profile + * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of + * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. * https://api.playfab.com/Documentation/CloudScript/method/ExecuteEntityCloudScript */ ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -20,22 +21,13 @@ declare module PlayFabCloudScriptModels { /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index 8defe6f4..0bba4320 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -92,22 +92,13 @@ declare module PlayFabDataModels { /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsRequest */ export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 001f1f51..454d5aaf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -16,22 +16,13 @@ declare module PlayFabEventsModule { declare module PlayFabEventsModels { /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ export interface EventContents { /** Entity associated with the event */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index ee0d20bf..a662b159 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -8,17 +8,17 @@ declare module PlayFabGroupsModule { * Accepts an outstanding invitation to to join a group * https://api.playfab.com/Documentation/Groups/method/AcceptGroupApplication */ - AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Accepts an invitation to join a group * https://api.playfab.com/Documentation/Groups/method/AcceptGroupInvitation */ - AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds members to a group or role. * https://api.playfab.com/Documentation/Groups/method/AddMembers */ - AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Applies to join a group * https://api.playfab.com/Documentation/Groups/method/ApplyToGroup @@ -28,12 +28,12 @@ declare module PlayFabGroupsModule { * Blocks a list of entities from joining a group. * https://api.playfab.com/Documentation/Groups/method/BlockEntity */ - BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Changes the role membership of a list of entities from one role to another. * https://api.playfab.com/Documentation/Groups/method/ChangeMemberRole */ - ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new group. * https://api.playfab.com/Documentation/Groups/method/CreateGroup @@ -48,12 +48,12 @@ declare module PlayFabGroupsModule { * Deletes a group and all roles, invitations, join requests, and blocks associated with it. * https://api.playfab.com/Documentation/Groups/method/DeleteGroup */ - DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing role in a group. * https://api.playfab.com/Documentation/Groups/method/DeleteRole */ - DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets information about a group and its roles * https://api.playfab.com/Documentation/Groups/method/GetGroup @@ -103,22 +103,22 @@ declare module PlayFabGroupsModule { * Removes an application to join a group * https://api.playfab.com/Documentation/Groups/method/RemoveGroupApplication */ - RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an invitation join a group * https://api.playfab.com/Documentation/Groups/method/RemoveGroupInvitation */ - RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes members from a group. * https://api.playfab.com/Documentation/Groups/method/RemoveMembers */ - RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unblocks a list of entities from joining a group * https://api.playfab.com/Documentation/Groups/method/UnblockEntity */ - UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates non-membership data about a group. * https://api.playfab.com/Documentation/Groups/method/UpdateGroup @@ -291,19 +291,17 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } @@ -318,13 +316,6 @@ declare module PlayFabGroupsModels { } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityWithLineage */ export interface EntityWithLineage { /** The entity key for the specified entity */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index d961faab..c007ec88 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -55,12 +55,10 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } @@ -126,13 +124,6 @@ declare module PlayFabProfilesModels { } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d6db425e..f64cda0c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -14,7 +14,7 @@ declare module PlayFabServerModule { * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. * https://api.playfab.com/Documentation/Server/method/AddFriend */ - AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/AddPlayerTag @@ -71,7 +71,7 @@ declare module PlayFabServerModule { * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ - DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. * https://api.playfab.com/Documentation/Server/method/DeleteUsers @@ -396,7 +396,7 @@ declare module PlayFabServerModule { * Removes the specified friend from the the user's friend list * https://api.playfab.com/Documentation/Server/method/RemoveFriend */ - RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag @@ -457,7 +457,7 @@ declare module PlayFabServerModule { * Updates the tag list for a specified user in the friend list of another user * https://api.playfab.com/Documentation/Server/method/SetFriendTags */ - SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the custom data of the indicated Game Server Instance * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData @@ -525,7 +525,7 @@ declare module PlayFabServerModule { * Update the avatar URL of the specified player * https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl */ - UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates information of a list of existing bans specified with Ban Ids. * https://api.playfab.com/Documentation/Server/method/UpdateBans @@ -579,7 +579,7 @@ declare module PlayFabServerModule { * Updates the key-value pair data tagged to the specified item, which is read-only from the client. * https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData */ - UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData @@ -1504,29 +1504,20 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -2026,16 +2017,16 @@ declare module PlayFabServerModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "GameServerOk" - | "GameServerAccepted" - | "GameServerNoContent" - | "GameServerBadRequest" - | "GameServerUnauthorized" - | "GameServerForbidden" - | "GameServerNotFound" - | "GameServerConflict" - | "GameServerInternalServerError" - | "GameServerServiceUnavailable" + | "MultiplayerServerError" + | "MultiplayerServerTooManyRequests" + | "MultiplayerServerNoContent" + | "MultiplayerServerBadRequest" + | "MultiplayerServerUnauthorized" + | "MultiplayerServerForbidden" + | "MultiplayerServerNotFound" + | "MultiplayerServerConflict" + | "MultiplayerServerInternalServerError" + | "MultiplayerServerUnavailable" | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" @@ -2167,8 +2158,6 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique PlayFab assigned ID for a specific character owned by a user */ - CharacterId: string; /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; /** Maximum number of entries to retrieve. */ @@ -3069,7 +3058,8 @@ declare module PlayFabServerModels { | "GameServer" | "CustomServer" | "NintendoSwitch" - | "FacebookInstantGames"; + | "FacebookInstantGames" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { @@ -4302,6 +4292,8 @@ declare module PlayFabServerModels { CustomIdInfo?: UserCustomIdInfo; /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; + /** Facebook Instant Games account information, if a Facebook Instant Games account has been linked */ + FacebookInstantGamesIdInfo?: UserFacebookInstantGamesIdInfo; /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ @@ -4310,6 +4302,10 @@ declare module PlayFabServerModels { IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; + /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchDeviceIdInfo?: number; + /** OpenID Connect information, if any OpenID Connect accounts have been linked */ + OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ @@ -4324,6 +4320,8 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -4369,6 +4367,13 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInstantGamesIdInfo */ + export interface UserFacebookInstantGamesIdInfo { + /** Facebook Instant Games ID */ + FacebookInstantGamesId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ @@ -4405,6 +4410,24 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserNintendoSwitchDeviceIdInfo */ + export interface UserNintendoSwitchDeviceIdInfo { + /** Nintendo Switch Device ID */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserOpenIdInfo */ + export interface UserOpenIdInfo { + /** OpenID Connection ID */ + ConnectionId?: string; + /** OpenID Issuer */ + Issuer?: string; + /** OpenID Subject */ + Subject?: string; + + } + type UserOrigination = "Organic" | "Steam" | "Google" @@ -4425,7 +4448,8 @@ declare module PlayFabServerModels { | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" - | "FacebookInstantGamesId"; + | "FacebookInstantGamesId" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { @@ -4492,6 +4516,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserWindowsHelloInfo */ + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 725f058e..e1635b2d 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -11,7 +11,7 @@ var PlayFabApiTests = { testData: { entityToken: null, entityId: null, - entityTypeString: null, + entityType: null, playFabId: null, testNumber: null, }, @@ -425,7 +425,7 @@ var PlayFabApiTests = { var getTokenCallback = function (result, error) { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); PlayFabApiTests.testData.entityId = result.data.Entity.Id; - PlayFabApiTests.testData.entityTypeString = result.data.Entity.TypeString; + PlayFabApiTests.testData.entityType = result.data.Entity.Type; getTokenDone(); }; var getTokenRequest = {}; @@ -441,7 +441,7 @@ var PlayFabApiTests = { var getObjectRequest = { Entity: { Id: PlayFabApiTests.testData.entityId, - TypeString: PlayFabApiTests.testData.entityTypeString, + Type: PlayFabApiTests.testData.entityType, }, EscapeObject: true, }; @@ -472,7 +472,7 @@ var PlayFabApiTests = { var updateDataRequest = { Entity: { Id: PlayFabApiTests.testData.entityId, - TypeString: PlayFabApiTests.testData.entityTypeString, + Type: PlayFabApiTests.testData.entityType, }, Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, DataObject: PlayFabApiTests.testData.testNumber }] }; diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index a31660d2..f7fddbcb 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -15,7 +15,7 @@ var PlayFabApiTests = { testData: { entityToken: null, // Entity-Login: filled after login entityId: null, // Entity-Login: filled after login - entityTypeString: null, // Entity-Login: filled after login + entityType: null, // Entity-Login: filled after login playFabId: null, // Client-Login: filled during login testNumber: null, // Arbitrary counter, used by several tests }, @@ -493,7 +493,7 @@ var PlayFabApiTests = { var getTokenCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { PlayFabApiTests.VerifyNullError(result, error, assert, "Testing GetToken result"); PlayFabApiTests.testData.entityId = result.data.Entity.Id; - PlayFabApiTests.testData.entityTypeString = result.data.Entity.TypeString; + PlayFabApiTests.testData.entityType = result.data.Entity.Type; getTokenDone(); }; @@ -511,7 +511,7 @@ var PlayFabApiTests = { var getObjectRequest = { Entity: { Id: PlayFabApiTests.testData.entityId, - TypeString: PlayFabApiTests.testData.entityTypeString, + Type: PlayFabApiTests.testData.entityType, }, EscapeObject: true, }; @@ -547,7 +547,7 @@ var PlayFabApiTests = { var updateDataRequest = { Entity: { Id: PlayFabApiTests.testData.entityId, - TypeString: PlayFabApiTests.testData.entityTypeString, + Type: PlayFabApiTests.testData.entityType, }, Objects: [{ ObjectName: PlayFabApiTests.testConstants.TEST_DATA_KEY, DataObject: PlayFabApiTests.testData.testNumber }] }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6968a967..24e747d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index aca652e4..ae378671 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6e08c731..f87ff219 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -232,6 +236,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + ConsumeXboxEntitlements: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeXboxEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + CreateSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -560,6 +569,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, 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; var overloadCallback = function (result, error) { @@ -812,6 +826,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithXbox", request, null, null, overloadCallback, customData, extraHeaders); + }, + Matchmake: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -997,6 +1029,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 77e7adaa..0f2702f4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 0c49d90d..e240d5e6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 5f76dd93..3c19397f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 5e1afab8..301eb02a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index c461533e..21ab1ab5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 648dc359..50e5ceaa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1aec61a7..2526f0b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.28.180809", + sdkVersion: "1.29.180829", requestGetParams: { - sdk: "JavaScriptSDK-1.28.180809" + sdk: "JavaScriptSDK-1.29.180829" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -60,21 +60,25 @@ if(!PlayFab._internalSettings) { var startTime = new Date(); var requestBody = JSON.stringify(request); - var completeUrl = url; + var urlArr = [url]; var getParams = PlayFab._internalSettings.requestGetParams; if (getParams != null) { var firstParam = true; for (var key in getParams) { if (firstParam) { - completeUrl += "?"; + urlArr.push("?"); firstParam = false; } else { - completeUrl += "&"; + urlArr.push("&"); } - completeUrl += key + "=" + getParams[key]; + 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); @@ -143,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_1"; -PlayFab.sdkVersion = "1.28.180809"; +PlayFab.buildIdentifier = "default_manual_build"; +PlayFab.sdkVersion = "1.29.180829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3717732f..9a8cc307 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -8,7 +8,7 @@ declare module PlayFabAdminModule { * Abort an ongoing task instance. * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ - AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new news item to the title's news feed * https://api.playfab.com/Documentation/Admin/method/AddNews @@ -98,7 +98,7 @@ declare module PlayFabAdminModule { * Delete a task. * https://api.playfab.com/Documentation/Admin/method/DeleteTask */ - DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Permanently deletes a title and all associated configuration * https://api.playfab.com/Documentation/Admin/method/DeleteTitle @@ -514,7 +514,7 @@ declare module PlayFabAdminModule { * Update an existing task. * https://api.playfab.com/Documentation/Admin/method/UpdateTask */ - UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which is readable and writable by the client * https://api.playfab.com/Documentation/Admin/method/UpdateUserData @@ -1591,29 +1591,20 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ @@ -2058,16 +2049,16 @@ declare module PlayFabAdminModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "GameServerOk" - | "GameServerAccepted" - | "GameServerNoContent" - | "GameServerBadRequest" - | "GameServerUnauthorized" - | "GameServerForbidden" - | "GameServerNotFound" - | "GameServerConflict" - | "GameServerInternalServerError" - | "GameServerServiceUnavailable" + | "MultiplayerServerError" + | "MultiplayerServerTooManyRequests" + | "MultiplayerServerNoContent" + | "MultiplayerServerBadRequest" + | "MultiplayerServerUnauthorized" + | "MultiplayerServerForbidden" + | "MultiplayerServerNotFound" + | "MultiplayerServerConflict" + | "MultiplayerServerInternalServerError" + | "MultiplayerServerUnavailable" | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" @@ -2928,7 +2919,8 @@ declare module PlayFabAdminModels { | "GameServer" | "CustomServer" | "NintendoSwitch" - | "FacebookInstantGames"; + | "FacebookInstantGames" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { @@ -4155,6 +4147,8 @@ declare module PlayFabAdminModels { CustomIdInfo?: UserCustomIdInfo; /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; + /** Facebook Instant Games account information, if a Facebook Instant Games account has been linked */ + FacebookInstantGamesIdInfo?: UserFacebookInstantGamesIdInfo; /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ @@ -4163,6 +4157,10 @@ declare module PlayFabAdminModels { IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; + /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchDeviceIdInfo?: number; + /** OpenID Connect information, if any OpenID Connect accounts have been linked */ + OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ @@ -4177,6 +4175,8 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -4222,6 +4222,13 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInstantGamesIdInfo */ + export interface UserFacebookInstantGamesIdInfo { + /** Facebook Instant Games ID */ + FacebookInstantGamesId?: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ @@ -4258,6 +4265,24 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserNintendoSwitchDeviceIdInfo */ + export interface UserNintendoSwitchDeviceIdInfo { + /** Nintendo Switch Device ID */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserOpenIdInfo */ + export interface UserOpenIdInfo { + /** OpenID Connection ID */ + ConnectionId?: string; + /** OpenID Issuer */ + Issuer?: string; + /** OpenID Subject */ + Subject?: string; + + } + type UserOrigination = "Organic" | "Steam" | "Google" @@ -4278,7 +4303,8 @@ declare module PlayFabAdminModels { | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" - | "FacebookInstantGamesId"; + | "FacebookInstantGamesId" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { @@ -4345,6 +4371,15 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserWindowsHelloInfo */ + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index f0b2cb9d..fc5d29b6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -17,22 +17,13 @@ declare module PlayFabAuthenticationModule { declare module PlayFabAuthenticationModels { /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index bee757c1..8142c0fa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -77,6 +77,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/ConsumeItem */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the + * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. + * https://api.playfab.com/Documentation/Client/method/ConsumeXboxEntitlements + */ + ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data @@ -438,6 +444,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkWindowsHello */ LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Xbox Live account associated with the provided access code to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkXboxAccount + */ + LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -525,6 +536,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello */ LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls + * which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithXbox + */ + LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required @@ -602,7 +619,7 @@ declare module PlayFabClientModule { * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. * https://api.playfab.com/Documentation/Client/method/ReportDeviceInfo */ - ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. @@ -709,6 +726,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello */ UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Xbox Live account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkXboxAccount + */ + UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, @@ -727,7 +749,7 @@ declare module PlayFabClientModule { * Update the avatar URL of the player * https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl */ - UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData @@ -1200,6 +1222,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsRequest */ + export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsResult */ + export interface ConsumeXboxEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ @@ -1690,19 +1728,17 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } @@ -1717,13 +1753,6 @@ declare module PlayFabClientModels { } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ @@ -2908,7 +2937,7 @@ declare module PlayFabClientModels { Annotation?: string; /** Unique ItemId of the item to purchase. */ ItemId: string; - /** How many of this item to purchase. */ + /** How many of this item to purchase. Min 1, maximum 25. */ Quantity: number; /** Items to be upgraded as a result of this purchase (upgraded items are hidden, as they are "replaced" by the new items). */ UpgradeFromItems?: string[]; @@ -3125,6 +3154,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountRequest */ + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountResult */ + export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3171,7 +3214,8 @@ declare module PlayFabClientModels { | "GameServer" | "CustomServer" | "NintendoSwitch" - | "FacebookInstantGames"; + | "FacebookInstantGames" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { @@ -3207,7 +3251,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; @@ -3231,7 +3275,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3249,7 +3293,7 @@ declare module PlayFabClientModels { Email: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; @@ -3271,7 +3315,7 @@ declare module PlayFabClientModels { FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3293,7 +3337,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3313,7 +3357,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Unique Game Center player id. */ PlayerId?: string; @@ -3335,7 +3379,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3364,7 +3408,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; @@ -3390,7 +3434,7 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3410,7 +3454,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; @@ -3428,7 +3472,7 @@ declare module PlayFabClientModels { export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; @@ -3450,7 +3494,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3477,7 +3521,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3495,7 +3539,7 @@ declare module PlayFabClientModels { ChallengeSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -3507,6 +3551,28 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithXboxRequest */ + export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -3900,7 +3966,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password?: string; @@ -3948,7 +4014,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Flag to automatically login the player's title_player_account and return the associated entity token. */ + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4542,6 +4608,18 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountRequest */ + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountResult */ + export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -4728,6 +4806,8 @@ declare module PlayFabClientModels { CustomIdInfo?: UserCustomIdInfo; /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; + /** Facebook Instant Games account information, if a Facebook Instant Games account has been linked */ + FacebookInstantGamesIdInfo?: UserFacebookInstantGamesIdInfo; /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ @@ -4736,6 +4816,10 @@ declare module PlayFabClientModels { IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; + /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchDeviceIdInfo?: number; + /** OpenID Connect information, if any OpenID Connect accounts have been linked */ + OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ @@ -4750,6 +4834,8 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -4795,6 +4881,13 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInstantGamesIdInfo */ + export interface UserFacebookInstantGamesIdInfo { + /** Facebook Instant Games ID */ + FacebookInstantGamesId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ @@ -4831,6 +4924,24 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserNintendoSwitchDeviceIdInfo */ + export interface UserNintendoSwitchDeviceIdInfo { + /** Nintendo Switch Device ID */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserOpenIdInfo */ + export interface UserOpenIdInfo { + /** OpenID Connection ID */ + ConnectionId?: string; + /** OpenID Issuer */ + Issuer?: string; + /** OpenID Subject */ + Subject?: string; + + } + type UserOrigination = "Organic" | "Steam" | "Google" @@ -4851,7 +4962,8 @@ declare module PlayFabClientModels { | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" - | "FacebookInstantGamesId"; + | "FacebookInstantGamesId" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { @@ -4929,6 +5041,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserWindowsHelloInfo */ + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 6d191390..f34cd74a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -5,7 +5,8 @@ declare module PlayFabCloudScriptModule { ForgetAllCredentials(): void; /** - * Executes CloudScript using the Entity Profile + * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of + * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. * https://api.playfab.com/Documentation/CloudScript/method/ExecuteEntityCloudScript */ ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -20,22 +21,13 @@ declare module PlayFabCloudScriptModels { /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index 8defe6f4..0bba4320 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -92,22 +92,13 @@ declare module PlayFabDataModels { /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsRequest */ export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 001f1f51..454d5aaf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -16,22 +16,13 @@ declare module PlayFabEventsModule { declare module PlayFabEventsModels { /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ export interface EventContents { /** Entity associated with the event */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index ee0d20bf..a662b159 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -8,17 +8,17 @@ declare module PlayFabGroupsModule { * Accepts an outstanding invitation to to join a group * https://api.playfab.com/Documentation/Groups/method/AcceptGroupApplication */ - AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Accepts an invitation to join a group * https://api.playfab.com/Documentation/Groups/method/AcceptGroupInvitation */ - AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds members to a group or role. * https://api.playfab.com/Documentation/Groups/method/AddMembers */ - AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Applies to join a group * https://api.playfab.com/Documentation/Groups/method/ApplyToGroup @@ -28,12 +28,12 @@ declare module PlayFabGroupsModule { * Blocks a list of entities from joining a group. * https://api.playfab.com/Documentation/Groups/method/BlockEntity */ - BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Changes the role membership of a list of entities from one role to another. * https://api.playfab.com/Documentation/Groups/method/ChangeMemberRole */ - ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new group. * https://api.playfab.com/Documentation/Groups/method/CreateGroup @@ -48,12 +48,12 @@ declare module PlayFabGroupsModule { * Deletes a group and all roles, invitations, join requests, and blocks associated with it. * https://api.playfab.com/Documentation/Groups/method/DeleteGroup */ - DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing role in a group. * https://api.playfab.com/Documentation/Groups/method/DeleteRole */ - DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets information about a group and its roles * https://api.playfab.com/Documentation/Groups/method/GetGroup @@ -103,22 +103,22 @@ declare module PlayFabGroupsModule { * Removes an application to join a group * https://api.playfab.com/Documentation/Groups/method/RemoveGroupApplication */ - RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an invitation join a group * https://api.playfab.com/Documentation/Groups/method/RemoveGroupInvitation */ - RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes members from a group. * https://api.playfab.com/Documentation/Groups/method/RemoveMembers */ - RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unblocks a list of entities from joining a group * https://api.playfab.com/Documentation/Groups/method/UnblockEntity */ - UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates non-membership data about a group. * https://api.playfab.com/Documentation/Groups/method/UpdateGroup @@ -291,19 +291,17 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } @@ -318,13 +316,6 @@ declare module PlayFabGroupsModels { } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityWithLineage */ export interface EntityWithLineage { /** The entity key for the specified entity */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index d961faab..c007ec88 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -55,12 +55,10 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } @@ -126,13 +124,6 @@ declare module PlayFabProfilesModels { } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d6db425e..f64cda0c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -14,7 +14,7 @@ declare module PlayFabServerModule { * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. * https://api.playfab.com/Documentation/Server/method/AddFriend */ - AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/AddPlayerTag @@ -71,7 +71,7 @@ declare module PlayFabServerModule { * https://api.playfab.com/docs/tutorials/landing-players/shared-groups * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ - DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. * https://api.playfab.com/Documentation/Server/method/DeleteUsers @@ -396,7 +396,7 @@ declare module PlayFabServerModule { * Removes the specified friend from the the user's friend list * https://api.playfab.com/Documentation/Server/method/RemoveFriend */ - RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag @@ -457,7 +457,7 @@ declare module PlayFabServerModule { * Updates the tag list for a specified user in the friend list of another user * https://api.playfab.com/Documentation/Server/method/SetFriendTags */ - SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the custom data of the indicated Game Server Instance * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData @@ -525,7 +525,7 @@ declare module PlayFabServerModule { * Update the avatar URL of the specified player * https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl */ - UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates information of a list of existing bans specified with Ban Ids. * https://api.playfab.com/Documentation/Server/method/UpdateBans @@ -579,7 +579,7 @@ declare module PlayFabServerModule { * Updates the key-value pair data tagged to the specified item, which is read-only from the client. * https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData */ - UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData @@ -1504,29 +1504,20 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ - export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { - /** Entity profile ID. */ + /** Unique ID of the entity. */ Id: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ Type?: string; - /** Entity type. Optional to be used but one of EntityType or EntityTypeString must be set. */ - TypeString?: string; } - type EntityTypes = "title" - | "master_player_account" - | "title_player_account" - | "character" - | "group" - | "service"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -2026,16 +2017,16 @@ declare module PlayFabServerModels { | "NoValidCertificateForAad" | "InvalidCertificateForAad" | "DuplicateDropTableId" - | "GameServerOk" - | "GameServerAccepted" - | "GameServerNoContent" - | "GameServerBadRequest" - | "GameServerUnauthorized" - | "GameServerForbidden" - | "GameServerNotFound" - | "GameServerConflict" - | "GameServerInternalServerError" - | "GameServerServiceUnavailable" + | "MultiplayerServerError" + | "MultiplayerServerTooManyRequests" + | "MultiplayerServerNoContent" + | "MultiplayerServerBadRequest" + | "MultiplayerServerUnauthorized" + | "MultiplayerServerForbidden" + | "MultiplayerServerNotFound" + | "MultiplayerServerConflict" + | "MultiplayerServerInternalServerError" + | "MultiplayerServerUnavailable" | "ExplicitContentDetected" | "PIIContentDetected" | "InvalidScheduledTaskParameter" @@ -2167,8 +2158,6 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique PlayFab assigned ID for a specific character owned by a user */ - CharacterId: string; /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; /** Maximum number of entries to retrieve. */ @@ -3069,7 +3058,8 @@ declare module PlayFabServerModels { | "GameServer" | "CustomServer" | "NintendoSwitch" - | "FacebookInstantGames"; + | "FacebookInstantGames" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { @@ -4302,6 +4292,8 @@ declare module PlayFabServerModels { CustomIdInfo?: UserCustomIdInfo; /** User Facebook information, if a Facebook account has been linked */ FacebookInfo?: UserFacebookInfo; + /** Facebook Instant Games account information, if a Facebook Instant Games account has been linked */ + FacebookInstantGamesIdInfo?: UserFacebookInstantGamesIdInfo; /** User Gamecenter information, if a Gamecenter account has been linked */ GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ @@ -4310,6 +4302,10 @@ declare module PlayFabServerModels { IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; + /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchDeviceIdInfo?: number; + /** OpenID Connect information, if any OpenID Connect accounts have been linked */ + OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ @@ -4324,6 +4320,8 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -4369,6 +4367,13 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInstantGamesIdInfo */ + export interface UserFacebookInstantGamesIdInfo { + /** Facebook Instant Games ID */ + FacebookInstantGamesId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ @@ -4405,6 +4410,24 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserNintendoSwitchDeviceIdInfo */ + export interface UserNintendoSwitchDeviceIdInfo { + /** Nintendo Switch Device ID */ + NintendoSwitchDeviceId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserOpenIdInfo */ + export interface UserOpenIdInfo { + /** OpenID Connection ID */ + ConnectionId?: string; + /** OpenID Issuer */ + Issuer?: string; + /** OpenID Subject */ + Subject?: string; + + } + type UserOrigination = "Organic" | "Steam" | "Google" @@ -4425,7 +4448,8 @@ declare module PlayFabServerModels { | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" - | "FacebookInstantGamesId"; + | "FacebookInstantGamesId" + | "OpenIdConnect"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { @@ -4492,6 +4516,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserWindowsHelloInfo */ + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ From cf20b06cb458c3fffeb348bb8e68ddf431ff6305 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Fri, 7 Sep 2018 00:29:55 +0000 Subject: [PATCH 067/253] https://api.playfab.com/releaseNotes/#180906 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 175 ++++++++++++++++++ .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../PlayFab/PlayFabLocalizationApi.d.ts | 30 +++ .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 3 +- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 + PlayFabTestingExample/PlayFabApiTest.csproj | 2 + PlayFabTestingExample/index.html | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 175 ++++++++++++++++++ .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 + .../PlayFab/PlayFabLocalizationApi.d.ts | 30 +++ .../typings/PlayFab/PlayFabProfilesApi.d.ts | 3 +- 31 files changed, 504 insertions(+), 83 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 87c37278..268bb555 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.29.180829", + "version": "1.30.180906", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 24e747d3..ead2329d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ae378671..4b369d89 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f87ff219..48fd2822 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0f2702f4..dffd3acd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e240d5e6..e2e6b913 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3c19397f..0611939d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 301eb02a..596d4b84 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js new file mode 100644 index 00000000..55606e0e --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -0,0 +1,175 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.30.180906", + requestGetParams: { + sdk: "JavaScriptSDK-1.30.180906" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; +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.LocalizationApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetLanguageList: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Locale/GetLanguageList", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabLocalizationSDK = PlayFab.LocalizationApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 21ab1ab5..4e9d9e5b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 50e5ceaa..a7858194 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 2526f0b4..eed0f6dd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts new file mode 100644 index 00000000..ff2a034f --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -0,0 +1,30 @@ +/// + +declare module PlayFabLocalizationModule { + export interface IPlayFabLocalization { + ForgetAllCredentials(): void; + + /** + * Retrieves the list of allowed languages, only accessible by title entities + * https://api.playfab.com/Documentation/Localization/method/GetLanguageList + */ + GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabLocalizationModels { + /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListRequest */ + export interface GetLanguageListRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListResponse */ + export interface GetLanguageListResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of allowed languages, in BCP47 two-letter format */ + LanguageList?: string[]; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index c007ec88..330026dc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -25,7 +25,8 @@ declare module PlayFabProfilesModule { */ SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Updates the entity's language + * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account + * language, Master Player Account language, and then title default language if the first two aren't set or supported. * https://api.playfab.com/Documentation/Profiles/method/SetProfileLanguage */ SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 859e8aa3..8b436eb2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -7,6 +7,7 @@ /// /// /// +/// /// declare module PlayFabModule { @@ -53,6 +54,7 @@ declare var PlayFab: { DataApi: PlayFabDataModule.IPlayFabData; EventsApi: PlayFabEventsModule.IPlayFabEvents; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; + LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; }; @@ -66,5 +68,6 @@ declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; +declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 5e73a05e..119550a3 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -33,6 +33,7 @@ +
      @@ -48,6 +49,7 @@ + diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index de5d2c5c..cde50886 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -19,6 +19,7 @@ + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 24e747d3..ead2329d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ae378671..4b369d89 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f87ff219..48fd2822 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0f2702f4..dffd3acd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e240d5e6..e2e6b913 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3c19397f..0611939d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 301eb02a..596d4b84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js new file mode 100644 index 00000000..55606e0e --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -0,0 +1,175 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.30.180906", + requestGetParams: { + sdk: "JavaScriptSDK-1.30.180906" + }, + sessionTicket: null, + productionServerUrl: ".playfabapi.com", + 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 () { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; +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.LocalizationApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetLanguageList: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Locale/GetLanguageList", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabLocalizationSDK = PlayFab.LocalizationApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 21ab1ab5..4e9d9e5b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 50e5ceaa..a7858194 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 2526f0b4..eed0f6dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.29.180829", + sdkVersion: "1.30.180906", requestGetParams: { - sdk: "JavaScriptSDK-1.29.180829" + sdk: "JavaScriptSDK-1.30.180906" }, sessionTicket: null, productionServerUrl: ".playfabapi.com", @@ -147,8 +147,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "default_manual_build"; -PlayFab.sdkVersion = "1.29.180829"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.30.180906"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 859e8aa3..8b436eb2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -7,6 +7,7 @@ /// /// /// +/// /// declare module PlayFabModule { @@ -53,6 +54,7 @@ declare var PlayFab: { DataApi: PlayFabDataModule.IPlayFabData; EventsApi: PlayFabEventsModule.IPlayFabEvents; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; + LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; }; @@ -66,5 +68,6 @@ declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; +declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts new file mode 100644 index 00000000..ff2a034f --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -0,0 +1,30 @@ +/// + +declare module PlayFabLocalizationModule { + export interface IPlayFabLocalization { + ForgetAllCredentials(): void; + + /** + * Retrieves the list of allowed languages, only accessible by title entities + * https://api.playfab.com/Documentation/Localization/method/GetLanguageList + */ + GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabLocalizationModels { + /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListRequest */ + export interface GetLanguageListRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListResponse */ + export interface GetLanguageListResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of allowed languages, in BCP47 two-letter format */ + LanguageList?: string[]; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index c007ec88..330026dc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -25,7 +25,8 @@ declare module PlayFabProfilesModule { */ SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Updates the entity's language + * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account + * language, Master Player Account language, and then title default language if the first two aren't set or supported. * https://api.playfab.com/Documentation/Profiles/method/SetProfileLanguage */ SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; From 55dd976b9449590f10e1492bc123c1f9a2fc1386 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 17 Sep 2018 23:01:26 +0000 Subject: [PATCH 068/253] https://api.playfab.com/releaseNotes/#180917 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 37 ++++- .../src/PlayFab/PlayFabAuthenticationApi.js | 17 ++- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 17 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 17 ++- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 17 ++- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 17 ++- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 17 ++- .../src/PlayFab/PlayFabLocalizationApi.js | 17 ++- .../src/PlayFab/PlayFabMatchmakerApi.js | 17 ++- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 17 ++- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 25 +++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 127 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 19 ++- .../src/PlayFab/PlayFabAdminApi.js | 37 ++++- .../src/PlayFab/PlayFabAuthenticationApi.js | 17 ++- .../src/PlayFab/PlayFabClientApi.js | 17 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 17 ++- .../src/PlayFab/PlayFabDataApi.js | 17 ++- .../src/PlayFab/PlayFabEventsApi.js | 17 ++- .../src/PlayFab/PlayFabGroupsApi.js | 17 ++- .../src/PlayFab/PlayFabLocalizationApi.js | 17 ++- .../src/PlayFab/PlayFabMatchmakerApi.js | 17 ++- .../src/PlayFab/PlayFabProfilesApi.js | 17 ++- .../src/PlayFab/PlayFabServerApi.js | 25 +++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 127 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 19 ++- 27 files changed, 633 insertions(+), 91 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 268bb555..c5b15558 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.30.180906", + "version": "1.31.180917", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ead2329d..9286c7e4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -320,6 +329,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -475,6 +489,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListMatchmakingQueues", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -500,6 +519,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -570,6 +594,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 4b369d89..eebf059f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 48fd2822..b5717a2a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index dffd3acd..0878a7c5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e2e6b913..1ea12577 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 0611939d..98f81d85 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 596d4b84..fbde19b5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 55606e0e..38bb0b39 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 4e9d9e5b..ea83e593 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index a7858194..57296917 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index eed0f6dd..d8e6bc08 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -220,11 +229,19 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + DeletePlayer: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + DeleteSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + /** + * @deprecated Please use DeletePlayer instead. + */ DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9a8cc307..1b2f3f86 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -168,6 +168,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Admin/method/GetMatchmakingQueue + */ + GetMatchmakingQueue(request: PlayFabAdminModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the list of titles that the player has played * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList @@ -328,6 +333,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all matchmaking queue configs. + * https://api.playfab.com/Documentation/Admin/method/ListMatchmakingQueues + */ + ListMatchmakingQueues(request: PlayFabAdminModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds @@ -353,6 +363,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Remove a matchmaking queue config. + * https://api.playfab.com/Documentation/Admin/method/RemoveMatchmakingQueue + */ + RemoveMatchmakingQueue(request: PlayFabAdminModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag @@ -426,6 +441,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create or update a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Admin/method/SetMatchmakingQueue + */ + SetMatchmakingQueue(request: PlayFabAdminModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret @@ -738,6 +758,12 @@ declare module PlayFabAdminModels { } + type AttributeNotSpecifiedBehavior = "UseDefault" + | "MatchAny"; + + type AttributeSource = "User" + | "PlayerEntity"; + type AuthTokenType = "Email" /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ @@ -2296,6 +2322,20 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueRequest */ + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to retrieve. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueResult */ + export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2875,6 +2915,18 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesRequest */ + export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesResult */ + export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of matchmaking queue configs for this title. */ + MatchMakingQueues?: MatchmakingQueueConfig[]; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2952,6 +3004,42 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueConfig */ + export interface MatchmakingQueueConfig { + /** Maximum number of players in a match. */ + MaxMatchSize: number; + /** Minimum number of players in a match. */ + MinMatchSize: number; + /** Unique identifier for a Queue. Chosen by the developer. */ + Name: string; + /** List of rules used to find an optimal match. */ + Rules?: MatchmakingQueueRule[]; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueRule */ + export interface MatchmakingQueueRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior?: string; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** Type of rule being described. */ + Type: string; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ @@ -3312,6 +3400,15 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.QueueRuleAttribute */ + export interface QueueRuleAttribute { + /** Specifies which attribute in a ticket to use. */ + Path: string; + /** Specifies which source the attribute comes from. */ + Source: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ @@ -3362,6 +3459,18 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueRequest */ + export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to remove. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueResult */ + export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3558,6 +3667,12 @@ declare module PlayFabAdminModels { } + type RuleType = "Unknown" + | "DifferenceRule" + | "StringEqualityRule" + | "MatchTotalRule" + | "SetIntersectionRule"; + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ @@ -3632,6 +3747,18 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueRequest */ + export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueResult */ + export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f64cda0c..11573b20 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -65,6 +65,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a user's player account from a title and deletes all associated data + * https://api.playfab.com/Documentation/Server/method/DeletePlayer + */ + DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: @@ -73,7 +78,7 @@ declare module PlayFabServerModule { */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + * Deletes custom data, all account linkages, and statistics. * https://api.playfab.com/Documentation/Server/method/DeleteUsers */ DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -1464,6 +1469,18 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerRequest */ + export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerResult */ + export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ead2329d..9286c7e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -320,6 +329,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -475,6 +489,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListMatchmakingQueues", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -500,6 +519,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -570,6 +594,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 4b369d89..eebf059f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 48fd2822..b5717a2a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index dffd3acd..0878a7c5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e2e6b913..1ea12577 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 0611939d..98f81d85 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 596d4b84..fbde19b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 55606e0e..38bb0b39 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 4e9d9e5b..ea83e593 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index a7858194..57296917 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index eed0f6dd..d8e6bc08 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,11 +21,12 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.30.180906", + sdkVersion: "1.31.180917", requestGetParams: { - sdk: "JavaScriptSDK-1.30.180906" + sdk: "JavaScriptSDK-1.31.180917" }, sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this productionServerUrl: ".playfabapi.com", errorTitleId: "Must be have PlayFab.settings.titleId set to call this method", errorLoggedIn: "Must be logged in to call this method", @@ -33,7 +34,15 @@ if(!PlayFab._internalSettings) { errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method", GetServerUrl: function () { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + if (!(PlayFab._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.productionServerUrl; + } }, InjectHeaders: function (xhr, headersObj) { @@ -148,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.30.180906"; +PlayFab.sdkVersion = "1.31.180917"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -220,11 +229,19 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + DeletePlayer: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + DeleteSharedGroup: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + /** + * @deprecated Please use DeletePlayer instead. + */ DeleteUsers: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9a8cc307..1b2f3f86 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -168,6 +168,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Admin/method/GetMatchmakingQueue + */ + GetMatchmakingQueue(request: PlayFabAdminModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the list of titles that the player has played * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList @@ -328,6 +333,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all matchmaking queue configs. + * https://api.playfab.com/Documentation/Admin/method/ListMatchmakingQueues + */ + ListMatchmakingQueues(request: PlayFabAdminModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds @@ -353,6 +363,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Remove a matchmaking queue config. + * https://api.playfab.com/Documentation/Admin/method/RemoveMatchmakingQueue + */ + RemoveMatchmakingQueue(request: PlayFabAdminModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag @@ -426,6 +441,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create or update a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Admin/method/SetMatchmakingQueue + */ + SetMatchmakingQueue(request: PlayFabAdminModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret @@ -738,6 +758,12 @@ declare module PlayFabAdminModels { } + type AttributeNotSpecifiedBehavior = "UseDefault" + | "MatchAny"; + + type AttributeSource = "User" + | "PlayerEntity"; + type AuthTokenType = "Email" /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ @@ -2296,6 +2322,20 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueRequest */ + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to retrieve. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueResult */ + export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2875,6 +2915,18 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesRequest */ + export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesResult */ + export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of matchmaking queue configs for this title. */ + MatchMakingQueues?: MatchmakingQueueConfig[]; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2952,6 +3004,42 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueConfig */ + export interface MatchmakingQueueConfig { + /** Maximum number of players in a match. */ + MaxMatchSize: number; + /** Minimum number of players in a match. */ + MinMatchSize: number; + /** Unique identifier for a Queue. Chosen by the developer. */ + Name: string; + /** List of rules used to find an optimal match. */ + Rules?: MatchmakingQueueRule[]; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueRule */ + export interface MatchmakingQueueRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior?: string; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** Type of rule being described. */ + Type: string; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ @@ -3312,6 +3400,15 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.QueueRuleAttribute */ + export interface QueueRuleAttribute { + /** Specifies which attribute in a ticket to use. */ + Path: string; + /** Specifies which source the attribute comes from. */ + Source: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ @@ -3362,6 +3459,18 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueRequest */ + export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to remove. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueResult */ + export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3558,6 +3667,12 @@ declare module PlayFabAdminModels { } + type RuleType = "Unknown" + | "DifferenceRule" + | "StringEqualityRule" + | "MatchTotalRule" + | "SetIntersectionRule"; + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ @@ -3632,6 +3747,18 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueRequest */ + export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueResult */ + export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f64cda0c..11573b20 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -65,6 +65,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a user's player account from a title and deletes all associated data + * https://api.playfab.com/Documentation/Server/method/DeletePlayer + */ + DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: @@ -73,7 +78,7 @@ declare module PlayFabServerModule { */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Deletes the users for the provided game. Deletes custom data, all account linkages, and statistics. + * Deletes custom data, all account linkages, and statistics. * https://api.playfab.com/Documentation/Server/method/DeleteUsers */ DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -1464,6 +1469,18 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerRequest */ + export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerResult */ + export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ From 486c3be605bd9f0b4cafa20340b6ac6a57c30763 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 25 Sep 2018 00:21:40 +0000 Subject: [PATCH 069/253] https://api.playfab.com/releaseNotes/#180924 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ 25 files changed, 93 insertions(+), 89 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c5b15558..0a02481a 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.31.180917", + "version": "1.32.180924", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 9286c7e4..9550447c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index eebf059f..1e7072ee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b5717a2a..481c39b1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0878a7c5..96d08eaf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 1ea12577..caf0dacc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 98f81d85..1359a31d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index fbde19b5..0d873a5b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 38bb0b39..96f275d6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ea83e593..324bc527 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 57296917..1e215f1a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d8e6bc08..b542fa08 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 1b2f3f86..d9b0f15a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1538,6 +1538,8 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest */ export interface DeleteMasterPlayerAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Developer created string to identify a user without PlayFab ID */ + MetaData?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 9286c7e4..9550447c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index eebf059f..1e7072ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b5717a2a..481c39b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0878a7c5..96d08eaf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 1ea12577..caf0dacc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 98f81d85..1359a31d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index fbde19b5..0d873a5b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 38bb0b39..96f275d6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ea83e593..324bc527 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 57296917..1e215f1a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d8e6bc08..b542fa08 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.31.180917", + sdkVersion: "1.32.180924", requestGetParams: { - sdk: "JavaScriptSDK-1.31.180917" + sdk: "JavaScriptSDK-1.32.180924" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.31.180917"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.32.180924"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 1b2f3f86..d9b0f15a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1538,6 +1538,8 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest */ export interface DeleteMasterPlayerAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Developer created string to identify a user without PlayFab ID */ + MetaData?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; From cef70b350b411ea5ce8a577679b0d1ad52303677 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 1 Oct 2018 21:09:36 +0000 Subject: [PATCH 070/253] https://api.playfab.com/releaseNotes/#181001 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 26 +--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 129 +----------------- .../src/PlayFab/PlayFabAdminApi.js | 26 +--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 6 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 129 +----------------- 25 files changed, 69 insertions(+), 363 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0a02481a..0c0783ed 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.32.180924", + "version": "1.33.181001", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 9550447c..4b0a6e76 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -329,11 +329,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - GetPlayedTitleList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -489,11 +484,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListMatchmakingQueues", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -519,11 +509,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -594,11 +579,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 1e7072ee..3ce77b18 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 481c39b1..e5fefc48 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 96d08eaf..94b8391f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index caf0dacc..5e866f1d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1359a31d..d4b7efb0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0d873a5b..7bcb20cd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 96f275d6..64833fa6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 324bc527..1609c516 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 1e215f1a..bf69e34c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b542fa08..4ad9d78f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index d9b0f15a..db7db5c9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -168,11 +168,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Admin/method/GetMatchmakingQueue - */ - GetMatchmakingQueue(request: PlayFabAdminModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the list of titles that the player has played * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList @@ -333,11 +328,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all matchmaking queue configs. - * https://api.playfab.com/Documentation/Admin/method/ListMatchmakingQueues - */ - ListMatchmakingQueues(request: PlayFabAdminModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds @@ -363,11 +353,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Remove a matchmaking queue config. - * https://api.playfab.com/Documentation/Admin/method/RemoveMatchmakingQueue - */ - RemoveMatchmakingQueue(request: PlayFabAdminModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag @@ -441,11 +426,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Create or update a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Admin/method/SetMatchmakingQueue - */ - SetMatchmakingQueue(request: PlayFabAdminModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret @@ -758,12 +738,6 @@ declare module PlayFabAdminModels { } - type AttributeNotSpecifiedBehavior = "UseDefault" - | "MatchAny"; - - type AttributeSource = "User" - | "PlayerEntity"; - type AuthTokenType = "Email" /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ @@ -2324,20 +2298,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueRequest */ - export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to retrieve. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueResult */ - export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2917,18 +2877,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesRequest */ - export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesResult */ - export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { - /** The list of matchmaking queue configs for this title. */ - MatchMakingQueues?: MatchmakingQueueConfig[]; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -3006,42 +2954,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueConfig */ - export interface MatchmakingQueueConfig { - /** Maximum number of players in a match. */ - MaxMatchSize: number; - /** Minimum number of players in a match. */ - MinMatchSize: number; - /** Unique identifier for a Queue. Chosen by the developer. */ - Name: string; - /** List of rules used to find an optimal match. */ - Rules?: MatchmakingQueueRule[]; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueRule */ - export interface MatchmakingQueueRule { - /** Description of the attribute used by this rule to match tickets. */ - Attribute: QueueRuleAttribute; - /** - * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity - * profile. - */ - AttributeNotSpecifiedBehavior?: string; - /** Friendly name chosen by developer. */ - Name: string; - /** - * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be - * prioritized over those that don't). Leave blank if this rule is always enforced. - */ - SecondsUntilOptional?: number; - /** Type of rule being described. */ - Type: string; - /** The relative weight of this rule compared to others. */ - Weight: number; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ @@ -3402,15 +3314,6 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.QueueRuleAttribute */ - export interface QueueRuleAttribute { - /** Specifies which attribute in a ticket to use. */ - Path: string; - /** Specifies which source the attribute comes from. */ - Source: string; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ @@ -3461,18 +3364,6 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueRequest */ - export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to remove. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueResult */ - export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3669,12 +3560,6 @@ declare module PlayFabAdminModels { } - type RuleType = "Unknown" - | "DifferenceRule" - | "StringEqualityRule" - | "MatchTotalRule" - | "SetIntersectionRule"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ @@ -3749,18 +3634,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueRequest */ - export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueResult */ - export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -4010,7 +3883,7 @@ declare module PlayFabAdminModels { | "InProgress" | "Failed" | "Aborted" - | "Pending"; + | "Stalled"; type TitleActivationStatus = "None" | "ActivatedTitleKey" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 9550447c..4b0a6e76 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -329,11 +329,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - GetPlayedTitleList: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -489,11 +484,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListMatchmakingQueues", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -519,11 +509,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - RemovePlayerTag: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -594,11 +579,6 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetMatchmakingQueue", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - SetPlayerSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 1e7072ee..3ce77b18 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 481c39b1..e5fefc48 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 96d08eaf..94b8391f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index caf0dacc..5e866f1d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1359a31d..d4b7efb0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0d873a5b..7bcb20cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 96f275d6..64833fa6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 324bc527..1609c516 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 1e215f1a..bf69e34c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b542fa08..4ad9d78f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.32.180924", + sdkVersion: "1.33.181001", requestGetParams: { - sdk: "JavaScriptSDK-1.32.180924" + sdk: "JavaScriptSDK-1.33.181001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.32.180924"; +PlayFab.sdkVersion = "1.33.181001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index d9b0f15a..db7db5c9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -168,11 +168,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Admin/method/GetMatchmakingQueue - */ - GetMatchmakingQueue(request: PlayFabAdminModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the list of titles that the player has played * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList @@ -333,11 +328,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all matchmaking queue configs. - * https://api.playfab.com/Documentation/Admin/method/ListMatchmakingQueues - */ - ListMatchmakingQueues(request: PlayFabAdminModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds @@ -363,11 +353,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/RefundPurchase */ RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Remove a matchmaking queue config. - * https://api.playfab.com/Documentation/Admin/method/RemoveMatchmakingQueue - */ - RemoveMatchmakingQueue(request: PlayFabAdminModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag @@ -441,11 +426,6 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems */ SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Create or update a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Admin/method/SetMatchmakingQueue - */ - SetMatchmakingQueue(request: PlayFabAdminModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret @@ -758,12 +738,6 @@ declare module PlayFabAdminModels { } - type AttributeNotSpecifiedBehavior = "UseDefault" - | "MatchAny"; - - type AttributeSource = "User" - | "PlayerEntity"; - type AuthTokenType = "Email" /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ @@ -2324,20 +2298,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueRequest */ - export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to retrieve. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakingQueueResult */ - export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2917,18 +2877,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesRequest */ - export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListMatchmakingQueuesResult */ - export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { - /** The list of matchmaking queue configs for this title. */ - MatchMakingQueues?: MatchmakingQueueConfig[]; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -3006,42 +2954,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueConfig */ - export interface MatchmakingQueueConfig { - /** Maximum number of players in a match. */ - MaxMatchSize: number; - /** Minimum number of players in a match. */ - MinMatchSize: number; - /** Unique identifier for a Queue. Chosen by the developer. */ - Name: string; - /** List of rules used to find an optimal match. */ - Rules?: MatchmakingQueueRule[]; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MatchmakingQueueRule */ - export interface MatchmakingQueueRule { - /** Description of the attribute used by this rule to match tickets. */ - Attribute: QueueRuleAttribute; - /** - * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity - * profile. - */ - AttributeNotSpecifiedBehavior?: string; - /** Friendly name chosen by developer. */ - Name: string; - /** - * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be - * prioritized over those that don't). Leave blank if this rule is always enforced. - */ - SecondsUntilOptional?: number; - /** Type of rule being described. */ - Type: string; - /** The relative weight of this rule compared to others. */ - Weight: number; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ @@ -3402,15 +3314,6 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.QueueRuleAttribute */ - export interface QueueRuleAttribute { - /** Specifies which attribute in a ticket to use. */ - Path: string; - /** Specifies which source the attribute comes from. */ - Source: string; - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ @@ -3461,18 +3364,6 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueRequest */ - export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to remove. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveMatchmakingQueueResult */ - export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3669,12 +3560,6 @@ declare module PlayFabAdminModels { } - type RuleType = "Unknown" - | "DifferenceRule" - | "StringEqualityRule" - | "MatchTotalRule" - | "SetIntersectionRule"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ @@ -3749,18 +3634,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueRequest */ - export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetMatchmakingQueueResult */ - export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -4010,7 +3883,7 @@ declare module PlayFabAdminModels { | "InProgress" | "Failed" | "Aborted" - | "Pending"; + | "Stalled"; type TitleActivationStatus = "None" | "ActivatedTitleKey" From 0f08296a89f3a3f418598fe1ea0b5a961c43bd40 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 6 Nov 2018 01:46:01 +0000 Subject: [PATCH 071/253] https://api.playfab.com/releaseNotes/#181105 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 41 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 313 ++++++ PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 46 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 11 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 107 +- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 4 +- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 2 - .../PlayFab/PlayFabMultiplayerApi.d.ts | 951 ++++++++++++++++++ .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 35 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 218 +++- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 + PlayFabTestingExample/PlayFabApiTest.csproj | 2 + PlayFabTestingExample/index.html | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 41 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 313 ++++++ .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 46 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 11 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 107 +- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 4 +- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 2 - .../PlayFab/PlayFabMultiplayerApi.d.ts | 951 ++++++++++++++++++ .../typings/PlayFab/PlayFabProfilesApi.d.ts | 35 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 218 +++- 43 files changed, 3412 insertions(+), 199 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0c0783ed..281f280b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.33.181001", + "version": "1.34.181105", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 4b0a6e76..93c36c6e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 3ce77b18..0510e86d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e5fefc48..f0f4e8eb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -440,6 +440,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -563,6 +568,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkOpenIdConnect: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -763,6 +773,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithNintendoSwitchDeviceId", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithOpenIdConnect: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithOpenIdConnect", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -1023,6 +1051,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkOpenIdConnect: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 94b8391f..f1bee0be 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5e866f1d..f4665c25 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d4b7efb0..5d169739 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 7bcb20cd..869ad233 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 64833fa6..6e2d03a7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 1609c516..d1da259c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js new file mode 100644 index 00000000..7d299e98 --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -0,0 +1,313 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.34.181105", + requestGetParams: { + sdk: "JavaScriptSDK-1.34.181105" + }, + sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this + productionServerUrl: ".playfabapi.com", + 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; +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.MultiplayerApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateBuildWithCustomContainer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateBuildWithManagedContainer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateRemoteUser: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteAsset: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteAsset", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteBuild: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteCertificate: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteRemoteUser: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + EnableMultiplayerServersForTitle: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetBuild: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetMultiplayerServerDetails: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetRemoteLoginEndpoint: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetTitleEnabledForMultiplayerServersStatus: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListAssetSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListBuildSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListCertificateSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListContainerImages: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImages", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListContainerImageTags: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListMultiplayerServers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListQosServers: function (request, callback, customData, extraHeaders) { + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListQosServers", request, null, null, callback, customData, extraHeaders); + }, + + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RolloverContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UpdateBuildRegions: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UploadCertificate: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UploadCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabMultiplayerSDK = PlayFab.MultiplayerApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index bf69e34c..877c6e93 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 4ad9d78f..1effffe2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -239,14 +239,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeletePlayer instead. - */ - DeleteUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - DeregisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -397,6 +389,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -407,6 +404,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -497,6 +499,21 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + + LoginWithServerCustomId: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithServerCustomId", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + + LoginWithXbox: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithXbox", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ModifyItemUses: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -647,6 +664,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index db7db5c9..ac4e9167 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2070,6 +2070,11 @@ declare module PlayFabAdminModels { | "FacebookInstantGamesIdNotLinked" | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" + | "EntityProfileConstraintValidationFailed" + | "PlayInsightsIngestionKeyPending" + | "PlayInsightsIngestionKeyNotFound" + | "StatisticTagRequired" + | "StatisticTagInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2104,7 +2109,9 @@ declare module PlayFabAdminModels { | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" - | "MatchmakingNotEnabled"; + | "MatchmakingNotEnabled" + | "MatchmakingGetStatisticsIdentityInvalid" + | "MatchmakingStatisticsIdMissing"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2267,8 +2274,6 @@ declare module PlayFabAdminModels { Players?: string[]; /** region in which the Game Server Instance is running */ Region?: string; - /** IPV4 address of the game server instance */ - ServerAddress?: string; /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the server */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 8142c0fa..aa64c4da 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -299,6 +299,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs */ GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromXboxLiveIDs + */ + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings * https://api.playfab.com/Documentation/Client/method/GetPublisherData @@ -429,6 +434,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkNintendoSwitchDeviceId */ LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links an OpenID Connect account to a user's PlayFab account, based on an existing relationship between a title and an + * Open ID Connect provider and the OpenId Connect JWT from that provider. + * https://api.playfab.com/Documentation/Client/method/LinkOpenIdConnect + */ + LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount @@ -509,6 +520,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithNintendoSwitchDeviceId */ LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Logs in a user with an Open ID Connect JWT created by an existing relationship between a title and an Open ID Connect + * provider. + * https://api.playfab.com/Documentation/Client/method/LoginWithOpenIdConnect + */ + LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of @@ -711,6 +728,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkNintendoSwitchDeviceId */ UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks an OpenID Connect account from a user's PlayFab account, based on the connection ID of an existing relationship + * between a title and an Open ID Connect provider. + * https://api.playfab.com/Documentation/Client/method/UnlinkOpenIdConnect + */ + UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount @@ -1733,6 +1756,11 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -1891,8 +1919,6 @@ declare module PlayFabClientModels { /** duration in seconds this server has been running */ RunTime: number; /** IPV4 address of the server */ - ServerHostname?: string; - /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; @@ -2626,6 +2652,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ + export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of Xbox Live sandbox. */ + Sandbox?: string; + /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + XboxLiveAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsResult */ + export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: XboxLiveAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ @@ -3105,6 +3147,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkOpenIdConnectRequest */ + export interface LinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + /** If another user is already linked to a specific OpenId Connect user, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the + * identity provider's response. Used to validate the request and find the user ID (OpenID Connect subject) to link with. + */ + IdToken: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3468,6 +3524,33 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithOpenIdConnectRequest */ + export interface LoginWithOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** + * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the + * identity provider's response. + */ + IdToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ @@ -3613,8 +3696,6 @@ declare module PlayFabClientModels { /** time in milliseconds the application is configured to wait on matchmaking results */ PollWaitTimeMS?: number; /** IPV4 address of the server */ - ServerHostname?: string; - /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; @@ -4214,8 +4295,6 @@ declare module PlayFabClientModels { /** password required to log into the server */ Password?: string; /** server IPV4 address */ - ServerHostname?: string; - /** server IPV4 address */ ServerIPV4Address?: string; /** server IPV6 address */ ServerIPV6Address?: string; @@ -4467,6 +4546,13 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UninkOpenIdConnectRequest */ + export interface UninkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -5215,5 +5301,14 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.XboxLiveAccountPlayFabIdPair */ + export interface XboxLiveAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId?: string; + /** Unique Xbox Live identifier for a user. */ + XboxLiveAccountId?: string; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 454d5aaf..1d0fbf0b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -25,8 +25,8 @@ declare module PlayFabEventsModels { /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ export interface EventContents { - /** Entity associated with the event */ - Entity: EntityKey; + /** Entity associated with the event. If null, the event will apply to the calling entity. */ + Entity?: EntityKey; /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ EventNamespace: string; /** The name of this event. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 6e5e864d..f5833cb4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -154,8 +154,6 @@ declare module PlayFabMatchmakerModels { export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; - /** IPV4 address of the new Game Server Instance. */ - ServerHostname?: string; /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the new Game Server Instance. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts new file mode 100644 index 00000000..21985de7 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -0,0 +1,951 @@ +/// + +declare module PlayFabMultiplayerModule { + export interface IPlayFabMultiplayer { + ForgetAllCredentials(): void; + + /** + * Creates a multiplayer server build with a custom container. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer + */ + CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build with a managed container. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithManagedContainer + */ + CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a remote user to log on to a VM for a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateRemoteUser + */ + CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server game asset for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteAsset + */ + DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuild + */ + DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server game certificate. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteCertificate + */ + DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a remote user to log on to a VM for a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteRemoteUser + */ + DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Enables the multiplayer server feature for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/EnableMultiplayerServersForTitle + */ + EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the URL to upload assets to. + * https://api.playfab.com/Documentation/Multiplayer/method/GetAssetUploadUrl + */ + GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/GetBuild + */ + GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the credentials to the container registry. + * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials + */ + GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets multiplayer server session details for a build. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails + */ + GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/GetRemoteLoginEndpoint + */ + GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the status of whether a title is enabled for the multiplayer server feature. + * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus + */ + GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists multiplayer server game assets for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries + */ + ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists summarized details of all multiplayer server builds for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildSummaries + */ + ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists multiplayer server game certificates for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListCertificateSummaries + */ + ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists custom container images for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImages + */ + ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists the tags for a custom container image. + * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags + */ + ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists multiplayer server sessions for a build. + * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers + */ + ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists quality of service servers. + * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers + */ + ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists virtual machines for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries + */ + ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client + * to request a server with player entity token. + * https://api.playfab.com/Documentation/Multiplayer/method/RequestMultiplayerServer + */ + RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Rolls over the credentials to the container registry. + * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials + */ + RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Shuts down a multiplayer server session. + * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer + */ + ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's regions. + * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildRegions + */ + UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Uploads a multiplayer server game certificate. + * https://api.playfab.com/Documentation/Multiplayer/method/UploadCertificate + */ + UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabMultiplayerModels { + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReference */ + export interface AssetReference { + /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ + FileName?: string; + /** The asset's mount path. */ + MountPath?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReferenceParams */ + export interface AssetReferenceParams { + /** The asset's file name. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + FileName: string; + /** The asset's mount path. */ + MountPath: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetSummary */ + export interface AssetSummary { + /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ + FileName?: string; + /** The metadata associated with the asset. */ + Metadata?: { [key: string]: string | null }; + + } + + type AzureRegion = "AustraliaEast" + | "AustraliaSoutheast" + | "BrazilSouth" + | "CentralUs" + | "EastAsia" + | "EastUs" + | "EastUs2" + | "JapanEast" + | "JapanWest" + | "NorthCentralUs" + | "NorthEurope" + | "SouthCentralUs" + | "SoutheastAsia" + | "WestEurope" + | "WestUs"; + + type AzureVmSize = "Standard_A1" + | "Standard_A2" + | "Standard_A3" + | "Standard_A4" + | "Standard_D1_v2" + | "Standard_D2_v2" + | "Standard_D3_v2" + | "Standard_D4_v2" + | "Standard_D5_v2"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ + export interface BuildRegion { + /** The maximum number of multiplayer servers for the region. */ + MaxServers: number; + /** The build region. */ + Region?: string; + /** The number of standby multiplayer servers for the region. */ + StandbyServers: number; + /** The status of multiplayer servers in the build region. */ + Status?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegionParams */ + export interface BuildRegionParams { + /** The maximum number of multiplayer servers for the region. */ + MaxServers: number; + /** The build region. */ + Region: string; + /** The number of standby multiplayer servers for the region. */ + StandbyServers: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSummary */ + export interface BuildSummary { + /** The guid string build ID of the build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Certificate */ + export interface Certificate { + /** Base64 encoded string contents of the certificate. */ + Base64EncodedValue: string; + /** A name for the certificate. This is used to reference certificates in build configurations. */ + Name: string; + /** + * If required for your PFX certificate, use this field to provide a password that will be used to install the certificate + * on the container. + */ + Password?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CertificateSummary */ + export interface CertificateSummary { + /** The name of the certificate. */ + Name?: string; + /** The thumbprint for the certificate. */ + Thumbprint?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ConnectedPlayer */ + export interface ConnectedPlayer { + /** The player ID of the player connected to the multiplayer server. */ + PlayerId?: string; + + } + + type ContainerFlavor = "ManagedWindowsServerCore" + | "CustomLinux" + | "ManagedWindowsServerCorePreview"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ContainerImageReference */ + export interface ContainerImageReference { + /** The container image name. */ + ImageName: string; + /** The container tag. */ + Tag?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ + export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The build name. */ + BuildName: string; + /** The flavor of container to create a build from. */ + ContainerFlavor?: string; + /** The name of the container repository. */ + ContainerRepositoryName: string; + /** The container command to run when the multiplayer server has been allocated, including any arguments. */ + ContainerRunCommand?: string; + /** The tag for the container. */ + ContainerTag?: string; + /** The list of game assets related to the build. */ + GameAssetReferences?: AssetReferenceParams[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReferenceParams[]; + /** Metadata to tag the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM. */ + MultiplayerServerCountPerVm: number; + /** The ports to map the build on. */ + Ports: Port[]; + /** The region configurations for the build. */ + RegionConfigurations: BuildRegionParams[]; + /** The VM size to create the build on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerResponse */ + export interface CreateBuildWithCustomContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string build ID. Must be unique for every build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of the build. */ + ContainerFlavor?: string; + /** The container command to run when the multiplayer server has been allocated, including any arguments. */ + ContainerRunCommand?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The custom game container image reference information. */ + CustomGameContainerImage?: ContainerImageReference; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** The VM size the build was created on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerRequest */ + export interface CreateBuildWithManagedContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The build name. */ + BuildName: string; + /** The flavor of container to create a build from. */ + ContainerFlavor?: string; + /** The list of game assets related to the build. */ + GameAssetReferences: AssetReferenceParams[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReferenceParams[]; + /** Metadata to tag the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM. */ + MultiplayerServerCountPerVm: number; + /** The ports to map the build on. */ + Ports: Port[]; + /** The region configurations for the build. */ + RegionConfigurations: BuildRegionParams[]; + /** The command to run when the multiplayer server is started, including any arguments. */ + StartMultiplayerServerCommand: string; + /** The VM size to create the build on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerResponse */ + export interface CreateBuildWithManagedContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string build ID. Must be unique for every build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of the build. */ + ContainerFlavor?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** The command to run when the multiplayer server has been allocated, including any arguments. */ + StartMultiplayerServerCommand?: string; + /** The VM size the build was created on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserRequest */ + export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of to create the remote user for. */ + BuildId: string; + /** The expiration time for the remote user created. Defaults to expiring in one day if not specified. */ + ExpirationTime?: string; + /** The region of virtual machine to create the remote user for. */ + Region: string; + /** The username to create the remote user with. */ + Username: string; + /** The virtual machine ID the multiplayer server is located on. */ + VmId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserResponse */ + export interface CreateRemoteUserResponse extends PlayFabModule.IPlayFabResultCommon { + /** The expiration time for the remote user created. */ + ExpirationTime?: string; + /** The generated password for the remote user that was created. */ + Password?: string; + /** The username for the remote user that was created. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteAssetRequest */ + export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The filename of the asset to delete. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + FileName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildRequest */ + export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the build to delete. */ + BuildId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteCertificateRequest */ + export interface DeleteCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the certificate. */ + Name: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteRemoteUserRequest */ + export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server where the remote user is to delete. */ + BuildId: string; + /** The region of the multiplayer server where the remote user is to delete. */ + Region: string; + /** The username of the remote user to delete. */ + Username: string; + /** The virtual machine ID the multiplayer server is located on. */ + VmId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleRequest */ + export interface EnableMultiplayerServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleResponse */ + export interface EnableMultiplayerServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The enabled status for the multiplayer server features for the title. */ + Status?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReference */ + export interface GameCertificateReference { + /** + * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game + * certificate. This alias is used as an identifier in game server code to allow a new certificate with different Name + * field to be uploaded without the need to change any game server code to reference the new Name. + */ + GsdkAlias?: string; + /** + * The name of the game certificate. This name should match the name of a certificate that was previously uploaded to this + * title. + */ + Name?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReferenceParams */ + export interface GameCertificateReferenceParams { + /** + * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game + * certificate. This alias is used as an identifier in game server code to allow a new certificate with different Name + * field to be uploaded without the need to change any game server code to reference the new Name. + */ + GsdkAlias: string; + /** + * The name of the game certificate. This name should match the name of a certificate that was previously uploaded to this + * title. + */ + Name: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlRequest */ + export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The asset's file name to get the upload URL for. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + FileName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlResponse */ + export interface GetAssetUploadUrlResponse extends PlayFabModule.IPlayFabResultCommon { + /** The asset's upload URL. */ + AssetUploadUrl?: string; + /** + * The asset's file name to get the upload URL for. This must be a filename will be a file with the .zip, .tar, or .tar.gz + * extension. + */ + FileName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildRequest */ + export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the build to get. */ + BuildId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildResponse */ + export interface GetBuildResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string build ID of the build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of he build. */ + ContainerFlavor?: string; + /** + * The container command to run when the multiplayer server has been allocated, including any arguments. This only applies + * to custom builds. If the build is a managed build, this field will be null. + */ + ContainerRunCommand?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The custom game container image for a custom build. */ + CustomGameContainerImage?: ContainerImageReference; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to hosted on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** + * The command to run when the multiplayer server has been allocated, including any arguments. This only applies to managed + * builds. If the build is a custom build, this field will be null. + */ + StartMultiplayerServerCommand?: string; + /** The VM size the build was created on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsRequest */ + export interface GetContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsResponse */ + export interface GetContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The url of the container registry. */ + DnsName?: string; + /** The password for accessing the container registry. */ + Password?: string; + /** The username for accessing the container registry. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsRequest */ + export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to get details for. */ + BuildId: string; + /** The region the multiplayer server is located in to get details for. */ + Region: string; + /** + * The title generated guid string session ID of the multiplayer server to get details for. This is to keep track of + * multiplayer server sessions. + */ + SessionId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsResponse */ + export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The connected players in the multiplayer server. */ + ConnectedPlayers?: ConnectedPlayer[]; + /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + IPV4Address?: string; + /** The time (UTC) at which a change in the multiplayer server state was observed. */ + LastStateTransitionTime?: string; + /** The ports the multiplayer server uses. */ + Ports?: Port[]; + /** The region the multiplayer server is located in. */ + Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; + /** The guid string session ID of the multiplayer server. */ + SessionId?: string; + /** The state of the multiplayer server. */ + State?: string; + /** The virtual machine ID that the multiplayer server is located on. */ + VmId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointRequest */ + export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to get remote login information for. */ + BuildId: string; + /** The region of the multiplayer server to get remote login information for. */ + Region: string; + /** The virtual machine ID the multiplayer server is located on. */ + VmId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointResponse */ + export interface GetRemoteLoginEndpointResponse extends PlayFabModule.IPlayFabResultCommon { + /** The remote login IPV4 address of multiplayer server. */ + IPV4Address?: string; + /** The remote login port of multiplayer server. */ + Port: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusRequest */ + export interface GetTitleEnabledForMultiplayerServersStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusResponse */ + export interface GetTitleEnabledForMultiplayerServersStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** The enabled status for the multiplayer server features for the title. */ + Status?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesRequest */ + export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesResponse */ + export interface ListAssetSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of asset summaries. */ + AssetSummaries?: AssetSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesRequest */ + export interface ListBuildSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesResponse */ + export interface ListBuildSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of build summaries for a title. */ + BuildSummaries?: BuildSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesRequest */ + export interface ListCertificateSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesResponse */ + export interface ListCertificateSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of game certificates. */ + CertificateSummaries?: CertificateSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesRequest */ + export interface ListContainerImagesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesResponse */ + export interface ListContainerImagesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of container images. */ + Images?: string[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsRequest */ + export interface ListContainerImageTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The container images we want to list tags for. */ + ImageName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsResponse */ + export interface ListContainerImageTagsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of tags for a particular container image. */ + Tags?: string[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersRequest */ + export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer servers to list. */ + BuildId: string; + /** The page size for the request. */ + PageSize?: number; + /** The region the multiplayer servers to list. */ + Region: string; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersResponse */ + export interface ListMultiplayerServersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of multiplayer server summary details. */ + MultiplayerServerSummaries?: MultiplayerServerSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ + export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersResponse */ + export interface ListQosServersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of QoS servers. */ + QosServers?: QosServer[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesRequest */ + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the virtual machines to list. */ + BuildId: string; + /** The page size for the request. */ + PageSize?: number; + /** The region of the virtual machines to list. */ + Region: string; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesResponse */ + export interface ListVirtualMachineSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + /** The list of virtual machine summaries. */ + VirtualMachines?: VirtualMachineSummary[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ + export interface MultiplayerServerSummary { + /** The connected players in the multiplayer server. */ + ConnectedPlayers?: ConnectedPlayer[]; + /** The time (UTC) at which a change in the multiplayer server state was observed. */ + LastStateTransitionTime?: string; + /** The region the multiplayer server is located in. */ + Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; + /** The state of the multiplayer server. */ + State?: string; + /** The virtual machine ID that the multiplayer server is located on. */ + VmId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Port */ + export interface Port { + /** The name for the port. */ + Name: string; + /** The number for the port. */ + Num: number; + /** The protocol for the port. */ + Protocol: string; + + } + + type ProtocolType = "TCP" + | "UDP"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.QosServer */ + export interface QosServer { + /** The region the QoS server is located in. */ + Region?: string; + /** The QoS server URL. */ + ServerUrl?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ + export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to request. */ + BuildId: string; + /** The preferred regions to request a multiplayer server from. */ + PreferredRegions: string[]; + /** + * Data encoded as a string that is passed to the game server when requested. This can be used to share a cryptographic + * secret for servers to authenticate clients or to communicate information such as game mode or map through the request + * flow. + */ + SessionCookie?: string; + /** A guid string session ID created track the multiplayer server session over its life. */ + SessionId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerResponse */ + export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The connected players in the multiplayer server. */ + ConnectedPlayers?: ConnectedPlayer[]; + /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + IPV4Address?: string; + /** The time (UTC) at which a change in the multiplayer server state was observed. */ + LastStateTransitionTime?: string; + /** The ports the multiplayer server uses. */ + Ports?: Port[]; + /** The region the multiplayer server is located in. */ + Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; + /** The guid string session ID of the multiplayer server. */ + SessionId?: string; + /** The state of the multiplayer server. */ + State?: string; + /** The virtual machine ID that the multiplayer server is located on. */ + VmId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsRequest */ + export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsResponse */ + export interface RolloverContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The url of the container registry. */ + DnsName?: string; + /** The password for accessing the container registry. */ + Password?: string; + /** The username for accessing the container registry. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ShutdownMultiplayerServerRequest */ + export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to delete. */ + BuildId: string; + /** The region of the multiplayer server to shut down. */ + Region: string; + /** A guid string session ID of the multiplayer server to shut down. */ + SessionId: string; + + } + + type TitleMultiplayerServerEnabledStatus = "Initializing" + | "Enabled" + | "Disabled"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ + export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update regions for. */ + BuildId: string; + /** The updated region configuration that should be applied to the specified build. */ + BuildRegions: BuildRegionParams[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UploadCertificateRequest */ + export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The game certificate to upload. */ + GameCertificate: Certificate; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.VirtualMachineSummary */ + export interface VirtualMachineSummary { + /** The virtual machine health status. */ + HealthStatus?: string; + /** The virtual machine state. */ + State?: string; + /** The virtual machine ID. */ + VmId?: string; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 330026dc..5a003c63 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -63,6 +63,23 @@ declare module PlayFabProfilesModels { } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityLineage */ + export interface EntityLineage { + /** The Character Id of the associated entity. */ + CharacterId?: string; + /** The Group Id of the associated entity. */ + GroupId?: string; + /** The Master Player Account Id of the associated entity. */ + MasterPlayerAccountId?: string; + /** The Namespace Id of the associated entity. */ + NamespaceId?: string; + /** The Title Id of the associated entity. */ + TitleId?: string; + /** The Title Player Account Id of the associated entity. */ + TitlePlayerAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityPermissionStatement */ export interface EntityPermissionStatement { /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ @@ -84,19 +101,19 @@ declare module PlayFabProfilesModels { export interface EntityProfileBody { /** The entity id and type. */ Entity?: EntityKey; - /** - * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the - * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace - * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace - * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]/[Character ID]' - */ + /** The chain of responsibility for this entity. Use Lineage. */ EntityChain?: string; /** The files on this profile. */ Files?: { [key: string]: EntityProfileFileMetadata }; + /** + * The friendly name of the entity. This field may serve different purposes for different entity types. i.e.: for a title + * player account it could represent the display name of the player, whereas on a character it could be character's name. + */ + FriendlyName?: string; /** The language on this profile. */ Language?: string; + /** The lineage of this profile. */ + Lineage?: EntityLineage; /** The objects on this profile. */ Objects?: { [key: string]: EntityDataObject }; /** @@ -133,7 +150,7 @@ declare module PlayFabProfilesModels { */ DataAsObject?: boolean; /** The entity to perform this action on. */ - Entity: EntityKey; + Entity?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 11573b20..926b5ad7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -77,11 +77,6 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes custom data, all account linkages, and statistics. - * https://api.playfab.com/Documentation/Server/method/DeleteUsers - */ - DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Inform the matchmaker that a Game Server Instance is removed. * https://api.playfab.com/Documentation/Server/method/DeregisterGame @@ -247,6 +242,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromXboxLiveIDs + */ + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings * https://api.playfab.com/Documentation/Server/method/GetPublisherData @@ -258,6 +258,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetRandomResultTables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. + * https://api.playfab.com/Documentation/Server/method/GetServerCustomIDsFromPlayFabIDs + */ + GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all * public and private group data. Shared Groups are designed for sharing data between a very small number of players, @@ -351,6 +356,23 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Xbox Live account associated with the provided access code to the user's PlayFab account + * https://api.playfab.com/Documentation/Server/method/LinkXboxAccount + */ + LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID + * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. + * https://api.playfab.com/Documentation/Server/method/LoginWithServerCustomId + */ + LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Server/method/LoginWithXbox + */ + LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies the number of remaining uses of a player's inventory item * https://api.playfab.com/Documentation/Server/method/ModifyItemUses @@ -511,6 +533,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Xbox Live account from the user's PlayFab account + * https://api.playfab.com/Documentation/Server/method/UnlinkXboxAccount + */ + UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > @@ -1488,23 +1515,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ - export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabIds: 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; - - } - - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ - export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ @@ -1535,6 +1545,17 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityTokenResponse */ + export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -2053,6 +2074,11 @@ declare module PlayFabServerModels { | "FacebookInstantGamesIdNotLinked" | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" + | "EntityProfileConstraintValidationFailed" + | "PlayInsightsIngestionKeyPending" + | "PlayInsightsIngestionKeyNotFound" + | "StatisticTagRequired" + | "StatisticTagInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2087,7 +2113,9 @@ declare module PlayFabServerModels { | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" - | "MatchmakingNotEnabled"; + | "MatchmakingNotEnabled" + | "MatchmakingGetStatisticsIdentityInvalid" + | "MatchmakingStatisticsIdMissing"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2652,6 +2680,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ + export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of Xbox Live sandbox. */ + Sandbox?: string; + /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + XboxLiveAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsResult */ + export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: XboxLiveAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ @@ -2696,6 +2740,23 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsRequest */ + export interface GetServerCustomIDsFromPlayFabIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique PlayFab player identifiers for which the title needs to get server custom identifiers. Cannot contain + * more than 25 identifiers. + */ + PlayFabIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsResult */ + export interface GetServerCustomIDsFromPlayFabIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of server custom player identifiers to PlayFab identifiers. */ + Data?: ServerCustomIDPlayFabIDPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ @@ -3029,6 +3090,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountRequest */ + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId: string; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountResult */ + export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3078,6 +3155,34 @@ declare module PlayFabServerModels { | "FacebookInstantGames" | "OpenIdConnect"; + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithServerCustomIdRequest */ + export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** The backend server identifier for this player. */ + ServerCustomId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxRequest */ + export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -3557,8 +3662,6 @@ declare module PlayFabServerModels { * region and use Tags (below) to specify your custom region. */ Region: string; - /** IPV4 address of the Game Server Instance. */ - ServerHost?: string; /** IPV4 address of the game server instance. */ ServerIPV4Address?: string; /** IPV6 address (if any) of the game server instance. */ @@ -3801,6 +3904,37 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerCustomIDPlayFabIDPair */ + export interface ServerCustomIDPlayFabIDPair { + /** Unique PlayFab identifier. */ + PlayFabId?: string; + /** Unique server custom identifier for this player. */ + ServerCustomId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerLoginResult */ + export interface ServerLoginResult extends PlayFabModule.IPlayFabResultCommon { + /** + * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and + * returned. + */ + EntityToken?: EntityTokenResponse; + /** Results for requested info. */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ + LastLoginTime?: string; + /** True if the account was newly created on this login. */ + NewlyCreated: boolean; + /** Player's unique PlayFabId. */ + PlayFabId?: string; + /** Unique token authorizing the user and game at the server level, for the current session. */ + SessionTicket?: string; + /** Settings specific to this user. */ + SettingsForUser?: UserSettings; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ @@ -4050,6 +4184,20 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountRequest */ + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId: string; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountResult */ + export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -4484,6 +4632,17 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSettings */ + export interface UserSettings { + /** Boolean for whether this player is eligible for gathering device info. */ + GatherDeviceInfo: boolean; + /** Boolean for whether this player should report OnFocus play-time tracking. */ + GatherFocusInfo: boolean; + /** Boolean for whether this player is eligible for ad tracking. */ + NeedsAttribution: boolean; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ @@ -4639,5 +4798,14 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.XboxLiveAccountPlayFabIdPair */ + export interface XboxLiveAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId?: string; + /** Unique Xbox Live identifier for a user. */ + XboxLiveAccountId?: string; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 8b436eb2..f863c5f2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -8,6 +8,7 @@ /// /// /// +/// /// declare module PlayFabModule { @@ -55,6 +56,7 @@ declare var PlayFab: { EventsApi: PlayFabEventsModule.IPlayFabEvents; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; + MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; }; @@ -69,5 +71,6 @@ declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; +declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 119550a3..bab7d2b9 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -34,6 +34,7 @@ + @@ -50,6 +51,7 @@ + diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index cde50886..a7e34456 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -20,6 +20,7 @@ + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 4b0a6e76..93c36c6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 3ce77b18..0510e86d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e5fefc48..f0f4e8eb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -440,6 +440,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -563,6 +568,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkOpenIdConnect: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -763,6 +773,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithNintendoSwitchDeviceId", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithOpenIdConnect: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithOpenIdConnect", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithPlayFab: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -1023,6 +1051,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkOpenIdConnect: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 94b8391f..f1bee0be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5e866f1d..f4665c25 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d4b7efb0..5d169739 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 7bcb20cd..869ad233 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 64833fa6..6e2d03a7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 1609c516..d1da259c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js new file mode 100644 index 00000000..7d299e98 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -0,0 +1,313 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.34.181105", + requestGetParams: { + sdk: "JavaScriptSDK-1.34.181105" + }, + sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this + productionServerUrl: ".playfabapi.com", + 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.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) { + if (callback != null && typeof (callback) != "function") + throw "Callback must be null of 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; + 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; + + if (result.code === 200) + callback(result, null); + else + callback(null, result); + } + + xhr.onerror = function () { + if (callback == null) + return; + + var result; + try { + 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; + + callback(null, result); + } + + xhr.send(requestBody); + } + } +} + +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; +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.MultiplayerApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateBuildWithCustomContainer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateBuildWithManagedContainer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + CreateRemoteUser: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteAsset: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteAsset", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteBuild: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteCertificate: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + DeleteRemoteUser: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + EnableMultiplayerServersForTitle: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetBuild: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetMultiplayerServerDetails: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetRemoteLoginEndpoint: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + GetTitleEnabledForMultiplayerServersStatus: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListAssetSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListBuildSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListCertificateSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListContainerImages: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImages", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListContainerImageTags: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListMultiplayerServers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ListQosServers: function (request, callback, customData, extraHeaders) { + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListQosServers", request, null, null, callback, customData, extraHeaders); + }, + + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + RolloverContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UpdateBuildRegions: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + + UploadCertificate: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UploadCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, +}; + +var PlayFabMultiplayerSDK = PlayFab.MultiplayerApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index bf69e34c..877c6e93 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 4ad9d78f..1effffe2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.33.181001", + sdkVersion: "1.34.181105", requestGetParams: { - sdk: "JavaScriptSDK-1.33.181001" + sdk: "JavaScriptSDK-1.34.181105" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.33.181001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; +PlayFab.sdkVersion = "1.34.181105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -239,14 +239,6 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, - /** - * @deprecated Please use DeletePlayer instead. - */ - DeleteUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); - }, - DeregisterGame: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -397,6 +389,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPublisherData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -407,6 +404,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetSharedGroupData: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -497,6 +499,21 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + + LoginWithServerCustomId: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithServerCustomId", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + + LoginWithXbox: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithXbox", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ModifyItemUses: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -647,6 +664,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + UnlockContainerInstance: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 8b436eb2..f863c5f2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -8,6 +8,7 @@ /// /// /// +/// /// declare module PlayFabModule { @@ -55,6 +56,7 @@ declare var PlayFab: { EventsApi: PlayFabEventsModule.IPlayFabEvents; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; + MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; }; @@ -69,5 +71,6 @@ declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; +declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index db7db5c9..ac4e9167 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2070,6 +2070,11 @@ declare module PlayFabAdminModels { | "FacebookInstantGamesIdNotLinked" | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" + | "EntityProfileConstraintValidationFailed" + | "PlayInsightsIngestionKeyPending" + | "PlayInsightsIngestionKeyNotFound" + | "StatisticTagRequired" + | "StatisticTagInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2104,7 +2109,9 @@ declare module PlayFabAdminModels { | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" - | "MatchmakingNotEnabled"; + | "MatchmakingNotEnabled" + | "MatchmakingGetStatisticsIdentityInvalid" + | "MatchmakingStatisticsIdMissing"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2267,8 +2274,6 @@ declare module PlayFabAdminModels { Players?: string[]; /** region in which the Game Server Instance is running */ Region?: string; - /** IPV4 address of the game server instance */ - ServerAddress?: string; /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the server */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 8142c0fa..aa64c4da 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -299,6 +299,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs */ GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromXboxLiveIDs + */ + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings * https://api.playfab.com/Documentation/Client/method/GetPublisherData @@ -429,6 +434,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkNintendoSwitchDeviceId */ LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links an OpenID Connect account to a user's PlayFab account, based on an existing relationship between a title and an + * Open ID Connect provider and the OpenId Connect JWT from that provider. + * https://api.playfab.com/Documentation/Client/method/LinkOpenIdConnect + */ + LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount @@ -509,6 +520,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithNintendoSwitchDeviceId */ LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Logs in a user with an Open ID Connect JWT created by an existing relationship between a title and an Open ID Connect + * provider. + * https://api.playfab.com/Documentation/Client/method/LoginWithOpenIdConnect + */ + LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of @@ -711,6 +728,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkNintendoSwitchDeviceId */ UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks an OpenID Connect account from a user's PlayFab account, based on the connection ID of an existing relationship + * between a title and an Open ID Connect provider. + * https://api.playfab.com/Documentation/Client/method/UnlinkOpenIdConnect + */ + UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount @@ -1733,6 +1756,11 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -1891,8 +1919,6 @@ declare module PlayFabClientModels { /** duration in seconds this server has been running */ RunTime: number; /** IPV4 address of the server */ - ServerHostname?: string; - /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; @@ -2626,6 +2652,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ + export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of Xbox Live sandbox. */ + Sandbox?: string; + /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + XboxLiveAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsResult */ + export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: XboxLiveAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ @@ -3105,6 +3147,20 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkOpenIdConnectRequest */ + export interface LinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + /** If another user is already linked to a specific OpenId Connect user, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the + * identity provider's response. Used to validate the request and find the user ID (OpenID Connect subject) to link with. + */ + IdToken: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3468,6 +3524,33 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithOpenIdConnectRequest */ + export interface LoginWithOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** + * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the + * identity provider's response. + */ + IdToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ @@ -3613,8 +3696,6 @@ declare module PlayFabClientModels { /** time in milliseconds the application is configured to wait on matchmaking results */ PollWaitTimeMS?: number; /** IPV4 address of the server */ - ServerHostname?: string; - /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the server */ ServerIPV6Address?: string; @@ -4214,8 +4295,6 @@ declare module PlayFabClientModels { /** password required to log into the server */ Password?: string; /** server IPV4 address */ - ServerHostname?: string; - /** server IPV4 address */ ServerIPV4Address?: string; /** server IPV6 address */ ServerIPV6Address?: string; @@ -4467,6 +4546,13 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UninkOpenIdConnectRequest */ + export interface UninkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -5215,5 +5301,14 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.XboxLiveAccountPlayFabIdPair */ + export interface XboxLiveAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId?: string; + /** Unique Xbox Live identifier for a user. */ + XboxLiveAccountId?: string; + + } + } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 454d5aaf..1d0fbf0b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -25,8 +25,8 @@ declare module PlayFabEventsModels { /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ export interface EventContents { - /** Entity associated with the event */ - Entity: EntityKey; + /** Entity associated with the event. If null, the event will apply to the calling entity. */ + Entity?: EntityKey; /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ EventNamespace: string; /** The name of this event. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 6e5e864d..f5833cb4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -154,8 +154,6 @@ declare module PlayFabMatchmakerModels { export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; - /** IPV4 address of the new Game Server Instance. */ - ServerHostname?: string; /** IPV4 address of the server */ ServerIPV4Address?: string; /** IPV6 address of the new Game Server Instance. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts new file mode 100644 index 00000000..21985de7 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -0,0 +1,951 @@ +/// + +declare module PlayFabMultiplayerModule { + export interface IPlayFabMultiplayer { + ForgetAllCredentials(): void; + + /** + * Creates a multiplayer server build with a custom container. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer + */ + CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build with a managed container. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithManagedContainer + */ + CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a remote user to log on to a VM for a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateRemoteUser + */ + CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server game asset for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteAsset + */ + DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuild + */ + DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server game certificate. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteCertificate + */ + DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a remote user to log on to a VM for a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteRemoteUser + */ + DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Enables the multiplayer server feature for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/EnableMultiplayerServersForTitle + */ + EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the URL to upload assets to. + * https://api.playfab.com/Documentation/Multiplayer/method/GetAssetUploadUrl + */ + GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/GetBuild + */ + GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the credentials to the container registry. + * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials + */ + GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets multiplayer server session details for a build. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails + */ + GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. + * https://api.playfab.com/Documentation/Multiplayer/method/GetRemoteLoginEndpoint + */ + GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the status of whether a title is enabled for the multiplayer server feature. + * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus + */ + GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists multiplayer server game assets for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries + */ + ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists summarized details of all multiplayer server builds for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildSummaries + */ + ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists multiplayer server game certificates for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListCertificateSummaries + */ + ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists custom container images for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImages + */ + ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists the tags for a custom container image. + * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags + */ + ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists multiplayer server sessions for a build. + * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers + */ + ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists quality of service servers. + * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers + */ + ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists virtual machines for a title. + * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries + */ + ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client + * to request a server with player entity token. + * https://api.playfab.com/Documentation/Multiplayer/method/RequestMultiplayerServer + */ + RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Rolls over the credentials to the container registry. + * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials + */ + RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Shuts down a multiplayer server session. + * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer + */ + ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's regions. + * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildRegions + */ + UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Uploads a multiplayer server game certificate. + * https://api.playfab.com/Documentation/Multiplayer/method/UploadCertificate + */ + UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabMultiplayerModels { + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReference */ + export interface AssetReference { + /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ + FileName?: string; + /** The asset's mount path. */ + MountPath?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReferenceParams */ + export interface AssetReferenceParams { + /** The asset's file name. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + FileName: string; + /** The asset's mount path. */ + MountPath: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetSummary */ + export interface AssetSummary { + /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ + FileName?: string; + /** The metadata associated with the asset. */ + Metadata?: { [key: string]: string | null }; + + } + + type AzureRegion = "AustraliaEast" + | "AustraliaSoutheast" + | "BrazilSouth" + | "CentralUs" + | "EastAsia" + | "EastUs" + | "EastUs2" + | "JapanEast" + | "JapanWest" + | "NorthCentralUs" + | "NorthEurope" + | "SouthCentralUs" + | "SoutheastAsia" + | "WestEurope" + | "WestUs"; + + type AzureVmSize = "Standard_A1" + | "Standard_A2" + | "Standard_A3" + | "Standard_A4" + | "Standard_D1_v2" + | "Standard_D2_v2" + | "Standard_D3_v2" + | "Standard_D4_v2" + | "Standard_D5_v2"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ + export interface BuildRegion { + /** The maximum number of multiplayer servers for the region. */ + MaxServers: number; + /** The build region. */ + Region?: string; + /** The number of standby multiplayer servers for the region. */ + StandbyServers: number; + /** The status of multiplayer servers in the build region. */ + Status?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegionParams */ + export interface BuildRegionParams { + /** The maximum number of multiplayer servers for the region. */ + MaxServers: number; + /** The build region. */ + Region: string; + /** The number of standby multiplayer servers for the region. */ + StandbyServers: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSummary */ + export interface BuildSummary { + /** The guid string build ID of the build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Certificate */ + export interface Certificate { + /** Base64 encoded string contents of the certificate. */ + Base64EncodedValue: string; + /** A name for the certificate. This is used to reference certificates in build configurations. */ + Name: string; + /** + * If required for your PFX certificate, use this field to provide a password that will be used to install the certificate + * on the container. + */ + Password?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CertificateSummary */ + export interface CertificateSummary { + /** The name of the certificate. */ + Name?: string; + /** The thumbprint for the certificate. */ + Thumbprint?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ConnectedPlayer */ + export interface ConnectedPlayer { + /** The player ID of the player connected to the multiplayer server. */ + PlayerId?: string; + + } + + type ContainerFlavor = "ManagedWindowsServerCore" + | "CustomLinux" + | "ManagedWindowsServerCorePreview"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ContainerImageReference */ + export interface ContainerImageReference { + /** The container image name. */ + ImageName: string; + /** The container tag. */ + Tag?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ + export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The build name. */ + BuildName: string; + /** The flavor of container to create a build from. */ + ContainerFlavor?: string; + /** The name of the container repository. */ + ContainerRepositoryName: string; + /** The container command to run when the multiplayer server has been allocated, including any arguments. */ + ContainerRunCommand?: string; + /** The tag for the container. */ + ContainerTag?: string; + /** The list of game assets related to the build. */ + GameAssetReferences?: AssetReferenceParams[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReferenceParams[]; + /** Metadata to tag the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM. */ + MultiplayerServerCountPerVm: number; + /** The ports to map the build on. */ + Ports: Port[]; + /** The region configurations for the build. */ + RegionConfigurations: BuildRegionParams[]; + /** The VM size to create the build on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerResponse */ + export interface CreateBuildWithCustomContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string build ID. Must be unique for every build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of the build. */ + ContainerFlavor?: string; + /** The container command to run when the multiplayer server has been allocated, including any arguments. */ + ContainerRunCommand?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The custom game container image reference information. */ + CustomGameContainerImage?: ContainerImageReference; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** The VM size the build was created on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerRequest */ + export interface CreateBuildWithManagedContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The build name. */ + BuildName: string; + /** The flavor of container to create a build from. */ + ContainerFlavor?: string; + /** The list of game assets related to the build. */ + GameAssetReferences: AssetReferenceParams[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReferenceParams[]; + /** Metadata to tag the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM. */ + MultiplayerServerCountPerVm: number; + /** The ports to map the build on. */ + Ports: Port[]; + /** The region configurations for the build. */ + RegionConfigurations: BuildRegionParams[]; + /** The command to run when the multiplayer server is started, including any arguments. */ + StartMultiplayerServerCommand: string; + /** The VM size to create the build on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerResponse */ + export interface CreateBuildWithManagedContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string build ID. Must be unique for every build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of the build. */ + ContainerFlavor?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** The command to run when the multiplayer server has been allocated, including any arguments. */ + StartMultiplayerServerCommand?: string; + /** The VM size the build was created on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserRequest */ + export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of to create the remote user for. */ + BuildId: string; + /** The expiration time for the remote user created. Defaults to expiring in one day if not specified. */ + ExpirationTime?: string; + /** The region of virtual machine to create the remote user for. */ + Region: string; + /** The username to create the remote user with. */ + Username: string; + /** The virtual machine ID the multiplayer server is located on. */ + VmId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserResponse */ + export interface CreateRemoteUserResponse extends PlayFabModule.IPlayFabResultCommon { + /** The expiration time for the remote user created. */ + ExpirationTime?: string; + /** The generated password for the remote user that was created. */ + Password?: string; + /** The username for the remote user that was created. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteAssetRequest */ + export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The filename of the asset to delete. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + FileName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildRequest */ + export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the build to delete. */ + BuildId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteCertificateRequest */ + export interface DeleteCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the certificate. */ + Name: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteRemoteUserRequest */ + export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server where the remote user is to delete. */ + BuildId: string; + /** The region of the multiplayer server where the remote user is to delete. */ + Region: string; + /** The username of the remote user to delete. */ + Username: string; + /** The virtual machine ID the multiplayer server is located on. */ + VmId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EmptyResponse */ + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleRequest */ + export interface EnableMultiplayerServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleResponse */ + export interface EnableMultiplayerServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The enabled status for the multiplayer server features for the title. */ + Status?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReference */ + export interface GameCertificateReference { + /** + * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game + * certificate. This alias is used as an identifier in game server code to allow a new certificate with different Name + * field to be uploaded without the need to change any game server code to reference the new Name. + */ + GsdkAlias?: string; + /** + * The name of the game certificate. This name should match the name of a certificate that was previously uploaded to this + * title. + */ + Name?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReferenceParams */ + export interface GameCertificateReferenceParams { + /** + * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game + * certificate. This alias is used as an identifier in game server code to allow a new certificate with different Name + * field to be uploaded without the need to change any game server code to reference the new Name. + */ + GsdkAlias: string; + /** + * The name of the game certificate. This name should match the name of a certificate that was previously uploaded to this + * title. + */ + Name: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlRequest */ + export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The asset's file name to get the upload URL for. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + FileName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlResponse */ + export interface GetAssetUploadUrlResponse extends PlayFabModule.IPlayFabResultCommon { + /** The asset's upload URL. */ + AssetUploadUrl?: string; + /** + * The asset's file name to get the upload URL for. This must be a filename will be a file with the .zip, .tar, or .tar.gz + * extension. + */ + FileName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildRequest */ + export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the build to get. */ + BuildId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildResponse */ + export interface GetBuildResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string build ID of the build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of he build. */ + ContainerFlavor?: string; + /** + * The container command to run when the multiplayer server has been allocated, including any arguments. This only applies + * to custom builds. If the build is a managed build, this field will be null. + */ + ContainerRunCommand?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The custom game container image for a custom build. */ + CustomGameContainerImage?: ContainerImageReference; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to hosted on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** + * The command to run when the multiplayer server has been allocated, including any arguments. This only applies to managed + * builds. If the build is a custom build, this field will be null. + */ + StartMultiplayerServerCommand?: string; + /** The VM size the build was created on. */ + VmSize?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsRequest */ + export interface GetContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsResponse */ + export interface GetContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The url of the container registry. */ + DnsName?: string; + /** The password for accessing the container registry. */ + Password?: string; + /** The username for accessing the container registry. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsRequest */ + export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to get details for. */ + BuildId: string; + /** The region the multiplayer server is located in to get details for. */ + Region: string; + /** + * The title generated guid string session ID of the multiplayer server to get details for. This is to keep track of + * multiplayer server sessions. + */ + SessionId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsResponse */ + export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The connected players in the multiplayer server. */ + ConnectedPlayers?: ConnectedPlayer[]; + /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + IPV4Address?: string; + /** The time (UTC) at which a change in the multiplayer server state was observed. */ + LastStateTransitionTime?: string; + /** The ports the multiplayer server uses. */ + Ports?: Port[]; + /** The region the multiplayer server is located in. */ + Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; + /** The guid string session ID of the multiplayer server. */ + SessionId?: string; + /** The state of the multiplayer server. */ + State?: string; + /** The virtual machine ID that the multiplayer server is located on. */ + VmId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointRequest */ + export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to get remote login information for. */ + BuildId: string; + /** The region of the multiplayer server to get remote login information for. */ + Region: string; + /** The virtual machine ID the multiplayer server is located on. */ + VmId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointResponse */ + export interface GetRemoteLoginEndpointResponse extends PlayFabModule.IPlayFabResultCommon { + /** The remote login IPV4 address of multiplayer server. */ + IPV4Address?: string; + /** The remote login port of multiplayer server. */ + Port: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusRequest */ + export interface GetTitleEnabledForMultiplayerServersStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusResponse */ + export interface GetTitleEnabledForMultiplayerServersStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** The enabled status for the multiplayer server features for the title. */ + Status?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesRequest */ + export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesResponse */ + export interface ListAssetSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of asset summaries. */ + AssetSummaries?: AssetSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesRequest */ + export interface ListBuildSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesResponse */ + export interface ListBuildSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of build summaries for a title. */ + BuildSummaries?: BuildSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesRequest */ + export interface ListCertificateSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesResponse */ + export interface ListCertificateSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of game certificates. */ + CertificateSummaries?: CertificateSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesRequest */ + export interface ListContainerImagesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesResponse */ + export interface ListContainerImagesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of container images. */ + Images?: string[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsRequest */ + export interface ListContainerImageTagsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The container images we want to list tags for. */ + ImageName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsResponse */ + export interface ListContainerImageTagsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of tags for a particular container image. */ + Tags?: string[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersRequest */ + export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer servers to list. */ + BuildId: string; + /** The page size for the request. */ + PageSize?: number; + /** The region the multiplayer servers to list. */ + Region: string; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersResponse */ + export interface ListMultiplayerServersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of multiplayer server summary details. */ + MultiplayerServerSummaries?: MultiplayerServerSummary[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ + export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersResponse */ + export interface ListQosServersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of QoS servers. */ + QosServers?: QosServer[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesRequest */ + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the virtual machines to list. */ + BuildId: string; + /** The page size for the request. */ + PageSize?: number; + /** The region of the virtual machines to list. */ + Region: string; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesResponse */ + export interface ListVirtualMachineSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + /** The list of virtual machine summaries. */ + VirtualMachines?: VirtualMachineSummary[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ + export interface MultiplayerServerSummary { + /** The connected players in the multiplayer server. */ + ConnectedPlayers?: ConnectedPlayer[]; + /** The time (UTC) at which a change in the multiplayer server state was observed. */ + LastStateTransitionTime?: string; + /** The region the multiplayer server is located in. */ + Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; + /** The state of the multiplayer server. */ + State?: string; + /** The virtual machine ID that the multiplayer server is located on. */ + VmId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Port */ + export interface Port { + /** The name for the port. */ + Name: string; + /** The number for the port. */ + Num: number; + /** The protocol for the port. */ + Protocol: string; + + } + + type ProtocolType = "TCP" + | "UDP"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.QosServer */ + export interface QosServer { + /** The region the QoS server is located in. */ + Region?: string; + /** The QoS server URL. */ + ServerUrl?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ + export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to request. */ + BuildId: string; + /** The preferred regions to request a multiplayer server from. */ + PreferredRegions: string[]; + /** + * Data encoded as a string that is passed to the game server when requested. This can be used to share a cryptographic + * secret for servers to authenticate clients or to communicate information such as game mode or map through the request + * flow. + */ + SessionCookie?: string; + /** A guid string session ID created track the multiplayer server session over its life. */ + SessionId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerResponse */ + export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The connected players in the multiplayer server. */ + ConnectedPlayers?: ConnectedPlayer[]; + /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + IPV4Address?: string; + /** The time (UTC) at which a change in the multiplayer server state was observed. */ + LastStateTransitionTime?: string; + /** The ports the multiplayer server uses. */ + Ports?: Port[]; + /** The region the multiplayer server is located in. */ + Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; + /** The guid string session ID of the multiplayer server. */ + SessionId?: string; + /** The state of the multiplayer server. */ + State?: string; + /** The virtual machine ID that the multiplayer server is located on. */ + VmId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsRequest */ + export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsResponse */ + export interface RolloverContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The url of the container registry. */ + DnsName?: string; + /** The password for accessing the container registry. */ + Password?: string; + /** The username for accessing the container registry. */ + Username?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ShutdownMultiplayerServerRequest */ + export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to delete. */ + BuildId: string; + /** The region of the multiplayer server to shut down. */ + Region: string; + /** A guid string session ID of the multiplayer server to shut down. */ + SessionId: string; + + } + + type TitleMultiplayerServerEnabledStatus = "Initializing" + | "Enabled" + | "Disabled"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ + export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update regions for. */ + BuildId: string; + /** The updated region configuration that should be applied to the specified build. */ + BuildRegions: BuildRegionParams[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UploadCertificateRequest */ + export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The game certificate to upload. */ + GameCertificate: Certificate; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.VirtualMachineSummary */ + export interface VirtualMachineSummary { + /** The virtual machine health status. */ + HealthStatus?: string; + /** The virtual machine state. */ + State?: string; + /** The virtual machine ID. */ + VmId?: string; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 330026dc..5a003c63 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -63,6 +63,23 @@ declare module PlayFabProfilesModels { } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityLineage */ + export interface EntityLineage { + /** The Character Id of the associated entity. */ + CharacterId?: string; + /** The Group Id of the associated entity. */ + GroupId?: string; + /** The Master Player Account Id of the associated entity. */ + MasterPlayerAccountId?: string; + /** The Namespace Id of the associated entity. */ + NamespaceId?: string; + /** The Title Id of the associated entity. */ + TitleId?: string; + /** The Title Player Account Id of the associated entity. */ + TitlePlayerAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityPermissionStatement */ export interface EntityPermissionStatement { /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ @@ -84,19 +101,19 @@ declare module PlayFabProfilesModels { export interface EntityProfileBody { /** The entity id and type. */ Entity?: EntityKey; - /** - * The chain of responsibility for this entity. This is a representation of 'ownership'. It is constructed using the - * following formats (replace '[ID]' with the unique identifier for the given entity): Namespace: 'namespace![Namespace - * ID]' Title: 'title![Namespace ID]/[Title ID]' Master Player Account: 'master_player_account![Namespace - * ID]/[MasterPlayerAccount ID]' Title Player Account: 'title_player_account![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]' Character: 'character![Namespace ID]/[Title ID]/[MasterPlayerAccount - * ID]/[TitlePlayerAccount ID]/[Character ID]' - */ + /** The chain of responsibility for this entity. Use Lineage. */ EntityChain?: string; /** The files on this profile. */ Files?: { [key: string]: EntityProfileFileMetadata }; + /** + * The friendly name of the entity. This field may serve different purposes for different entity types. i.e.: for a title + * player account it could represent the display name of the player, whereas on a character it could be character's name. + */ + FriendlyName?: string; /** The language on this profile. */ Language?: string; + /** The lineage of this profile. */ + Lineage?: EntityLineage; /** The objects on this profile. */ Objects?: { [key: string]: EntityDataObject }; /** @@ -133,7 +150,7 @@ declare module PlayFabProfilesModels { */ DataAsObject?: boolean; /** The entity to perform this action on. */ - Entity: EntityKey; + Entity?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 11573b20..926b5ad7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -77,11 +77,6 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes custom data, all account linkages, and statistics. - * https://api.playfab.com/Documentation/Server/method/DeleteUsers - */ - DeleteUsers(request: PlayFabServerModels.DeleteUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Inform the matchmaker that a Game Server Instance is removed. * https://api.playfab.com/Documentation/Server/method/DeregisterGame @@ -247,6 +242,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromXboxLiveIDs + */ + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings * https://api.playfab.com/Documentation/Server/method/GetPublisherData @@ -258,6 +258,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetRandomResultTables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. + * https://api.playfab.com/Documentation/Server/method/GetServerCustomIDsFromPlayFabIDs + */ + GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all * public and private group data. Shared Groups are designed for sharing data between a very small number of players, @@ -351,6 +356,23 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Xbox Live account associated with the provided access code to the user's PlayFab account + * https://api.playfab.com/Documentation/Server/method/LinkXboxAccount + */ + LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID + * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. + * https://api.playfab.com/Documentation/Server/method/LoginWithServerCustomId + */ + LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Server/method/LoginWithXbox + */ + LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies the number of remaining uses of a player's inventory item * https://api.playfab.com/Documentation/Server/method/ModifyItemUses @@ -511,6 +533,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Xbox Live account from the user's PlayFab account + * https://api.playfab.com/Documentation/Server/method/UnlinkXboxAccount + */ + UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > @@ -1488,23 +1515,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersRequest */ - export interface DeleteUsersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabIds: 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; - - } - - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteUsersResult */ - export interface DeleteUsersResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ @@ -1535,6 +1545,17 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityTokenResponse */ + export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -2053,6 +2074,11 @@ declare module PlayFabServerModels { | "FacebookInstantGamesIdNotLinked" | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" + | "EntityProfileConstraintValidationFailed" + | "PlayInsightsIngestionKeyPending" + | "PlayInsightsIngestionKeyNotFound" + | "StatisticTagRequired" + | "StatisticTagInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2087,7 +2113,9 @@ declare module PlayFabServerModels { | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" - | "MatchmakingNotEnabled"; + | "MatchmakingNotEnabled" + | "MatchmakingGetStatisticsIdentityInvalid" + | "MatchmakingStatisticsIdMissing"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2652,6 +2680,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ + export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of Xbox Live sandbox. */ + Sandbox?: string; + /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + XboxLiveAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsResult */ + export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: XboxLiveAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ @@ -2696,6 +2740,23 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsRequest */ + export interface GetServerCustomIDsFromPlayFabIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique PlayFab player identifiers for which the title needs to get server custom identifiers. Cannot contain + * more than 25 identifiers. + */ + PlayFabIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsResult */ + export interface GetServerCustomIDsFromPlayFabIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of server custom player identifiers to PlayFab identifiers. */ + Data?: ServerCustomIDPlayFabIDPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ @@ -3029,6 +3090,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountRequest */ + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId: string; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountResult */ + export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3078,6 +3155,34 @@ declare module PlayFabServerModels { | "FacebookInstantGames" | "OpenIdConnect"; + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithServerCustomIdRequest */ + export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** The backend server identifier for this player. */ + ServerCustomId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxRequest */ + export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -3557,8 +3662,6 @@ declare module PlayFabServerModels { * region and use Tags (below) to specify your custom region. */ Region: string; - /** IPV4 address of the Game Server Instance. */ - ServerHost?: string; /** IPV4 address of the game server instance. */ ServerIPV4Address?: string; /** IPV6 address (if any) of the game server instance. */ @@ -3801,6 +3904,37 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerCustomIDPlayFabIDPair */ + export interface ServerCustomIDPlayFabIDPair { + /** Unique PlayFab identifier. */ + PlayFabId?: string; + /** Unique server custom identifier for this player. */ + ServerCustomId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerLoginResult */ + export interface ServerLoginResult extends PlayFabModule.IPlayFabResultCommon { + /** + * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and + * returned. + */ + EntityToken?: EntityTokenResponse; + /** Results for requested info. */ + InfoResultPayload?: GetPlayerCombinedInfoResultPayload; + /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ + LastLoginTime?: string; + /** True if the account was newly created on this login. */ + NewlyCreated: boolean; + /** Player's unique PlayFabId. */ + PlayFabId?: string; + /** Unique token authorizing the user and game at the server level, for the current session. */ + SessionTicket?: string; + /** Settings specific to this user. */ + SettingsForUser?: UserSettings; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ @@ -4050,6 +4184,20 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountRequest */ + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId: string; + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + XboxToken: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountResult */ + export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -4484,6 +4632,17 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSettings */ + export interface UserSettings { + /** Boolean for whether this player is eligible for gathering device info. */ + GatherDeviceInfo: boolean; + /** Boolean for whether this player should report OnFocus play-time tracking. */ + GatherFocusInfo: boolean; + /** Boolean for whether this player is eligible for ad tracking. */ + NeedsAttribution: boolean; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ @@ -4639,5 +4798,14 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.XboxLiveAccountPlayFabIdPair */ + export interface XboxLiveAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId?: string; + /** Unique Xbox Live identifier for a user. */ + XboxLiveAccountId?: string; + + } + } From bc9e7efd93098521a8b56ffd0e6104e37f350851 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 14 Nov 2018 23:57:35 +0000 Subject: [PATCH 072/253] https://api.playfab.com/releaseNotes/#181114 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 13 ++++++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 8 ++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 21 +++++++++++++------ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 8 ++++--- .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 13 ++++++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 8 ++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 21 +++++++++++++------ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 8 ++++--- 31 files changed, 157 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 281f280b..fcb2e09e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.34.181105", + "version": "1.35.181114", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 93c36c6e..1ccb1cfe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0510e86d..969269ec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f0f4e8eb..6f12f0a0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index f1bee0be..134583f3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f4665c25..5fa3093f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 5d169739..c4484c6e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 869ad233..0a752a96 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 6e2d03a7..8527f594 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index d1da259c..c2fb25ec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7d299e98..cd3b6324 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -244,6 +244,11 @@ PlayFab.MultiplayerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + ListAssetSummaries: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 877c6e93..0c83a361 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1effffe2..e3f6f75e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index ac4e9167..b109381a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2071,10 +2071,11 @@ declare module PlayFabAdminModels { | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" | "EntityProfileConstraintValidationFailed" - | "PlayInsightsIngestionKeyPending" - | "PlayInsightsIngestionKeyNotFound" + | "TelemetryIngestionKeyPending" + | "TelemetryIngestionKeyNotFound" | "StatisticTagRequired" | "StatisticTagInvalid" + | "DataIntegrityError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2111,7 +2112,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing"; + | "MatchmakingStatisticsIdMissing" + | "CannotEnableMultiplayerServersForTitle"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 21985de7..30d02b09 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -74,6 +74,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists archived multiplayer server sessions for a build. + * https://api.playfab.com/Documentation/Multiplayer/method/ListArchivedMultiplayerServers + */ + ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game assets for a title. * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries @@ -188,15 +193,19 @@ declare module PlayFabMultiplayerModels { | "WestEurope" | "WestUs"; - type AzureVmSize = "Standard_A1" - | "Standard_A2" - | "Standard_A3" - | "Standard_A4" - | "Standard_D1_v2" + type AzureVmSize = "Standard_D1_v2" | "Standard_D2_v2" | "Standard_D3_v2" | "Standard_D4_v2" - | "Standard_D5_v2"; + | "Standard_D5_v2" + | "Standard_A1_v2" + | "Standard_A2_v2" + | "Standard_A4_v2" + | "Standard_A8_v2" + | "Standard_A1" + | "Standard_A2" + | "Standard_A3" + | "Standard_A4"; /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 926b5ad7..28b5402e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2075,10 +2075,11 @@ declare module PlayFabServerModels { | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" | "EntityProfileConstraintValidationFailed" - | "PlayInsightsIngestionKeyPending" - | "PlayInsightsIngestionKeyNotFound" + | "TelemetryIngestionKeyPending" + | "TelemetryIngestionKeyNotFound" | "StatisticTagRequired" | "StatisticTagInvalid" + | "DataIntegrityError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2115,7 +2116,8 @@ declare module PlayFabServerModels { | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing"; + | "MatchmakingStatisticsIdMissing" + | "CannotEnableMultiplayerServersForTitle"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 93c36c6e..1ccb1cfe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0510e86d..969269ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f0f4e8eb..6f12f0a0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index f1bee0be..134583f3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f4665c25..5fa3093f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 5d169739..c4484c6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 869ad233..0a752a96 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 6e2d03a7..8527f594 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index d1da259c..c2fb25ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7d299e98..cd3b6324 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -244,6 +244,11 @@ PlayFab.MultiplayerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); }, + ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + }, + ListAssetSummaries: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 877c6e93..0c83a361 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1effffe2..e3f6f75e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.34.181105", + sdkVersion: "1.35.181114", requestGetParams: { - sdk: "JavaScriptSDK-1.34.181105" + sdk: "JavaScriptSDK-1.35.181114" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_1"; -PlayFab.sdkVersion = "1.34.181105"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; +PlayFab.sdkVersion = "1.35.181114"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ac4e9167..b109381a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2071,10 +2071,11 @@ declare module PlayFabAdminModels { | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" | "EntityProfileConstraintValidationFailed" - | "PlayInsightsIngestionKeyPending" - | "PlayInsightsIngestionKeyNotFound" + | "TelemetryIngestionKeyPending" + | "TelemetryIngestionKeyNotFound" | "StatisticTagRequired" | "StatisticTagInvalid" + | "DataIntegrityError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2111,7 +2112,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing"; + | "MatchmakingStatisticsIdMissing" + | "CannotEnableMultiplayerServersForTitle"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 21985de7..30d02b09 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -74,6 +74,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists archived multiplayer server sessions for a build. + * https://api.playfab.com/Documentation/Multiplayer/method/ListArchivedMultiplayerServers + */ + ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game assets for a title. * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries @@ -188,15 +193,19 @@ declare module PlayFabMultiplayerModels { | "WestEurope" | "WestUs"; - type AzureVmSize = "Standard_A1" - | "Standard_A2" - | "Standard_A3" - | "Standard_A4" - | "Standard_D1_v2" + type AzureVmSize = "Standard_D1_v2" | "Standard_D2_v2" | "Standard_D3_v2" | "Standard_D4_v2" - | "Standard_D5_v2"; + | "Standard_D5_v2" + | "Standard_A1_v2" + | "Standard_A2_v2" + | "Standard_A4_v2" + | "Standard_A8_v2" + | "Standard_A1" + | "Standard_A2" + | "Standard_A3" + | "Standard_A4"; /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 926b5ad7..28b5402e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2075,10 +2075,11 @@ declare module PlayFabServerModels { | "InvalidFacebookInstantGamesSignature" | "FacebookInstantGamesAuthNotConfiguredForTitle" | "EntityProfileConstraintValidationFailed" - | "PlayInsightsIngestionKeyPending" - | "PlayInsightsIngestionKeyNotFound" + | "TelemetryIngestionKeyPending" + | "TelemetryIngestionKeyNotFound" | "StatisticTagRequired" | "StatisticTagInvalid" + | "DataIntegrityError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2115,7 +2116,8 @@ declare module PlayFabServerModels { | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing"; + | "MatchmakingStatisticsIdMissing" + | "CannotEnableMultiplayerServersForTitle"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { From 2cc4b3f5f746fe98cebea1be7231e6b3312bec4f Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 4 Dec 2018 21:56:37 +0000 Subject: [PATCH 073/253] https://api.playfab.com/releaseNotes/#181204 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 13 +++++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 13 +++++++++++++ 27 files changed, 123 insertions(+), 97 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index fcb2e09e..dc792d04 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.35.181114", + "version": "1.36.181204", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 1ccb1cfe..6059175f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 969269ec..30cc6eef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6f12f0a0..60b752cd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 134583f3..d214e49c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5fa3093f..d945186d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c4484c6e..766d465c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0a752a96..ec452fe8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 8527f594..a6a02a8c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index c2fb25ec..abbe21a3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index cd3b6324..fc2605a0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 0c83a361..9f315fb8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index e3f6f75e..041d006b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 30d02b09..6c9f2749 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -542,6 +542,8 @@ declare module PlayFabMultiplayerModels { BuildId?: string; /** The build name. */ BuildName?: string; + /** The current build status. */ + BuildStatus?: string; /** The flavor of container of he build. */ ContainerFlavor?: string; /** @@ -609,6 +611,8 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + FQDN?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ @@ -828,6 +832,8 @@ declare module PlayFabMultiplayerModels { Region?: string; /** The string server ID of the multiplayer server generated by PlayFab. */ ServerId?: string; + /** The title generated guid string session ID of the multiplayer server. */ + SessionId?: string; /** The state of the multiplayer server. */ State?: string; /** The virtual machine ID that the multiplayer server is located on. */ @@ -862,6 +868,11 @@ declare module PlayFabMultiplayerModels { export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to request. */ BuildId: string; + /** + * Initial list of players (potentially matchmade) allowed to connect to the game. The game server can use this list to + * validate players connecting to it. + */ + InitialPlayers?: string[]; /** The preferred regions to request a multiplayer server from. */ PreferredRegions: string[]; /** @@ -879,6 +890,8 @@ declare module PlayFabMultiplayerModels { export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + FQDN?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 1ccb1cfe..6059175f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 969269ec..30cc6eef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6f12f0a0..60b752cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 134583f3..d214e49c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5fa3093f..d945186d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c4484c6e..766d465c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0a752a96..ec452fe8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 8527f594..a6a02a8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index c2fb25ec..abbe21a3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index cd3b6324..fc2605a0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 0c83a361..9f315fb8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index e3f6f75e..041d006b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.35.181114", + sdkVersion: "1.36.181204", requestGetParams: { - sdk: "JavaScriptSDK-1.35.181114" + sdk: "JavaScriptSDK-1.36.181204" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_0"; -PlayFab.sdkVersion = "1.35.181114"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; +PlayFab.sdkVersion = "1.36.181204"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 30d02b09..6c9f2749 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -542,6 +542,8 @@ declare module PlayFabMultiplayerModels { BuildId?: string; /** The build name. */ BuildName?: string; + /** The current build status. */ + BuildStatus?: string; /** The flavor of container of he build. */ ContainerFlavor?: string; /** @@ -609,6 +611,8 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + FQDN?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ @@ -828,6 +832,8 @@ declare module PlayFabMultiplayerModels { Region?: string; /** The string server ID of the multiplayer server generated by PlayFab. */ ServerId?: string; + /** The title generated guid string session ID of the multiplayer server. */ + SessionId?: string; /** The state of the multiplayer server. */ State?: string; /** The virtual machine ID that the multiplayer server is located on. */ @@ -862,6 +868,11 @@ declare module PlayFabMultiplayerModels { export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to request. */ BuildId: string; + /** + * Initial list of players (potentially matchmade) allowed to connect to the game. The game server can use this list to + * validate players connecting to it. + */ + InitialPlayers?: string[]; /** The preferred regions to request a multiplayer server from. */ PreferredRegions: string[]; /** @@ -879,6 +890,8 @@ declare module PlayFabMultiplayerModels { export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + FQDN?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ From 38a18f7484f0696a6fa94b0c8ec62a25c9533ad1 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 18 Dec 2018 22:27:53 +0000 Subject: [PATCH 074/253] https://api.playfab.com/releaseNotes/#181218 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 49 ++++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 17 +++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 137 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 45 ++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 17 +++ .../src/PlayFab/PlayFabAdminApi.js | 6 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 49 ++++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 6 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 17 +++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 137 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 45 ++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 17 +++ 33 files changed, 569 insertions(+), 95 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index dc792d04..e03534b3 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.36.181204", + "version": "1.37.181218", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6059175f..8590d256 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 30cc6eef..5ec75f16 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 60b752cd..43601e7e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -245,6 +245,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumePSNEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + ConsumeXboxEntitlements: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeXboxEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -430,6 +435,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -573,6 +583,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkPSNAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -809,6 +824,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithPSN: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPSN", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithSteam: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -906,6 +939,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + RefreshPSNAuthToken: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RefreshPSNAuthToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -1056,6 +1094,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index d214e49c..591f66b7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index d945186d..3cd29a1a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 766d465c..31187156 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index ec452fe8..185cca7b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a6a02a8c..bc90aa47 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index abbe21a3..3f9c9e50 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index fc2605a0..e50b1490 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 9f315fb8..4f2958de 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 041d006b..95b6215c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b109381a..02079f61 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2076,6 +2076,23 @@ declare module PlayFabAdminModels { | "StatisticTagRequired" | "StatisticTagInvalid" | "DataIntegrityError" + | "VirtualCurrencyCannotBeSetToOlderVersion" + | "VirtualCurrencyMustBeWithinIntegerRange" + | "EmailTemplateInvalidSyntax" + | "EmailTemplateMissingCallback" + | "PushNotificationTemplateInvalidPayload" + | "InvalidLocalizedPushNotificationLanguage" + | "MissingLocalizedPushNotificationMessage" + | "PushNotificationTemplateMissingPlatformPayload" + | "PushNotificationTemplatePayloadContainsInvalidJson" + | "PushNotificationTemplateContainsInvalidIosPayload" + | "PushNotificationTemplateContainsInvalidAndroidPayload" + | "PushNotificationTemplateIosPayloadMissingNotificationBody" + | "PushNotificationTemplateAndroidPayloadMissingNotificationBody" + | "PushNotificationTemplateNotFound" + | "PushNotificationTemplateMissingDefaultVersion" + | "PushNotificationTemplateInvalidSyntax" + | "PushNotificationTemplateNoCustomPayloadForV1" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index aa64c4da..c325690d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -77,6 +77,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/ConsumeItem */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items + * https://api.playfab.com/Documentation/Client/method/ConsumePSNEntitlements + */ + ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. @@ -286,6 +291,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromNintendoSwitchDeviceIds */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromPSNAccountIDs + */ + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -440,6 +450,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkOpenIdConnect */ LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkPSNAccount + */ + LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount @@ -534,6 +549,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a PlayStation Network authentication code, returning a session identifier that can subsequently + * be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithPSN + */ + LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -591,6 +612,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Uses the supplied OAuth code to refresh the internally cached player PSN auth token + * https://api.playfab.com/Documentation/Client/method/RefreshPSNAuthToken + */ + RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers the iOS device to receive push notifications * https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification @@ -734,6 +760,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkOpenIdConnect */ UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related PSN account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkPSNAccount + */ + UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount @@ -1245,6 +1276,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsRequest */ + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ + CatalogVersion?: string; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel: number; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsResult */ + export interface ConsumePSNEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of items granted to the player as a result of consuming entitlements. */ + ItemsGranted?: ItemInstance[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsRequest */ export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ @@ -2624,6 +2671,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + PSNAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsResult */ + export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: PSNAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -3161,6 +3224,24 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountRequest */ + export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authentication code provided by the PlayStation Network. */ + AuthCode: string; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountResult */ + export interface LinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3569,6 +3650,32 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPSNRequest */ + export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Auth code provided by the PSN OAuth provider. */ + AuthCode?: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -3946,6 +4053,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PSNAccountPlayFabIdPair */ + export interface PSNAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + PlayFabId?: string; + /** Unique PlayStation Network identifier for a user. */ + PSNAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ @@ -4000,6 +4116,17 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RefreshPSNAuthTokenRequest */ + export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Auth code returned by PSN OAuth system. */ + AuthCode: string; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri: string; + + } + type Region = "USCentral" | "USEast" | "EUWest" @@ -4662,6 +4789,16 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountRequest */ + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountResult */ + export interface UnlinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 6c9f2749..0a037ab0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -202,6 +202,15 @@ declare module PlayFabMultiplayerModels { | "Standard_A2_v2" | "Standard_A4_v2" | "Standard_A8_v2" + | "Standard_F1" + | "Standard_F2" + | "Standard_F4" + | "Standard_F8" + | "Standard_F16" + | "Standard_F2s_v2" + | "Standard_F4s_v2" + | "Standard_F8s_v2" + | "Standard_F16s_v2" | "Standard_A1" | "Standard_A2" | "Standard_A3" @@ -215,7 +224,10 @@ declare module PlayFabMultiplayerModels { Region?: string; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; - /** The status of multiplayer servers in the build region. */ + /** + * The status of multiplayer servers in the build region. Valid values are - Unknown, Initialized, Deploying, Deployed, + * Unhealthy. + */ Status?: string; } @@ -303,7 +315,10 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; - /** Metadata to tag the build. */ + /** + * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through + * Game Server SDK (GSDK). + */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; @@ -357,7 +372,10 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; - /** Metadata to tag the build. */ + /** + * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through + * Game Server SDK (GSDK). + */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; @@ -542,7 +560,7 @@ declare module PlayFabMultiplayerModels { BuildId?: string; /** The build name. */ BuildName?: string; - /** The current build status. */ + /** The current build status. Valid values are - Deploying, Deployed, DeletingRegion, Unhealthy. */ BuildStatus?: string; /** The flavor of container of he build. */ ContainerFlavor?: string; @@ -559,7 +577,10 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; - /** The metadata of the build. */ + /** + * Metadata of the build. The keys are case insensitive. The build metadata is made available to the server through Game + * Server SDK (GSDK). + */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to hosted on a single VM of the build. */ MultiplayerServerCountPerVm: number; @@ -869,16 +890,18 @@ declare module PlayFabMultiplayerModels { /** The guid string build ID of the multiplayer server to request. */ BuildId: string; /** - * Initial list of players (potentially matchmade) allowed to connect to the game. The game server can use this list to - * validate players connecting to it. + * Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server + * when requested (via GSDK) and can be used to validate players connecting to it. */ InitialPlayers?: string[]; - /** The preferred regions to request a multiplayer server from. */ + /** + * The preferred regions to request a multiplayer server from. The Multiplayer Service will iterate through the regions in + * the specified order and allocate a server from the first one that has servers available. + */ PreferredRegions: string[]; /** - * Data encoded as a string that is passed to the game server when requested. This can be used to share a cryptographic - * secret for servers to authenticate clients or to communicate information such as game mode or map through the request - * flow. + * Data encoded as a string that is passed to the game server when requested. This can be used to to communicate + * information such as game mode or map through the request flow. */ SessionCookie?: string; /** A guid string session ID created track the multiplayer server session over its life. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 28b5402e..17a90e94 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2080,6 +2080,23 @@ declare module PlayFabServerModels { | "StatisticTagRequired" | "StatisticTagInvalid" | "DataIntegrityError" + | "VirtualCurrencyCannotBeSetToOlderVersion" + | "VirtualCurrencyMustBeWithinIntegerRange" + | "EmailTemplateInvalidSyntax" + | "EmailTemplateMissingCallback" + | "PushNotificationTemplateInvalidPayload" + | "InvalidLocalizedPushNotificationLanguage" + | "MissingLocalizedPushNotificationMessage" + | "PushNotificationTemplateMissingPlatformPayload" + | "PushNotificationTemplatePayloadContainsInvalidJson" + | "PushNotificationTemplateContainsInvalidIosPayload" + | "PushNotificationTemplateContainsInvalidAndroidPayload" + | "PushNotificationTemplateIosPayloadMissingNotificationBody" + | "PushNotificationTemplateAndroidPayloadMissingNotificationBody" + | "PushNotificationTemplateNotFound" + | "PushNotificationTemplateMissingDefaultVersion" + | "PushNotificationTemplateInvalidSyntax" + | "PushNotificationTemplateNoCustomPayloadForV1" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6059175f..8590d256 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 30cc6eef..5ec75f16 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 60b752cd..43601e7e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -245,6 +245,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumePSNEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + ConsumeXboxEntitlements: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeXboxEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -430,6 +435,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -573,6 +583,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + LinkPSNAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + LinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -809,6 +824,24 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback, customData, extraHeaders); }, + LoginWithPSN: function (request, callback, customData, extraHeaders) { + request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; + 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; + } + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) == "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPSN", request, null, null, overloadCallback, customData, extraHeaders); + }, + LoginWithSteam: function (request, callback, customData, extraHeaders) { request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId; var overloadCallback = function (result, error) { @@ -906,6 +939,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + RefreshPSNAuthToken: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RefreshPSNAuthToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); @@ -1056,6 +1094,11 @@ PlayFab.ClientApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); }, + UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { + if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + }, + UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index d214e49c..591f66b7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index d945186d..3cd29a1a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 766d465c..31187156 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index ec452fe8..185cca7b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a6a02a8c..bc90aa47 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index abbe21a3..3f9c9e50 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index fc2605a0..e50b1490 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 9f315fb8..4f2958de 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 041d006b..95b6215c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.36.181204", + sdkVersion: "1.37.181218", requestGetParams: { - sdk: "JavaScriptSDK-1.36.181204" + sdk: "JavaScriptSDK-1.37.181218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.36.181204"; +PlayFab.sdkVersion = "1.37.181218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b109381a..02079f61 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2076,6 +2076,23 @@ declare module PlayFabAdminModels { | "StatisticTagRequired" | "StatisticTagInvalid" | "DataIntegrityError" + | "VirtualCurrencyCannotBeSetToOlderVersion" + | "VirtualCurrencyMustBeWithinIntegerRange" + | "EmailTemplateInvalidSyntax" + | "EmailTemplateMissingCallback" + | "PushNotificationTemplateInvalidPayload" + | "InvalidLocalizedPushNotificationLanguage" + | "MissingLocalizedPushNotificationMessage" + | "PushNotificationTemplateMissingPlatformPayload" + | "PushNotificationTemplatePayloadContainsInvalidJson" + | "PushNotificationTemplateContainsInvalidIosPayload" + | "PushNotificationTemplateContainsInvalidAndroidPayload" + | "PushNotificationTemplateIosPayloadMissingNotificationBody" + | "PushNotificationTemplateAndroidPayloadMissingNotificationBody" + | "PushNotificationTemplateNotFound" + | "PushNotificationTemplateMissingDefaultVersion" + | "PushNotificationTemplateInvalidSyntax" + | "PushNotificationTemplateNoCustomPayloadForV1" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index aa64c4da..c325690d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -77,6 +77,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/ConsumeItem */ ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items + * https://api.playfab.com/Documentation/Client/method/ConsumePSNEntitlements + */ + ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. @@ -286,6 +291,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromNintendoSwitchDeviceIds */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromPSNAccountIDs + */ + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -440,6 +450,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LinkOpenIdConnect */ LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/LinkPSNAccount + */ + LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount @@ -534,6 +549,12 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using a PlayStation Network authentication code, returning a session identifier that can subsequently + * be used for API calls which require an authenticated user + * https://api.playfab.com/Documentation/Client/method/LoginWithPSN + */ + LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -591,6 +612,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/RedeemCoupon */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Uses the supplied OAuth code to refresh the internally cached player PSN auth token + * https://api.playfab.com/Documentation/Client/method/RefreshPSNAuthToken + */ + RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers the iOS device to receive push notifications * https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification @@ -734,6 +760,11 @@ declare module PlayFabClientModule { * https://api.playfab.com/Documentation/Client/method/UnlinkOpenIdConnect */ UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related PSN account from the user's PlayFab account + * https://api.playfab.com/Documentation/Client/method/UnlinkPSNAccount + */ + UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount @@ -1245,6 +1276,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsRequest */ + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ + CatalogVersion?: string; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel: number; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsResult */ + export interface ConsumePSNEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of items granted to the player as a result of consuming entitlements. */ + ItemsGranted?: ItemInstance[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsRequest */ export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ @@ -2624,6 +2671,22 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + PSNAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsResult */ + export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: PSNAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -3161,6 +3224,24 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountRequest */ + export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authentication code provided by the PlayStation Network. */ + AuthCode: string; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri: string; + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountResult */ + export interface LinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3569,6 +3650,32 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPSNRequest */ + export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Auth code provided by the PSN OAuth provider. */ + AuthCode?: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ + LoginTitlePlayerAccountEntity?: boolean; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri?: 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; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -3946,6 +4053,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PSNAccountPlayFabIdPair */ + export interface PSNAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + PlayFabId?: string; + /** Unique PlayStation Network identifier for a user. */ + PSNAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ @@ -4000,6 +4116,17 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RefreshPSNAuthTokenRequest */ + export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Auth code returned by PSN OAuth system. */ + AuthCode: string; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri: string; + + } + type Region = "USCentral" | "USEast" | "EUWest" @@ -4662,6 +4789,16 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountRequest */ + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountResult */ + export interface UnlinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 6c9f2749..0a037ab0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -202,6 +202,15 @@ declare module PlayFabMultiplayerModels { | "Standard_A2_v2" | "Standard_A4_v2" | "Standard_A8_v2" + | "Standard_F1" + | "Standard_F2" + | "Standard_F4" + | "Standard_F8" + | "Standard_F16" + | "Standard_F2s_v2" + | "Standard_F4s_v2" + | "Standard_F8s_v2" + | "Standard_F16s_v2" | "Standard_A1" | "Standard_A2" | "Standard_A3" @@ -215,7 +224,10 @@ declare module PlayFabMultiplayerModels { Region?: string; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; - /** The status of multiplayer servers in the build region. */ + /** + * The status of multiplayer servers in the build region. Valid values are - Unknown, Initialized, Deploying, Deployed, + * Unhealthy. + */ Status?: string; } @@ -303,7 +315,10 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; - /** Metadata to tag the build. */ + /** + * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through + * Game Server SDK (GSDK). + */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; @@ -357,7 +372,10 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; - /** Metadata to tag the build. */ + /** + * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through + * Game Server SDK (GSDK). + */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; @@ -542,7 +560,7 @@ declare module PlayFabMultiplayerModels { BuildId?: string; /** The build name. */ BuildName?: string; - /** The current build status. */ + /** The current build status. Valid values are - Deploying, Deployed, DeletingRegion, Unhealthy. */ BuildStatus?: string; /** The flavor of container of he build. */ ContainerFlavor?: string; @@ -559,7 +577,10 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; - /** The metadata of the build. */ + /** + * Metadata of the build. The keys are case insensitive. The build metadata is made available to the server through Game + * Server SDK (GSDK). + */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to hosted on a single VM of the build. */ MultiplayerServerCountPerVm: number; @@ -869,16 +890,18 @@ declare module PlayFabMultiplayerModels { /** The guid string build ID of the multiplayer server to request. */ BuildId: string; /** - * Initial list of players (potentially matchmade) allowed to connect to the game. The game server can use this list to - * validate players connecting to it. + * Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server + * when requested (via GSDK) and can be used to validate players connecting to it. */ InitialPlayers?: string[]; - /** The preferred regions to request a multiplayer server from. */ + /** + * The preferred regions to request a multiplayer server from. The Multiplayer Service will iterate through the regions in + * the specified order and allocate a server from the first one that has servers available. + */ PreferredRegions: string[]; /** - * Data encoded as a string that is passed to the game server when requested. This can be used to share a cryptographic - * secret for servers to authenticate clients or to communicate information such as game mode or map through the request - * flow. + * Data encoded as a string that is passed to the game server when requested. This can be used to to communicate + * information such as game mode or map through the request flow. */ SessionCookie?: string; /** A guid string session ID created track the multiplayer server session over its life. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 28b5402e..17a90e94 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2080,6 +2080,23 @@ declare module PlayFabServerModels { | "StatisticTagRequired" | "StatisticTagInvalid" | "DataIntegrityError" + | "VirtualCurrencyCannotBeSetToOlderVersion" + | "VirtualCurrencyMustBeWithinIntegerRange" + | "EmailTemplateInvalidSyntax" + | "EmailTemplateMissingCallback" + | "PushNotificationTemplateInvalidPayload" + | "InvalidLocalizedPushNotificationLanguage" + | "MissingLocalizedPushNotificationMessage" + | "PushNotificationTemplateMissingPlatformPayload" + | "PushNotificationTemplatePayloadContainsInvalidJson" + | "PushNotificationTemplateContainsInvalidIosPayload" + | "PushNotificationTemplateContainsInvalidAndroidPayload" + | "PushNotificationTemplateIosPayloadMissingNotificationBody" + | "PushNotificationTemplateAndroidPayloadMissingNotificationBody" + | "PushNotificationTemplateNotFound" + | "PushNotificationTemplateMissingDefaultVersion" + | "PushNotificationTemplateInvalidSyntax" + | "PushNotificationTemplateNoCustomPayloadForV1" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" From 77c98bb2b20edf28f1af38e338d9d225c0d876ed Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 24 Jan 2019 01:44:16 +0000 Subject: [PATCH 075/253] https://api.playfab.com/releaseNotes/#190123 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 38 ------------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 30 +++++++++++---- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 +-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- .../src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 38 ------------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 30 +++++++++++---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 +-- 33 files changed, 145 insertions(+), 197 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e03534b3..34c138bf 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.37.181218", + "version": "1.38.190123", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 8590d256..51811094 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 5ec75f16..79f27bde 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 43601e7e..088cde29 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 591f66b7..15efa0dc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3cd29a1a..613e68a5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 31187156..4b8c6ed5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 185cca7b..560f718f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index bc90aa47..a602e509 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 3f9c9e50..7cee7b9c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e50b1490..dd9ed316 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4f2958de..12507b43 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 95b6215c..1a3b5d45 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 02079f61..d4e01d67 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2093,6 +2093,7 @@ declare module PlayFabAdminModels { | "PushNotificationTemplateMissingDefaultVersion" | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" + | "NoLeaderboardForStatistic" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index c325690d..de742dde 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3388,8 +3388,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3412,8 +3410,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3430,8 +3426,6 @@ declare module PlayFabClientModels { Email: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3452,8 +3446,6 @@ declare module PlayFabClientModels { FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3474,8 +3466,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3494,8 +3484,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Unique Game Center player id. */ PlayerId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3516,8 +3504,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3545,8 +3531,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3571,8 +3555,6 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3591,8 +3573,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3620,8 +3600,6 @@ declare module PlayFabClientModels { IdToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3636,8 +3614,6 @@ declare module PlayFabClientModels { export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3662,8 +3638,6 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** Redirect URI supplied to PSN when requesting an auth code */ @@ -3684,8 +3658,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3711,8 +3683,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3729,8 +3699,6 @@ declare module PlayFabClientModels { ChallengeSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** @@ -3749,8 +3717,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4174,8 +4140,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -4222,8 +4186,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** PublicKey generated by Windows Hello. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0a037ab0..0eaec157 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -161,7 +161,7 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReferenceParams */ export interface AssetReferenceParams { - /** The asset's file name. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + /** The asset's file name. */ FileName: string; /** The asset's mount path. */ MountPath: string; @@ -191,7 +191,9 @@ declare module PlayFabMultiplayerModels { | "SouthCentralUs" | "SoutheastAsia" | "WestEurope" - | "WestUs"; + | "WestUs" + | "ChinaEast2" + | "ChinaNorth2"; type AzureVmSize = "Standard_D1_v2" | "Standard_D2_v2" @@ -218,6 +220,8 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { + /** The current multiplayer server stats for the region. */ + CurrentServerStats?: CurrentServerStats; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** The build region. */ @@ -445,9 +449,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CurrentServerStats */ + export interface CurrentServerStats { + /** The number of active multiplayer servers. */ + Active: number; + /** The number of multiplayer servers still downloading game resources (such as assets). */ + Propping: number; + /** The number of standingby multiplayer servers. */ + StandingBy: number; + /** The total number of multiplayer servers. */ + Total: number; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteAssetRequest */ export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The filename of the asset to delete. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + /** The filename of the asset to delete. */ FileName: string; } @@ -530,7 +547,7 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlRequest */ export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The asset's file name to get the upload URL for. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + /** The asset's file name to get the upload URL for. */ FileName: string; } @@ -539,10 +556,7 @@ declare module PlayFabMultiplayerModels { export interface GetAssetUploadUrlResponse extends PlayFabModule.IPlayFabResultCommon { /** The asset's upload URL. */ AssetUploadUrl?: string; - /** - * The asset's file name to get the upload URL for. This must be a filename will be a file with the .zip, .tar, or .tar.gz - * extension. - */ + /** The asset's file name to get the upload URL for. */ FileName?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 17a90e94..f5317083 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2097,6 +2097,7 @@ declare module PlayFabServerModels { | "PushNotificationTemplateMissingDefaultVersion" | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" + | "NoLeaderboardForStatistic" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -3180,8 +3181,6 @@ declare module PlayFabServerModels { CreateAccount?: boolean; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** The backend server identifier for this player. */ @@ -3195,8 +3194,6 @@ declare module PlayFabServerModels { CreateAccount?: boolean; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ XboxToken: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 8590d256..51811094 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 5ec75f16..79f27bde 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 43601e7e..088cde29 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 591f66b7..15efa0dc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3cd29a1a..613e68a5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 31187156..4b8c6ed5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 185cca7b..560f718f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index bc90aa47..a602e509 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 3f9c9e50..7cee7b9c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e50b1490..dd9ed316 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4f2958de..12507b43 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 95b6215c..1a3b5d45 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.37.181218", + sdkVersion: "1.38.190123", requestGetParams: { - sdk: "JavaScriptSDK-1.37.181218" + sdk: "JavaScriptSDK-1.38.190123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-slave2016-3_2"; -PlayFab.sdkVersion = "1.37.181218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.38.190123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 02079f61..d4e01d67 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2093,6 +2093,7 @@ declare module PlayFabAdminModels { | "PushNotificationTemplateMissingDefaultVersion" | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" + | "NoLeaderboardForStatistic" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index c325690d..de742dde 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3388,8 +3388,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3412,8 +3410,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3430,8 +3426,6 @@ declare module PlayFabClientModels { Email: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3452,8 +3446,6 @@ declare module PlayFabClientModels { FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3474,8 +3466,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3494,8 +3484,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Unique Game Center player id. */ PlayerId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3516,8 +3504,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3545,8 +3531,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Specific Operating System version for the user's device. */ OS?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3571,8 +3555,6 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3591,8 +3573,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3620,8 +3600,6 @@ declare module PlayFabClientModels { IdToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3636,8 +3614,6 @@ declare module PlayFabClientModels { export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password: string; /** @@ -3662,8 +3638,6 @@ declare module PlayFabClientModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** Redirect URI supplied to PSN when requesting an auth code */ @@ -3684,8 +3658,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3711,8 +3683,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -3729,8 +3699,6 @@ declare module PlayFabClientModels { ChallengeSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; /** @@ -3749,8 +3717,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** @@ -4174,8 +4140,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Password for the PlayFab account (6-100 characters) */ Password?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -4222,8 +4186,6 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** PublicKey generated by Windows Hello. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0a037ab0..0eaec157 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -161,7 +161,7 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReferenceParams */ export interface AssetReferenceParams { - /** The asset's file name. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + /** The asset's file name. */ FileName: string; /** The asset's mount path. */ MountPath: string; @@ -191,7 +191,9 @@ declare module PlayFabMultiplayerModels { | "SouthCentralUs" | "SoutheastAsia" | "WestEurope" - | "WestUs"; + | "WestUs" + | "ChinaEast2" + | "ChinaNorth2"; type AzureVmSize = "Standard_D1_v2" | "Standard_D2_v2" @@ -218,6 +220,8 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { + /** The current multiplayer server stats for the region. */ + CurrentServerStats?: CurrentServerStats; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** The build region. */ @@ -445,9 +449,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CurrentServerStats */ + export interface CurrentServerStats { + /** The number of active multiplayer servers. */ + Active: number; + /** The number of multiplayer servers still downloading game resources (such as assets). */ + Propping: number; + /** The number of standingby multiplayer servers. */ + StandingBy: number; + /** The total number of multiplayer servers. */ + Total: number; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteAssetRequest */ export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The filename of the asset to delete. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + /** The filename of the asset to delete. */ FileName: string; } @@ -530,7 +547,7 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlRequest */ export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The asset's file name to get the upload URL for. This must be a filename with the .zip, .tar, or .tar.gz extension. */ + /** The asset's file name to get the upload URL for. */ FileName: string; } @@ -539,10 +556,7 @@ declare module PlayFabMultiplayerModels { export interface GetAssetUploadUrlResponse extends PlayFabModule.IPlayFabResultCommon { /** The asset's upload URL. */ AssetUploadUrl?: string; - /** - * The asset's file name to get the upload URL for. This must be a filename will be a file with the .zip, .tar, or .tar.gz - * extension. - */ + /** The asset's file name to get the upload URL for. */ FileName?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 17a90e94..f5317083 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2097,6 +2097,7 @@ declare module PlayFabServerModels { | "PushNotificationTemplateMissingDefaultVersion" | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" + | "NoLeaderboardForStatistic" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -3180,8 +3181,6 @@ declare module PlayFabServerModels { CreateAccount?: boolean; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** The backend server identifier for this player. */ @@ -3195,8 +3194,6 @@ declare module PlayFabServerModels { CreateAccount?: boolean; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Formerly triggered an Entity login with a normal client login. This is now automatic, and always-on. */ - LoginTitlePlayerAccountEntity?: boolean; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ XboxToken: string; From 6a52d55eba6cebe18b3b94fd4004c4ec27ca105e Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 5 Feb 2019 05:13:26 +0000 Subject: [PATCH 076/253] https://api.playfab.com/releaseNotes/#190205 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 11 +++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 11 +++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 38 ++++++++++++-- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 4 +- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 10 ++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 49 +++++++++++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 11 +++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- .../src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- .../src/PlayFab/PlayFabDataApi.js | 6 +-- .../src/PlayFab/PlayFabEventsApi.js | 6 +-- .../src/PlayFab/PlayFabGroupsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- .../src/PlayFab/PlayFabProfilesApi.js | 6 +-- .../src/PlayFab/PlayFabServerApi.js | 11 +++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 38 ++++++++++++-- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 4 +- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 10 ++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 49 +++++++++++++++++-- 33 files changed, 265 insertions(+), 103 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 34c138bf..f8ecd4de 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.38.190123", + "version": "1.39.190205", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 51811094..a3781fa2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -179,6 +179,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + AddLocalizedNews: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddLocalizedNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + AddNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 79f27bde..0811a58a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 088cde29..6d10bb49 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 15efa0dc..bd14b3e4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 613e68a5..8ca0e020 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 4b8c6ed5..3672e917 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 560f718f..ab070e57 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a602e509..3f867943 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7cee7b9c..9811b1b8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index dd9ed316..91629786 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 12507b43..5a4f9961 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1a3b5d45..f5dcbcd2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -384,6 +384,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index d4e01d67..fa162d0b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -9,6 +9,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update news item to include localized version + * https://api.playfab.com/Documentation/Admin/method/AddLocalizedNews + */ + AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new news item to the title's news feed * https://api.playfab.com/Documentation/Admin/method/AddNews @@ -622,13 +627,31 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsRequest */ + export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Localized body text of the news. */ + Body: string; + /** Language of the news item. */ + Language: string; + /** Unique id of the updated news item. */ + NewsId: string; + /** Localized title (headline) of the news item. */ + Title: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsResult */ + export interface AddLocalizedNewsResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Body text of the news */ + /** Default body text of the news. */ Body: string; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; - /** Title (headline) of the news item */ + /** Default title (headline) of the news item. */ Title: string; } @@ -2094,6 +2117,12 @@ declare module PlayFabAdminModels { | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" | "NoLeaderboardForStatistic" + | "TitleNewsMissingDefaultLanguage" + | "TitleNewsNotFound" + | "TitleNewsDuplicateLanguage" + | "TitleNewsMissingTitleOrBody" + | "TitleNewsInvalidLanguage" + | "EmailRecipientBlacklisted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2131,7 +2160,10 @@ declare module PlayFabAdminModels { | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingStatisticsIdMissing" - | "CannotEnableMultiplayerServersForTitle"; + | "CannotEnableMultiplayerServersForTitle" + | "TitleConfigNotFound" + | "TitleConfigUpdateConflict" + | "TitleConfigSerializationError"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index de742dde..8165ae38 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1909,7 +1909,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ + /** This field is not populated. */ CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -4559,7 +4559,7 @@ declare module PlayFabClientModels { Body?: string; /** Unique identifier of news item. */ NewsId?: string; - /** Date and time when the news items was posted. */ + /** Date and time when the news item was posted. */ Timestamp: string; /** Title of the news item. */ Title?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 5a003c63..c77001d1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -99,17 +99,17 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { + /** + * The display name of the entity. This field may serve different purposes for different entity types. i.e.: for a title + * player account it could represent the display name of the player, whereas on a character it could be character's name. + */ + DisplayName?: string; /** The entity id and type. */ Entity?: EntityKey; /** The chain of responsibility for this entity. Use Lineage. */ EntityChain?: string; /** The files on this profile. */ Files?: { [key: string]: EntityProfileFileMetadata }; - /** - * The friendly name of the entity. This field may serve different purposes for different entity types. i.e.: for a title - * player account it could represent the display name of the player, whereas on a character it could be character's name. - */ - FriendlyName?: string; /** The language on this profile. */ Language?: string; /** The lineage of this profile. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f5317083..d0627f6d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -236,6 +236,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromPSNAccountIDs + */ + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -1658,7 +1663,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ + /** This field is not populated. */ CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -2098,6 +2103,12 @@ declare module PlayFabServerModels { | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" | "NoLeaderboardForStatistic" + | "TitleNewsMissingDefaultLanguage" + | "TitleNewsNotFound" + | "TitleNewsDuplicateLanguage" + | "TitleNewsMissingTitleOrBody" + | "TitleNewsInvalidLanguage" + | "EmailRecipientBlacklisted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2135,7 +2146,10 @@ declare module PlayFabServerModels { | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingStatisticsIdMissing" - | "CannotEnableMultiplayerServersForTitle"; + | "CannotEnableMultiplayerServersForTitle" + | "TitleConfigNotFound" + | "TitleConfigUpdateConflict" + | "TitleConfigSerializationError"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2686,6 +2700,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + PSNAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsResult */ + export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: PSNAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -2835,7 +2865,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** Array of news items. */ + /** Array of localized news items. */ News?: TitleNewsItem[]; } @@ -3553,6 +3583,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PSNAccountPlayFabIdPair */ + export interface PSNAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + PlayFabId?: string; + /** Unique PlayStation Network identifier for a user. */ + PSNAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ @@ -4189,11 +4228,11 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { - /** News item text. */ + /** News item body. */ Body?: string; /** Unique identifier of news item. */ NewsId?: string; - /** Date and time when the news items was posted. */ + /** Date and time when the news item was posted. */ Timestamp: string; /** Title of the news item. */ Title?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 51811094..a3781fa2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -179,6 +179,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + AddLocalizedNews: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddLocalizedNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + AddNews: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 79f27bde..0811a58a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 088cde29..6d10bb49 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 15efa0dc..bd14b3e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 613e68a5..8ca0e020 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4b8c6ed5..3672e917 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 560f718f..ab070e57 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a602e509..3f867943 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7cee7b9c..9811b1b8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index dd9ed316..91629786 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 12507b43..5a4f9961 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1a3b5d45..f5dcbcd2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.38.190123", + sdkVersion: "1.39.190205", requestGetParams: { - sdk: "JavaScriptSDK-1.38.190123" + sdk: "JavaScriptSDK-1.39.190205" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -157,7 +157,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.38.190123"; +PlayFab.sdkVersion = "1.39.190205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -384,6 +384,11 @@ PlayFab.ServerApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index d4e01d67..fa162d0b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -9,6 +9,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance */ AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update news item to include localized version + * https://api.playfab.com/Documentation/Admin/method/AddLocalizedNews + */ + AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new news item to the title's news feed * https://api.playfab.com/Documentation/Admin/method/AddNews @@ -622,13 +627,31 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsRequest */ + export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Localized body text of the news. */ + Body: string; + /** Language of the news item. */ + Language: string; + /** Unique id of the updated news item. */ + NewsId: string; + /** Localized title (headline) of the news item. */ + Title: string; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsResult */ + export interface AddLocalizedNewsResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Body text of the news */ + /** Default body text of the news. */ Body: string; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; - /** Title (headline) of the news item */ + /** Default title (headline) of the news item. */ Title: string; } @@ -2094,6 +2117,12 @@ declare module PlayFabAdminModels { | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" | "NoLeaderboardForStatistic" + | "TitleNewsMissingDefaultLanguage" + | "TitleNewsNotFound" + | "TitleNewsDuplicateLanguage" + | "TitleNewsMissingTitleOrBody" + | "TitleNewsInvalidLanguage" + | "EmailRecipientBlacklisted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2131,7 +2160,10 @@ declare module PlayFabAdminModels { | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingStatisticsIdMissing" - | "CannotEnableMultiplayerServersForTitle"; + | "CannotEnableMultiplayerServersForTitle" + | "TitleConfigNotFound" + | "TitleConfigUpdateConflict" + | "TitleConfigSerializationError"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index de742dde..8165ae38 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1909,7 +1909,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ + /** This field is not populated. */ CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -4559,7 +4559,7 @@ declare module PlayFabClientModels { Body?: string; /** Unique identifier of news item. */ NewsId?: string; - /** Date and time when the news items was posted. */ + /** Date and time when the news item was posted. */ Timestamp: string; /** Title of the news item. */ Title?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 5a003c63..c77001d1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -99,17 +99,17 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { + /** + * The display name of the entity. This field may serve different purposes for different entity types. i.e.: for a title + * player account it could represent the display name of the player, whereas on a character it could be character's name. + */ + DisplayName?: string; /** The entity id and type. */ Entity?: EntityKey; /** The chain of responsibility for this entity. Use Lineage. */ EntityChain?: string; /** The files on this profile. */ Files?: { [key: string]: EntityProfileFileMetadata }; - /** - * The friendly name of the entity. This field may serve different purposes for different entity types. i.e.: for a title - * player account it could represent the display name of the player, whereas on a character it could be character's name. - */ - FriendlyName?: string; /** The language on this profile. */ Language?: string; /** The lineage of this profile. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f5317083..d0627f6d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -236,6 +236,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromPSNAccountIDs + */ + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -1658,7 +1663,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** Unique lobby identifier of the Game Server Instance to which this player is currently connected. */ + /** This field is not populated. */ CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -2098,6 +2103,12 @@ declare module PlayFabServerModels { | "PushNotificationTemplateInvalidSyntax" | "PushNotificationTemplateNoCustomPayloadForV1" | "NoLeaderboardForStatistic" + | "TitleNewsMissingDefaultLanguage" + | "TitleNewsNotFound" + | "TitleNewsDuplicateLanguage" + | "TitleNewsMissingTitleOrBody" + | "TitleNewsInvalidLanguage" + | "EmailRecipientBlacklisted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateRequestMissing" @@ -2135,7 +2146,10 @@ declare module PlayFabServerModels { | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingStatisticsIdMissing" - | "CannotEnableMultiplayerServersForTitle"; + | "CannotEnableMultiplayerServersForTitle" + | "TitleConfigNotFound" + | "TitleConfigUpdateConflict" + | "TitleConfigSerializationError"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2686,6 +2700,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + PSNAccountIDs: string[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsResult */ + export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + Data?: PSNAccountPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ @@ -2835,7 +2865,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { - /** Array of news items. */ + /** Array of localized news items. */ News?: TitleNewsItem[]; } @@ -3553,6 +3583,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PSNAccountPlayFabIdPair */ + export interface PSNAccountPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + PlayFabId?: string; + /** Unique PlayStation Network identifier for a user. */ + PSNAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ @@ -4189,11 +4228,11 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { - /** News item text. */ + /** News item body. */ Body?: string; /** Unique identifier of news item. */ NewsId?: string; - /** Date and time when the news items was posted. */ + /** Date and time when the news item was posted. */ Timestamp: string; /** Title of the news item. */ Title?: string; From 0d979cdfbc13b877f127333c3222ce8f0024becb Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 20 Feb 2019 01:42:52 +0000 Subject: [PATCH 077/253] https://api.playfab.com/releaseNotes/#190219 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 65 +++++++++++++++---- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 22 +++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 65 +++++++++++++++---- .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 65 +++++++++++++++---- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 22 +++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 65 +++++++++++++++---- 31 files changed, 353 insertions(+), 145 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f8ecd4de..f6e2a3f9 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.39.190205", + "version": "1.40.190219", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index a3781fa2..91d9073c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0811a58a..c92fe24a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6d10bb49..fe31ad19 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index bd14b3e4..dabcc687 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 8ca0e020..9baa8140 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3672e917..a05ee78c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index ab070e57..4e0fad1c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 3f867943..de3c64f9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 9811b1b8..9e8c2f58 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 91629786..3dd9d540 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5a4f9961..5eae286e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f5dcbcd2..ad208998 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index fa162d0b..9ced3ef5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2123,13 +2123,15 @@ declare module PlayFabAdminModels { | "TitleNewsMissingTitleOrBody" | "TitleNewsInvalidLanguage" | "EmailRecipientBlacklisted" + | "InvalidGameCenterAuthRequest" + | "GameCenterAuthenticationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateRequestMissing" - | "MatchmakingCreateRequestCreatorMissing" - | "MatchmakingCreateRequestCreatorIdMissing" - | "MatchmakingCreateRequestUserListMissing" - | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingCreateTicketRequestMissing" + | "MatchmakingCreateTicketCreatorMissing" + | "MatchmakingCreateTicketCreatorIdMissing" + | "MatchmakingCreateTicketMemberListMissing" + | "MatchmakingCreateTicketGiveUpAfterInvalid" | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" @@ -2137,33 +2139,72 @@ declare module PlayFabAdminModels { | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinRequestUserMissing" + | "MatchmakingJoinTicketPlayerMissing" | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketUserMismatch" + | "MatchmakingGetTicketPlayerMismatch" | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingJoinTicketPlayerIdentityMismatch" | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingCancelTicketPlayerIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingQueueNameInvalid" + | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing" + | "MatchmakingBucketOwnerNotFound" | "CannotEnableMultiplayerServersForTitle" + | "MatchmakingCancelAllTicketsUnauthorized" + | "MatchmakingListTicketsUnauthorized" + | "MatchmakingPlayerAttributesTooLarge" + | "MatchmakingNumberOfPlayersInTicketTooLarge" + | "MatchmakingMatchTotalAttributeIsNegative" + | "MatchmakingAttributeTypeInvalid" + | "MatchmakingMatchTotalAttributeTooLarge" + | "MatchmakingMatchTotalAttributeSumTooLarge" + | "MatchmakingTicketUnmatchable" + | "MatchmakingCommonRegionMissing" + | "MatchmakingLatencyMeasurementMissing" + | "MatchmakingStatisticsNotFound" + | "MatchmakingPlayerHasNotJoinedTicket" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" - | "TitleConfigSerializationError"; + | "TitleConfigSerializationError" + | "CatalogEntityInvalid" + | "CatalogTitleIdMissing" + | "CatalogPlayerIdMissing" + | "CatalogClientIdentityInvalid" + | "CatalogOneOrMoreFilesInvalid" + | "CatalogItemMetadataInvalid" + | "CatalogItemIdInvalid" + | "CatalogSearchParameterInvalid" + | "CatalogFeatureDisabled" + | "CatalogConfigMissing" + | "CatalogConfigTooManyContentTypes" + | "CatalogConfigContentTypeTooLong" + | "CatalogConfigTooManyTags" + | "CatalogConfigTagTooLong"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 8165ae38..d95c698e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3137,6 +3137,17 @@ declare module PlayFabClientModels { ForceLink?: boolean; /** Game Center identifier for the player account to be linked. */ GameCenterId: string; + /** The URL for the public encryption key that will be used to verify the signature. */ + PublicKeyUrl?: string; + /** A random value used to compute the hash and keep it randomized. */ + Salt?: string; + /** The verification signature of the authentication payload. */ + Signature?: string; + /** + * The integer representation of date and time that the signature was created on. PlayFab will reject authentication + * signatures not within 10 minutes of the server's current time. + */ + Timestamp?: string; } @@ -3488,6 +3499,17 @@ declare module PlayFabClientModels { PlayerId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; + /** The URL for the public encryption key that will be used to verify the signature. */ + PublicKeyUrl?: string; + /** A random value used to compute the hash and keep it randomized. */ + Salt?: string; + /** The verification signature of the authentication payload. */ + Signature?: string; + /** + * The integer representation of date and time that the signature was created on. PlayFab will reject authentication + * signatures not within 10 minutes of the server's current time. + */ + 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. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d0627f6d..fa67f8d7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2109,13 +2109,15 @@ declare module PlayFabServerModels { | "TitleNewsMissingTitleOrBody" | "TitleNewsInvalidLanguage" | "EmailRecipientBlacklisted" + | "InvalidGameCenterAuthRequest" + | "GameCenterAuthenticationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateRequestMissing" - | "MatchmakingCreateRequestCreatorMissing" - | "MatchmakingCreateRequestCreatorIdMissing" - | "MatchmakingCreateRequestUserListMissing" - | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingCreateTicketRequestMissing" + | "MatchmakingCreateTicketCreatorMissing" + | "MatchmakingCreateTicketCreatorIdMissing" + | "MatchmakingCreateTicketMemberListMissing" + | "MatchmakingCreateTicketGiveUpAfterInvalid" | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" @@ -2123,33 +2125,72 @@ declare module PlayFabServerModels { | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinRequestUserMissing" + | "MatchmakingJoinTicketPlayerMissing" | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketUserMismatch" + | "MatchmakingGetTicketPlayerMismatch" | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingJoinTicketPlayerIdentityMismatch" | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingCancelTicketPlayerIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingQueueNameInvalid" + | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing" + | "MatchmakingBucketOwnerNotFound" | "CannotEnableMultiplayerServersForTitle" + | "MatchmakingCancelAllTicketsUnauthorized" + | "MatchmakingListTicketsUnauthorized" + | "MatchmakingPlayerAttributesTooLarge" + | "MatchmakingNumberOfPlayersInTicketTooLarge" + | "MatchmakingMatchTotalAttributeIsNegative" + | "MatchmakingAttributeTypeInvalid" + | "MatchmakingMatchTotalAttributeTooLarge" + | "MatchmakingMatchTotalAttributeSumTooLarge" + | "MatchmakingTicketUnmatchable" + | "MatchmakingCommonRegionMissing" + | "MatchmakingLatencyMeasurementMissing" + | "MatchmakingStatisticsNotFound" + | "MatchmakingPlayerHasNotJoinedTicket" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" - | "TitleConfigSerializationError"; + | "TitleConfigSerializationError" + | "CatalogEntityInvalid" + | "CatalogTitleIdMissing" + | "CatalogPlayerIdMissing" + | "CatalogClientIdentityInvalid" + | "CatalogOneOrMoreFilesInvalid" + | "CatalogItemMetadataInvalid" + | "CatalogItemIdInvalid" + | "CatalogSearchParameterInvalid" + | "CatalogFeatureDisabled" + | "CatalogConfigMissing" + | "CatalogConfigTooManyContentTypes" + | "CatalogConfigContentTypeTooLong" + | "CatalogConfigTooManyTags" + | "CatalogConfigTagTooLong"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index a3781fa2..91d9073c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0811a58a..c92fe24a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6d10bb49..fe31ad19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index bd14b3e4..dabcc687 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 8ca0e020..9baa8140 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3672e917..a05ee78c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index ab070e57..4e0fad1c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 3f867943..de3c64f9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 9811b1b8..9e8c2f58 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 91629786..3dd9d540 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5a4f9961..5eae286e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f5dcbcd2..ad208998 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.39.190205", + sdkVersion: "1.40.190219", requestGetParams: { - sdk: "JavaScriptSDK-1.39.190205" + sdk: "JavaScriptSDK-1.40.190219" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.39.190205"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.40.190219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index fa162d0b..9ced3ef5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2123,13 +2123,15 @@ declare module PlayFabAdminModels { | "TitleNewsMissingTitleOrBody" | "TitleNewsInvalidLanguage" | "EmailRecipientBlacklisted" + | "InvalidGameCenterAuthRequest" + | "GameCenterAuthenticationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateRequestMissing" - | "MatchmakingCreateRequestCreatorMissing" - | "MatchmakingCreateRequestCreatorIdMissing" - | "MatchmakingCreateRequestUserListMissing" - | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingCreateTicketRequestMissing" + | "MatchmakingCreateTicketCreatorMissing" + | "MatchmakingCreateTicketCreatorIdMissing" + | "MatchmakingCreateTicketMemberListMissing" + | "MatchmakingCreateTicketGiveUpAfterInvalid" | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" @@ -2137,33 +2139,72 @@ declare module PlayFabAdminModels { | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinRequestUserMissing" + | "MatchmakingJoinTicketPlayerMissing" | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketUserMismatch" + | "MatchmakingGetTicketPlayerMismatch" | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingJoinTicketPlayerIdentityMismatch" | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingCancelTicketPlayerIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingQueueNameInvalid" + | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing" + | "MatchmakingBucketOwnerNotFound" | "CannotEnableMultiplayerServersForTitle" + | "MatchmakingCancelAllTicketsUnauthorized" + | "MatchmakingListTicketsUnauthorized" + | "MatchmakingPlayerAttributesTooLarge" + | "MatchmakingNumberOfPlayersInTicketTooLarge" + | "MatchmakingMatchTotalAttributeIsNegative" + | "MatchmakingAttributeTypeInvalid" + | "MatchmakingMatchTotalAttributeTooLarge" + | "MatchmakingMatchTotalAttributeSumTooLarge" + | "MatchmakingTicketUnmatchable" + | "MatchmakingCommonRegionMissing" + | "MatchmakingLatencyMeasurementMissing" + | "MatchmakingStatisticsNotFound" + | "MatchmakingPlayerHasNotJoinedTicket" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" - | "TitleConfigSerializationError"; + | "TitleConfigSerializationError" + | "CatalogEntityInvalid" + | "CatalogTitleIdMissing" + | "CatalogPlayerIdMissing" + | "CatalogClientIdentityInvalid" + | "CatalogOneOrMoreFilesInvalid" + | "CatalogItemMetadataInvalid" + | "CatalogItemIdInvalid" + | "CatalogSearchParameterInvalid" + | "CatalogFeatureDisabled" + | "CatalogConfigMissing" + | "CatalogConfigTooManyContentTypes" + | "CatalogConfigContentTypeTooLong" + | "CatalogConfigTooManyTags" + | "CatalogConfigTagTooLong"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 8165ae38..d95c698e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3137,6 +3137,17 @@ declare module PlayFabClientModels { ForceLink?: boolean; /** Game Center identifier for the player account to be linked. */ GameCenterId: string; + /** The URL for the public encryption key that will be used to verify the signature. */ + PublicKeyUrl?: string; + /** A random value used to compute the hash and keep it randomized. */ + Salt?: string; + /** The verification signature of the authentication payload. */ + Signature?: string; + /** + * The integer representation of date and time that the signature was created on. PlayFab will reject authentication + * signatures not within 10 minutes of the server's current time. + */ + Timestamp?: string; } @@ -3488,6 +3499,17 @@ declare module PlayFabClientModels { PlayerId?: string; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; + /** The URL for the public encryption key that will be used to verify the signature. */ + PublicKeyUrl?: string; + /** A random value used to compute the hash and keep it randomized. */ + Salt?: string; + /** The verification signature of the authentication payload. */ + Signature?: string; + /** + * The integer representation of date and time that the signature was created on. PlayFab will reject authentication + * signatures not within 10 minutes of the server's current time. + */ + 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. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d0627f6d..fa67f8d7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2109,13 +2109,15 @@ declare module PlayFabServerModels { | "TitleNewsMissingTitleOrBody" | "TitleNewsInvalidLanguage" | "EmailRecipientBlacklisted" + | "InvalidGameCenterAuthRequest" + | "GameCenterAuthenticationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateRequestMissing" - | "MatchmakingCreateRequestCreatorMissing" - | "MatchmakingCreateRequestCreatorIdMissing" - | "MatchmakingCreateRequestUserListMissing" - | "MatchmakingCreateRequestGiveUpAfterInvalid" + | "MatchmakingCreateTicketRequestMissing" + | "MatchmakingCreateTicketCreatorMissing" + | "MatchmakingCreateTicketCreatorIdMissing" + | "MatchmakingCreateTicketMemberListMissing" + | "MatchmakingCreateTicketGiveUpAfterInvalid" | "MatchmakingTicketIdMissing" | "MatchmakingMatchIdMissing" | "MatchmakingMatchIdIdMissing" @@ -2123,33 +2125,72 @@ declare module PlayFabServerModels { | "MatchmakingTitleIdMissing" | "MatchmakingTicketIdIdMissing" | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinRequestUserMissing" + | "MatchmakingJoinTicketPlayerMissing" | "MatchmakingQueueConfigNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" | "MatchmakingCreateTicketServerIdentityInvalid" | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketUserMismatch" + | "MatchmakingGetTicketPlayerMismatch" | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketUserIdentityMismatch" + | "MatchmakingJoinTicketPlayerIdentityMismatch" | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketUserIdentityMismatch" + | "MatchmakingCancelTicketPlayerIdentityMismatch" | "MatchmakingGetMatchIdentityMismatch" | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingQueueNameInvalid" + | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingStatisticsIdMissing" + | "MatchmakingBucketOwnerNotFound" | "CannotEnableMultiplayerServersForTitle" + | "MatchmakingCancelAllTicketsUnauthorized" + | "MatchmakingListTicketsUnauthorized" + | "MatchmakingPlayerAttributesTooLarge" + | "MatchmakingNumberOfPlayersInTicketTooLarge" + | "MatchmakingMatchTotalAttributeIsNegative" + | "MatchmakingAttributeTypeInvalid" + | "MatchmakingMatchTotalAttributeTooLarge" + | "MatchmakingMatchTotalAttributeSumTooLarge" + | "MatchmakingTicketUnmatchable" + | "MatchmakingCommonRegionMissing" + | "MatchmakingLatencyMeasurementMissing" + | "MatchmakingStatisticsNotFound" + | "MatchmakingPlayerHasNotJoinedTicket" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" - | "TitleConfigSerializationError"; + | "TitleConfigSerializationError" + | "CatalogEntityInvalid" + | "CatalogTitleIdMissing" + | "CatalogPlayerIdMissing" + | "CatalogClientIdentityInvalid" + | "CatalogOneOrMoreFilesInvalid" + | "CatalogItemMetadataInvalid" + | "CatalogItemIdInvalid" + | "CatalogSearchParameterInvalid" + | "CatalogFeatureDisabled" + | "CatalogConfigMissing" + | "CatalogConfigTooManyContentTypes" + | "CatalogConfigContentTypeTooLong" + | "CatalogConfigTooManyTags" + | "CatalogConfigTagTooLong"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { From 64cecf87cde20e6f07c45c3e49736e67a0792a25 Mon Sep 17 00:00:00 2001 From: pgilmore Date: Fri, 22 Feb 2019 15:16:53 -0800 Subject: [PATCH 078/253] Protect testTitleData files --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 4f74d1ce..78689f33 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +**/*[Tt]estTitleData.json* + bin/ obj/ .vs/ From 20b3f054932ab78e3b25e51e25239a7d95a8ac1c Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 5 Mar 2019 00:25:30 +0000 Subject: [PATCH 079/253] https://api.playfab.com/releaseNotes/#190304 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 28 +++- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 128 ++++++++++++++++-- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 31 +++-- .../src/PlayFab/PlayFabAdminApi.js | 28 +++- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 128 ++++++++++++++++-- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 31 +++-- 31 files changed, 403 insertions(+), 153 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f6e2a3f9..2280c4ad 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.40.190219", + "version": "1.41.190304", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 91d9073c..e4ee95c4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -229,6 +229,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -249,6 +254,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -489,6 +499,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ListOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -639,6 +654,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c92fe24a..9a0f89af 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index fe31ad19..327cfe86 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index dabcc687..1ea1bd05 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9baa8140..7cdbe0c8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a05ee78c..c3631962 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 4e0fad1c..6669b9ab 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index de3c64f9..fbb9b938 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 9e8c2f58..f86e836c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3dd9d540..e93ea920 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5eae286e..6103745f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ad208998..739d349b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9ced3ef5..81c9a57f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -61,6 +61,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers a relationship between a title and an Open ID Connect provider. + * https://api.playfab.com/Documentation/Admin/method/CreateOpenIdConnection + */ + CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after * this API returns. @@ -83,6 +88,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount */ DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a relationship between a title and an OpenID Connect provider. + * https://api.playfab.com/Documentation/Admin/method/DeleteOpenIdConnection + */ + DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data * https://api.playfab.com/Documentation/Admin/method/DeletePlayer @@ -333,6 +343,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves a list of all Open ID Connect providers registered to a title. + * https://api.playfab.com/Documentation/Admin/method/ListOpenIdConnection + */ + ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds @@ -489,6 +504,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider + * https://api.playfab.com/Documentation/Admin/method/UpdateOpenIdConnection + */ + UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -1324,6 +1344,21 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateOpenIdConnectionRequest */ + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The client ID given by the ID provider. */ + ClientId: string; + /** The client secret given by the ID provider. */ + ClientSecret: string; + /** A name for the connection that identifies it within the title. */ + ConnectionId: string; + /** The issuer URL or discovery document URL to read issuer information from */ + IssuerDiscoveryUrl?: string; + /** Manually specified information for an OpenID Connect issuer. */ + IssuerInformation?: OpenIdIssuerInformation; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ @@ -1554,6 +1589,13 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteOpenIdConnectionRequest */ + export interface DeleteOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** unique name of the connection */ + ConnectionId: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2125,6 +2167,21 @@ declare module PlayFabAdminModels { | "EmailRecipientBlacklisted" | "InvalidGameCenterAuthRequest" | "GameCenterAuthenticationFailed" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" + | "PushNotificationTemplateMissingName" + | "CannotEnableMultiplayerServersForTitle" + | "WriteAttemptedDuringExport" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateTicketRequestMissing" @@ -2157,12 +2214,10 @@ declare module PlayFabAdminModels { | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" - | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingBucketOwnerNotFound" - | "CannotEnableMultiplayerServersForTitle" | "MatchmakingCancelAllTicketsUnauthorized" | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" @@ -2176,18 +2231,8 @@ declare module PlayFabAdminModels { | "MatchmakingLatencyMeasurementMissing" | "MatchmakingStatisticsNotFound" | "MatchmakingPlayerHasNotJoinedTicket" - | "CannotEnablePartiesForTitle" - | "PartyError" - | "PartyRequests" - | "PartyNoContent" - | "PartyBadRequest" - | "PartyUnauthorized" - | "PartyForbidden" - | "PartyNotFound" - | "PartyConflict" - | "PartyInternalServerError" - | "PartyUnavailable" - | "PartyTooManyRequests" + | "MatchmakingRateLimitExceeded" + | "MatchmakingTicketMembershipLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2975,6 +3020,18 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionRequest */ + export interface ListOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionResponse */ + export interface ListOpenIdConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of Open ID Connections */ + Connections?: OpenIdConnection[]; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -3164,6 +3221,34 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdConnection */ + export interface OpenIdConnection { + /** The client ID given by the ID provider. */ + ClientId?: string; + /** The client secret given by the ID provider. */ + ClientSecret?: string; + /** A name for the connection to identify it within the title. */ + ConnectionId?: string; + /** Shows if data about the connection will be loaded from the issuer's discovery document */ + DiscoverConfiguration: boolean; + /** Information for an OpenID Connect provider. */ + IssuerInformation?: OpenIdIssuerInformation; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdIssuerInformation */ + export interface OpenIdIssuerInformation { + /** Authorization endpoint URL to direct users to for signin. */ + AuthorizationUrl: string; + /** The URL of the issuer of the tokens. This must match the exact URL of the issuer field in tokens. */ + Issuer: string; + /** JSON Web Key Set for validating the signature of tokens. */ + JsonWebKeySet: any; + /** Token endpoint URL for code verification. */ + TokenUrl: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ @@ -4064,6 +4149,21 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateOpenIdConnectionRequest */ + export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The client ID given by the ID provider. */ + ClientId?: string; + /** The client secret given by the ID provider. */ + ClientSecret?: string; + /** A name for the connection that identifies it within the title. */ + ConnectionId: string; + /** The issuer URL or discovery document URL to read issuer information from */ + IssuerDiscoveryUrl?: string; + /** Manually specified information for an OpenID Connect issuer. */ + IssuerInformation?: OpenIdIssuerInformation; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index c77001d1..e34e84b9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -99,6 +99,8 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { + /** The creation time of this profile in UTC. */ + Created: string; /** * The display name of the entity. This field may serve different purposes for different entity types. i.e.: for a title * player account it could represent the display name of the player, whereas on a character it could be character's name. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index fa67f8d7..40c8904a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2111,6 +2111,21 @@ declare module PlayFabServerModels { | "EmailRecipientBlacklisted" | "InvalidGameCenterAuthRequest" | "GameCenterAuthenticationFailed" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" + | "PushNotificationTemplateMissingName" + | "CannotEnableMultiplayerServersForTitle" + | "WriteAttemptedDuringExport" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateTicketRequestMissing" @@ -2143,12 +2158,10 @@ declare module PlayFabServerModels { | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" - | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingBucketOwnerNotFound" - | "CannotEnableMultiplayerServersForTitle" | "MatchmakingCancelAllTicketsUnauthorized" | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" @@ -2162,18 +2175,8 @@ declare module PlayFabServerModels { | "MatchmakingLatencyMeasurementMissing" | "MatchmakingStatisticsNotFound" | "MatchmakingPlayerHasNotJoinedTicket" - | "CannotEnablePartiesForTitle" - | "PartyError" - | "PartyRequests" - | "PartyNoContent" - | "PartyBadRequest" - | "PartyUnauthorized" - | "PartyForbidden" - | "PartyNotFound" - | "PartyConflict" - | "PartyInternalServerError" - | "PartyUnavailable" - | "PartyTooManyRequests" + | "MatchmakingRateLimitExceeded" + | "MatchmakingTicketMembershipLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 91d9073c..e4ee95c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -229,6 +229,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -249,6 +254,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + DeletePlayer: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -489,6 +499,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + ListOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + ListServerBuilds: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); @@ -639,6 +654,11 @@ PlayFab.AdminApi = { PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); }, + UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { + if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; + PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + }, + UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c92fe24a..9a0f89af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index fe31ad19..327cfe86 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index dabcc687..1ea1bd05 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9baa8140..7cdbe0c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a05ee78c..c3631962 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 4e0fad1c..6669b9ab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index de3c64f9..fbb9b938 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 9e8c2f58..f86e836c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3dd9d540..e93ea920 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5eae286e..6103745f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ad208998..739d349b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.40.190219", + sdkVersion: "1.41.190304", requestGetParams: { - sdk: "JavaScriptSDK-1.40.190219" + sdk: "JavaScriptSDK-1.41.190304" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -156,8 +156,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.40.190219"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.41.190304"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9ced3ef5..81c9a57f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -61,6 +61,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers a relationship between a title and an Open ID Connect provider. + * https://api.playfab.com/Documentation/Admin/method/CreateOpenIdConnection + */ + CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after * this API returns. @@ -83,6 +88,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount */ DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a relationship between a title and an OpenID Connect provider. + * https://api.playfab.com/Documentation/Admin/method/DeleteOpenIdConnection + */ + DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data * https://api.playfab.com/Documentation/Admin/method/DeletePlayer @@ -333,6 +343,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves a list of all Open ID Connect providers registered to a title. + * https://api.playfab.com/Documentation/Admin/method/ListOpenIdConnection + */ + ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds @@ -489,6 +504,11 @@ declare module PlayFabAdminModule { * https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider + * https://api.playfab.com/Documentation/Admin/method/UpdateOpenIdConnection + */ + UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. @@ -1324,6 +1344,21 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateOpenIdConnectionRequest */ + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The client ID given by the ID provider. */ + ClientId: string; + /** The client secret given by the ID provider. */ + ClientSecret: string; + /** A name for the connection that identifies it within the title. */ + ConnectionId: string; + /** The issuer URL or discovery document URL to read issuer information from */ + IssuerDiscoveryUrl?: string; + /** Manually specified information for an OpenID Connect issuer. */ + IssuerInformation?: OpenIdIssuerInformation; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ @@ -1554,6 +1589,13 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteOpenIdConnectionRequest */ + export interface DeleteOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** unique name of the connection */ + ConnectionId: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2125,6 +2167,21 @@ declare module PlayFabAdminModels { | "EmailRecipientBlacklisted" | "InvalidGameCenterAuthRequest" | "GameCenterAuthenticationFailed" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" + | "PushNotificationTemplateMissingName" + | "CannotEnableMultiplayerServersForTitle" + | "WriteAttemptedDuringExport" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateTicketRequestMissing" @@ -2157,12 +2214,10 @@ declare module PlayFabAdminModels { | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" - | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingBucketOwnerNotFound" - | "CannotEnableMultiplayerServersForTitle" | "MatchmakingCancelAllTicketsUnauthorized" | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" @@ -2176,18 +2231,8 @@ declare module PlayFabAdminModels { | "MatchmakingLatencyMeasurementMissing" | "MatchmakingStatisticsNotFound" | "MatchmakingPlayerHasNotJoinedTicket" - | "CannotEnablePartiesForTitle" - | "PartyError" - | "PartyRequests" - | "PartyNoContent" - | "PartyBadRequest" - | "PartyUnauthorized" - | "PartyForbidden" - | "PartyNotFound" - | "PartyConflict" - | "PartyInternalServerError" - | "PartyUnavailable" - | "PartyTooManyRequests" + | "MatchmakingRateLimitExceeded" + | "MatchmakingTicketMembershipLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2975,6 +3020,18 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionRequest */ + export interface ListOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionResponse */ + export interface ListOpenIdConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of Open ID Connections */ + Connections?: OpenIdConnection[]; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -3164,6 +3221,34 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdConnection */ + export interface OpenIdConnection { + /** The client ID given by the ID provider. */ + ClientId?: string; + /** The client secret given by the ID provider. */ + ClientSecret?: string; + /** A name for the connection to identify it within the title. */ + ConnectionId?: string; + /** Shows if data about the connection will be loaded from the issuer's discovery document */ + DiscoverConfiguration: boolean; + /** Information for an OpenID Connect provider. */ + IssuerInformation?: OpenIdIssuerInformation; + + } + + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdIssuerInformation */ + export interface OpenIdIssuerInformation { + /** Authorization endpoint URL to direct users to for signin. */ + AuthorizationUrl: string; + /** The URL of the issuer of the tokens. This must match the exact URL of the issuer field in tokens. */ + Issuer: string; + /** JSON Web Key Set for validating the signature of tokens. */ + JsonWebKeySet: any; + /** Token endpoint URL for code verification. */ + TokenUrl: string; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ @@ -4064,6 +4149,21 @@ declare module PlayFabAdminModels { } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateOpenIdConnectionRequest */ + export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The client ID given by the ID provider. */ + ClientId?: string; + /** The client secret given by the ID provider. */ + ClientSecret?: string; + /** A name for the connection that identifies it within the title. */ + ConnectionId: string; + /** The issuer URL or discovery document URL to read issuer information from */ + IssuerDiscoveryUrl?: string; + /** Manually specified information for an OpenID Connect issuer. */ + IssuerInformation?: OpenIdIssuerInformation; + + } + /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index c77001d1..e34e84b9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -99,6 +99,8 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { + /** The creation time of this profile in UTC. */ + Created: string; /** * The display name of the entity. This field may serve different purposes for different entity types. i.e.: for a title * player account it could represent the display name of the player, whereas on a character it could be character's name. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index fa67f8d7..40c8904a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2111,6 +2111,21 @@ declare module PlayFabServerModels { | "EmailRecipientBlacklisted" | "InvalidGameCenterAuthRequest" | "GameCenterAuthenticationFailed" + | "CannotEnablePartiesForTitle" + | "PartyError" + | "PartyRequests" + | "PartyNoContent" + | "PartyBadRequest" + | "PartyUnauthorized" + | "PartyForbidden" + | "PartyNotFound" + | "PartyConflict" + | "PartyInternalServerError" + | "PartyUnavailable" + | "PartyTooManyRequests" + | "PushNotificationTemplateMissingName" + | "CannotEnableMultiplayerServersForTitle" + | "WriteAttemptedDuringExport" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingCreateTicketRequestMissing" @@ -2143,12 +2158,10 @@ declare module PlayFabServerModels { | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" - | "WriteAttemptedDuringExport" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" | "MatchmakingGetStatisticsIdentityInvalid" | "MatchmakingBucketOwnerNotFound" - | "CannotEnableMultiplayerServersForTitle" | "MatchmakingCancelAllTicketsUnauthorized" | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" @@ -2162,18 +2175,8 @@ declare module PlayFabServerModels { | "MatchmakingLatencyMeasurementMissing" | "MatchmakingStatisticsNotFound" | "MatchmakingPlayerHasNotJoinedTicket" - | "CannotEnablePartiesForTitle" - | "PartyError" - | "PartyRequests" - | "PartyNoContent" - | "PartyBadRequest" - | "PartyUnauthorized" - | "PartyForbidden" - | "PartyNotFound" - | "PartyConflict" - | "PartyInternalServerError" - | "PartyUnavailable" - | "PartyTooManyRequests" + | "MatchmakingRateLimitExceeded" + | "MatchmakingTicketMembershipLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" From dffc046ba0f97b9df7ef0c13d759c6d2be7a12d9 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 12 Mar 2019 22:51:49 +0000 Subject: [PATCH 080/253] https://api.playfab.com/releaseNotes/#190312 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 561 ++++----- .../src/PlayFab/PlayFabAuthenticationApi.js | 239 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 1062 +++++++++-------- .../src/PlayFab/PlayFabCloudScriptApi.js | 234 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 252 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 234 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 306 +++-- .../src/PlayFab/PlayFabLocalizationApi.js | 234 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 246 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 366 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 249 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 591 +++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 59 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 429 +++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 52 +- PlayFabTestingExample/PlayFabApiTest.csproj | 8 +- PlayFabTestingExample/PlayFabApiTest.js | 12 +- PlayFabTestingExample/PlayFabApiTest.ts | 14 +- PlayFabTestingExample/index.html | 2 +- .../src/PlayFab/PlayFabAdminApi.js | 561 ++++----- .../src/PlayFab/PlayFabAuthenticationApi.js | 239 ++-- .../src/PlayFab/PlayFabClientApi.js | 1062 +++++++++-------- .../src/PlayFab/PlayFabCloudScriptApi.js | 234 ++-- .../src/PlayFab/PlayFabDataApi.js | 252 ++-- .../src/PlayFab/PlayFabEventsApi.js | 234 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 306 +++-- .../src/PlayFab/PlayFabLocalizationApi.js | 234 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 246 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 366 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 249 ++-- .../src/PlayFab/PlayFabServerApi.js | 591 +++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 59 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 429 +++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 52 +- 35 files changed, 6162 insertions(+), 4104 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 2280c4ad..6eef61d4 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.41.190304", + "version": "1.42.190312", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e4ee95c4..7ca98d8c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,553 +250,443 @@ PlayFab.AdminApi = { }, AbortTaskInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AbortTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, AddLocalizedNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddLocalizedNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddLocalizedNews", request, "X-SecretKey", callback, customData, extraHeaders); }, AddNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddNews", request, "X-SecretKey", callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, AddServerBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, AddVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/BanUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, CheckLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CheckLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CheckLimitedEditionItemAvailability", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateCloudScriptTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateCloudScriptTask", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, CreatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteContent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteContent", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteMasterPlayerAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, DeletePlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteStore: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteStore", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTask", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteTitle: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTitle", request, "X-SecretKey", callback, customData, extraHeaders); }, ExportMasterPlayerData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ExportMasterPlayerData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportMasterPlayerData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCloudScriptRevision: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCloudScriptRevision", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCloudScriptTaskInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCloudScriptVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCloudScriptVersions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetContentList: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetContentList", request, "X-SecretKey", callback, customData, extraHeaders); }, GetContentUploadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetContentUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, GetDataReport: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayedTitleList: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerProfile", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerSharedSecrets: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerTags", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPolicy", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, GetServerBuildInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTaskInstances: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTaskInstances", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTasks: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTasks", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserAccountInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserBans", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserInventory", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, IncrementLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/IncrementLimitedEditionItemAvailability", request, "X-SecretKey", callback, customData, extraHeaders); }, IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", callback, customData, extraHeaders); }, ListOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, ListServerBuilds: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListServerBuilds", request, "X-SecretKey", callback, customData, extraHeaders); }, ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, ModifyServerBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, RefundPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RefundPurchase", request, "X-SecretKey", callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveServerBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, ResetCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResetCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, ResetPassword: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetPassword", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResetPassword", request, "X-SecretKey", callback, customData, extraHeaders); }, ResetUserStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResetUserStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, ResolvePurchaseDispute: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResolvePurchaseDispute", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeAllBansForUser", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeBans", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItem", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, RunTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RunTask", request, "X-SecretKey", callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", callback, customData, extraHeaders); }, SetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPublishedRevision: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPublishedRevision", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetupPushNotification: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetupPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateBans", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePolicy", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateRandomResultTables: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateTask", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9a0f89af..9ec9e6d7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -176,15 +251,15 @@ PlayFab.AuthenticationApi = { GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; - if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } - if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } + if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } + if (!authKey && PlayFab.settings.developerSecretKey) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-SecretKey"); authKey = authInfo.authKey, authValue = authInfo.authValue; } var overloadCallback = function (result, error) { if (result != null && result.data.EntityToken != null) PlayFab._internalSettings.entityToken = result.data.EntityToken; - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 327cfe86..438c81ac 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -179,1029 +254,1024 @@ PlayFab.ClientApi = { }, AcceptTrade: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AcceptTrade", request, "X-Authorization", callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddFriend", request, "X-Authorization", callback, customData, extraHeaders); }, AddGenericID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddGenericID", request, "X-Authorization", callback, customData, extraHeaders); }, AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddOrUpdateContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddOrUpdateContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddSharedGroupMembers", request, "X-Authorization", callback, customData, extraHeaders); }, AddUsernamePassword: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddUsernamePassword", request, "X-Authorization", callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddUserVirtualCurrency", request, "X-Authorization", callback, customData, extraHeaders); }, AndroidDevicePushNotificationRegistration: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", callback, customData, extraHeaders); }, AttributeInstall: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; var overloadCallback = function (result, error) { // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully PlayFab.settings.advertisingIdType += "_Successful"; - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", overloadCallback, customData, extraHeaders); }, CancelTrade: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/CancelTrade", request, "X-Authorization", callback, customData, extraHeaders); }, ConfirmPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConfirmPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeItem", request, "X-Authorization", callback, customData, extraHeaders); }, ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumePSNEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, ConsumeXboxEntitlements: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeXboxEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeXboxEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/CreateSharedGroup", request, "X-Authorization", callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ExecuteCloudScript", request, "X-Authorization", callback, customData, extraHeaders); }, GetAccountInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAccountInfo", request, "X-Authorization", callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAllUsersCharacters", request, "X-Authorization", callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCatalogItems", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterData", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterInventory", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterLeaderboard", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders); }, GetCurrentGames: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCurrentGames", request, "X-Authorization", callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendLeaderboard", request, "X-Authorization", callback, customData, extraHeaders); }, GetFriendLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders); }, GetGameServerRegions: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetGameServerRegions", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboard", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", callback, customData, extraHeaders); }, GetPaymentToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPaymentToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPaymentToken", request, "X-Authorization", callback, customData, extraHeaders); }, GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPhotonAuthenticationToken", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerCombinedInfo", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerProfile", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerSegments", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerStatisticVersions", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerTags", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerTrades: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerTrades", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromGoogleIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPublisherData", request, "X-Authorization", callback, customData, extraHeaders); }, GetPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetSharedGroupData", request, "X-Authorization", callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetStoreItems", request, "X-Authorization", callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTime", request, "X-Authorization", callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTitleData", request, "X-Authorization", callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTitleNews", request, "X-Authorization", callback, customData, extraHeaders); }, GetTitlePublicKey: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTitlePublicKey", request, null, callback, customData, extraHeaders); }, GetTradeStatus: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTradeStatus", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserData", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserInventory", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserPublisherData", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, LinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, LinkCustomID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, LinkFacebookAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkFacebookAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkFacebookInstantGamesId", request, "X-Authorization", callback, customData, extraHeaders); }, LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGameCenterAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkGoogleAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, LinkKongregate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, LinkOpenIdConnect: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkOpenIdConnect", request, "X-Authorization", callback, customData, extraHeaders); }, LinkPSNAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkPSNAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkSteamAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkSteamAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkTwitch: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, LinkWindowsHello: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, LinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", 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 + // 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithAndroidDeviceID", 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 + // 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithCustomID", 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);}); }, LoginWithEmailAddress: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithEmailAddress", 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);}); }, LoginWithFacebook: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithFacebook", 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);}); }, LoginWithFacebookInstantGamesId: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebookInstantGamesId", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithFacebookInstantGamesId", 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);}); }, LoginWithGameCenter: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithGameCenter", 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);}); }, LoginWithGoogleAccount: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithGoogleAccount", 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);}); }, LoginWithIOSDeviceID: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithIOSDeviceID", 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);}); }, LoginWithKongregate: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithKongregate", 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);}); }, LoginWithNintendoSwitchDeviceId: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithNintendoSwitchDeviceId", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchDeviceId", 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);}); }, LoginWithOpenIdConnect: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithOpenIdConnect", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithOpenIdConnect", 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);}); }, LoginWithPlayFab: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPlayFab", 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);}); }, LoginWithPSN: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPSN", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPSN", 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);}); }, LoginWithSteam: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithSteam", 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);}); }, LoginWithTwitch: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithTwitch", 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);}); }, LoginWithWindowsHello: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithWindowsHello", 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);}); }, LoginWithXbox: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithXbox", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithXbox", 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);}); }, Matchmake: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/Matchmake", request, "X-Authorization", callback, customData, extraHeaders); }, OpenTrade: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/OpenTrade", request, "X-Authorization", callback, customData, extraHeaders); }, PayForPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/PayForPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, PurchaseItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/PurchaseItem", request, "X-Authorization", callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RedeemCoupon", request, "X-Authorization", callback, customData, extraHeaders); }, RefreshPSNAuthToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RefreshPSNAuthToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RefreshPSNAuthToken", request, "X-Authorization", callback, customData, extraHeaders); }, RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterForIOSPushNotification", request, "X-Authorization", callback, customData, extraHeaders); }, RegisterPlayFabUser: 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 && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, RegisterWithWindowsHello: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterWithWindowsHello", 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);}); }, RemoveContactEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveFriend", request, "X-Authorization", callback, customData, extraHeaders); }, RemoveGenericID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveGenericID", request, "X-Authorization", callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveSharedGroupMembers", request, "X-Authorization", callback, customData, extraHeaders); }, ReportDeviceInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportDeviceInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportDeviceInfo", request, "X-Authorization", callback, customData, extraHeaders); }, ReportPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportPlayer", request, "X-Authorization", callback, customData, extraHeaders); }, RestoreIOSPurchases: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RestoreIOSPurchases", request, "X-Authorization", callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SendAccountRecoveryEmail", request, null, callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetFriendTags", request, "X-Authorization", callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders); }, StartPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SubtractUserVirtualCurrency", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkCustomID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkFacebookAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGameCenterAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkGoogleAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkKongregate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkOpenIdConnect: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkOpenIdConnect", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkPSNAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkSteamAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkTwitch: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlockContainerInstance", request, "X-Authorization", callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlockContainerItem", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateAvatarUrl", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateCharacterData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateCharacterStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdatePlayerStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateSharedGroupData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateUserData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateUserPublisherData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateUserTitleDisplayName", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateAmazonIAPReceipt: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateGooglePlayPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateGooglePlayPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateIOSReceipt: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateIOSReceipt", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateWindowsStoreReceipt: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WriteCharacterEvent", request, "X-Authorization", callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WritePlayerEvent", request, "X-Authorization", callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WriteTitleEvent", request, "X-Authorization", callback, customData, extraHeaders); }, _MultiStepClientLogin: function (needsAttribution) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 1ea1bd05..19b2cbc8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,8 +250,7 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7cdbe0c8..baab9dfe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,38 +250,31 @@ PlayFab.DataApi = { }, AbortFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/AbortFileUploads", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/DeleteFiles", request, "X-EntityToken", callback, customData, extraHeaders); }, FinalizeFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/FinalizeFileUploads", request, "X-EntityToken", callback, customData, extraHeaders); }, GetFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/GetFiles", request, "X-EntityToken", callback, customData, extraHeaders); }, GetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Object/GetObjects", request, "X-EntityToken", callback, customData, extraHeaders); }, InitiateFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/InitiateFileUploads", request, "X-EntityToken", callback, customData, extraHeaders); }, SetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Object/SetObjects", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c3631962..2be954de 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,8 +250,7 @@ PlayFab.EventsApi = { }, WriteEvents: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 6669b9ab..8d613143 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,128 +250,103 @@ PlayFab.GroupsApi = { }, AcceptGroupApplication: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/AcceptGroupApplication", request, "X-EntityToken", callback, customData, extraHeaders); }, AcceptGroupInvitation: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/AcceptGroupInvitation", request, "X-EntityToken", callback, customData, extraHeaders); }, AddMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AddMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/AddMembers", request, "X-EntityToken", callback, customData, extraHeaders); }, ApplyToGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ApplyToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ApplyToGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, BlockEntity: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/BlockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/BlockEntity", request, "X-EntityToken", callback, customData, extraHeaders); }, ChangeMemberRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ChangeMemberRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ChangeMemberRole", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/CreateGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/CreateRole", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/DeleteGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/DeleteRole", request, "X-EntityToken", callback, customData, extraHeaders); }, GetGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/GetGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/GetGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, InviteToGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/InviteToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/InviteToGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, IsMember: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/IsMember", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/IsMember", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupApplications: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupApplications", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupApplications", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupBlocks: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupBlocks", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupBlocks", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupInvitations: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupInvitations", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupInvitations", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupMembers", request, "X-EntityToken", callback, customData, extraHeaders); }, ListMembership: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembership", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListMembership", request, "X-EntityToken", callback, customData, extraHeaders); }, ListMembershipOpportunities: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembershipOpportunities", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListMembershipOpportunities", request, "X-EntityToken", callback, customData, extraHeaders); }, RemoveGroupApplication: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/RemoveGroupApplication", request, "X-EntityToken", callback, customData, extraHeaders); }, RemoveGroupInvitation: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/RemoveGroupInvitation", request, "X-EntityToken", callback, customData, extraHeaders); }, RemoveMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/RemoveMembers", request, "X-EntityToken", callback, customData, extraHeaders); }, UnblockEntity: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UnblockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UnblockEntity", request, "X-EntityToken", callback, customData, extraHeaders); }, UpdateGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UpdateGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, UpdateRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UpdateRole", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index fbb9b938..9936f268 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,8 +250,7 @@ PlayFab.LocalizationApi = { }, GetLanguageList: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Locale/GetLanguageList", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Locale/GetLanguageList", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index f86e836c..8d337e92 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,28 +250,23 @@ PlayFab.MatchmakerApi = { }, AuthUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders); }, PlayerJoined: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders); }, PlayerLeft: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/StartGame", request, "X-SecretKey", callback, customData, extraHeaders); }, UserInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e93ea920..5a1cdc74 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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}; + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -174,143 +249,168 @@ PlayFab.MultiplayerApi = { PlayFab._internalSettings.entityToken = null; }, + CancelAllMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelAllMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CancelMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateBuildWithCustomContainer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateBuildWithManagedContainer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateRemoteUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateServerMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteAsset: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteAsset", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteCertificate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteRemoteUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, EnableMultiplayerServersForTitle: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, GetBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, GetContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetMatch: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, GetMultiplayerServerDetails: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetQueueStatistics: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetQueueStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, GetRemoteLoginEndpoint: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", callback, customData, extraHeaders); }, GetTitleEnabledForMultiplayerServersStatus: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, ListAssetSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, ListBuildSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, ListCertificateSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, ListContainerImages: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImages", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImages", request, "X-EntityToken", callback, customData, extraHeaders); }, ListContainerImageTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingQueues", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, ListMultiplayerServers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, ListQosServers: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListQosServers", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); }, RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, RolloverContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); }, ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, UpdateBuildRegions: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, UploadCertificate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UploadCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 6103745f..147333ca 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,33 +250,27 @@ PlayFab.ProfilesApi = { }, GetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, GetProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetProfile", request, "X-EntityToken", callback, customData, extraHeaders); }, GetProfiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetProfiles", request, "X-EntityToken", callback, customData, extraHeaders); }, SetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, SetProfileLanguage: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfileLanguage", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetProfileLanguage", request, "X-EntityToken", callback, customData, extraHeaders); }, SetProfilePolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetProfilePolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 739d349b..f2880847 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,603 +250,483 @@ PlayFab.ServerApi = { }, AddCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddSharedGroupMembers", request, "X-SecretKey", callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, AuthenticateSessionTicket: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AuthenticateSessionTicket", request, "X-SecretKey", callback, customData, extraHeaders); }, AwardSteamAchievement: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AwardSteamAchievement", request, "X-SecretKey", callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/BanUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ConsumeItem", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/CreateSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteCharacterFromUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteCharacterFromUser", request, "X-SecretKey", callback, customData, extraHeaders); }, DeletePlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteSharedGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, DeregisterGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeregisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/EvaluateRandomResultTable", request, "X-SecretKey", callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllUsersCharacters", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterInventory", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterLeaderboard", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetContentDownloadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetFriendLeaderboard", request, "X-SecretKey", callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetFriendsList", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboard", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboardAroundUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboardAroundUser", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerCombinedInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerProfile", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatisticVersions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerTags", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSharedGroupData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTime", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTitleNews", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserAccountInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserBans", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserInventory", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantCharacterToUser", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUser", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, LinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, LoginWithServerCustomId: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithServerCustomId", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, LoginWithXbox: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithXbox", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, ModifyItemUses: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ModifyItemUses", request, "X-SecretKey", callback, customData, extraHeaders); }, MoveItemToCharacterFromCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, MoveItemToCharacterFromUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", callback, customData, extraHeaders); }, MoveItemToUserFromCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", callback, customData, extraHeaders); }, RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders); }, RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, RegisterGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveSharedGroupMembers", request, "X-SecretKey", callback, customData, extraHeaders); }, ReportPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ReportPlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeAllBansForUser", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeBans", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeInventoryItem", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", callback, customData, extraHeaders); }, SendEmailFromTemplate: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendEmailFromTemplate", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendEmailFromTemplate", request, "X-SecretKey", callback, customData, extraHeaders); }, SendPushNotification: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders); }, SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceTags", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, SubtractCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlockContainerInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlockContainerItem", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateAvatarUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateBans", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdatePlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateSharedGroupData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserInventoryItemCustomData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WriteCharacterEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WritePlayerEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 81c9a57f..0b3d66f2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1352,7 +1352,12 @@ declare module PlayFabAdminModels { ClientSecret: string; /** A name for the connection that identifies it within the title. */ ConnectionId: string; - /** The issuer URL or discovery document URL to read issuer information from */ + /** + * The discovery document URL to read issuer information from. This must be the absolute URL to the JSON OpenId + * Configuration document and must be accessible from the internet. If you don't know it, try your issuer URL followed by + * "/.well-known/openid-configuration". For example, if the issuer is https://example.com, try + * https://example.com/.well-known/openid-configuration + */ IssuerDiscoveryUrl?: string; /** Manually specified information for an OpenID Connect issuer. */ IssuerInformation?: OpenIdIssuerInformation; @@ -2138,8 +2143,7 @@ declare module PlayFabAdminModels { | "EntityProfileConstraintValidationFailed" | "TelemetryIngestionKeyPending" | "TelemetryIngestionKeyNotFound" - | "StatisticTagRequired" - | "StatisticTagInvalid" + | "StatisticChildNameInvalid" | "DataIntegrityError" | "VirtualCurrencyCannotBeSetToOlderVersion" | "VirtualCurrencyMustBeWithinIntegerRange" @@ -2182,57 +2186,25 @@ declare module PlayFabAdminModels { | "PushNotificationTemplateMissingName" | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" + | "MultiplayerServerTitleQuotaCoresExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateTicketRequestMissing" - | "MatchmakingCreateTicketCreatorMissing" - | "MatchmakingCreateTicketCreatorIdMissing" - | "MatchmakingCreateTicketMemberListMissing" - | "MatchmakingCreateTicketGiveUpAfterInvalid" - | "MatchmakingTicketIdMissing" - | "MatchmakingMatchIdMissing" - | "MatchmakingMatchIdIdMissing" - | "MatchmakingQueueNameMissing" - | "MatchmakingTitleIdMissing" - | "MatchmakingTicketIdIdMissing" - | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinTicketPlayerMissing" - | "MatchmakingQueueConfigNotFound" + | "MatchmakingQueueNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" - | "MatchmakingCreateTicketServerIdentityInvalid" - | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketPlayerMismatch" - | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketPlayerIdentityMismatch" - | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketPlayerIdentityMismatch" - | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" - | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingBucketOwnerNotFound" - | "MatchmakingCancelAllTicketsUnauthorized" - | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" | "MatchmakingNumberOfPlayersInTicketTooLarge" - | "MatchmakingMatchTotalAttributeIsNegative" - | "MatchmakingAttributeTypeInvalid" - | "MatchmakingMatchTotalAttributeTooLarge" - | "MatchmakingMatchTotalAttributeSumTooLarge" - | "MatchmakingTicketUnmatchable" - | "MatchmakingCommonRegionMissing" - | "MatchmakingLatencyMeasurementMissing" - | "MatchmakingStatisticsNotFound" + | "MatchmakingAttributeInvalid" | "MatchmakingPlayerHasNotJoinedTicket" | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" + | "MatchmakingUnauthorized" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2249,7 +2221,14 @@ declare module PlayFabAdminModels { | "CatalogConfigTooManyContentTypes" | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong"; + | "CatalogConfigTagTooLong" + | "ExportInvalidStatusUpdate" + | "ExportInvalidPrefix" + | "ExportBlobContainerDoesNotExist" + | "ExportEventNameNotFound" + | "ExportExportTitleIdNotFound" + | "ExportCouldNotUpdate" + | "ExportInvalidStorageType"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0eaec157..cfab409c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -4,6 +4,16 @@ declare module PlayFabMultiplayerModule { export interface IPlayFabMultiplayer { ForgetAllCredentials(): void; + /** + * Cancel all active tickets the player is a member of in a given queue. + * https://api.playfab.com/Documentation/Multiplayer/method/CancelAllMatchmakingTicketsForPlayer + */ + CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cancel a matchmaking ticket. + * https://api.playfab.com/Documentation/Multiplayer/method/CancelMatchmakingTicket + */ + CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a custom container. * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer @@ -14,11 +24,22 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithManagedContainer */ CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a matchmaking ticket as a client. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateMatchmakingTicket + */ + CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a remote user to log on to a VM for a multiplayer server build. * https://api.playfab.com/Documentation/Multiplayer/method/CreateRemoteUser */ CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other + * matchmaking tickets. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateServerMatchmakingTicket + */ + CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://api.playfab.com/Documentation/Multiplayer/method/DeleteAsset @@ -59,11 +80,31 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials */ GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a match. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMatch + */ + GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingQueue + */ + GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking ticket by ticket Id. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingTicket + */ + GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets multiplayer server session details for a build. * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails */ GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get the statistics for a queue. + * https://api.playfab.com/Documentation/Multiplayer/method/GetQueueStatistics + */ + GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. * https://api.playfab.com/Documentation/Multiplayer/method/GetRemoteLoginEndpoint @@ -74,6 +115,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Join a matchmaking ticket. + * https://api.playfab.com/Documentation/Multiplayer/method/JoinMatchmakingTicket + */ + JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists archived multiplayer server sessions for a build. * https://api.playfab.com/Documentation/Multiplayer/method/ListArchivedMultiplayerServers @@ -104,6 +150,16 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all matchmaking queue configs. + * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingQueues + */ + ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all matchmaking ticket Ids the user is a member of. + * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingTicketsForPlayer + */ + ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server sessions for a build. * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers @@ -119,6 +175,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Remove a matchmaking queue config. + * https://api.playfab.com/Documentation/Multiplayer/method/RemoveMatchmakingQueue + */ + RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client * to request a server with player entity token. @@ -130,6 +191,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create or update a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Multiplayer/method/SetMatchmakingQueue + */ + SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer @@ -260,6 +326,38 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerRequest */ + export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key of the player whose tickets should be canceled. */ + Entity?: EntityKey; + /** The Id of the queue from which a player's tickets should be canceled. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerResult */ + export interface CancelAllMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type CancellationReason = "Requested" + | "Internal" + | "Timeout"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ + export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the queue to join. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketResult */ + export interface CancelMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Certificate */ export interface Certificate { /** Base64 encoded string contents of the certificate. */ @@ -423,6 +521,26 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketRequest */ + export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The User who created this ticket. */ + Creator: MatchmakingPlayer; + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** A list of Entity Keys of other users to match with. */ + MembersToMatchWith?: EntityKey[]; + /** The Id of a match queue. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketResult */ + export interface CreateMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserRequest */ export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of to create the remote user for. */ @@ -449,6 +567,17 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateServerMatchmakingTicketRequest */ + export interface CreateServerMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The users who will be part of this ticket. */ + Members: MatchmakingPlayer[]; + /** The Id of a match queue. */ + QueueName: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CurrentServerStats */ export interface CurrentServerStats { /** The number of active multiplayer servers. */ @@ -513,6 +642,15 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EntityKey */ + export interface EntityKey { + /** Unique ID of the entity. */ + Id: string; + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + Type?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReference */ export interface GameCertificateReference { /** @@ -628,6 +766,94 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueRequest */ + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to retrieve. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueResult */ + export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketRequest */ + export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON + * object. + */ + EscapeObject: boolean; + /** The Id of the queue to find a match for. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketResult */ + export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + CancellationReason?: string; + /** The server date and time at which ticket was created. */ + Created: string; + /** The Creator's entity key. */ + Creator: EntityKey; + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The Id of a match. */ + MatchId?: string; + /** A list of Users that have joined this ticket. */ + Members: MatchmakingPlayer[]; + /** A list of PlayFab Ids of Users to match with. */ + MembersToMatchWith?: EntityKey[]; + /** The Id of a match queue. */ + QueueName: string; + /** + * The current ticket status. Possible values are: WaitingForPlayers, WaitingForMatch, WaitingForServer, Canceled and + * Matched. + */ + Status: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchRequest */ + export interface GetMatchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON + * object. + */ + EscapeObject: boolean; + /** The Id of a match. */ + MatchId: string; + /** The Id of the queue to join. */ + QueueName: string; + /** Determines whether the matchmaking attributes for each user should be returned in the response for match request. */ + ReturnMemberAttributes: boolean; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchResult */ + export interface GetMatchResult extends PlayFabModule.IPlayFabResultCommon { + /** The Id of a match. */ + MatchId: string; + /** A list of Users that are matched together, along with their team assignments. */ + Members: MatchmakingPlayerWithTeamAssignment[]; + /** + * A list of regions that the match could be played in sorted by preference. This value is only set if the queue has a + * region selection rule. + */ + RegionPreferences?: string[]; + /** The details of the server that the match has been allocated to. */ + ServerDetails?: ServerDetails; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsRequest */ export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ @@ -667,6 +893,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsRequest */ + export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the queue. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsResult */ + export interface GetQueueStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** The current number of players in the matchmaking queue, who are waiting to be matched. */ + NumberOfPlayersMatching?: number; + /** Statistics representing the time (in seconds) it takes for tickets to find a match. */ + TimeToMatchStatisticsInSeconds?: Statistics; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointRequest */ export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get remote login information for. */ @@ -699,6 +941,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ + export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ + Member: MatchmakingPlayer; + /** The Id of the queue to join. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketResult */ + export interface JoinMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesRequest */ export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ @@ -793,6 +1051,34 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesRequest */ + export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesResult */ + export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of matchmaking queue configs for this title. */ + MatchMakingQueues?: MatchmakingQueueConfig[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerRequest */ + export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key for which to find the ticket Ids. */ + Entity?: EntityKey; + /** The Id of the queue to find a match for. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerResult */ + export interface ListMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of ticket Ids the user is a member of. */ + TicketIds: string[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersRequest */ export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer servers to list. */ @@ -857,6 +1143,84 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayer */ + export interface MatchmakingPlayer { + /** The user's attributes custom to the title. */ + Attributes?: MatchmakingPlayerAttributes; + /** The entity key of the matchmaking user. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerAttributes */ + export interface MatchmakingPlayerAttributes { + /** A data object representing a user's attributes. */ + DataObject?: any; + /** An escaped data object representing a user's attributes. */ + EscapedDataObject?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerWithTeamAssignment */ + export interface MatchmakingPlayerWithTeamAssignment { + /** + * The user's attributes custom to the title. These attributes will be null unless the request has ReturnMemberAttributes + * flag set to true. + */ + Attributes?: MatchmakingPlayerAttributes; + /** The entity key of the matchmaking user. */ + Entity: EntityKey; + /** The Id of the team the User has been assigned to by matchmaking. */ + TeamId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueConfig */ + export interface MatchmakingQueueConfig { + /** This is the buildId that will be used to allocate the multiplayer server for the match. */ + BuildId?: string; + /** Maximum number of players in a match. */ + MaxMatchSize: number; + /** Minimum number of players in a match. */ + MinMatchSize: number; + /** Unique identifier for a Queue. Chosen by the developer. */ + Name: string; + /** List of rules used to find an optimal match. */ + Rules?: MatchmakingQueueRule[]; + /** Boolean flag to enable server allocation for the queue. */ + ServerAllocationEnabled: boolean; + /** Controls which statistics are visible to players. */ + StatisticsVisibilityToPlayers?: StatisticsVisibilityToPlayers; + /** The team configuration for a match. This may be null if there are no teams. */ + Teams?: MatchmakingQueueTeam[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueRule */ + export interface MatchmakingQueueRule { + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** Type of rule being described. */ + Type: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueTeam */ + export interface MatchmakingQueueTeam { + /** The maximum number of players required for the team. */ + MaxTeamSize: number; + /** The minimum number of players required for the team. */ + MinTeamSize: number; + /** A name to identify the team. This is case insensitive. */ + Name: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ @@ -899,6 +1263,18 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueRequest */ + export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to remove. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueResult */ + export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to request. */ @@ -964,6 +1340,37 @@ declare module PlayFabMultiplayerModels { } + type RuleType = "Unknown" + | "DifferenceRule" + | "StringEqualityRule" + | "MatchTotalRule" + | "SetIntersectionRule" + | "TeamSizeBalanceRule" + | "RegionSelectionRule" + | "TeamDifferenceRule" + | "TeamTicketSizeSimilarityRule"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ServerDetails */ + export interface ServerDetails { + /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + IPV4Address: string; + /** The ports the multiplayer server uses. */ + Ports: Port[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueRequest */ + export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueResult */ + export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ShutdownMultiplayerServerRequest */ export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ @@ -975,6 +1382,28 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Statistics */ + export interface Statistics { + /** The average. */ + Average: number; + /** The 50th percentile. */ + Percentile50: number; + /** The 90th percentile. */ + Percentile90: number; + /** The 99th percentile. */ + Percentile99: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.StatisticsVisibilityToPlayers */ + export interface StatisticsVisibilityToPlayers { + /** Whether to allow players to view the current number of players in the matchmaking queue. */ + ShowNumberOfPlayersMatching: boolean; + /** Whether to allow players to view statistics representing the time it takes for tickets to find a match. */ + ShowTimeToMatch: boolean; + + } + type TitleMultiplayerServerEnabledStatus = "Initializing" | "Enabled" | "Disabled"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 40c8904a..6ef31736 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2082,8 +2082,7 @@ declare module PlayFabServerModels { | "EntityProfileConstraintValidationFailed" | "TelemetryIngestionKeyPending" | "TelemetryIngestionKeyNotFound" - | "StatisticTagRequired" - | "StatisticTagInvalid" + | "StatisticChildNameInvalid" | "DataIntegrityError" | "VirtualCurrencyCannotBeSetToOlderVersion" | "VirtualCurrencyMustBeWithinIntegerRange" @@ -2126,57 +2125,25 @@ declare module PlayFabServerModels { | "PushNotificationTemplateMissingName" | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" + | "MultiplayerServerTitleQuotaCoresExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateTicketRequestMissing" - | "MatchmakingCreateTicketCreatorMissing" - | "MatchmakingCreateTicketCreatorIdMissing" - | "MatchmakingCreateTicketMemberListMissing" - | "MatchmakingCreateTicketGiveUpAfterInvalid" - | "MatchmakingTicketIdMissing" - | "MatchmakingMatchIdMissing" - | "MatchmakingMatchIdIdMissing" - | "MatchmakingQueueNameMissing" - | "MatchmakingTitleIdMissing" - | "MatchmakingTicketIdIdMissing" - | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinTicketPlayerMissing" - | "MatchmakingQueueConfigNotFound" + | "MatchmakingQueueNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" - | "MatchmakingCreateTicketServerIdentityInvalid" - | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketPlayerMismatch" - | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketPlayerIdentityMismatch" - | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketPlayerIdentityMismatch" - | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" - | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingBucketOwnerNotFound" - | "MatchmakingCancelAllTicketsUnauthorized" - | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" | "MatchmakingNumberOfPlayersInTicketTooLarge" - | "MatchmakingMatchTotalAttributeIsNegative" - | "MatchmakingAttributeTypeInvalid" - | "MatchmakingMatchTotalAttributeTooLarge" - | "MatchmakingMatchTotalAttributeSumTooLarge" - | "MatchmakingTicketUnmatchable" - | "MatchmakingCommonRegionMissing" - | "MatchmakingLatencyMeasurementMissing" - | "MatchmakingStatisticsNotFound" + | "MatchmakingAttributeInvalid" | "MatchmakingPlayerHasNotJoinedTicket" | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" + | "MatchmakingUnauthorized" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2193,7 +2160,14 @@ declare module PlayFabServerModels { | "CatalogConfigTooManyContentTypes" | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong"; + | "CatalogConfigTagTooLong" + | "ExportInvalidStatusUpdate" + | "ExportInvalidPrefix" + | "ExportBlobContainerDoesNotExist" + | "ExportEventNameNotFound" + | "ExportExportTitleIdNotFound" + | "ExportCouldNotUpdate" + | "ExportInvalidStorageType"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index bab7d2b9..7d0bc7f5 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -10,7 +10,7 @@ v4.6.1 full true - 2.1 + Latest true @@ -90,9 +90,9 @@ - false - true - ES5 + False + True + ES2017 None True False diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index e1635b2d..74c3eb4a 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -70,6 +70,8 @@ var PlayFabApiTests = { setTimeout(function () { PlayFabApiTests.PostEntityTokenTests(count + 1); }, PlayFabApiTests.testRetryDelay); } else { + // Continue with other tests that require login + // QUnit.test("EntityObjects", PlayFabApiTests.EntityObjects); // TODO: Release Entity API } }, SetUp: function (inputTitleData) { @@ -97,10 +99,10 @@ var PlayFabApiTests = { } }; }, - SimpleCallbackWrapper: function (callbackName, callback, assert) { + SimpleCallbackWrapper: function (callbackName, callback, assert, kwargs = null) { return function () { try { - callback(); + callback(kwargs); } catch (e) { console.log("Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); // Very irritatingly, qunit doesn't report failure results until all async callbacks return, which doesn't always happen when there's an exception @@ -175,7 +177,9 @@ var PlayFabApiTests = { PlayFabApiTests.testData.playFabId = result.data.PlayFabId; // Save the PlayFabId, it will be used in other tests loginDone(); }; - PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert)); + var loginPromise = Promise.resolve(PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert))); + // By definition, a promise object should have a .then function, and Promise.resolve(promise) should equal promise + assert.ok(typeof loginPromise.then === "function" && Promise.resolve(loginPromise) === loginPromise, "Testing whether the login request returned a promise object"); }, /* CLIENT API * Test that the login call sequence sends the AdvertisingId when set @@ -203,7 +207,7 @@ var PlayFabApiTests = { CustomId: PlayFab.buildIdentifier, CreateAccount: true }; - PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert)); + Promise.resolve(PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert))); }, /* CLIENT API * Test a sequence of calls that modifies saved data, diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index f7fddbcb..c78f04e6 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -1,6 +1,6 @@ declare var QUnit: any; declare var $: any; -interface IAction { (): void } +interface IAction { (any): void } var PlayFabApiTests = { testTitleDataFilename: "testTitleData.json", // Since you never want this to be public, a web page can ONLY load this if it's a local file in the same directory (Also can't convert to environment variable) @@ -85,7 +85,7 @@ var PlayFabApiTests = { } }, - SetUp: function (inputTitleData): void { + SetUp: function (inputTitleData): boolean { // All of these must exist for the titleData load to be successful var titleDataValid = inputTitleData.hasOwnProperty("titleId") && inputTitleData.titleId != null && inputTitleData.hasOwnProperty("developerSecretKey") && inputTitleData.developerSecretKey != null @@ -114,10 +114,10 @@ var PlayFabApiTests = { }; }, - SimpleCallbackWrapper: function (callbackName: string, callback: IAction, assert): IAction { + SimpleCallbackWrapper: function (callbackName: string, callback: IAction, assert, kwargs: any = null): IAction { return function (): void { try { - callback(); + callback(kwargs); } catch (e) { console.log("Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); // Very irritatingly, qunit doesn't report failure results until all async callbacks return, which doesn't always happen when there's an exception assert.ok(false, "Exception thrown during " + callbackName + " callback: " + e.toString() + "\n" + e.stack); @@ -202,7 +202,9 @@ var PlayFabApiTests = { loginDone(); }; - PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert)); + var loginPromise = Promise.resolve(PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("loginCallback", loginCallback, assert))) + // By definition, a promise object should have a .then function, and Promise.resolve(promise) should equal promise + assert.ok(typeof loginPromise.then === "function" && Promise.resolve(loginPromise) === loginPromise, "Testing whether the login request returned a promise object"); }, /* CLIENT API @@ -231,7 +233,7 @@ var PlayFabApiTests = { CustomId: PlayFab.buildIdentifier, CreateAccount: true }; - PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert)); + Promise.resolve(PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert))); }, /* CLIENT API diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index a7e34456..8eae010f 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -9,7 +9,7 @@
      - + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e4ee95c4..7ca98d8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,553 +250,443 @@ PlayFab.AdminApi = { }, AbortTaskInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AbortTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AbortTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, AddLocalizedNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddLocalizedNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddLocalizedNews", request, "X-SecretKey", callback, customData, extraHeaders); }, AddNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddNews", request, "X-SecretKey", callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, AddServerBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, AddVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/BanUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, CheckLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CheckLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CheckLimitedEditionItemAvailability", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateActionsOnPlayersInSegmentTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateActionsOnPlayersInSegmentTask", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateCloudScriptTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateCloudScriptTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateCloudScriptTask", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, CreatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreatePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, CreatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteContent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteContent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteContent", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteMasterPlayerAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, DeletePlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteStore: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteStore", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteStore", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTask", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteTitle: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/DeleteTitle", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTitle", request, "X-SecretKey", callback, customData, extraHeaders); }, ExportMasterPlayerData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ExportMasterPlayerData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportMasterPlayerData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCloudScriptRevision: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCloudScriptRevision", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCloudScriptTaskInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCloudScriptTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCloudScriptVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetCloudScriptVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetCloudScriptVersions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetContentList: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetContentList", request, "X-SecretKey", callback, customData, extraHeaders); }, GetContentUploadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetContentUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetContentUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, GetDataReport: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetDataReport", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayedTitleList: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayedTitleList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerProfile", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerSharedSecrets: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticVersions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerTags", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPolicy", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, GetServerBuildInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTaskInstances: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTaskInstances", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTaskInstances", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTasks: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTasks", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTasks", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserAccountInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserBans", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserInventory", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, IncrementLimitedEditionItemAvailability: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementLimitedEditionItemAvailability", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/IncrementLimitedEditionItemAvailability", request, "X-SecretKey", callback, customData, extraHeaders); }, IncrementPlayerStatisticVersion: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/IncrementPlayerStatisticVersion", request, "X-SecretKey", callback, customData, extraHeaders); }, ListOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, ListServerBuilds: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListServerBuilds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListServerBuilds", request, "X-SecretKey", callback, customData, extraHeaders); }, ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, ModifyServerBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ModifyServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, RefundPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RefundPurchase", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RefundPurchase", request, "X-SecretKey", callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveServerBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveServerBuild", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, ResetCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResetCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, ResetPassword: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetPassword", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResetPassword", request, "X-SecretKey", callback, customData, extraHeaders); }, ResetUserStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResetUserStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResetUserStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, ResolvePurchaseDispute: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/ResolvePurchaseDispute", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ResolvePurchaseDispute", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeAllBansForUser", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeBans", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItem", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, RunTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/RunTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RunTask", request, "X-SecretKey", callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SendAccountRecoveryEmail", request, "X-SecretKey", callback, customData, extraHeaders); }, SetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPublishedRevision: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublishedRevision", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPublishedRevision", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetupPushNotification: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SetupPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetupPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateBans", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateOpenIdConnection", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePlayerStatisticDefinition: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerStatisticDefinition", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdatePolicy", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePolicy", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateRandomResultTables: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateStoreItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateTask: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateTask", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateTask", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9a0f89af..9ec9e6d7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -176,15 +251,15 @@ PlayFab.AuthenticationApi = { GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; - if (!authKey && PlayFab._internalSettings.sessionTicket) { authKey = "X-Authorization"; authValue = PlayFab._internalSettings.sessionTicket; } - if (!authKey && PlayFab.settings.developerSecretKey) { authKey = "X-SecretKey"; authValue = PlayFab.settings.developerSecretKey; } + if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } + if (!authKey && PlayFab.settings.developerSecretKey) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-SecretKey"); authKey = authInfo.authKey, authValue = authInfo.authValue; } var overloadCallback = function (result, error) { if (result != null && result.data.EntityToken != null) PlayFab._internalSettings.entityToken = result.data.EntityToken; - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Authentication/GetEntityToken", request, authKey, authValue, overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 327cfe86..438c81ac 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -179,1029 +254,1024 @@ PlayFab.ClientApi = { }, AcceptTrade: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AcceptTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AcceptTrade", request, "X-Authorization", callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddFriend", request, "X-Authorization", callback, customData, extraHeaders); }, AddGenericID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddGenericID", request, "X-Authorization", callback, customData, extraHeaders); }, AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddOrUpdateContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddOrUpdateContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddSharedGroupMembers", request, "X-Authorization", callback, customData, extraHeaders); }, AddUsernamePassword: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUsernamePassword", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddUsernamePassword", request, "X-Authorization", callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AddUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AddUserVirtualCurrency", request, "X-Authorization", callback, customData, extraHeaders); }, AndroidDevicePushNotificationRegistration: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AndroidDevicePushNotificationRegistration", request, "X-Authorization", callback, customData, extraHeaders); }, AttributeInstall: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; var overloadCallback = function (result, error) { // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully PlayFab.settings.advertisingIdType += "_Successful"; - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/AttributeInstall", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", overloadCallback, customData, extraHeaders); }, CancelTrade: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CancelTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/CancelTrade", request, "X-Authorization", callback, customData, extraHeaders); }, ConfirmPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConfirmPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConfirmPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeItem", request, "X-Authorization", callback, customData, extraHeaders); }, ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumePSNEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, ConsumeXboxEntitlements: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ConsumeXboxEntitlements", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeXboxEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/CreateSharedGroup", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/CreateSharedGroup", request, "X-Authorization", callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ExecuteCloudScript", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ExecuteCloudScript", request, "X-Authorization", callback, customData, extraHeaders); }, GetAccountInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAccountInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAccountInfo", request, "X-Authorization", callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetAllUsersCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAllUsersCharacters", request, "X-Authorization", callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCatalogItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCatalogItems", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterData", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterInventory", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterLeaderboard", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCharacterStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetContentDownloadUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders); }, GetCurrentGames: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetCurrentGames", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCurrentGames", request, "X-Authorization", callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendLeaderboard", request, "X-Authorization", callback, customData, extraHeaders); }, GetFriendLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendLeaderboardAroundPlayer", request, "X-Authorization", callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetFriendsList", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders); }, GetGameServerRegions: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetGameServerRegions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetGameServerRegions", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboard", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboard", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboardAroundCharacter", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboardAroundPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboardAroundPlayer", request, "X-Authorization", callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboardForUserCharacters", request, "X-Authorization", callback, customData, extraHeaders); }, GetPaymentToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPaymentToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPaymentToken", request, "X-Authorization", callback, customData, extraHeaders); }, GetPhotonAuthenticationToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPhotonAuthenticationToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPhotonAuthenticationToken", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerCombinedInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerCombinedInfo", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerProfile", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerProfile", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerSegments", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerSegments", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerStatisticVersions", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerStatisticVersions", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerTags", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayerTrades: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayerTrades", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerTrades", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromGameCenterIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGameCenterIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGenericIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromGoogleIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromXboxLiveIDs", request, "X-Authorization", callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPublisherData", request, "X-Authorization", callback, customData, extraHeaders); }, GetPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetSharedGroupData", request, "X-Authorization", callback, customData, extraHeaders); }, GetStoreItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetStoreItems", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetStoreItems", request, "X-Authorization", callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTime", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTime", request, "X-Authorization", callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTitleData", request, "X-Authorization", callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitleNews", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTitleNews", request, "X-Authorization", callback, customData, extraHeaders); }, GetTitlePublicKey: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTitlePublicKey", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTitlePublicKey", request, null, callback, customData, extraHeaders); }, GetTradeStatus: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetTradeStatus", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetTradeStatus", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserData", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserInventory", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserInventory", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserPublisherData", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserPublisherReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetUserReadOnlyData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GetWindowsHelloChallenge", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/GrantCharacterToUser", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, LinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, LinkCustomID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, LinkFacebookAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkFacebookAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkFacebookInstantGamesId", request, "X-Authorization", callback, customData, extraHeaders); }, LinkGameCenterAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGameCenterAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkGoogleAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, LinkKongregate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, LinkOpenIdConnect: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkOpenIdConnect", request, "X-Authorization", callback, customData, extraHeaders); }, LinkPSNAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkPSNAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkSteamAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkSteamAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkTwitch: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, LinkWindowsHello: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, LinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", 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 + // 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithAndroidDeviceID", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithAndroidDeviceID", 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 + // 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithCustomID", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithCustomID", 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);}); }, LoginWithEmailAddress: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithEmailAddress", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithEmailAddress", 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);}); }, LoginWithFacebook: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebook", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithFacebook", 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);}); }, LoginWithFacebookInstantGamesId: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithFacebookInstantGamesId", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithFacebookInstantGamesId", 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);}); }, LoginWithGameCenter: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGameCenter", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithGameCenter", 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);}); }, LoginWithGoogleAccount: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithGoogleAccount", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithGoogleAccount", 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);}); }, LoginWithIOSDeviceID: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithIOSDeviceID", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithIOSDeviceID", 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);}); }, LoginWithKongregate: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithKongregate", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithKongregate", 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);}); }, LoginWithNintendoSwitchDeviceId: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithNintendoSwitchDeviceId", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchDeviceId", 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);}); }, LoginWithOpenIdConnect: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithOpenIdConnect", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithOpenIdConnect", 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);}); }, LoginWithPlayFab: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPlayFab", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPlayFab", 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);}); }, LoginWithPSN: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithPSN", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithPSN", 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);}); }, LoginWithSteam: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithSteam", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithSteam", 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);}); }, LoginWithTwitch: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithTwitch", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithTwitch", 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);}); }, LoginWithWindowsHello: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithWindowsHello", 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);}); }, LoginWithXbox: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/LoginWithXbox", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithXbox", 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);}); }, Matchmake: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/Matchmake", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/Matchmake", request, "X-Authorization", callback, customData, extraHeaders); }, OpenTrade: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/OpenTrade", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/OpenTrade", request, "X-Authorization", callback, customData, extraHeaders); }, PayForPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PayForPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/PayForPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, PurchaseItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/PurchaseItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/PurchaseItem", request, "X-Authorization", callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RedeemCoupon", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RedeemCoupon", request, "X-Authorization", callback, customData, extraHeaders); }, RefreshPSNAuthToken: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RefreshPSNAuthToken", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RefreshPSNAuthToken", request, "X-Authorization", callback, customData, extraHeaders); }, RegisterForIOSPushNotification: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterForIOSPushNotification", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterForIOSPushNotification", request, "X-Authorization", callback, customData, extraHeaders); }, RegisterPlayFabUser: 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 && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterPlayFabUser", request, null, null, overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, RegisterWithWindowsHello: 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; - } + 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); PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } - if (callback != null && typeof (callback) == "function") + if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RegisterWithWindowsHello", request, null, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterWithWindowsHello", 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);}); }, RemoveContactEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveContactEmail", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveFriend", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveFriend", request, "X-Authorization", callback, customData, extraHeaders); }, RemoveGenericID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveGenericID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveGenericID", request, "X-Authorization", callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RemoveSharedGroupMembers", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveSharedGroupMembers", request, "X-Authorization", callback, customData, extraHeaders); }, ReportDeviceInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportDeviceInfo", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportDeviceInfo", request, "X-Authorization", callback, customData, extraHeaders); }, ReportPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ReportPlayer", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportPlayer", request, "X-Authorization", callback, customData, extraHeaders); }, RestoreIOSPurchases: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/RestoreIOSPurchases", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RestoreIOSPurchases", request, "X-Authorization", callback, customData, extraHeaders); }, SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SendAccountRecoveryEmail", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SendAccountRecoveryEmail", request, null, callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetFriendTags", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetFriendTags", request, "X-Authorization", callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SetPlayerSecret", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartGame", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders); }, StartPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/StartPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/SubtractUserVirtualCurrency", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SubtractUserVirtualCurrency", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkAndroidDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkAndroidDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkCustomID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkCustomID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkFacebookAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkFacebookInstantGamesId", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGameCenterAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGameCenterAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkGoogleAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkGoogleAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkIOSDeviceID", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkKongregate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkKongregate", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkOpenIdConnect: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkOpenIdConnect", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkOpenIdConnect", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkPSNAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkPSNAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkSteamAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkSteamAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkSteamAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkTwitch: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkTwitch", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkWindowsHello", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlinkXboxAccount", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerInstance", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlockContainerInstance", request, "X-Authorization", callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UnlockContainerItem", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlockContainerItem", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateAvatarUrl", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateAvatarUrl", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateCharacterData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateCharacterStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateCharacterStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdatePlayerStatistics", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdatePlayerStatistics", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateSharedGroupData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateSharedGroupData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateUserData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserPublisherData", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateUserPublisherData", request, "X-Authorization", callback, customData, extraHeaders); }, UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/UpdateUserTitleDisplayName", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateUserTitleDisplayName", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateAmazonIAPReceipt: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateAmazonIAPReceipt", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateGooglePlayPurchase: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateGooglePlayPurchase", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateGooglePlayPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateIOSReceipt: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateIOSReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateIOSReceipt", request, "X-Authorization", callback, customData, extraHeaders); }, ValidateWindowsStoreReceipt: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ValidateWindowsStoreReceipt", request, "X-Authorization", callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteCharacterEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WriteCharacterEvent", request, "X-Authorization", callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WritePlayerEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WritePlayerEvent", request, "X-Authorization", callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.sessionTicket) throw PlayFab._internalSettings.errorLoggedIn; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Client/WriteTitleEvent", request, "X-Authorization", PlayFab._internalSettings.sessionTicket, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WriteTitleEvent", request, "X-Authorization", callback, customData, extraHeaders); }, _MultiStepClientLogin: function (needsAttribution) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 1ea1bd05..19b2cbc8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,8 +250,7 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7cdbe0c8..baab9dfe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,38 +250,31 @@ PlayFab.DataApi = { }, AbortFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/AbortFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/AbortFileUploads", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/DeleteFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/DeleteFiles", request, "X-EntityToken", callback, customData, extraHeaders); }, FinalizeFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/FinalizeFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/FinalizeFileUploads", request, "X-EntityToken", callback, customData, extraHeaders); }, GetFiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/GetFiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/GetFiles", request, "X-EntityToken", callback, customData, extraHeaders); }, GetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/GetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Object/GetObjects", request, "X-EntityToken", callback, customData, extraHeaders); }, InitiateFileUploads: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/File/InitiateFileUploads", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/File/InitiateFileUploads", request, "X-EntityToken", callback, customData, extraHeaders); }, SetObjects: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Object/SetObjects", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Object/SetObjects", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c3631962..2be954de 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,8 +250,7 @@ PlayFab.EventsApi = { }, WriteEvents: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Event/WriteEvents", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 6669b9ab..8d613143 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,128 +250,103 @@ PlayFab.GroupsApi = { }, AcceptGroupApplication: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/AcceptGroupApplication", request, "X-EntityToken", callback, customData, extraHeaders); }, AcceptGroupInvitation: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AcceptGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/AcceptGroupInvitation", request, "X-EntityToken", callback, customData, extraHeaders); }, AddMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/AddMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/AddMembers", request, "X-EntityToken", callback, customData, extraHeaders); }, ApplyToGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ApplyToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ApplyToGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, BlockEntity: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/BlockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/BlockEntity", request, "X-EntityToken", callback, customData, extraHeaders); }, ChangeMemberRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ChangeMemberRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ChangeMemberRole", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/CreateGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/CreateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/CreateRole", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/DeleteGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/DeleteRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/DeleteRole", request, "X-EntityToken", callback, customData, extraHeaders); }, GetGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/GetGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/GetGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, InviteToGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/InviteToGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/InviteToGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, IsMember: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/IsMember", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/IsMember", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupApplications: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupApplications", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupApplications", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupBlocks: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupBlocks", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupBlocks", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupInvitations: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupInvitations", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupInvitations", request, "X-EntityToken", callback, customData, extraHeaders); }, ListGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListGroupMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListGroupMembers", request, "X-EntityToken", callback, customData, extraHeaders); }, ListMembership: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembership", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListMembership", request, "X-EntityToken", callback, customData, extraHeaders); }, ListMembershipOpportunities: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/ListMembershipOpportunities", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/ListMembershipOpportunities", request, "X-EntityToken", callback, customData, extraHeaders); }, RemoveGroupApplication: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupApplication", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/RemoveGroupApplication", request, "X-EntityToken", callback, customData, extraHeaders); }, RemoveGroupInvitation: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveGroupInvitation", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/RemoveGroupInvitation", request, "X-EntityToken", callback, customData, extraHeaders); }, RemoveMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/RemoveMembers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/RemoveMembers", request, "X-EntityToken", callback, customData, extraHeaders); }, UnblockEntity: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UnblockEntity", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UnblockEntity", request, "X-EntityToken", callback, customData, extraHeaders); }, UpdateGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateGroup", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UpdateGroup", request, "X-EntityToken", callback, customData, extraHeaders); }, UpdateRole: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Group/UpdateRole", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UpdateRole", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index fbb9b938..9936f268 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + AuthInfoMap: { + "X-EntityToken": { + authAttr: "entityToken", + authError: "errorEntityToken" + }, + "X-Authorization": { + authAttr: "sessionTicket", + authError: "errorLoggedIn" + }, + "X-SecretKey": { + authAttr: "developerSecretKey", + authError: "errorSecretKey" } + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,8 +250,7 @@ PlayFab.LocalizationApi = { }, GetLanguageList: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Locale/GetLanguageList", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Locale/GetLanguageList", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index f86e836c..8d337e92 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,28 +250,23 @@ PlayFab.MatchmakerApi = { }, AuthUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/AuthUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders); }, PlayerJoined: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerJoined", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders); }, PlayerLeft: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/PlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, StartGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/StartGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/StartGame", request, "X-SecretKey", callback, customData, extraHeaders); }, UserInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Matchmaker/UserInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e93ea920..5a1cdc74 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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}; + }, - xhr.send(requestBody); + 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 = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -174,143 +249,168 @@ PlayFab.MultiplayerApi = { PlayFab._internalSettings.entityToken = null; }, + CancelAllMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelAllMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CancelMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateBuildWithCustomContainer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateBuildWithManagedContainer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, CreateRemoteUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateServerMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteAsset: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteAsset", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteCertificate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, DeleteRemoteUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, EnableMultiplayerServersForTitle: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, GetBuild: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetBuild", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, GetContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetMatch: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, GetMultiplayerServerDetails: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetQueueStatistics: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetQueueStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, GetRemoteLoginEndpoint: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", callback, customData, extraHeaders); }, GetTitleEnabledForMultiplayerServersStatus: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, ListAssetSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, ListBuildSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, ListCertificateSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, ListContainerImages: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImages", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImages", request, "X-EntityToken", callback, customData, extraHeaders); }, ListContainerImageTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingQueues", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, ListMultiplayerServers: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, ListQosServers: function (request, callback, customData, extraHeaders) { - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListQosServers", request, null, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); }, RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, RolloverContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); }, ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, UpdateBuildRegions: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, UploadCertificate: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/MultiplayerServer/UploadCertificate", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 6103745f..147333ca 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,33 +250,27 @@ PlayFab.ProfilesApi = { }, GetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, GetProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfile", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetProfile", request, "X-EntityToken", callback, customData, extraHeaders); }, GetProfiles: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/GetProfiles", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetProfiles", request, "X-EntityToken", callback, customData, extraHeaders); }, SetGlobalPolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetGlobalPolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, SetProfileLanguage: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfileLanguage", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetProfileLanguage", request, "X-EntityToken", callback, customData, extraHeaders); }, SetProfilePolicy: function (request, callback, customData, extraHeaders) { - if (!PlayFab._internalSettings.entityToken) throw PlayFab._internalSettings.errorEntityToken; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Profile/SetProfilePolicy", request, "X-EntityToken", PlayFab._internalSettings.entityToken, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetProfilePolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 739d349b..f2880847 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.41.190304", + sdkVersion: "1.42.190312", requestGetParams: { - sdk: "JavaScriptSDK-1.41.190304" + sdk: "JavaScriptSDK-1.42.190312" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -60,104 +60,179 @@ if(!PlayFab._internalSettings) { }, ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) { - if (callback != null && typeof (callback) != "function") - throw "Callback must be null of 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("&"); + var resultPromise = new Promise(function (resolve, reject) { + if (callback != null && typeof (callback) !== "function") + throw "Callback must be null of 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]); } - urlArr.push(key); - urlArr.push("="); - urlArr.push(getParams[key]); } - } - var completeUrl = urlArr.join(""); + var completeUrl = urlArr.join(""); - var xhr = new XMLHttpRequest(); - // window.console.log("URL: " + completeUrl); - xhr.open("POST", completeUrl, true); + 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.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; + xhr.onloadend = function () { + if (callback == null) + return; - var result; - 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 - }; + var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData); + if (result.code === 200) { + callback(result, null); + } else { + callback(null, result); + } } - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + xhr.onerror = function () { + if (callback == null) + return; - if (result.code === 200) - callback(result, null); - else + 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 + }; } - xhr.onerror = function () { - if (callback == null) - return; + result.CallBackTimeMS = new Date() - startTime; + result.Request = request; + result.CustomData = customData; + return result; + }, - var result; - try { - 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 - }; - } + authenticationContext: { + PlayFabId: null, + EntityId: null, + EntityType: null, + SessionTicket: null, + EntityToken: null + }, - result.CallBackTimeMS = new Date() - startTime; - result.Request = request; - result.CustomData = customData; + 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; + }, - callback(null, result); + 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; - xhr.send(requestBody); + if (!authValue) throw authError; + } + return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders); } } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.41.190304"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; +PlayFab.sdkVersion = "1.42.190312"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -175,603 +250,483 @@ PlayFab.ServerApi = { }, AddCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, AddFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, AddPlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddPlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, AddSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddSharedGroupMembers", request, "X-SecretKey", callback, customData, extraHeaders); }, AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AddUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, AuthenticateSessionTicket: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AuthenticateSessionTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AuthenticateSessionTicket", request, "X-SecretKey", callback, customData, extraHeaders); }, AwardSteamAchievement: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/AwardSteamAchievement", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AwardSteamAchievement", request, "X-SecretKey", callback, customData, extraHeaders); }, BanUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/BanUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/BanUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, ConsumeItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ConsumeItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ConsumeItem", request, "X-SecretKey", callback, customData, extraHeaders); }, CreateSharedGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/CreateSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/CreateSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteCharacterFromUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteCharacterFromUser", request, "X-SecretKey", callback, customData, extraHeaders); }, DeletePlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeletePlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, DeleteSharedGroup: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeleteSharedGroup", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, DeregisterGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/DeregisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeregisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/EvaluateRandomResultTable", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/EvaluateRandomResultTable", request, "X-SecretKey", callback, customData, extraHeaders); }, ExecuteCloudScript: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, GetAllSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetAllUsersCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllUsersCharacters", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCatalogItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCatalogItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterInventory", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterLeaderboard", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, GetContentDownloadUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetContentDownloadUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetContentDownloadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, GetFriendLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetFriendLeaderboard", request, "X-SecretKey", callback, customData, extraHeaders); }, GetFriendsList: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetFriendsList", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetFriendsList", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboard: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboard", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboard", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboardAroundCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboardAroundUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardAroundUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboardAroundUser", request, "X-SecretKey", callback, customData, extraHeaders); }, GetLeaderboardForUserCharacters: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerCombinedInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerCombinedInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerCombinedInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerProfile: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerProfile", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerProfile", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerSegments: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerSegments", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayersInSegment", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerStatisticVersions: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerStatisticVersions", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatisticVersions", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayerTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayerTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerTags", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromFacebookInstantGamesIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetRandomResultTables: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetRandomResultTables", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, GetSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSharedGroupData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTime: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTime", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTime", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetTitleNews: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetTitleNews", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTitleNews", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserAccountInfo: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserAccountInfo", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserAccountInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserBans", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserInventory: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserInventory", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserInventory", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GetUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GetUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantCharacterToUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantCharacterToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantCharacterToUser", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUser", request, "X-SecretKey", callback, customData, extraHeaders); }, GrantItemsToUsers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/GrantItemsToUsers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, LinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, LoginWithServerCustomId: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithServerCustomId", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, LoginWithXbox: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/LoginWithXbox", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, ModifyItemUses: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ModifyItemUses", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ModifyItemUses", request, "X-SecretKey", callback, customData, extraHeaders); }, MoveItemToCharacterFromCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, MoveItemToCharacterFromUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", callback, customData, extraHeaders); }, MoveItemToUserFromCharacter: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, RedeemCoupon: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemCoupon", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", callback, customData, extraHeaders); }, RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RedeemMatchmakerTicket", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders); }, RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, RegisterGame: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RegisterGame", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveFriend: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveFriend", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, RemovePlayerTag: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemovePlayerTag", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, RemoveSharedGroupMembers: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RemoveSharedGroupMembers", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveSharedGroupMembers", request, "X-SecretKey", callback, customData, extraHeaders); }, ReportPlayer: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ReportPlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeAllBansForUser: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeAllBansForUser", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeAllBansForUser", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeBans", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeInventoryItem", request, "X-SecretKey", callback, customData, extraHeaders); }, RevokeInventoryItems: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItems", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", callback, customData, extraHeaders); }, SendEmailFromTemplate: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendEmailFromTemplate", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendEmailFromTemplate", request, "X-SecretKey", callback, customData, extraHeaders); }, SendPushNotification: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SendPushNotification", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, SetFriendTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetFriendTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceState", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders); }, SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetGameServerInstanceTags", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceTags", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPlayerSecret: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPlayerSecret", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, SetPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, SetTitleInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SetTitleInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, SubtractCharacterVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, SubtractUserVirtualCurrency: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlinkXboxAccount", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, UnlockContainerInstance: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerInstance", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlockContainerInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, UnlockContainerItem: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UnlockContainerItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlockContainerItem", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateAvatarUrl: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateAvatarUrl", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateAvatarUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateBans: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateBans", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateBans", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateCharacterStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateCharacterStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdatePlayerStatistics", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdatePlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateSharedGroupData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateSharedGroupData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserInventoryItemCustomData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserPublisherData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherInternalData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserPublisherReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, UpdateUserReadOnlyData: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateUserReadOnlyData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateUserReadOnlyData", request, "X-SecretKey", callback, customData, extraHeaders); }, WriteCharacterEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteCharacterEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WriteCharacterEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, WritePlayerEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WritePlayerEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WritePlayerEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, WriteTitleEvent: function (request, callback, customData, extraHeaders) { - if (!PlayFab.settings.developerSecretKey) throw PlayFab._internalSettings.errorSecretKey; - PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/WriteTitleEvent", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 81c9a57f..0b3d66f2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1352,7 +1352,12 @@ declare module PlayFabAdminModels { ClientSecret: string; /** A name for the connection that identifies it within the title. */ ConnectionId: string; - /** The issuer URL or discovery document URL to read issuer information from */ + /** + * The discovery document URL to read issuer information from. This must be the absolute URL to the JSON OpenId + * Configuration document and must be accessible from the internet. If you don't know it, try your issuer URL followed by + * "/.well-known/openid-configuration". For example, if the issuer is https://example.com, try + * https://example.com/.well-known/openid-configuration + */ IssuerDiscoveryUrl?: string; /** Manually specified information for an OpenID Connect issuer. */ IssuerInformation?: OpenIdIssuerInformation; @@ -2138,8 +2143,7 @@ declare module PlayFabAdminModels { | "EntityProfileConstraintValidationFailed" | "TelemetryIngestionKeyPending" | "TelemetryIngestionKeyNotFound" - | "StatisticTagRequired" - | "StatisticTagInvalid" + | "StatisticChildNameInvalid" | "DataIntegrityError" | "VirtualCurrencyCannotBeSetToOlderVersion" | "VirtualCurrencyMustBeWithinIntegerRange" @@ -2182,57 +2186,25 @@ declare module PlayFabAdminModels { | "PushNotificationTemplateMissingName" | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" + | "MultiplayerServerTitleQuotaCoresExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateTicketRequestMissing" - | "MatchmakingCreateTicketCreatorMissing" - | "MatchmakingCreateTicketCreatorIdMissing" - | "MatchmakingCreateTicketMemberListMissing" - | "MatchmakingCreateTicketGiveUpAfterInvalid" - | "MatchmakingTicketIdMissing" - | "MatchmakingMatchIdMissing" - | "MatchmakingMatchIdIdMissing" - | "MatchmakingQueueNameMissing" - | "MatchmakingTitleIdMissing" - | "MatchmakingTicketIdIdMissing" - | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinTicketPlayerMissing" - | "MatchmakingQueueConfigNotFound" + | "MatchmakingQueueNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" - | "MatchmakingCreateTicketServerIdentityInvalid" - | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketPlayerMismatch" - | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketPlayerIdentityMismatch" - | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketPlayerIdentityMismatch" - | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" - | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingBucketOwnerNotFound" - | "MatchmakingCancelAllTicketsUnauthorized" - | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" | "MatchmakingNumberOfPlayersInTicketTooLarge" - | "MatchmakingMatchTotalAttributeIsNegative" - | "MatchmakingAttributeTypeInvalid" - | "MatchmakingMatchTotalAttributeTooLarge" - | "MatchmakingMatchTotalAttributeSumTooLarge" - | "MatchmakingTicketUnmatchable" - | "MatchmakingCommonRegionMissing" - | "MatchmakingLatencyMeasurementMissing" - | "MatchmakingStatisticsNotFound" + | "MatchmakingAttributeInvalid" | "MatchmakingPlayerHasNotJoinedTicket" | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" + | "MatchmakingUnauthorized" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2249,7 +2221,14 @@ declare module PlayFabAdminModels { | "CatalogConfigTooManyContentTypes" | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong"; + | "CatalogConfigTagTooLong" + | "ExportInvalidStatusUpdate" + | "ExportInvalidPrefix" + | "ExportBlobContainerDoesNotExist" + | "ExportEventNameNotFound" + | "ExportExportTitleIdNotFound" + | "ExportCouldNotUpdate" + | "ExportInvalidStorageType"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0eaec157..cfab409c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -4,6 +4,16 @@ declare module PlayFabMultiplayerModule { export interface IPlayFabMultiplayer { ForgetAllCredentials(): void; + /** + * Cancel all active tickets the player is a member of in a given queue. + * https://api.playfab.com/Documentation/Multiplayer/method/CancelAllMatchmakingTicketsForPlayer + */ + CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cancel a matchmaking ticket. + * https://api.playfab.com/Documentation/Multiplayer/method/CancelMatchmakingTicket + */ + CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a custom container. * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer @@ -14,11 +24,22 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithManagedContainer */ CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a matchmaking ticket as a client. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateMatchmakingTicket + */ + CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a remote user to log on to a VM for a multiplayer server build. * https://api.playfab.com/Documentation/Multiplayer/method/CreateRemoteUser */ CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other + * matchmaking tickets. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateServerMatchmakingTicket + */ + CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://api.playfab.com/Documentation/Multiplayer/method/DeleteAsset @@ -59,11 +80,31 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials */ GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a match. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMatch + */ + GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingQueue + */ + GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking ticket by ticket Id. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingTicket + */ + GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets multiplayer server session details for a build. * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails */ GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get the statistics for a queue. + * https://api.playfab.com/Documentation/Multiplayer/method/GetQueueStatistics + */ + GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. * https://api.playfab.com/Documentation/Multiplayer/method/GetRemoteLoginEndpoint @@ -74,6 +115,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Join a matchmaking ticket. + * https://api.playfab.com/Documentation/Multiplayer/method/JoinMatchmakingTicket + */ + JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists archived multiplayer server sessions for a build. * https://api.playfab.com/Documentation/Multiplayer/method/ListArchivedMultiplayerServers @@ -104,6 +150,16 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all matchmaking queue configs. + * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingQueues + */ + ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all matchmaking ticket Ids the user is a member of. + * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingTicketsForPlayer + */ + ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server sessions for a build. * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers @@ -119,6 +175,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Remove a matchmaking queue config. + * https://api.playfab.com/Documentation/Multiplayer/method/RemoveMatchmakingQueue + */ + RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client * to request a server with player entity token. @@ -130,6 +191,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create or update a matchmaking queue configuration. + * https://api.playfab.com/Documentation/Multiplayer/method/SetMatchmakingQueue + */ + SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer @@ -260,6 +326,38 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerRequest */ + export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key of the player whose tickets should be canceled. */ + Entity?: EntityKey; + /** The Id of the queue from which a player's tickets should be canceled. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerResult */ + export interface CancelAllMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + + type CancellationReason = "Requested" + | "Internal" + | "Timeout"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ + export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the queue to join. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketResult */ + export interface CancelMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Certificate */ export interface Certificate { /** Base64 encoded string contents of the certificate. */ @@ -423,6 +521,26 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketRequest */ + export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The User who created this ticket. */ + Creator: MatchmakingPlayer; + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** A list of Entity Keys of other users to match with. */ + MembersToMatchWith?: EntityKey[]; + /** The Id of a match queue. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketResult */ + export interface CreateMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserRequest */ export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of to create the remote user for. */ @@ -449,6 +567,17 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateServerMatchmakingTicketRequest */ + export interface CreateServerMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The users who will be part of this ticket. */ + Members: MatchmakingPlayer[]; + /** The Id of a match queue. */ + QueueName: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CurrentServerStats */ export interface CurrentServerStats { /** The number of active multiplayer servers. */ @@ -513,6 +642,15 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EntityKey */ + export interface EntityKey { + /** Unique ID of the entity. */ + Id: string; + /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + Type?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReference */ export interface GameCertificateReference { /** @@ -628,6 +766,94 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueRequest */ + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to retrieve. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueResult */ + export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketRequest */ + export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON + * object. + */ + EscapeObject: boolean; + /** The Id of the queue to find a match for. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketResult */ + export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + CancellationReason?: string; + /** The server date and time at which ticket was created. */ + Created: string; + /** The Creator's entity key. */ + Creator: EntityKey; + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The Id of a match. */ + MatchId?: string; + /** A list of Users that have joined this ticket. */ + Members: MatchmakingPlayer[]; + /** A list of PlayFab Ids of Users to match with. */ + MembersToMatchWith?: EntityKey[]; + /** The Id of a match queue. */ + QueueName: string; + /** + * The current ticket status. Possible values are: WaitingForPlayers, WaitingForMatch, WaitingForServer, Canceled and + * Matched. + */ + Status: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchRequest */ + export interface GetMatchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON + * object. + */ + EscapeObject: boolean; + /** The Id of a match. */ + MatchId: string; + /** The Id of the queue to join. */ + QueueName: string; + /** Determines whether the matchmaking attributes for each user should be returned in the response for match request. */ + ReturnMemberAttributes: boolean; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchResult */ + export interface GetMatchResult extends PlayFabModule.IPlayFabResultCommon { + /** The Id of a match. */ + MatchId: string; + /** A list of Users that are matched together, along with their team assignments. */ + Members: MatchmakingPlayerWithTeamAssignment[]; + /** + * A list of regions that the match could be played in sorted by preference. This value is only set if the queue has a + * region selection rule. + */ + RegionPreferences?: string[]; + /** The details of the server that the match has been allocated to. */ + ServerDetails?: ServerDetails; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsRequest */ export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ @@ -667,6 +893,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsRequest */ + export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the queue. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsResult */ + export interface GetQueueStatisticsResult extends PlayFabModule.IPlayFabResultCommon { + /** The current number of players in the matchmaking queue, who are waiting to be matched. */ + NumberOfPlayersMatching?: number; + /** Statistics representing the time (in seconds) it takes for tickets to find a match. */ + TimeToMatchStatisticsInSeconds?: Statistics; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointRequest */ export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get remote login information for. */ @@ -699,6 +941,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ + export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ + Member: MatchmakingPlayer; + /** The Id of the queue to join. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketResult */ + export interface JoinMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesRequest */ export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ @@ -793,6 +1051,34 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesRequest */ + export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesResult */ + export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of matchmaking queue configs for this title. */ + MatchMakingQueues?: MatchmakingQueueConfig[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerRequest */ + export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key for which to find the ticket Ids. */ + Entity?: EntityKey; + /** The Id of the queue to find a match for. */ + QueueName: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerResult */ + export interface ListMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of ticket Ids the user is a member of. */ + TicketIds: string[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersRequest */ export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer servers to list. */ @@ -857,6 +1143,84 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayer */ + export interface MatchmakingPlayer { + /** The user's attributes custom to the title. */ + Attributes?: MatchmakingPlayerAttributes; + /** The entity key of the matchmaking user. */ + Entity: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerAttributes */ + export interface MatchmakingPlayerAttributes { + /** A data object representing a user's attributes. */ + DataObject?: any; + /** An escaped data object representing a user's attributes. */ + EscapedDataObject?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerWithTeamAssignment */ + export interface MatchmakingPlayerWithTeamAssignment { + /** + * The user's attributes custom to the title. These attributes will be null unless the request has ReturnMemberAttributes + * flag set to true. + */ + Attributes?: MatchmakingPlayerAttributes; + /** The entity key of the matchmaking user. */ + Entity: EntityKey; + /** The Id of the team the User has been assigned to by matchmaking. */ + TeamId?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueConfig */ + export interface MatchmakingQueueConfig { + /** This is the buildId that will be used to allocate the multiplayer server for the match. */ + BuildId?: string; + /** Maximum number of players in a match. */ + MaxMatchSize: number; + /** Minimum number of players in a match. */ + MinMatchSize: number; + /** Unique identifier for a Queue. Chosen by the developer. */ + Name: string; + /** List of rules used to find an optimal match. */ + Rules?: MatchmakingQueueRule[]; + /** Boolean flag to enable server allocation for the queue. */ + ServerAllocationEnabled: boolean; + /** Controls which statistics are visible to players. */ + StatisticsVisibilityToPlayers?: StatisticsVisibilityToPlayers; + /** The team configuration for a match. This may be null if there are no teams. */ + Teams?: MatchmakingQueueTeam[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueRule */ + export interface MatchmakingQueueRule { + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** Type of rule being described. */ + Type: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueTeam */ + export interface MatchmakingQueueTeam { + /** The maximum number of players required for the team. */ + MaxTeamSize: number; + /** The minimum number of players required for the team. */ + MinTeamSize: number; + /** A name to identify the team. This is case insensitive. */ + Name: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ @@ -899,6 +1263,18 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueRequest */ + export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to remove. */ + QueueName?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueResult */ + export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to request. */ @@ -964,6 +1340,37 @@ declare module PlayFabMultiplayerModels { } + type RuleType = "Unknown" + | "DifferenceRule" + | "StringEqualityRule" + | "MatchTotalRule" + | "SetIntersectionRule" + | "TeamSizeBalanceRule" + | "RegionSelectionRule" + | "TeamDifferenceRule" + | "TeamTicketSizeSimilarityRule"; + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ServerDetails */ + export interface ServerDetails { + /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + IPV4Address: string; + /** The ports the multiplayer server uses. */ + Ports: Port[]; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueRequest */ + export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueResult */ + export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ShutdownMultiplayerServerRequest */ export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ @@ -975,6 +1382,28 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Statistics */ + export interface Statistics { + /** The average. */ + Average: number; + /** The 50th percentile. */ + Percentile50: number; + /** The 90th percentile. */ + Percentile90: number; + /** The 99th percentile. */ + Percentile99: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.StatisticsVisibilityToPlayers */ + export interface StatisticsVisibilityToPlayers { + /** Whether to allow players to view the current number of players in the matchmaking queue. */ + ShowNumberOfPlayersMatching: boolean; + /** Whether to allow players to view statistics representing the time it takes for tickets to find a match. */ + ShowTimeToMatch: boolean; + + } + type TitleMultiplayerServerEnabledStatus = "Initializing" | "Enabled" | "Disabled"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 40c8904a..6ef31736 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2082,8 +2082,7 @@ declare module PlayFabServerModels { | "EntityProfileConstraintValidationFailed" | "TelemetryIngestionKeyPending" | "TelemetryIngestionKeyNotFound" - | "StatisticTagRequired" - | "StatisticTagInvalid" + | "StatisticChildNameInvalid" | "DataIntegrityError" | "VirtualCurrencyCannotBeSetToOlderVersion" | "VirtualCurrencyMustBeWithinIntegerRange" @@ -2126,57 +2125,25 @@ declare module PlayFabServerModels { | "PushNotificationTemplateMissingName" | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" + | "MultiplayerServerTitleQuotaCoresExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" - | "MatchmakingCreateTicketRequestMissing" - | "MatchmakingCreateTicketCreatorMissing" - | "MatchmakingCreateTicketCreatorIdMissing" - | "MatchmakingCreateTicketMemberListMissing" - | "MatchmakingCreateTicketGiveUpAfterInvalid" - | "MatchmakingTicketIdMissing" - | "MatchmakingMatchIdMissing" - | "MatchmakingMatchIdIdMissing" - | "MatchmakingQueueNameMissing" - | "MatchmakingTitleIdMissing" - | "MatchmakingTicketIdIdMissing" - | "MatchmakingPlayerIdMissing" - | "MatchmakingJoinTicketPlayerMissing" - | "MatchmakingQueueConfigNotFound" + | "MatchmakingQueueNotFound" | "MatchmakingMatchNotFound" | "MatchmakingTicketNotFound" - | "MatchmakingCreateTicketServerIdentityInvalid" - | "MatchmakingCreateTicketClientIdentityInvalid" - | "MatchmakingGetTicketPlayerMismatch" - | "MatchmakingJoinTicketServerIdentityInvalid" - | "MatchmakingJoinTicketPlayerIdentityMismatch" - | "MatchmakingCancelTicketServerIdentityInvalid" - | "MatchmakingCancelTicketPlayerIdentityMismatch" - | "MatchmakingGetMatchIdentityMismatch" - | "MatchmakingPlayerIdentityMismatch" | "MatchmakingAlreadyJoinedTicket" | "MatchmakingTicketAlreadyCompleted" - | "MatchmakingClientTimeout" | "MatchmakingQueueConfigInvalid" | "MatchmakingMemberProfileInvalid" | "NintendoSwitchDeviceIdNotLinked" | "MatchmakingNotEnabled" - | "MatchmakingGetStatisticsIdentityInvalid" - | "MatchmakingBucketOwnerNotFound" - | "MatchmakingCancelAllTicketsUnauthorized" - | "MatchmakingListTicketsUnauthorized" | "MatchmakingPlayerAttributesTooLarge" | "MatchmakingNumberOfPlayersInTicketTooLarge" - | "MatchmakingMatchTotalAttributeIsNegative" - | "MatchmakingAttributeTypeInvalid" - | "MatchmakingMatchTotalAttributeTooLarge" - | "MatchmakingMatchTotalAttributeSumTooLarge" - | "MatchmakingTicketUnmatchable" - | "MatchmakingCommonRegionMissing" - | "MatchmakingLatencyMeasurementMissing" - | "MatchmakingStatisticsNotFound" + | "MatchmakingAttributeInvalid" | "MatchmakingPlayerHasNotJoinedTicket" | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" + | "MatchmakingUnauthorized" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2193,7 +2160,14 @@ declare module PlayFabServerModels { | "CatalogConfigTooManyContentTypes" | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong"; + | "CatalogConfigTagTooLong" + | "ExportInvalidStatusUpdate" + | "ExportInvalidPrefix" + | "ExportBlobContainerDoesNotExist" + | "ExportEventNameNotFound" + | "ExportExportTitleIdNotFound" + | "ExportCouldNotUpdate" + | "ExportInvalidStorageType"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { From 308e972b3535bd0d0b2c9188a05f0b62c5da9669 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 10 Apr 2019 22:23:16 +0000 Subject: [PATCH 081/253] https://api.playfab.com/releaseNotes/#190410 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 10 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 10 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 10 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 10 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 10 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 10 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 10 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 10 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 10 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 10 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 10 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 10 +++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 30 +++++++++++++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 16 +++++---- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 28 +++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 36 ++++++++++++++----- .../src/PlayFab/PlayFabAdminApi.js | 10 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 10 +++--- .../src/PlayFab/PlayFabClientApi.js | 10 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 10 +++--- .../src/PlayFab/PlayFabDataApi.js | 10 +++--- .../src/PlayFab/PlayFabEventsApi.js | 10 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 10 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 10 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 10 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 10 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 10 +++--- .../src/PlayFab/PlayFabServerApi.js | 10 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 30 +++++++++++++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 16 +++++---- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 28 +++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 36 ++++++++++++++----- 35 files changed, 301 insertions(+), 165 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 6eef61d4..5c47de8e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.42.190312", + "version": "1.43.190410", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 7ca98d8c..f607358f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9ec9e6d7..d9716511 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 438c81ac..a72e5aee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 19b2cbc8..d452a60d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index baab9dfe..9c1bf7b0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 2be954de..c9689b24 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 8d613143..98e304b3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 9936f268..8a165aa4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 8d337e92..bca03979 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5a1cdc74..4b26a325 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 147333ca..b8043c68 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f2880847..eca70374 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 0b3d66f2..959492b1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -805,7 +805,7 @@ declare module PlayFabAdminModels { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ - export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ @@ -1678,7 +1678,7 @@ declare module PlayFabAdminModels { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ - export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + export interface ExecuteCloudScriptResult { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; /** Information about the error, if any, that occurred during execution */ @@ -2187,6 +2187,7 @@ declare module PlayFabAdminModels { | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" + | "AutomationRuleNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2205,6 +2206,7 @@ declare module PlayFabAdminModels { | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" + | "MatchmakingQueueLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2222,13 +2224,27 @@ declare module PlayFabAdminModels { | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" | "CatalogConfigTagTooLong" + | "CatalogConfigInvalidDeepLinkObject" + | "CatalogConfigInvalidDeepLinkPlatform" + | "CatalogConfigInvalidDeepLinkFormat" + | "CatalogConfigInvalidDisplayPropertyObject" + | "CatalogConfigInvalidDisplayPropertyName" + | "CatalogConfigInvalidDisplayPropertyType" + | "CatalogConfigDisplayPropertyMappingLimit" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" | "ExportEventNameNotFound" | "ExportExportTitleIdNotFound" | "ExportCouldNotUpdate" - | "ExportInvalidStorageType"; + | "ExportInvalidStorageType" + | "ExportAmazonBucketDoesNotExist" + | "ExportInvalidBlobStorage" + | "ExportKustoException" + | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionEdit" + | "ExportKustoConnectionFailed" + | "ExportUnknownError"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2615,7 +2631,7 @@ declare module PlayFabAdminModels { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ - export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; /** Unique identifier for this segment. */ @@ -4054,7 +4070,7 @@ declare module PlayFabAdminModels { | "RevokedSteam"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ - export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; /** The id of the ban to be updated. */ @@ -4425,6 +4441,8 @@ declare module PlayFabAdminModels { GoogleId?: string; /** Locale of the Google account */ GoogleLocale?: string; + /** Name of the Google account user */ + GoogleName?: string; } @@ -4511,6 +4529,8 @@ declare module PlayFabAdminModels { SteamCurrency?: string; /** Steam identifier */ SteamId?: string; + /** Steam display name */ + SteamName?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index d95c698e..9d503e11 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1212,7 +1212,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ - export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; /** The name of this character. */ @@ -1818,7 +1818,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ - export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; /** The token used to set X-EntityToken for all entity based API calls. */ @@ -1909,8 +1909,6 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** This field is not populated. */ - CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ @@ -2393,7 +2391,7 @@ declare module PlayFabClientModels { GetCharacterInventories: boolean; /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** Whether to get player profile. Defaults to false. */ + /** Whether to get player profile. Defaults to false. Has no effect for a new player. */ GetPlayerProfile: boolean; /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; @@ -2768,7 +2766,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ - export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; /** Unique identifier for this segment. */ @@ -3037,7 +3035,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ - export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface ItemPurchaseRequest { /** Title-specific text concerning this purchase. */ Annotation?: string; /** Unique ItemId of the item to purchase. */ @@ -5112,6 +5110,8 @@ declare module PlayFabClientModels { GoogleId?: string; /** Locale of the Google account */ GoogleLocale?: string; + /** Name of the Google account user */ + GoogleName?: string; } @@ -5209,6 +5209,8 @@ declare module PlayFabClientModels { SteamCurrency?: string; /** Steam identifier */ SteamId?: string; + /** Steam display name */ + SteamName?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index 0bba4320..b9c637ea 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -210,7 +210,7 @@ declare module PlayFabDataModels { } /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.ObjectResult */ - export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { + export interface ObjectResult { /** Un-escaped JSON object, if EscapeObject false or default. */ DataObject?: any; /** Escaped string JSON body of the object, if EscapeObject is true. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index e34e84b9..be742500 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -123,6 +123,8 @@ declare module PlayFabProfilesModels { * profile, not global statements from titles and namespaces. */ Permissions?: EntityPermissionStatement[]; + /** The statistics on this profile. */ + Statistics?: { [key: string]: EntityStatisticValue }; /** * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic * concurrency during update. @@ -144,6 +146,32 @@ declare module PlayFabProfilesModels { } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticChildValue */ + export interface EntityStatisticChildValue { + /** Child name value, if child statistic */ + ChildName?: string; + /** Child statistic metadata */ + Metadata?: string; + /** Child statistic value */ + Value: number; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticValue */ + export interface EntityStatisticValue { + /** Child statistic values */ + ChildStatistics?: { [key: string]: EntityStatisticChildValue }; + /** Statistic metadata */ + Metadata?: string; + /** Statistic name */ + Name?: string; + /** Statistic value */ + Value?: number; + /** Statistic version */ + Version: number; + + } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 6ef31736..347346a5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -822,7 +822,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ - export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ @@ -989,7 +989,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ - export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; /** The name of this character. */ @@ -1551,7 +1551,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityTokenResponse */ - export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; /** The token used to set X-EntityToken for all entity based API calls. */ @@ -1663,8 +1663,6 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** This field is not populated. */ - CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ @@ -2126,6 +2124,7 @@ declare module PlayFabServerModels { | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" + | "AutomationRuleNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2144,6 +2143,7 @@ declare module PlayFabServerModels { | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" + | "MatchmakingQueueLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2161,13 +2161,27 @@ declare module PlayFabServerModels { | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" | "CatalogConfigTagTooLong" + | "CatalogConfigInvalidDeepLinkObject" + | "CatalogConfigInvalidDeepLinkPlatform" + | "CatalogConfigInvalidDeepLinkFormat" + | "CatalogConfigInvalidDisplayPropertyObject" + | "CatalogConfigInvalidDisplayPropertyName" + | "CatalogConfigInvalidDisplayPropertyType" + | "CatalogConfigDisplayPropertyMappingLimit" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" | "ExportEventNameNotFound" | "ExportExportTitleIdNotFound" | "ExportCouldNotUpdate" - | "ExportInvalidStorageType"; + | "ExportInvalidStorageType" + | "ExportAmazonBucketDoesNotExist" + | "ExportInvalidBlobStorage" + | "ExportKustoException" + | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionEdit" + | "ExportKustoConnectionFailed" + | "ExportUnknownError"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2482,7 +2496,7 @@ declare module PlayFabServerModels { GetCharacterInventories: boolean; /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** Whether to get player profile. Defaults to false. */ + /** Whether to get player profile. Defaults to false. Has no effect for a new player. */ GetPlayerProfile: boolean; /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; @@ -2798,7 +2812,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ - export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; /** Unique identifier for this segment. */ @@ -4331,7 +4345,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ - export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; /** The id of the ban to be updated. */ @@ -4629,6 +4643,8 @@ declare module PlayFabServerModels { GoogleId?: string; /** Locale of the Google account */ GoogleLocale?: string; + /** Name of the Google account user */ + GoogleName?: string; } @@ -4726,6 +4742,8 @@ declare module PlayFabServerModels { SteamCurrency?: string; /** Steam identifier */ SteamId?: string; + /** Steam display name */ + SteamName?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 7ca98d8c..f607358f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9ec9e6d7..d9716511 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 438c81ac..a72e5aee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 19b2cbc8..d452a60d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index baab9dfe..9c1bf7b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 2be954de..c9689b24 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 8d613143..98e304b3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 9936f268..8a165aa4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 8d337e92..bca03979 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5a1cdc74..4b26a325 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 147333ca..b8043c68 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f2880847..eca70374 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.42.190312", + sdkVersion: "1.43.190410", requestGetParams: { - sdk: "JavaScriptSDK-1.42.190312" + sdk: "JavaScriptSDK-1.43.190410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -62,7 +62,7 @@ if(!PlayFab._internalSettings) { 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 of a function"; + throw "Callback must be null or a function"; if (request == null) request = {}; @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_0"; -PlayFab.sdkVersion = "1.42.190312"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.43.190410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 0b3d66f2..959492b1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -805,7 +805,7 @@ declare module PlayFabAdminModels { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ - export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ @@ -1678,7 +1678,7 @@ declare module PlayFabAdminModels { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ - export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { + export interface ExecuteCloudScriptResult { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; /** Information about the error, if any, that occurred during execution */ @@ -2187,6 +2187,7 @@ declare module PlayFabAdminModels { | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" + | "AutomationRuleNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2205,6 +2206,7 @@ declare module PlayFabAdminModels { | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" + | "MatchmakingQueueLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2222,13 +2224,27 @@ declare module PlayFabAdminModels { | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" | "CatalogConfigTagTooLong" + | "CatalogConfigInvalidDeepLinkObject" + | "CatalogConfigInvalidDeepLinkPlatform" + | "CatalogConfigInvalidDeepLinkFormat" + | "CatalogConfigInvalidDisplayPropertyObject" + | "CatalogConfigInvalidDisplayPropertyName" + | "CatalogConfigInvalidDisplayPropertyType" + | "CatalogConfigDisplayPropertyMappingLimit" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" | "ExportEventNameNotFound" | "ExportExportTitleIdNotFound" | "ExportCouldNotUpdate" - | "ExportInvalidStorageType"; + | "ExportInvalidStorageType" + | "ExportAmazonBucketDoesNotExist" + | "ExportInvalidBlobStorage" + | "ExportKustoException" + | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionEdit" + | "ExportKustoConnectionFailed" + | "ExportUnknownError"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2615,7 +2631,7 @@ declare module PlayFabAdminModels { } /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ - export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; /** Unique identifier for this segment. */ @@ -4054,7 +4070,7 @@ declare module PlayFabAdminModels { | "RevokedSteam"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ - export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; /** The id of the ban to be updated. */ @@ -4425,6 +4441,8 @@ declare module PlayFabAdminModels { GoogleId?: string; /** Locale of the Google account */ GoogleLocale?: string; + /** Name of the Google account user */ + GoogleName?: string; } @@ -4511,6 +4529,8 @@ declare module PlayFabAdminModels { SteamCurrency?: string; /** Steam identifier */ SteamId?: string; + /** Steam display name */ + SteamName?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index d95c698e..9d503e11 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1212,7 +1212,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ - export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; /** The name of this character. */ @@ -1818,7 +1818,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ - export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; /** The token used to set X-EntityToken for all entity based API calls. */ @@ -1909,8 +1909,6 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { - /** This field is not populated. */ - CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ @@ -2393,7 +2391,7 @@ declare module PlayFabClientModels { GetCharacterInventories: boolean; /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** Whether to get player profile. Defaults to false. */ + /** Whether to get player profile. Defaults to false. Has no effect for a new player. */ GetPlayerProfile: boolean; /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; @@ -2768,7 +2766,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ - export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; /** Unique identifier for this segment. */ @@ -3037,7 +3035,7 @@ declare module PlayFabClientModels { } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ - export interface ItemPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface ItemPurchaseRequest { /** Title-specific text concerning this purchase. */ Annotation?: string; /** Unique ItemId of the item to purchase. */ @@ -5112,6 +5110,8 @@ declare module PlayFabClientModels { GoogleId?: string; /** Locale of the Google account */ GoogleLocale?: string; + /** Name of the Google account user */ + GoogleName?: string; } @@ -5209,6 +5209,8 @@ declare module PlayFabClientModels { SteamCurrency?: string; /** Steam identifier */ SteamId?: string; + /** Steam display name */ + SteamName?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index 0bba4320..b9c637ea 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -210,7 +210,7 @@ declare module PlayFabDataModels { } /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.ObjectResult */ - export interface ObjectResult extends PlayFabModule.IPlayFabResultCommon { + export interface ObjectResult { /** Un-escaped JSON object, if EscapeObject false or default. */ DataObject?: any; /** Escaped string JSON body of the object, if EscapeObject is true. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index e34e84b9..be742500 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -123,6 +123,8 @@ declare module PlayFabProfilesModels { * profile, not global statements from titles and namespaces. */ Permissions?: EntityPermissionStatement[]; + /** The statistics on this profile. */ + Statistics?: { [key: string]: EntityStatisticValue }; /** * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic * concurrency during update. @@ -144,6 +146,32 @@ declare module PlayFabProfilesModels { } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticChildValue */ + export interface EntityStatisticChildValue { + /** Child name value, if child statistic */ + ChildName?: string; + /** Child statistic metadata */ + Metadata?: string; + /** Child statistic value */ + Value: number; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticValue */ + export interface EntityStatisticValue { + /** Child statistic values */ + ChildStatistics?: { [key: string]: EntityStatisticChildValue }; + /** Statistic metadata */ + Metadata?: string; + /** Statistic name */ + Name?: string; + /** Statistic value */ + Value?: number; + /** Statistic version */ + Version: number; + + } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 6ef31736..347346a5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -822,7 +822,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ - export interface BanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ @@ -989,7 +989,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ - export interface CharacterResult extends PlayFabModule.IPlayFabResultCommon { + export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; /** The name of this character. */ @@ -1551,7 +1551,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityTokenResponse */ - export interface EntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; /** The token used to set X-EntityToken for all entity based API calls. */ @@ -1663,8 +1663,6 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { - /** This field is not populated. */ - CurrentMatchmakerLobbyId?: string; /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ @@ -2126,6 +2124,7 @@ declare module PlayFabServerModels { | "CannotEnableMultiplayerServersForTitle" | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" + | "AutomationRuleNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2144,6 +2143,7 @@ declare module PlayFabServerModels { | "MatchmakingRateLimitExceeded" | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" + | "MatchmakingQueueLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2161,13 +2161,27 @@ declare module PlayFabServerModels { | "CatalogConfigContentTypeTooLong" | "CatalogConfigTooManyTags" | "CatalogConfigTagTooLong" + | "CatalogConfigInvalidDeepLinkObject" + | "CatalogConfigInvalidDeepLinkPlatform" + | "CatalogConfigInvalidDeepLinkFormat" + | "CatalogConfigInvalidDisplayPropertyObject" + | "CatalogConfigInvalidDisplayPropertyName" + | "CatalogConfigInvalidDisplayPropertyType" + | "CatalogConfigDisplayPropertyMappingLimit" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" | "ExportEventNameNotFound" | "ExportExportTitleIdNotFound" | "ExportCouldNotUpdate" - | "ExportInvalidStorageType"; + | "ExportInvalidStorageType" + | "ExportAmazonBucketDoesNotExist" + | "ExportInvalidBlobStorage" + | "ExportKustoException" + | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionEdit" + | "ExportKustoConnectionFailed" + | "ExportUnknownError"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2482,7 +2496,7 @@ declare module PlayFabServerModels { GetCharacterInventories: boolean; /** Whether to get the list of characters. Defaults to false. */ GetCharacterList: boolean; - /** Whether to get player profile. Defaults to false. */ + /** Whether to get player profile. Defaults to false. Has no effect for a new player. */ GetPlayerProfile: boolean; /** Whether to get player statistics. Defaults to false. */ GetPlayerStatistics: boolean; @@ -2798,7 +2812,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ - export interface GetSegmentResult extends PlayFabModule.IPlayFabResultCommon { + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; /** Unique identifier for this segment. */ @@ -4331,7 +4345,7 @@ declare module PlayFabServerModels { } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ - export interface UpdateBanRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; /** The id of the ban to be updated. */ @@ -4629,6 +4643,8 @@ declare module PlayFabServerModels { GoogleId?: string; /** Locale of the Google account */ GoogleLocale?: string; + /** Name of the Google account user */ + GoogleName?: string; } @@ -4726,6 +4742,8 @@ declare module PlayFabServerModels { SteamCurrency?: string; /** Steam identifier */ SteamId?: string; + /** Steam display name */ + SteamName?: string; } From 2f9946b3f42879989abe1c1b912052096019ceaf Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 24 Apr 2019 19:19:58 +0000 Subject: [PATCH 082/253] https://api.playfab.com/releaseNotes/#190424 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 28 +++- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 21 +-- .../PlayFab/PlayFabAuthenticationApi.d.ts | 137 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 2 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 28 +++- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 21 +-- .../PlayFab/PlayFabAuthenticationApi.d.ts | 137 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 2 + 31 files changed, 431 insertions(+), 123 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 5c47de8e..e878e281 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.43.190410", + "version": "1.44.190424", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f607358f..f3afde52 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d9716511..c8c14132 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -249,6 +249,22 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, + ActivateKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/ActivateKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/CreateKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeactivateKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeactivateKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeleteKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } @@ -261,6 +277,10 @@ PlayFab.AuthenticationApi = { }; return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, + + GetKeys: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/GetKeys", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index a72e5aee..ee1315cb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index d452a60d..116c8796 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9c1bf7b0..7fb2ed1e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c9689b24..6adee23f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 98e304b3..3ae7052a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 8a165aa4..256b3230 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index bca03979..55d99e17 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 4b26a325..4346a970 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index b8043c68..5f412425 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index eca70374..c7113ed2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 959492b1..47c34c45 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2188,6 +2188,9 @@ declare module PlayFabAdminModels { | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" | "AutomationRuleNotFound" + | "EntityAPIKeyLimitExceeded" + | "EntityAPIKeyNotFound" + | "EntityAPIKeyOrSecretInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2219,18 +2222,7 @@ declare module PlayFabAdminModels { | "CatalogItemIdInvalid" | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" - | "CatalogConfigMissing" - | "CatalogConfigTooManyContentTypes" - | "CatalogConfigContentTypeTooLong" - | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong" - | "CatalogConfigInvalidDeepLinkObject" - | "CatalogConfigInvalidDeepLinkPlatform" - | "CatalogConfigInvalidDeepLinkFormat" - | "CatalogConfigInvalidDisplayPropertyObject" - | "CatalogConfigInvalidDisplayPropertyName" - | "CatalogConfigInvalidDisplayPropertyType" - | "CatalogConfigDisplayPropertyMappingLimit" + | "CatalogConfigInvalid" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2244,7 +2236,10 @@ declare module PlayFabAdminModels { | "ExportKustoExceptionNew_SomeResources" | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" - | "ExportUnknownError"; + | "ExportUnknownError" + | "ExportCantEditPendingExport" + | "ExportLimitExports" + | "ExportLimitEvents"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index fc5d29b6..3ad83407 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,17 +4,123 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; + /** + * Activates the given API key. Active keys may be used for authentication. + * https://api.playfab.com/Documentation/Authentication/method/ActivateKey + */ + ActivateKey(request: PlayFabAuthenticationModels.ActivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates an API key for the given entity. + * https://api.playfab.com/Documentation/Authentication/method/CreateKey + */ + CreateKey(request: PlayFabAuthenticationModels.CreateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deactivates the given API key, causing subsequent authentication attempts with it to fail.Deactivating a key is a way to + * verify that the key is not in use before deleting it. + * https://api.playfab.com/Documentation/Authentication/method/DeactivateKey + */ + DeactivateKey(request: PlayFabAuthenticationModels.DeactivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes the given API key. + * https://api.playfab.com/Documentation/Authentication/method/DeleteKey + */ + DeleteKey(request: PlayFabAuthenticationModels.DeleteAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the API keys associated with the given entity. + * https://api.playfab.com/Documentation/Authentication/method/GetKeys + */ + GetKeys(request: PlayFabAuthenticationModels.GetAPIKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabAuthenticationModels { + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyRequest */ + export interface ActivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the entity API key to activate. */ + APIKeyId?: string; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyResponse */ + export interface ActivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyDetails */ + export interface CreateAPIKeyDetails { + /** + * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or + * deactivate using the ActivateKey and DeactivateKey APIs.Deactivating a key is a way to verify that the key is not in use + * before deleting it. + */ + Active: boolean; + /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ + APIKeyId?: string; + /** + * Secret used to authenticate requests with the key. Set in the "X - EntityAPIKeyId" in authentication requests.The secret + * value is returned only once in this response and cannot be retrieved afterward, either via API or in Game Manager.API + * key secrets should be stored securely only on trusted servers and never distributed in code or configuration to + * untrusted clients. + */ + APIKeySecret?: string; + /** The time the API key was generated, in UTC. */ + Created: string; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyRequest */ + export interface CreateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyResponse */ + export interface CreateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The created API key */ + Key?: CreateAPIKeyDetails; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyRequest */ + export interface DeactivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the entity API key to activate. */ + APIKeyId?: string; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyResponse */ + export interface DeactivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyRequest */ + export interface DeleteAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the entity API key to delete. */ + APIKeyId?: string; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyResponse */ + export interface DeleteAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -24,6 +130,37 @@ declare module PlayFabAuthenticationModels { } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeyDetails */ + export interface GetAPIKeyDetails { + /** + * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or + * deactivate using the SetAPIActivation API.Deactivating a key is a way to verify that the key is not in use be before + * deleting it. + */ + Active: boolean; + /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ + APIKeyId?: string; + /** The time the API key was generated, in UTC. */ + Created: string; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysRequest */ + export interface GetAPIKeysRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysResponse */ + export interface GetAPIKeysResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The API keys associated with the given entity. */ + Keys?: GetAPIKeyDetails[]; + + } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index cfab409c..1379de7d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -323,6 +323,8 @@ declare module PlayFabMultiplayerModels { CreationTime?: string; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration and status for each region in the build. */ + RegionConfigurations?: BuildRegion[]; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f607358f..f3afde52 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d9716511..c8c14132 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -249,6 +249,22 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, + ActivateKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/ActivateKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/CreateKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeactivateKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeactivateKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeleteKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } @@ -261,6 +277,10 @@ PlayFab.AuthenticationApi = { }; return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, + + GetKeys: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/GetKeys", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index a72e5aee..ee1315cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index d452a60d..116c8796 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9c1bf7b0..7fb2ed1e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c9689b24..6adee23f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 98e304b3..3ae7052a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 8a165aa4..256b3230 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index bca03979..55d99e17 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 4b26a325..4346a970 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index b8043c68..5f412425 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index eca70374..c7113ed2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.43.190410", + sdkVersion: "1.44.190424", requestGetParams: { - sdk: "JavaScriptSDK-1.43.190410" + sdk: "JavaScriptSDK-1.44.190424" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.43.190410"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; +PlayFab.sdkVersion = "1.44.190424"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 959492b1..47c34c45 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2188,6 +2188,9 @@ declare module PlayFabAdminModels { | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" | "AutomationRuleNotFound" + | "EntityAPIKeyLimitExceeded" + | "EntityAPIKeyNotFound" + | "EntityAPIKeyOrSecretInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2219,18 +2222,7 @@ declare module PlayFabAdminModels { | "CatalogItemIdInvalid" | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" - | "CatalogConfigMissing" - | "CatalogConfigTooManyContentTypes" - | "CatalogConfigContentTypeTooLong" - | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong" - | "CatalogConfigInvalidDeepLinkObject" - | "CatalogConfigInvalidDeepLinkPlatform" - | "CatalogConfigInvalidDeepLinkFormat" - | "CatalogConfigInvalidDisplayPropertyObject" - | "CatalogConfigInvalidDisplayPropertyName" - | "CatalogConfigInvalidDisplayPropertyType" - | "CatalogConfigDisplayPropertyMappingLimit" + | "CatalogConfigInvalid" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2244,7 +2236,10 @@ declare module PlayFabAdminModels { | "ExportKustoExceptionNew_SomeResources" | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" - | "ExportUnknownError"; + | "ExportUnknownError" + | "ExportCantEditPendingExport" + | "ExportLimitExports" + | "ExportLimitEvents"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index fc5d29b6..3ad83407 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,17 +4,123 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; + /** + * Activates the given API key. Active keys may be used for authentication. + * https://api.playfab.com/Documentation/Authentication/method/ActivateKey + */ + ActivateKey(request: PlayFabAuthenticationModels.ActivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates an API key for the given entity. + * https://api.playfab.com/Documentation/Authentication/method/CreateKey + */ + CreateKey(request: PlayFabAuthenticationModels.CreateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deactivates the given API key, causing subsequent authentication attempts with it to fail.Deactivating a key is a way to + * verify that the key is not in use before deleting it. + * https://api.playfab.com/Documentation/Authentication/method/DeactivateKey + */ + DeactivateKey(request: PlayFabAuthenticationModels.DeactivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes the given API key. + * https://api.playfab.com/Documentation/Authentication/method/DeleteKey + */ + DeleteKey(request: PlayFabAuthenticationModels.DeleteAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the API keys associated with the given entity. + * https://api.playfab.com/Documentation/Authentication/method/GetKeys + */ + GetKeys(request: PlayFabAuthenticationModels.GetAPIKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabAuthenticationModels { + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyRequest */ + export interface ActivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the entity API key to activate. */ + APIKeyId?: string; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyResponse */ + export interface ActivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyDetails */ + export interface CreateAPIKeyDetails { + /** + * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or + * deactivate using the ActivateKey and DeactivateKey APIs.Deactivating a key is a way to verify that the key is not in use + * before deleting it. + */ + Active: boolean; + /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ + APIKeyId?: string; + /** + * Secret used to authenticate requests with the key. Set in the "X - EntityAPIKeyId" in authentication requests.The secret + * value is returned only once in this response and cannot be retrieved afterward, either via API or in Game Manager.API + * key secrets should be stored securely only on trusted servers and never distributed in code or configuration to + * untrusted clients. + */ + APIKeySecret?: string; + /** The time the API key was generated, in UTC. */ + Created: string; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyRequest */ + export interface CreateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyResponse */ + export interface CreateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The created API key */ + Key?: CreateAPIKeyDetails; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyRequest */ + export interface DeactivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the entity API key to activate. */ + APIKeyId?: string; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyResponse */ + export interface DeactivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyRequest */ + export interface DeleteAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the entity API key to delete. */ + APIKeyId?: string; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyResponse */ + export interface DeleteAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -24,6 +130,37 @@ declare module PlayFabAuthenticationModels { } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeyDetails */ + export interface GetAPIKeyDetails { + /** + * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or + * deactivate using the SetAPIActivation API.Deactivating a key is a way to verify that the key is not in use be before + * deleting it. + */ + Active: boolean; + /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ + APIKeyId?: string; + /** The time the API key was generated, in UTC. */ + Created: string; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysRequest */ + export interface GetAPIKeysRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysResponse */ + export interface GetAPIKeysResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The API keys associated with the given entity. */ + Keys?: GetAPIKeyDetails[]; + + } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index cfab409c..1379de7d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -323,6 +323,8 @@ declare module PlayFabMultiplayerModels { CreationTime?: string; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration and status for each region in the build. */ + RegionConfigurations?: BuildRegion[]; } From 99a0ce2fa4b4c2cd394bc35a2da2ed3a5dc45d92 Mon Sep 17 00:00:00 2001 From: Todd Bello Date: Thu, 25 Apr 2019 15:01:23 -0700 Subject: [PATCH 083/253] Uploading a readme to the PlayFabSdk folder (#86) Our automated system will do an npm publish from with the PlayFabSdk folder. This does not properly sync the readme file to the repository, this directory needs a copy of the readme file to upload at the same time. --- PlayFabSdk/readme.md | 65 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 PlayFabSdk/readme.md diff --git a/PlayFabSdk/readme.md b/PlayFabSdk/readme.md new file mode 100644 index 00000000..113deb94 --- /dev/null +++ b/PlayFabSdk/readme.md @@ -0,0 +1,65 @@ +# JavaScriptSDK README + + +## 1. Overview: + +JavaScriptSDK for the Client API of PlayFab + +This SDK can alternatively be used via our CDN. Additional details can be found [here](https://blog.playfab.com/blog/playfab-now-serving-javascript-sdk-via-cdn). + +If you want to start coding right away, check out our [JavaScript Getting Started Guide](JavaScriptGettingStarted.md) + + +## 2. Prerequisites: + +* Users should be very familiar with the topics covered in our [getting started guide](https://api.playfab.com/docs/general-getting-started). + +To connect to the PlayFab service, your machine must be running TLS v1.2 or better. +* For Windows, this means Windows 7 and above +* [Official Microsoft Documentation](https://msdn.microsoft.com/en-us/library/windows/desktop/aa380516%28v=vs.85%29.aspx) +* [Support for SSL/TLS protocols on Windows](http://blogs.msdn.com/b/kaushal/archive/2011/10/02/support-for-ssl-tls-protocols-on-windows.aspx) + + +## 3. Example Project (UNDER CONSTRUCTION) + +The Example project is being revised for the upcoming 1.0 release + +This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional. + +Please read about the testTitleData.json format, and purpose here: +* [testTitleData.md](https://github.com/PlayFab/SDKGenerator/blob/master/JenkinsConsoleUtility/testTitleData.md) must be created and placed in the root of the example (beside index.html & PlayFabApiTest.ts), and must be named "testTitleData.json" + + +## 4. Troubleshooting: + +For a complete list of available APIs, check out the [online documentation](http://api.playfab.com/Documentation/). + +#### Contact Us +We love to hear from our developer community! +Do you have ideas on how we can make our products and services better? + +Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services. + +[Forums, Support and Knowledge Base](https://community.playfab.com/index.html) + +## 7. NPM support: +You may install JavaScript SDK with npm by running : + +`npm install playfab-web-sdk` + +Notice that it will install web JavaScript package as opposed to `npm install playfab` which will install NodeJS SDK. + +While npm is generally used for server side packages, you may use one of popular build tools to mix NPM installed packages into your clientside JS codebase. Consider Babel, Webpack, Gulp or Grunt for different approaches to building and automation. + +## 6. Acknowledgements + + [dylanh724](https://www.github.com/dylanh724) - The previous tutorial before the current [Getting Started Guide](JavaScriptGettingStarted.md) + + +## 7. Copyright and Licensing Information: + + Apache License -- + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + Full details available within the LICENSE file. \ No newline at end of file From 3fec916962dd37adf7b6edff7713d241e894054d Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 9 May 2019 23:27:05 +0000 Subject: [PATCH 084/253] https://api.playfab.com/releaseNotes/#190509 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 28 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 40 ++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 26 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 137 ----------- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 4 +- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 202 +++++---------- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 232 ++++++++++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 28 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 40 ++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 26 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 137 ----------- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 4 +- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 202 +++++---------- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 232 ++++++++++++++++-- 39 files changed, 779 insertions(+), 769 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e878e281..40278fb1 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.44.190424", + "version": "1.45.190509", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f3afde52..b4eaaf97 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c8c14132..3afaf35b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -249,22 +249,6 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, - ActivateKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/ActivateKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - CreateKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/CreateKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - DeactivateKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeactivateKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - DeleteKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeleteKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } @@ -277,10 +261,6 @@ PlayFab.AuthenticationApi = { }; return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, - - GetKeys: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/GetKeys", request, "X-EntityToken", callback, customData, extraHeaders); - }, }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ee1315cb..e799c5e3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 116c8796..34bff9b7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7fb2ed1e..ddaecdfc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6adee23f..c0deb295 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3ae7052a..0fcfc1eb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 256b3230..b4e4ea00 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 55d99e17..b1a65172 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 4346a970..d0f8a1d0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -313,10 +313,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -337,6 +333,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); + }, + JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -365,10 +365,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", callback, customData, extraHeaders); }, - ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingQueues", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,10 +381,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, - RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); - }, - RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -397,10 +389,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, - SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5f412425..8f58db4c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c7113ed2..53daaff3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, + AddGenericID: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddGenericID", request, "X-SecretKey", callback, customData, extraHeaders); + }, + AddPlayerTag: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -297,6 +301,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeletePushNotificationTemplate: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePushNotificationTemplate", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteSharedGroup: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -413,6 +421,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -513,6 +525,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, + LinkServerCustomId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -565,6 +581,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, + RemoveGenericID: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveGenericID", request, "X-SecretKey", callback, customData, extraHeaders); + }, + RemovePlayerTag: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -593,6 +613,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + SavePushNotificationTemplate: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SavePushNotificationTemplate", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -605,6 +629,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, + SendPushNotificationFromTemplate: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendPushNotificationFromTemplate", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SetFriendTags: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -645,6 +673,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkServerCustomId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 47c34c45..084dadfd 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2191,6 +2191,27 @@ declare module PlayFabAdminModels { | "EntityAPIKeyLimitExceeded" | "EntityAPIKeyNotFound" | "EntityAPIKeyOrSecretInvalid" + | "EconomyServiceUnavailable" + | "EconomyServiceInternalError" + | "KustoProxyQueryRateLimitExceeded" + | "EntityAPIKeyCreationDisabledForEntity" + | "StudioCreationRateLimited" + | "StudioCreationInProgress" + | "DuplicateStudioName" + | "StudioNotFound" + | "StudioDeletionInProgress" + | "StudioDeactivated" + | "TitleCreationRateLimited" + | "TitleCreationInProgress" + | "DuplicateTitleName" + | "TitleNotFound" + | "TitleDeletionInProgress" + | "TitleDeactivated" + | "TitleAlreadyActivated" + | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" + | "CloudScriptAzureFunctionsArgumentSizeExceeded" + | "CloudScriptAzureFunctionsReturnSizeExceeded" + | "CloudScriptAzureFunctionsHTTPRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2210,6 +2231,8 @@ declare module PlayFabAdminModels { | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" | "MatchmakingQueueLimitExceeded" + | "MatchmakingRequestTypeMismatch" + | "MatchmakingBadRequest" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2223,6 +2246,7 @@ declare module PlayFabAdminModels { | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" + | "CatalogUnauthorized" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2233,7 +2257,7 @@ declare module PlayFabAdminModels { | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionPartialErrorOnNewExport" | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" | "ExportUnknownError" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 3ad83407..fc5d29b6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,123 +4,17 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; - /** - * Activates the given API key. Active keys may be used for authentication. - * https://api.playfab.com/Documentation/Authentication/method/ActivateKey - */ - ActivateKey(request: PlayFabAuthenticationModels.ActivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates an API key for the given entity. - * https://api.playfab.com/Documentation/Authentication/method/CreateKey - */ - CreateKey(request: PlayFabAuthenticationModels.CreateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deactivates the given API key, causing subsequent authentication attempts with it to fail.Deactivating a key is a way to - * verify that the key is not in use before deleting it. - * https://api.playfab.com/Documentation/Authentication/method/DeactivateKey - */ - DeactivateKey(request: PlayFabAuthenticationModels.DeactivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes the given API key. - * https://api.playfab.com/Documentation/Authentication/method/DeleteKey - */ - DeleteKey(request: PlayFabAuthenticationModels.DeleteAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the API keys associated with the given entity. - * https://api.playfab.com/Documentation/Authentication/method/GetKeys - */ - GetKeys(request: PlayFabAuthenticationModels.GetAPIKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabAuthenticationModels { - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyRequest */ - export interface ActivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the entity API key to activate. */ - APIKeyId?: string; - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyResponse */ - export interface ActivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyDetails */ - export interface CreateAPIKeyDetails { - /** - * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or - * deactivate using the ActivateKey and DeactivateKey APIs.Deactivating a key is a way to verify that the key is not in use - * before deleting it. - */ - Active: boolean; - /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ - APIKeyId?: string; - /** - * Secret used to authenticate requests with the key. Set in the "X - EntityAPIKeyId" in authentication requests.The secret - * value is returned only once in this response and cannot be retrieved afterward, either via API or in Game Manager.API - * key secrets should be stored securely only on trusted servers and never distributed in code or configuration to - * untrusted clients. - */ - APIKeySecret?: string; - /** The time the API key was generated, in UTC. */ - Created: string; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyRequest */ - export interface CreateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyResponse */ - export interface CreateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The created API key */ - Key?: CreateAPIKeyDetails; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyRequest */ - export interface DeactivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the entity API key to activate. */ - APIKeyId?: string; - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyResponse */ - export interface DeactivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyRequest */ - export interface DeleteAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the entity API key to delete. */ - APIKeyId?: string; - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyResponse */ - export interface DeleteAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -130,37 +24,6 @@ declare module PlayFabAuthenticationModels { } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeyDetails */ - export interface GetAPIKeyDetails { - /** - * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or - * deactivate using the SetAPIActivation API.Deactivating a key is a way to verify that the key is not in use be before - * deleting it. - */ - Active: boolean; - /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ - APIKeyId?: string; - /** The time the API key was generated, in UTC. */ - Created: string; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysRequest */ - export interface GetAPIKeysRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysResponse */ - export interface GetAPIKeysResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The API keys associated with the given entity. */ - Keys?: GetAPIKeyDetails[]; - - } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 9d503e11..7ccbc3ff 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -92,7 +92,7 @@ declare module PlayFabClientModule { * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://docs.microsoft.com/en-us/gaming/playfab/features/social/groups/using-shared-group-data * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -210,7 +210,7 @@ declare module PlayFabClientModule { GetPaymentToken(request: PlayFabClientModels.GetPaymentTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See - * https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + * https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/photon/quickstart for more details. * https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 1d0fbf0b..55aa1d10 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -27,7 +27,7 @@ declare module PlayFabEventsModels { export interface EventContents { /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; - /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ + /** The namespace in which the event is defined. It must begin with 'com.playfab.events.' */ EventNamespace: string; /** The name of this event. */ Name: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 1379de7d..c70efd94 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -85,11 +85,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetMatch */ GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingQueue - */ - GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a matchmaking ticket by ticket Id. * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingTicket @@ -115,6 +110,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the quotas for a title in relation to multiplayer servers. + * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleMultiplayerServersQuotas + */ + GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Join a matchmaking ticket. * https://api.playfab.com/Documentation/Multiplayer/method/JoinMatchmakingTicket @@ -150,11 +150,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all matchmaking queue configs. - * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingQueues - */ - ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all matchmaking ticket Ids the user is a member of. * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingTicketsForPlayer @@ -175,11 +170,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Remove a matchmaking queue config. - * https://api.playfab.com/Documentation/Multiplayer/method/RemoveMatchmakingQueue - */ - RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client * to request a server with player entity token. @@ -191,11 +181,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Create or update a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Multiplayer/method/SetMatchmakingQueue - */ - SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer @@ -261,6 +246,12 @@ declare module PlayFabMultiplayerModels { | "ChinaEast2" | "ChinaNorth2"; + type AzureVmFamily = "A" + | "Av2" + | "Dv2" + | "F" + | "Fsv2"; + type AzureVmSize = "Standard_D1_v2" | "Standard_D2_v2" | "Standard_D3_v2" @@ -332,7 +323,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key of the player whose tickets should be canceled. */ Entity?: EntityKey; - /** The Id of the queue from which a player's tickets should be canceled. */ + /** The name of the queue from which a player's tickets should be canceled. */ QueueName: string; } @@ -348,7 +339,7 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the queue to join. */ + /** The name of the queue the ticket is in. */ QueueName: string; /** The Id of the ticket to find a match for. */ TicketId: string; @@ -403,14 +394,29 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CoreCapacity */ + export interface CoreCapacity { + /** The available core capacity for the (Region, VmFamily) */ + Available: number; + /** The AzureRegion */ + Region?: string; + /** The total core capacity for the (Region, VmFamily) */ + Total: number; + /** The AzureVmFamily */ + VmFamily?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ BuildName: string; /** The flavor of container to create a build from. */ ContainerFlavor?: string; + /** The container reference, consisting of the image name and tag. */ + ContainerImageReference?: ContainerImageReference; /** The name of the container repository. */ - ContainerRepositoryName: string; + ContainerRepositoryName?: string; /** The container command to run when the multiplayer server has been allocated, including any arguments. */ ContainerRunCommand?: string; /** The tag for the container. */ @@ -768,20 +774,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueRequest */ - export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to retrieve. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueResult */ - export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketRequest */ export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -789,7 +781,7 @@ declare module PlayFabMultiplayerModels { * object. */ EscapeObject: boolean; - /** The Id of the queue to find a match for. */ + /** The name of the queue to find a match for. */ QueueName: string; /** The Id of the ticket to find a match for. */ TicketId: string; @@ -833,7 +825,7 @@ declare module PlayFabMultiplayerModels { EscapeObject: boolean; /** The Id of a match. */ MatchId: string; - /** The Id of the queue to join. */ + /** The name of the queue to join. */ QueueName: string; /** Determines whether the matchmaking attributes for each user should be returned in the response for match request. */ ReturnMemberAttributes: boolean; @@ -943,11 +935,23 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasRequest */ + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasResponse */ + export interface GetTitleMultiplayerServersQuotasResponse extends PlayFabModule.IPlayFabResultCommon { + /** The various quotas for multiplayer servers for the title. */ + Quotas?: TitleMultiplayerServersQuotas; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ Member: MatchmakingPlayer; - /** The Id of the queue to join. */ + /** The name of the queue to join. */ QueueName: string; /** The Id of the ticket to find a match for. */ TicketId: string; @@ -1053,23 +1057,11 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesRequest */ - export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesResult */ - export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { - /** The list of matchmaking queue configs for this title. */ - MatchMakingQueues?: MatchmakingQueueConfig[]; - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerRequest */ export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; - /** The Id of the queue to find a match for. */ + /** The name of the queue to find a match for. */ QueueName: string; } @@ -1172,57 +1164,11 @@ declare module PlayFabMultiplayerModels { Attributes?: MatchmakingPlayerAttributes; /** The entity key of the matchmaking user. */ Entity: EntityKey; - /** The Id of the team the User has been assigned to by matchmaking. */ + /** The Id of the team the User is assigned to. */ TeamId?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueConfig */ - export interface MatchmakingQueueConfig { - /** This is the buildId that will be used to allocate the multiplayer server for the match. */ - BuildId?: string; - /** Maximum number of players in a match. */ - MaxMatchSize: number; - /** Minimum number of players in a match. */ - MinMatchSize: number; - /** Unique identifier for a Queue. Chosen by the developer. */ - Name: string; - /** List of rules used to find an optimal match. */ - Rules?: MatchmakingQueueRule[]; - /** Boolean flag to enable server allocation for the queue. */ - ServerAllocationEnabled: boolean; - /** Controls which statistics are visible to players. */ - StatisticsVisibilityToPlayers?: StatisticsVisibilityToPlayers; - /** The team configuration for a match. This may be null if there are no teams. */ - Teams?: MatchmakingQueueTeam[]; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueRule */ - export interface MatchmakingQueueRule { - /** Friendly name chosen by developer. */ - Name: string; - /** - * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be - * prioritized over those that don't). Leave blank if this rule is always enforced. - */ - SecondsUntilOptional?: number; - /** Type of rule being described. */ - Type: string; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueTeam */ - export interface MatchmakingQueueTeam { - /** The maximum number of players required for the team. */ - MaxTeamSize: number; - /** The minimum number of players required for the team. */ - MinTeamSize: number; - /** A name to identify the team. This is case insensitive. */ - Name: string; - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ @@ -1265,18 +1211,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueRequest */ - export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to remove. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueResult */ - export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to request. */ @@ -1342,34 +1276,14 @@ declare module PlayFabMultiplayerModels { } - type RuleType = "Unknown" - | "DifferenceRule" - | "StringEqualityRule" - | "MatchTotalRule" - | "SetIntersectionRule" - | "TeamSizeBalanceRule" - | "RegionSelectionRule" - | "TeamDifferenceRule" - | "TeamTicketSizeSimilarityRule"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ServerDetails */ export interface ServerDetails { /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ - IPV4Address: string; + IPV4Address?: string; /** The ports the multiplayer server uses. */ - Ports: Port[]; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueRequest */ - export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueResult */ - export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + Ports?: Port[]; + /** The server's region. */ + Region?: string; } @@ -1397,19 +1311,17 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.StatisticsVisibilityToPlayers */ - export interface StatisticsVisibilityToPlayers { - /** Whether to allow players to view the current number of players in the matchmaking queue. */ - ShowNumberOfPlayersMatching: boolean; - /** Whether to allow players to view statistics representing the time it takes for tickets to find a match. */ - ShowTimeToMatch: boolean; - - } - type TitleMultiplayerServerEnabledStatus = "Initializing" | "Enabled" | "Disabled"; + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.TitleMultiplayerServersQuotas */ + export interface TitleMultiplayerServersQuotas { + /** The core capacity for the various regions and VM Family */ + CoreCapacities?: CoreCapacity[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index be742500..bf257cd8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -99,6 +99,8 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { + /** Avatar URL for the entity. */ + AvatarUrl?: string; /** The creation time of this profile in UTC. */ Created: string; /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 347346a5..5d3b51dc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -15,6 +15,13 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/AddFriend */ AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab + * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as + * authentication credentials, as the intent is that it is easily accessible by other players. + * https://api.playfab.com/Documentation/Server/method/AddGenericID + */ + AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/AddPlayerTag @@ -70,6 +77,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/DeletePlayer */ DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes push notification template for title + * https://api.playfab.com/Documentation/Server/method/DeletePushNotificationTemplate + */ + DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: @@ -231,6 +243,13 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookInstantGamesIds */ GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the + * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was + * added to the player account. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromGenericIDs + */ + GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds @@ -361,6 +380,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the custom server identifier, generated by the title, to the user's PlayFab account. + * https://api.playfab.com/Documentation/Server/method/LinkServerCustomId + */ + LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://api.playfab.com/Documentation/Server/method/LinkXboxAccount @@ -429,6 +453,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RemoveFriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes the specified generic service identifier from the player's PlayFab account. + * https://api.playfab.com/Documentation/Server/method/RemoveGenericID + */ + RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag @@ -468,6 +497,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItems */ RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Saves push notification template for title + * https://api.playfab.com/Documentation/Server/method/SavePushNotificationTemplate + */ + SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template @@ -485,6 +519,12 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SendPushNotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push + * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + * https://api.playfab.com/Documentation/Server/method/SendPushNotificationFromTemplate + */ + SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the tag list for a specified user in the friend list of another user * https://api.playfab.com/Documentation/Server/method/SetFriendTags @@ -538,6 +578,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the custom server identifier from the user's PlayFab account. + * https://api.playfab.com/Documentation/Server/method/UnlinkServerCustomId + */ + UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://api.playfab.com/Documentation/Server/method/UnlinkXboxAccount @@ -710,6 +755,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddGenericIDRequest */ + export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Generic service identifier to add to the player account. */ + GenericId: GenericServiceId; + /** PlayFabId of the user to link. */ + PlayFabId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -1513,6 +1567,18 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateRequest */ + export interface DeletePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the push notification template to be deleted. */ + PushNotificationTemplateId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateResult */ + export interface DeletePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ @@ -1541,6 +1607,11 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -2125,6 +2196,30 @@ declare module PlayFabServerModels { | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" | "AutomationRuleNotFound" + | "EntityAPIKeyLimitExceeded" + | "EntityAPIKeyNotFound" + | "EntityAPIKeyOrSecretInvalid" + | "EconomyServiceUnavailable" + | "EconomyServiceInternalError" + | "KustoProxyQueryRateLimitExceeded" + | "EntityAPIKeyCreationDisabledForEntity" + | "StudioCreationRateLimited" + | "StudioCreationInProgress" + | "DuplicateStudioName" + | "StudioNotFound" + | "StudioDeletionInProgress" + | "StudioDeactivated" + | "TitleCreationRateLimited" + | "TitleCreationInProgress" + | "DuplicateTitleName" + | "TitleNotFound" + | "TitleDeletionInProgress" + | "TitleDeactivated" + | "TitleAlreadyActivated" + | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" + | "CloudScriptAzureFunctionsArgumentSizeExceeded" + | "CloudScriptAzureFunctionsReturnSizeExceeded" + | "CloudScriptAzureFunctionsHTTPRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2144,6 +2239,8 @@ declare module PlayFabServerModels { | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" | "MatchmakingQueueLimitExceeded" + | "MatchmakingRequestTypeMismatch" + | "MatchmakingBadRequest" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2156,18 +2253,8 @@ declare module PlayFabServerModels { | "CatalogItemIdInvalid" | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" - | "CatalogConfigMissing" - | "CatalogConfigTooManyContentTypes" - | "CatalogConfigContentTypeTooLong" - | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong" - | "CatalogConfigInvalidDeepLinkObject" - | "CatalogConfigInvalidDeepLinkPlatform" - | "CatalogConfigInvalidDeepLinkFormat" - | "CatalogConfigInvalidDisplayPropertyObject" - | "CatalogConfigInvalidDisplayPropertyName" - | "CatalogConfigInvalidDisplayPropertyType" - | "CatalogConfigDisplayPropertyMappingLimit" + | "CatalogConfigInvalid" + | "CatalogUnauthorized" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2178,10 +2265,31 @@ declare module PlayFabServerModels { | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionPartialErrorOnNewExport" | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" - | "ExportUnknownError"; + | "ExportUnknownError" + | "ExportCantEditPendingExport" + | "ExportLimitExports" + | "ExportLimitEvents"; + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ + export interface GenericPlayFabIdPair { + /** Unique generic service identifier for a user. */ + GenericId?: GenericServiceId; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. */ + PlayFabId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericServiceId */ + export interface GenericServiceId { + /** Name of the service for which the player has a unique identifier. */ + ServiceName: string; + /** Unique identifier of the player in that service. */ + UserId: string; + + } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2718,6 +2826,23 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsRequest */ + export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a + * maximum of 10 in a single request. + */ + GenericIDs: GenericServiceId[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsResult */ + export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of generic service identifiers to PlayFab identifiers. */ + Data?: GenericPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ @@ -3172,6 +3297,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdRequest */ + export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the custom ID, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab identifier. */ + PlayFabId: string; + /** Unique server custom identifier for this player. */ + ServerCustomId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdResult */ + export interface LinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountRequest */ export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3202,6 +3343,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocalizedPushNotificationProperties */ + export interface LocalizedPushNotificationProperties { + /** Message of the localized push notification template. */ + Message?: string; + /** Subject of the localized push notification template. */ + Subject?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ @@ -3781,6 +3931,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveGenericIDRequest */ + export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Generic service identifier to be removed from the player. */ + GenericId: GenericServiceId; + /** PlayFabId of the user to remove. */ + PlayFabId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3919,6 +4078,28 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateRequest */ + export interface SavePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Android JSON for the notification template. */ + AndroidPayload?: string; + /** Id of the push notification template. */ + Id?: string; + /** IOS JSON for the notification template. */ + IOSPayload?: string; + /** Dictionary of localized push notification templates. */ + LocalizedPushNotificationTemplates?: { [key: string]: LocalizedPushNotificationProperties }; + /** Name of the push notification template. */ + Name: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateResult */ + export interface SavePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { + /** Id of the push notification template that was saved. */ + PushNotificationTemplateId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** @@ -3963,6 +4144,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationFromTemplateRequest */ + export interface SendPushNotificationFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the push notification template. */ + PushNotificationTemplateId: string; + /** PlayFabId of the push notification recipient. */ + Recipient: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -4271,6 +4461,20 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdRequest */ + export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab identifier. */ + PlayFabId: string; + /** Unique server custom identifier for this player. */ + ServerCustomId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdResult */ + export interface UnlinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f3afde52..b4eaaf97 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c8c14132..3afaf35b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -249,22 +249,6 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, - ActivateKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/ActivateKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - CreateKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/CreateKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - DeactivateKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeactivateKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - DeleteKey: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/DeleteKey", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } @@ -277,10 +261,6 @@ PlayFab.AuthenticationApi = { }; return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, - - GetKeys: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/APIKey/GetKeys", request, "X-EntityToken", callback, customData, extraHeaders); - }, }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ee1315cb..e799c5e3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 116c8796..34bff9b7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7fb2ed1e..ddaecdfc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6adee23f..c0deb295 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3ae7052a..0fcfc1eb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 256b3230..b4e4ea00 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 55d99e17..b1a65172 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 4346a970..d0f8a1d0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -313,10 +313,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -337,6 +333,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); + }, + JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -365,10 +365,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", callback, customData, extraHeaders); }, - ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingQueues", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,10 +381,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, - RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); - }, - RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -397,10 +389,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, - SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5f412425..8f58db4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c7113ed2..53daaff3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.44.190424", + sdkVersion: "1.45.190509", requestGetParams: { - sdk: "JavaScriptSDK-1.44.190424" + sdk: "JavaScriptSDK-1.45.190509" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_1"; -PlayFab.sdkVersion = "1.44.190424"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.45.190509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, + AddGenericID: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddGenericID", request, "X-SecretKey", callback, customData, extraHeaders); + }, + AddPlayerTag: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -297,6 +301,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeletePushNotificationTemplate: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePushNotificationTemplate", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteSharedGroup: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -413,6 +421,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromGenericIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -513,6 +525,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, + LinkServerCustomId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -565,6 +581,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", callback, customData, extraHeaders); }, + RemoveGenericID: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveGenericID", request, "X-SecretKey", callback, customData, extraHeaders); + }, + RemovePlayerTag: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -593,6 +613,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + SavePushNotificationTemplate: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SavePushNotificationTemplate", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SendCustomAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -605,6 +629,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, + SendPushNotificationFromTemplate: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SendPushNotificationFromTemplate", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SetFriendTags: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -645,6 +673,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkServerCustomId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 47c34c45..084dadfd 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2191,6 +2191,27 @@ declare module PlayFabAdminModels { | "EntityAPIKeyLimitExceeded" | "EntityAPIKeyNotFound" | "EntityAPIKeyOrSecretInvalid" + | "EconomyServiceUnavailable" + | "EconomyServiceInternalError" + | "KustoProxyQueryRateLimitExceeded" + | "EntityAPIKeyCreationDisabledForEntity" + | "StudioCreationRateLimited" + | "StudioCreationInProgress" + | "DuplicateStudioName" + | "StudioNotFound" + | "StudioDeletionInProgress" + | "StudioDeactivated" + | "TitleCreationRateLimited" + | "TitleCreationInProgress" + | "DuplicateTitleName" + | "TitleNotFound" + | "TitleDeletionInProgress" + | "TitleDeactivated" + | "TitleAlreadyActivated" + | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" + | "CloudScriptAzureFunctionsArgumentSizeExceeded" + | "CloudScriptAzureFunctionsReturnSizeExceeded" + | "CloudScriptAzureFunctionsHTTPRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2210,6 +2231,8 @@ declare module PlayFabAdminModels { | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" | "MatchmakingQueueLimitExceeded" + | "MatchmakingRequestTypeMismatch" + | "MatchmakingBadRequest" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2223,6 +2246,7 @@ declare module PlayFabAdminModels { | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" + | "CatalogUnauthorized" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2233,7 +2257,7 @@ declare module PlayFabAdminModels { | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionPartialErrorOnNewExport" | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" | "ExportUnknownError" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 3ad83407..fc5d29b6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,123 +4,17 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; - /** - * Activates the given API key. Active keys may be used for authentication. - * https://api.playfab.com/Documentation/Authentication/method/ActivateKey - */ - ActivateKey(request: PlayFabAuthenticationModels.ActivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates an API key for the given entity. - * https://api.playfab.com/Documentation/Authentication/method/CreateKey - */ - CreateKey(request: PlayFabAuthenticationModels.CreateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deactivates the given API key, causing subsequent authentication attempts with it to fail.Deactivating a key is a way to - * verify that the key is not in use before deleting it. - * https://api.playfab.com/Documentation/Authentication/method/DeactivateKey - */ - DeactivateKey(request: PlayFabAuthenticationModels.DeactivateAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Deletes the given API key. - * https://api.playfab.com/Documentation/Authentication/method/DeleteKey - */ - DeleteKey(request: PlayFabAuthenticationModels.DeleteAPIKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the API keys associated with the given entity. - * https://api.playfab.com/Documentation/Authentication/method/GetKeys - */ - GetKeys(request: PlayFabAuthenticationModels.GetAPIKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabAuthenticationModels { - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyRequest */ - export interface ActivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the entity API key to activate. */ - APIKeyId?: string; - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ActivateAPIKeyResponse */ - export interface ActivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyDetails */ - export interface CreateAPIKeyDetails { - /** - * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or - * deactivate using the ActivateKey and DeactivateKey APIs.Deactivating a key is a way to verify that the key is not in use - * before deleting it. - */ - Active: boolean; - /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ - APIKeyId?: string; - /** - * Secret used to authenticate requests with the key. Set in the "X - EntityAPIKeyId" in authentication requests.The secret - * value is returned only once in this response and cannot be retrieved afterward, either via API or in Game Manager.API - * key secrets should be stored securely only on trusted servers and never distributed in code or configuration to - * untrusted clients. - */ - APIKeySecret?: string; - /** The time the API key was generated, in UTC. */ - Created: string; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyRequest */ - export interface CreateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.CreateAPIKeyResponse */ - export interface CreateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The created API key */ - Key?: CreateAPIKeyDetails; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyRequest */ - export interface DeactivateAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the entity API key to activate. */ - APIKeyId?: string; - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeactivateAPIKeyResponse */ - export interface DeactivateAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyRequest */ - export interface DeleteAPIKeyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier for the entity API key to delete. */ - APIKeyId?: string; - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.DeleteAPIKeyResponse */ - export interface DeleteAPIKeyResponse extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -130,37 +24,6 @@ declare module PlayFabAuthenticationModels { } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeyDetails */ - export interface GetAPIKeyDetails { - /** - * Whether the key is active for authentication. Inactive keys cannot be used to authenticate.Keys can be activated or - * deactivate using the SetAPIActivation API.Deactivating a key is a way to verify that the key is not in use be before - * deleting it. - */ - Active: boolean; - /** Unique identifier for the entity API key. Set in the "X - EntityAPIKeyId" in authentication requests. */ - APIKeyId?: string; - /** The time the API key was generated, in UTC. */ - Created: string; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysRequest */ - export interface GetAPIKeysRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The entity to perform this action on. */ - Entity?: EntityKey; - - } - - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetAPIKeysResponse */ - export interface GetAPIKeysResponse extends PlayFabModule.IPlayFabResultCommon { - /** The entity id and type. */ - Entity?: EntityKey; - /** The API keys associated with the given entity. */ - Keys?: GetAPIKeyDetails[]; - - } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 9d503e11..7ccbc3ff 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -92,7 +92,7 @@ declare module PlayFabClientModule { * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups + * https://docs.microsoft.com/en-us/gaming/playfab/features/social/groups/using-shared-group-data * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -210,7 +210,7 @@ declare module PlayFabClientModule { GetPaymentToken(request: PlayFabClientModels.GetPaymentTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See - * https://api.playfab.com/docs/using-photon-with-playfab/ for more details. + * https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/photon/quickstart for more details. * https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 1d0fbf0b..55aa1d10 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -27,7 +27,7 @@ declare module PlayFabEventsModels { export interface EventContents { /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; - /** The namespace in which the event is defined. It must be prepended with 'com.playfab.events.' */ + /** The namespace in which the event is defined. It must begin with 'com.playfab.events.' */ EventNamespace: string; /** The name of this event. */ Name: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 1379de7d..c70efd94 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -85,11 +85,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetMatch */ GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingQueue - */ - GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a matchmaking ticket by ticket Id. * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingTicket @@ -115,6 +110,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the quotas for a title in relation to multiplayer servers. + * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleMultiplayerServersQuotas + */ + GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Join a matchmaking ticket. * https://api.playfab.com/Documentation/Multiplayer/method/JoinMatchmakingTicket @@ -150,11 +150,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all matchmaking queue configs. - * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingQueues - */ - ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all matchmaking ticket Ids the user is a member of. * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingTicketsForPlayer @@ -175,11 +170,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Remove a matchmaking queue config. - * https://api.playfab.com/Documentation/Multiplayer/method/RemoveMatchmakingQueue - */ - RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client * to request a server with player entity token. @@ -191,11 +181,6 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Create or update a matchmaking queue configuration. - * https://api.playfab.com/Documentation/Multiplayer/method/SetMatchmakingQueue - */ - SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer @@ -261,6 +246,12 @@ declare module PlayFabMultiplayerModels { | "ChinaEast2" | "ChinaNorth2"; + type AzureVmFamily = "A" + | "Av2" + | "Dv2" + | "F" + | "Fsv2"; + type AzureVmSize = "Standard_D1_v2" | "Standard_D2_v2" | "Standard_D3_v2" @@ -332,7 +323,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key of the player whose tickets should be canceled. */ Entity?: EntityKey; - /** The Id of the queue from which a player's tickets should be canceled. */ + /** The name of the queue from which a player's tickets should be canceled. */ QueueName: string; } @@ -348,7 +339,7 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the queue to join. */ + /** The name of the queue the ticket is in. */ QueueName: string; /** The Id of the ticket to find a match for. */ TicketId: string; @@ -403,14 +394,29 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CoreCapacity */ + export interface CoreCapacity { + /** The available core capacity for the (Region, VmFamily) */ + Available: number; + /** The AzureRegion */ + Region?: string; + /** The total core capacity for the (Region, VmFamily) */ + Total: number; + /** The AzureVmFamily */ + VmFamily?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ BuildName: string; /** The flavor of container to create a build from. */ ContainerFlavor?: string; + /** The container reference, consisting of the image name and tag. */ + ContainerImageReference?: ContainerImageReference; /** The name of the container repository. */ - ContainerRepositoryName: string; + ContainerRepositoryName?: string; /** The container command to run when the multiplayer server has been allocated, including any arguments. */ ContainerRunCommand?: string; /** The tag for the container. */ @@ -768,20 +774,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueRequest */ - export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to retrieve. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingQueueResult */ - export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketRequest */ export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -789,7 +781,7 @@ declare module PlayFabMultiplayerModels { * object. */ EscapeObject: boolean; - /** The Id of the queue to find a match for. */ + /** The name of the queue to find a match for. */ QueueName: string; /** The Id of the ticket to find a match for. */ TicketId: string; @@ -833,7 +825,7 @@ declare module PlayFabMultiplayerModels { EscapeObject: boolean; /** The Id of a match. */ MatchId: string; - /** The Id of the queue to join. */ + /** The name of the queue to join. */ QueueName: string; /** Determines whether the matchmaking attributes for each user should be returned in the response for match request. */ ReturnMemberAttributes: boolean; @@ -943,11 +935,23 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasRequest */ + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasResponse */ + export interface GetTitleMultiplayerServersQuotasResponse extends PlayFabModule.IPlayFabResultCommon { + /** The various quotas for multiplayer servers for the title. */ + Quotas?: TitleMultiplayerServersQuotas; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ Member: MatchmakingPlayer; - /** The Id of the queue to join. */ + /** The name of the queue to join. */ QueueName: string; /** The Id of the ticket to find a match for. */ TicketId: string; @@ -1053,23 +1057,11 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesRequest */ - export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingQueuesResult */ - export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { - /** The list of matchmaking queue configs for this title. */ - MatchMakingQueues?: MatchmakingQueueConfig[]; - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerRequest */ export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; - /** The Id of the queue to find a match for. */ + /** The name of the queue to find a match for. */ QueueName: string; } @@ -1172,57 +1164,11 @@ declare module PlayFabMultiplayerModels { Attributes?: MatchmakingPlayerAttributes; /** The entity key of the matchmaking user. */ Entity: EntityKey; - /** The Id of the team the User has been assigned to by matchmaking. */ + /** The Id of the team the User is assigned to. */ TeamId?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueConfig */ - export interface MatchmakingQueueConfig { - /** This is the buildId that will be used to allocate the multiplayer server for the match. */ - BuildId?: string; - /** Maximum number of players in a match. */ - MaxMatchSize: number; - /** Minimum number of players in a match. */ - MinMatchSize: number; - /** Unique identifier for a Queue. Chosen by the developer. */ - Name: string; - /** List of rules used to find an optimal match. */ - Rules?: MatchmakingQueueRule[]; - /** Boolean flag to enable server allocation for the queue. */ - ServerAllocationEnabled: boolean; - /** Controls which statistics are visible to players. */ - StatisticsVisibilityToPlayers?: StatisticsVisibilityToPlayers; - /** The team configuration for a match. This may be null if there are no teams. */ - Teams?: MatchmakingQueueTeam[]; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueRule */ - export interface MatchmakingQueueRule { - /** Friendly name chosen by developer. */ - Name: string; - /** - * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be - * prioritized over those that don't). Leave blank if this rule is always enforced. - */ - SecondsUntilOptional?: number; - /** Type of rule being described. */ - Type: string; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingQueueTeam */ - export interface MatchmakingQueueTeam { - /** The maximum number of players required for the team. */ - MaxTeamSize: number; - /** The minimum number of players required for the team. */ - MinTeamSize: number; - /** A name to identify the team. This is case insensitive. */ - Name: string; - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ @@ -1265,18 +1211,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueRequest */ - export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the matchmaking queue to remove. */ - QueueName?: string; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RemoveMatchmakingQueueResult */ - export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { - - } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to request. */ @@ -1342,34 +1276,14 @@ declare module PlayFabMultiplayerModels { } - type RuleType = "Unknown" - | "DifferenceRule" - | "StringEqualityRule" - | "MatchTotalRule" - | "SetIntersectionRule" - | "TeamSizeBalanceRule" - | "RegionSelectionRule" - | "TeamDifferenceRule" - | "TeamTicketSizeSimilarityRule"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ServerDetails */ export interface ServerDetails { /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ - IPV4Address: string; + IPV4Address?: string; /** The ports the multiplayer server uses. */ - Ports: Port[]; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueRequest */ - export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; - - } - - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.SetMatchmakingQueueResult */ - export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + Ports?: Port[]; + /** The server's region. */ + Region?: string; } @@ -1397,19 +1311,17 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.StatisticsVisibilityToPlayers */ - export interface StatisticsVisibilityToPlayers { - /** Whether to allow players to view the current number of players in the matchmaking queue. */ - ShowNumberOfPlayersMatching: boolean; - /** Whether to allow players to view statistics representing the time it takes for tickets to find a match. */ - ShowTimeToMatch: boolean; - - } - type TitleMultiplayerServerEnabledStatus = "Initializing" | "Enabled" | "Disabled"; + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.TitleMultiplayerServersQuotas */ + export interface TitleMultiplayerServersQuotas { + /** The core capacity for the various regions and VM Family */ + CoreCapacities?: CoreCapacity[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index be742500..bf257cd8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -99,6 +99,8 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { + /** Avatar URL for the entity. */ + AvatarUrl?: string; /** The creation time of this profile in UTC. */ Created: string; /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 347346a5..5d3b51dc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -15,6 +15,13 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/AddFriend */ AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab + * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as + * authentication credentials, as the intent is that it is easily accessible by other players. + * https://api.playfab.com/Documentation/Server/method/AddGenericID + */ + AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/AddPlayerTag @@ -70,6 +77,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/DeletePlayer */ DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes push notification template for title + * https://api.playfab.com/Documentation/Server/method/DeletePushNotificationTemplate + */ + DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: @@ -231,6 +243,13 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookInstantGamesIds */ GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the + * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was + * added to the player account. + * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromGenericIDs + */ + GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds @@ -361,6 +380,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the custom server identifier, generated by the title, to the user's PlayFab account. + * https://api.playfab.com/Documentation/Server/method/LinkServerCustomId + */ + LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://api.playfab.com/Documentation/Server/method/LinkXboxAccount @@ -429,6 +453,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RemoveFriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes the specified generic service identifier from the player's PlayFab account. + * https://api.playfab.com/Documentation/Server/method/RemoveGenericID + */ + RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag @@ -468,6 +497,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItems */ RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Saves push notification template for title + * https://api.playfab.com/Documentation/Server/method/SavePushNotificationTemplate + */ + SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template @@ -485,6 +519,12 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SendPushNotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push + * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. + * https://api.playfab.com/Documentation/Server/method/SendPushNotificationFromTemplate + */ + SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the tag list for a specified user in the friend list of another user * https://api.playfab.com/Documentation/Server/method/SetFriendTags @@ -538,6 +578,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the custom server identifier from the user's PlayFab account. + * https://api.playfab.com/Documentation/Server/method/UnlinkServerCustomId + */ + UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://api.playfab.com/Documentation/Server/method/UnlinkXboxAccount @@ -710,6 +755,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddGenericIDRequest */ + export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Generic service identifier to add to the player account. */ + GenericId: GenericServiceId; + /** PlayFabId of the user to link. */ + PlayFabId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -1513,6 +1567,18 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateRequest */ + export interface DeletePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the push notification template to be deleted. */ + PushNotificationTemplateId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateResult */ + export interface DeletePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ @@ -1541,6 +1607,11 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ @@ -2125,6 +2196,30 @@ declare module PlayFabServerModels { | "WriteAttemptedDuringExport" | "MultiplayerServerTitleQuotaCoresExceeded" | "AutomationRuleNotFound" + | "EntityAPIKeyLimitExceeded" + | "EntityAPIKeyNotFound" + | "EntityAPIKeyOrSecretInvalid" + | "EconomyServiceUnavailable" + | "EconomyServiceInternalError" + | "KustoProxyQueryRateLimitExceeded" + | "EntityAPIKeyCreationDisabledForEntity" + | "StudioCreationRateLimited" + | "StudioCreationInProgress" + | "DuplicateStudioName" + | "StudioNotFound" + | "StudioDeletionInProgress" + | "StudioDeactivated" + | "TitleCreationRateLimited" + | "TitleCreationInProgress" + | "DuplicateTitleName" + | "TitleNotFound" + | "TitleDeletionInProgress" + | "TitleDeactivated" + | "TitleAlreadyActivated" + | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" + | "CloudScriptAzureFunctionsArgumentSizeExceeded" + | "CloudScriptAzureFunctionsReturnSizeExceeded" + | "CloudScriptAzureFunctionsHTTPRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2144,6 +2239,8 @@ declare module PlayFabServerModels { | "MatchmakingTicketMembershipLimitExceeded" | "MatchmakingUnauthorized" | "MatchmakingQueueLimitExceeded" + | "MatchmakingRequestTypeMismatch" + | "MatchmakingBadRequest" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" @@ -2156,18 +2253,8 @@ declare module PlayFabServerModels { | "CatalogItemIdInvalid" | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" - | "CatalogConfigMissing" - | "CatalogConfigTooManyContentTypes" - | "CatalogConfigContentTypeTooLong" - | "CatalogConfigTooManyTags" - | "CatalogConfigTagTooLong" - | "CatalogConfigInvalidDeepLinkObject" - | "CatalogConfigInvalidDeepLinkPlatform" - | "CatalogConfigInvalidDeepLinkFormat" - | "CatalogConfigInvalidDisplayPropertyObject" - | "CatalogConfigInvalidDisplayPropertyName" - | "CatalogConfigInvalidDisplayPropertyType" - | "CatalogConfigDisplayPropertyMappingLimit" + | "CatalogConfigInvalid" + | "CatalogUnauthorized" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2178,10 +2265,31 @@ declare module PlayFabServerModels { | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionNew_SomeResources" + | "ExportKustoExceptionPartialErrorOnNewExport" | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" - | "ExportUnknownError"; + | "ExportUnknownError" + | "ExportCantEditPendingExport" + | "ExportLimitExports" + | "ExportLimitEvents"; + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ + export interface GenericPlayFabIdPair { + /** Unique generic service identifier for a user. */ + GenericId?: GenericServiceId; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the given generic identifier. */ + PlayFabId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericServiceId */ + export interface GenericServiceId { + /** Name of the service for which the player has a unique identifier. */ + ServiceName: string; + /** Unique identifier of the player in that service. */ + UserId: string; + + } /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2718,6 +2826,23 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsRequest */ + export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a + * maximum of 10 in a single request. + */ + GenericIDs: GenericServiceId[]; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsResult */ + export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of generic service identifiers to PlayFab identifiers. */ + Data?: GenericPlayFabIdPair[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ @@ -3172,6 +3297,22 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdRequest */ + export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to the custom ID, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab identifier. */ + PlayFabId: string; + /** Unique server custom identifier for this player. */ + ServerCustomId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdResult */ + export interface LinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountRequest */ export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3202,6 +3343,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocalizedPushNotificationProperties */ + export interface LocalizedPushNotificationProperties { + /** Message of the localized push notification template. */ + Message?: string; + /** Subject of the localized push notification template. */ + Subject?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ @@ -3781,6 +3931,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveGenericIDRequest */ + export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Generic service identifier to be removed from the player. */ + GenericId: GenericServiceId; + /** PlayFabId of the user to remove. */ + PlayFabId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3919,6 +4078,28 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateRequest */ + export interface SavePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Android JSON for the notification template. */ + AndroidPayload?: string; + /** Id of the push notification template. */ + Id?: string; + /** IOS JSON for the notification template. */ + IOSPayload?: string; + /** Dictionary of localized push notification templates. */ + LocalizedPushNotificationTemplates?: { [key: string]: LocalizedPushNotificationProperties }; + /** Name of the push notification template. */ + Name: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateResult */ + export interface SavePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { + /** Id of the push notification template that was saved. */ + PushNotificationTemplateId?: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** @@ -3963,6 +4144,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationFromTemplateRequest */ + export interface SendPushNotificationFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the push notification template. */ + PushNotificationTemplateId: string; + /** PlayFabId of the push notification recipient. */ + Recipient: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** @@ -4271,6 +4461,20 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdRequest */ + export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab identifier. */ + PlayFabId: string; + /** Unique server custom identifier for this player. */ + ServerCustomId: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdResult */ + export interface UnlinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ From e10ea9dfd18c4d77c5cc2ec4de37b9bc40565167 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 20 May 2019 20:09:16 +0000 Subject: [PATCH 085/253] https://api.playfab.com/releaseNotes/#190520 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 3 ++- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 3 ++- 27 files changed, 77 insertions(+), 75 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 40278fb1..66554456 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.45.190509", + "version": "1.46.190520", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index b4eaaf97..800c5ea0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 3afaf35b..24f491e7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e799c5e3..2948aae7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 34bff9b7..5f9a7592 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index ddaecdfc..4962b0d4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c0deb295..2a0be79e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0fcfc1eb..792968e2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index b4e4ea00..be4d6513 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index b1a65172..19e6aecf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index d0f8a1d0..a93fd878 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 8f58db4c..6a29cca9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 53daaff3..de915aee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 084dadfd..61e66dda 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3801,7 +3801,8 @@ declare module PlayFabAdminModels { } type ScheduledTaskType = "CloudScript" - | "ActionsOnPlayerSegment"; + | "ActionsOnPlayerSegment" + | "CloudScriptAzureFunctions"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index b4eaaf97..800c5ea0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 3afaf35b..24f491e7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e799c5e3..2948aae7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 34bff9b7..5f9a7592 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index ddaecdfc..4962b0d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c0deb295..2a0be79e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0fcfc1eb..792968e2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index b4e4ea00..be4d6513 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index b1a65172..19e6aecf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index d0f8a1d0..a93fd878 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 8f58db4c..6a29cca9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 53daaff3..de915aee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.45.190509", + sdkVersion: "1.46.190520", requestGetParams: { - sdk: "JavaScriptSDK-1.45.190509" + sdk: "JavaScriptSDK-1.46.190520" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.45.190509"; +PlayFab.sdkVersion = "1.46.190520"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 084dadfd..61e66dda 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3801,7 +3801,8 @@ declare module PlayFabAdminModels { } type ScheduledTaskType = "CloudScript" - | "ActionsOnPlayerSegment"; + | "ActionsOnPlayerSegment" + | "CloudScriptAzureFunctions"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { From 0bd1cbf1b8c0733f86d9a02aa2b81bec4b0d881a Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 11 Jun 2019 17:47:50 +0000 Subject: [PATCH 086/253] https://api.playfab.com/releaseNotes/#190610 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 12 ++++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 12 +++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 38 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 6 ++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 12 +++--- .../src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 12 ++++-- .../src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 12 +++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 38 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 6 ++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 12 +++--- 35 files changed, 219 insertions(+), 123 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 66554456..3dabf701 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.46.190520", + "version": "1.47.190610", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 800c5ea0..fdd540ec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 24f491e7..31d9bafb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -261,6 +261,10 @@ PlayFab.AuthenticationApi = { }; return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, + + ValidateEntityToken: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/ValidateEntityToken", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 2948aae7..bc0c80fd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 5f9a7592..c7e5c644 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 4962b0d4..46502aa7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 2a0be79e..3b2db73f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 792968e2..2e79c245 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index be4d6513..d64fb78e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 19e6aecf..a679f607 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a93fd878..e491bf9d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 6a29cca9..9f6f5e06 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index de915aee..cb365330 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 61e66dda..3630ec42 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2193,21 +2193,22 @@ declare module PlayFabAdminModels { | "EntityAPIKeyOrSecretInvalid" | "EconomyServiceUnavailable" | "EconomyServiceInternalError" - | "KustoProxyQueryRateLimitExceeded" + | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" | "StudioNotFound" - | "StudioDeletionInProgress" + | "StudioDeleted" | "StudioDeactivated" + | "StudioActivated" | "TitleCreationRateLimited" | "TitleCreationInProgress" | "DuplicateTitleName" - | "TitleNotFound" - | "TitleDeletionInProgress" + | "TitleActivationRateLimited" + | "TitleActivationInProgress" | "TitleDeactivated" - | "TitleAlreadyActivated" + | "TitleActivated" | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" @@ -2247,6 +2248,7 @@ declare module PlayFabAdminModels { | "CatalogFeatureDisabled" | "CatalogConfigInvalid" | "CatalogUnauthorized" + | "CatalogItemTypeInvalid" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index fc5d29b6..df911701 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -10,6 +10,11 @@ declare module PlayFabAuthenticationModule { * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Method for a server to validate a client provided EntityToken. Only callable by the title entity. + * https://api.playfab.com/Documentation/Authentication/method/ValidateEntityToken + */ + ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -24,6 +29,23 @@ declare module PlayFabAuthenticationModels { } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityLineage */ + export interface EntityLineage { + /** The Character Id of the associated entity. */ + CharacterId?: string; + /** The Group Id of the associated entity. */ + GroupId?: string; + /** The Master Player Account Id of the associated entity. */ + MasterPlayerAccountId?: string; + /** The Namespace Id of the associated entity. */ + NamespaceId?: string; + /** The Title Id of the associated entity. */ + TitleId?: string; + /** The Title Player Account Id of the associated entity. */ + TitlePlayerAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -42,5 +64,21 @@ declare module PlayFabAuthenticationModels { } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenRequest */ + export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Client EntityToken */ + EntityToken: string; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenResponse */ + export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The lineage of this profile. */ + Lineage?: EntityLineage; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 7ccbc3ff..185e643f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -4911,7 +4911,7 @@ declare module PlayFabClientModels { export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** Statistics to be updated with the provided values. */ + /** Statistics to be updated with the provided values, in the Key(string), Value(int) pattern. */ CharacterStatistics?: { [key: string]: number }; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index c70efd94..2fba7cce 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -244,7 +244,8 @@ declare module PlayFabMultiplayerModels { | "WestEurope" | "WestUs" | "ChinaEast2" - | "ChinaNorth2"; + | "ChinaNorth2" + | "SouthAfricaNorth"; type AzureVmFamily = "A" | "Av2" @@ -335,7 +336,8 @@ declare module PlayFabMultiplayerModels { type CancellationReason = "Requested" | "Internal" - | "Timeout"; + | "Timeout" + | "ServerAllocationFailed"; /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 5d3b51dc..67635555 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2201,21 +2201,22 @@ declare module PlayFabServerModels { | "EntityAPIKeyOrSecretInvalid" | "EconomyServiceUnavailable" | "EconomyServiceInternalError" - | "KustoProxyQueryRateLimitExceeded" + | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" | "StudioNotFound" - | "StudioDeletionInProgress" + | "StudioDeleted" | "StudioDeactivated" + | "StudioActivated" | "TitleCreationRateLimited" | "TitleCreationInProgress" | "DuplicateTitleName" - | "TitleNotFound" - | "TitleDeletionInProgress" + | "TitleActivationRateLimited" + | "TitleActivationInProgress" | "TitleDeactivated" - | "TitleAlreadyActivated" + | "TitleActivated" | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" @@ -2255,6 +2256,7 @@ declare module PlayFabServerModels { | "CatalogFeatureDisabled" | "CatalogConfigInvalid" | "CatalogUnauthorized" + | "CatalogItemTypeInvalid" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 800c5ea0..fdd540ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 24f491e7..31d9bafb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -261,6 +261,10 @@ PlayFab.AuthenticationApi = { }; return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/GetEntityToken", request, authKey, overloadCallback, customData, extraHeaders); }, + + ValidateEntityToken: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/ValidateEntityToken", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 2948aae7..bc0c80fd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 5f9a7592..c7e5c644 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 4962b0d4..46502aa7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 2a0be79e..3b2db73f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 792968e2..2e79c245 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index be4d6513..d64fb78e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 19e6aecf..a679f607 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a93fd878..e491bf9d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 6a29cca9..9f6f5e06 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index de915aee..cb365330 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.46.190520", + sdkVersion: "1.47.190610", requestGetParams: { - sdk: "JavaScriptSDK-1.46.190520" + sdk: "JavaScriptSDK-1.47.190610" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.46.190520"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.47.190610"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 61e66dda..3630ec42 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2193,21 +2193,22 @@ declare module PlayFabAdminModels { | "EntityAPIKeyOrSecretInvalid" | "EconomyServiceUnavailable" | "EconomyServiceInternalError" - | "KustoProxyQueryRateLimitExceeded" + | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" | "StudioNotFound" - | "StudioDeletionInProgress" + | "StudioDeleted" | "StudioDeactivated" + | "StudioActivated" | "TitleCreationRateLimited" | "TitleCreationInProgress" | "DuplicateTitleName" - | "TitleNotFound" - | "TitleDeletionInProgress" + | "TitleActivationRateLimited" + | "TitleActivationInProgress" | "TitleDeactivated" - | "TitleAlreadyActivated" + | "TitleActivated" | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" @@ -2247,6 +2248,7 @@ declare module PlayFabAdminModels { | "CatalogFeatureDisabled" | "CatalogConfigInvalid" | "CatalogUnauthorized" + | "CatalogItemTypeInvalid" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index fc5d29b6..df911701 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -10,6 +10,11 @@ declare module PlayFabAuthenticationModule { * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Method for a server to validate a client provided EntityToken. Only callable by the title entity. + * https://api.playfab.com/Documentation/Authentication/method/ValidateEntityToken + */ + ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } @@ -24,6 +29,23 @@ declare module PlayFabAuthenticationModels { } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityLineage */ + export interface EntityLineage { + /** The Character Id of the associated entity. */ + CharacterId?: string; + /** The Group Id of the associated entity. */ + GroupId?: string; + /** The Master Player Account Id of the associated entity. */ + MasterPlayerAccountId?: string; + /** The Namespace Id of the associated entity. */ + NamespaceId?: string; + /** The Title Id of the associated entity. */ + TitleId?: string; + /** The Title Player Account Id of the associated entity. */ + TitlePlayerAccountId?: string; + + } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ @@ -42,5 +64,21 @@ declare module PlayFabAuthenticationModels { } + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenRequest */ + export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Client EntityToken */ + EntityToken: string; + + } + + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenResponse */ + export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + /** The lineage of this profile. */ + Lineage?: EntityLineage; + + } + } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 7ccbc3ff..185e643f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -4911,7 +4911,7 @@ declare module PlayFabClientModels { export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** Statistics to be updated with the provided values. */ + /** Statistics to be updated with the provided values, in the Key(string), Value(int) pattern. */ CharacterStatistics?: { [key: string]: number }; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index c70efd94..2fba7cce 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -244,7 +244,8 @@ declare module PlayFabMultiplayerModels { | "WestEurope" | "WestUs" | "ChinaEast2" - | "ChinaNorth2"; + | "ChinaNorth2" + | "SouthAfricaNorth"; type AzureVmFamily = "A" | "Av2" @@ -335,7 +336,8 @@ declare module PlayFabMultiplayerModels { type CancellationReason = "Requested" | "Internal" - | "Timeout"; + | "Timeout" + | "ServerAllocationFailed"; /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 5d3b51dc..67635555 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2201,21 +2201,22 @@ declare module PlayFabServerModels { | "EntityAPIKeyOrSecretInvalid" | "EconomyServiceUnavailable" | "EconomyServiceInternalError" - | "KustoProxyQueryRateLimitExceeded" + | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" | "StudioNotFound" - | "StudioDeletionInProgress" + | "StudioDeleted" | "StudioDeactivated" + | "StudioActivated" | "TitleCreationRateLimited" | "TitleCreationInProgress" | "DuplicateTitleName" - | "TitleNotFound" - | "TitleDeletionInProgress" + | "TitleActivationRateLimited" + | "TitleActivationInProgress" | "TitleDeactivated" - | "TitleAlreadyActivated" + | "TitleActivated" | "CloudScriptAzureFunctionsExecutionTimeLimitExceeded" | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" @@ -2255,6 +2256,7 @@ declare module PlayFabServerModels { | "CatalogFeatureDisabled" | "CatalogConfigInvalid" | "CatalogUnauthorized" + | "CatalogItemTypeInvalid" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" From 019338889844d5ce744ec5a8f8ffeff769014d7d Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 26 Jun 2019 00:13:21 +0000 Subject: [PATCH 087/253] https://api.playfab.com/releaseNotes/#190625 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 +++- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 +++- 29 files changed, 85 insertions(+), 77 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 3dabf701..17bfaee4 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.47.190610", + "version": "1.48.190625", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fdd540ec..738a36e5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 31d9bafb..463609c2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index bc0c80fd..2a1a7082 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index c7e5c644..7d91f3ba 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 46502aa7..28709de9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3b2db73f..a8401c19 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 2e79c245..a8f4938b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index d64fb78e..4c015ff4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index a679f607..d343ac8c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e491bf9d..47ebfa4c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 9f6f5e06..3e2045bf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index cb365330..5016a228 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3630ec42..dfeef2e4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2265,7 +2265,9 @@ declare module PlayFabAdminModels { | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" - | "ExportLimitEvents"; + | "ExportLimitEvents" + | "TitleNotEnabledForParty" + | "PartyVersionNotFound"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 67635555..ffd815f2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2273,7 +2273,9 @@ declare module PlayFabServerModels { | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" - | "ExportLimitEvents"; + | "ExportLimitEvents" + | "TitleNotEnabledForParty" + | "PartyVersionNotFound"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fdd540ec..738a36e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 31d9bafb..463609c2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index bc0c80fd..2a1a7082 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index c7e5c644..7d91f3ba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 46502aa7..28709de9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3b2db73f..a8401c19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 2e79c245..a8f4938b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index d64fb78e..4c015ff4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index a679f607..d343ac8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e491bf9d..47ebfa4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 9f6f5e06..3e2045bf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index cb365330..5016a228 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.47.190610", + sdkVersion: "1.48.190625", requestGetParams: { - sdk: "JavaScriptSDK-1.47.190610" + sdk: "JavaScriptSDK-1.48.190625" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.47.190610"; +PlayFab.sdkVersion = "1.48.190625"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3630ec42..dfeef2e4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2265,7 +2265,9 @@ declare module PlayFabAdminModels { | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" - | "ExportLimitEvents"; + | "ExportLimitEvents" + | "TitleNotEnabledForParty" + | "PartyVersionNotFound"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 67635555..ffd815f2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2273,7 +2273,9 @@ declare module PlayFabServerModels { | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" - | "ExportLimitEvents"; + | "ExportLimitEvents" + | "TitleNotEnabledForParty" + | "PartyVersionNotFound"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { From aef42eac61ce83cebf2e5599a5e8b25028cf3da6 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 17 Jul 2019 21:06:17 +0000 Subject: [PATCH 088/253] https://api.playfab.com/releaseNotes/#190717 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 12 ++++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 12 ++++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 29 +++++++++++++---- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 5 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 9 ++---- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 25 ++++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 31 ++++++++++++++----- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 12 ++++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 12 ++++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 29 +++++++++++++---- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 5 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 9 ++---- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 25 ++++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 31 ++++++++++++++----- 35 files changed, 271 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 17bfaee4..f018e047 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.48.190625", + "version": "1.49.190717", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 738a36e5..80f86c17 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 463609c2..2ecfc10e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 2a1a7082..458a59e0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 7d91f3ba..4f8e4c34 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 28709de9..23318654 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a8401c19..719bd2fa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -252,6 +252,10 @@ PlayFab.EventsApi = { WriteEvents: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", callback, customData, extraHeaders); }, + + WriteTelemetryEvents: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteTelemetryEvents", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabEventsSDK = PlayFab.EventsApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a8f4938b..091af230 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4c015ff4..55f5b9d8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index d343ac8c..78e789fa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 47ebfa4c..3227576d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3e2045bf..2ec771fd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -261,6 +261,10 @@ PlayFab.ProfilesApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetProfiles", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitlePlayersFromMasterPlayerAccountIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromMasterPlayerAccountIds", 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/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5016a228..16ec1a7a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index dfeef2e4..4b0e7b49 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2195,6 +2195,7 @@ declare module PlayFabAdminModels { | "EconomyServiceInternalError" | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" + | "ForbiddenByEntityPolicy" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -2213,6 +2214,14 @@ declare module PlayFabAdminModels { | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" | "CloudScriptAzureFunctionsHTTPRequestError" + | "VirtualCurrencyBetaGetError" + | "VirtualCurrencyBetaCreateError" + | "VirtualCurrencyBetaInitialDepositSaveError" + | "VirtualCurrencyBetaSaveError" + | "VirtualCurrencyBetaDeleteError" + | "VirtualCurrencyBetaRestoreError" + | "VirtualCurrencyBetaSaveConflict" + | "VirtualCurrencyBetaUpdateError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2252,22 +2261,30 @@ declare module PlayFabAdminModels { | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" - | "ExportEventNameNotFound" - | "ExportExportTitleIdNotFound" + | "ExportNotFound" | "ExportCouldNotUpdate" | "ExportInvalidStorageType" | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionPartialErrorOnNewExport" - | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" | "TitleNotEnabledForParty" - | "PartyVersionNotFound"; + | "PartyVersionNotFound" + | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "ExperimentationExperimentStopped" + | "ExperimentationExperimentRunning" + | "ExperimentationExperimentNotFound" + | "ExperimentationExperimentNeverStarted" + | "ExperimentationExperimentDeleted" + | "ExperimentationClientTimeout" + | "ExperimentationExceededVariantNameLength" + | "ExperimentationExceededMaxVariantLength" + | "ExperimentInvalidId" + | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3839,7 +3856,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret: string; + PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 55aa1d10..18de23b5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -9,6 +9,11 @@ declare module PlayFabEventsModule { * https://api.playfab.com/Documentation/Events/method/WriteEvents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Write batches of entity based events to as Telemetry events (bypass PlayStream). + * https://api.playfab.com/Documentation/Events/method/WriteTelemetryEvents + */ + WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 2fba7cce..4b089c7b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -336,8 +336,7 @@ declare module PlayFabMultiplayerModels { type CancellationReason = "Requested" | "Internal" - | "Timeout" - | "ServerAllocationFailed"; + | "Timeout"; /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -417,12 +416,8 @@ declare module PlayFabMultiplayerModels { ContainerFlavor?: string; /** The container reference, consisting of the image name and tag. */ ContainerImageReference?: ContainerImageReference; - /** The name of the container repository. */ - ContainerRepositoryName?: string; /** The container command to run when the multiplayer server has been allocated, including any arguments. */ ContainerRunCommand?: string; - /** The tag for the container. */ - ContainerTag?: string; /** The list of game assets related to the build. */ GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ @@ -794,6 +789,8 @@ declare module PlayFabMultiplayerModels { export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ CancellationReason?: string; + /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + CancellationReasonString?: string; /** The server date and time at which ticket was created. */ Created: string; /** The Creator's entity key. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index bf257cd8..ed49e0dc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -19,6 +19,11 @@ declare module PlayFabProfilesModule { * https://api.playfab.com/Documentation/Profiles/method/GetProfiles */ GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the title player accounts associated with the given master player account. + * https://api.playfab.com/Documentation/Profiles/method/GetTitlePlayersFromMasterPlayerAccountIds + */ + GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the global title access policy * https://api.playfab.com/Documentation/Profiles/method/SetGlobalPolicy @@ -116,6 +121,8 @@ declare module PlayFabProfilesModels { Files?: { [key: string]: EntityProfileFileMetadata }; /** The language on this profile. */ Language?: string; + /** Leaderboard metadata for the entity. */ + LeaderboardMetadata?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; /** The objects on this profile. */ @@ -224,6 +231,22 @@ declare module PlayFabProfilesModels { } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsRequest */ + export interface GetTitlePlayersFromMasterPlayerAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Master player account ids. */ + MasterPlayerAccountIds: string[]; + /** Id of title to get players from. */ + TitleId?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsResponse */ + export interface GetTitlePlayersFromMasterPlayerAccountIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Dictionary of master player ids mapped to title player entity keys and id pairs */ + TitlePlayerAccounts?: { [key: string]: EntityKey }; + + } + type OperationTypes = "Created" | "Updated" | "Deleted" @@ -265,7 +288,7 @@ declare module PlayFabProfilesModels { /** The entity to perform this action on. */ Entity?: EntityKey; /** The expected version of a profile to perform this update on */ - ExpectedVersion: number; + ExpectedVersion?: number; /** The language to set on the given entity. Deletes the profile's language if passed in a null string. */ Language?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ffd815f2..583a8e46 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2203,6 +2203,7 @@ declare module PlayFabServerModels { | "EconomyServiceInternalError" | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" + | "ForbiddenByEntityPolicy" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -2221,6 +2222,14 @@ declare module PlayFabServerModels { | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" | "CloudScriptAzureFunctionsHTTPRequestError" + | "VirtualCurrencyBetaGetError" + | "VirtualCurrencyBetaCreateError" + | "VirtualCurrencyBetaInitialDepositSaveError" + | "VirtualCurrencyBetaSaveError" + | "VirtualCurrencyBetaDeleteError" + | "VirtualCurrencyBetaRestoreError" + | "VirtualCurrencyBetaSaveConflict" + | "VirtualCurrencyBetaUpdateError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2260,22 +2269,30 @@ declare module PlayFabServerModels { | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" - | "ExportEventNameNotFound" - | "ExportExportTitleIdNotFound" + | "ExportNotFound" | "ExportCouldNotUpdate" | "ExportInvalidStorageType" | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionPartialErrorOnNewExport" - | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" | "TitleNotEnabledForParty" - | "PartyVersionNotFound"; + | "PartyVersionNotFound" + | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "ExperimentationExperimentStopped" + | "ExperimentationExperimentRunning" + | "ExperimentationExperimentNotFound" + | "ExperimentationExperimentNeverStarted" + | "ExperimentationExperimentDeleted" + | "ExperimentationClientTimeout" + | "ExperimentationExceededVariantNameLength" + | "ExperimentationExceededMaxVariantLength" + | "ExperimentInvalidId" + | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { @@ -4090,7 +4107,7 @@ declare module PlayFabServerModels { Id?: string; /** IOS JSON for the notification template. */ IOSPayload?: string; - /** Dictionary of localized push notification templates. */ + /** Dictionary of localized push notification templates with the language as the key. */ LocalizedPushNotificationTemplates?: { [key: string]: LocalizedPushNotificationProperties }; /** Name of the push notification template. */ Name: string; @@ -4275,7 +4292,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret: string; + PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 738a36e5..80f86c17 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 463609c2..2ecfc10e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 2a1a7082..458a59e0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 7d91f3ba..4f8e4c34 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 28709de9..23318654 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a8401c19..719bd2fa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -252,6 +252,10 @@ PlayFab.EventsApi = { WriteEvents: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", callback, customData, extraHeaders); }, + + WriteTelemetryEvents: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteTelemetryEvents", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabEventsSDK = PlayFab.EventsApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a8f4938b..091af230 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4c015ff4..55f5b9d8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index d343ac8c..78e789fa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 47ebfa4c..3227576d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3e2045bf..2ec771fd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -261,6 +261,10 @@ PlayFab.ProfilesApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetProfiles", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitlePlayersFromMasterPlayerAccountIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromMasterPlayerAccountIds", 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/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5016a228..16ec1a7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.48.190625", + sdkVersion: "1.49.190717", requestGetParams: { - sdk: "JavaScriptSDK-1.48.190625" + sdk: "JavaScriptSDK-1.49.190717" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.48.190625"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.49.190717"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index dfeef2e4..4b0e7b49 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2195,6 +2195,7 @@ declare module PlayFabAdminModels { | "EconomyServiceInternalError" | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" + | "ForbiddenByEntityPolicy" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -2213,6 +2214,14 @@ declare module PlayFabAdminModels { | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" | "CloudScriptAzureFunctionsHTTPRequestError" + | "VirtualCurrencyBetaGetError" + | "VirtualCurrencyBetaCreateError" + | "VirtualCurrencyBetaInitialDepositSaveError" + | "VirtualCurrencyBetaSaveError" + | "VirtualCurrencyBetaDeleteError" + | "VirtualCurrencyBetaRestoreError" + | "VirtualCurrencyBetaSaveConflict" + | "VirtualCurrencyBetaUpdateError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2252,22 +2261,30 @@ declare module PlayFabAdminModels { | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" - | "ExportEventNameNotFound" - | "ExportExportTitleIdNotFound" + | "ExportNotFound" | "ExportCouldNotUpdate" | "ExportInvalidStorageType" | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionPartialErrorOnNewExport" - | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" | "TitleNotEnabledForParty" - | "PartyVersionNotFound"; + | "PartyVersionNotFound" + | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "ExperimentationExperimentStopped" + | "ExperimentationExperimentRunning" + | "ExperimentationExperimentNotFound" + | "ExperimentationExperimentNeverStarted" + | "ExperimentationExperimentDeleted" + | "ExperimentationClientTimeout" + | "ExperimentationExceededVariantNameLength" + | "ExperimentationExceededMaxVariantLength" + | "ExperimentInvalidId" + | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3839,7 +3856,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret: string; + PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 55aa1d10..18de23b5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -9,6 +9,11 @@ declare module PlayFabEventsModule { * https://api.playfab.com/Documentation/Events/method/WriteEvents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Write batches of entity based events to as Telemetry events (bypass PlayStream). + * https://api.playfab.com/Documentation/Events/method/WriteTelemetryEvents + */ + WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 2fba7cce..4b089c7b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -336,8 +336,7 @@ declare module PlayFabMultiplayerModels { type CancellationReason = "Requested" | "Internal" - | "Timeout" - | "ServerAllocationFailed"; + | "Timeout"; /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -417,12 +416,8 @@ declare module PlayFabMultiplayerModels { ContainerFlavor?: string; /** The container reference, consisting of the image name and tag. */ ContainerImageReference?: ContainerImageReference; - /** The name of the container repository. */ - ContainerRepositoryName?: string; /** The container command to run when the multiplayer server has been allocated, including any arguments. */ ContainerRunCommand?: string; - /** The tag for the container. */ - ContainerTag?: string; /** The list of game assets related to the build. */ GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ @@ -794,6 +789,8 @@ declare module PlayFabMultiplayerModels { export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ CancellationReason?: string; + /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + CancellationReasonString?: string; /** The server date and time at which ticket was created. */ Created: string; /** The Creator's entity key. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index bf257cd8..ed49e0dc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -19,6 +19,11 @@ declare module PlayFabProfilesModule { * https://api.playfab.com/Documentation/Profiles/method/GetProfiles */ GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the title player accounts associated with the given master player account. + * https://api.playfab.com/Documentation/Profiles/method/GetTitlePlayersFromMasterPlayerAccountIds + */ + GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the global title access policy * https://api.playfab.com/Documentation/Profiles/method/SetGlobalPolicy @@ -116,6 +121,8 @@ declare module PlayFabProfilesModels { Files?: { [key: string]: EntityProfileFileMetadata }; /** The language on this profile. */ Language?: string; + /** Leaderboard metadata for the entity. */ + LeaderboardMetadata?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; /** The objects on this profile. */ @@ -224,6 +231,22 @@ declare module PlayFabProfilesModels { } + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsRequest */ + export interface GetTitlePlayersFromMasterPlayerAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Master player account ids. */ + MasterPlayerAccountIds: string[]; + /** Id of title to get players from. */ + TitleId?: string; + + } + + /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsResponse */ + export interface GetTitlePlayersFromMasterPlayerAccountIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Dictionary of master player ids mapped to title player entity keys and id pairs */ + TitlePlayerAccounts?: { [key: string]: EntityKey }; + + } + type OperationTypes = "Created" | "Updated" | "Deleted" @@ -265,7 +288,7 @@ declare module PlayFabProfilesModels { /** The entity to perform this action on. */ Entity?: EntityKey; /** The expected version of a profile to perform this update on */ - ExpectedVersion: number; + ExpectedVersion?: number; /** The language to set on the given entity. Deletes the profile's language if passed in a null string. */ Language?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ffd815f2..583a8e46 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2203,6 +2203,7 @@ declare module PlayFabServerModels { | "EconomyServiceInternalError" | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" + | "ForbiddenByEntityPolicy" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -2221,6 +2222,14 @@ declare module PlayFabServerModels { | "CloudScriptAzureFunctionsArgumentSizeExceeded" | "CloudScriptAzureFunctionsReturnSizeExceeded" | "CloudScriptAzureFunctionsHTTPRequestError" + | "VirtualCurrencyBetaGetError" + | "VirtualCurrencyBetaCreateError" + | "VirtualCurrencyBetaInitialDepositSaveError" + | "VirtualCurrencyBetaSaveError" + | "VirtualCurrencyBetaDeleteError" + | "VirtualCurrencyBetaRestoreError" + | "VirtualCurrencyBetaSaveConflict" + | "VirtualCurrencyBetaUpdateError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2260,22 +2269,30 @@ declare module PlayFabServerModels { | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" - | "ExportEventNameNotFound" - | "ExportExportTitleIdNotFound" + | "ExportNotFound" | "ExportCouldNotUpdate" | "ExportInvalidStorageType" | "ExportAmazonBucketDoesNotExist" | "ExportInvalidBlobStorage" | "ExportKustoException" - | "ExportKustoExceptionPartialErrorOnNewExport" - | "ExportKustoExceptionEdit" | "ExportKustoConnectionFailed" | "ExportUnknownError" | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" | "TitleNotEnabledForParty" - | "PartyVersionNotFound"; + | "PartyVersionNotFound" + | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "ExperimentationExperimentStopped" + | "ExperimentationExperimentRunning" + | "ExperimentationExperimentNotFound" + | "ExperimentationExperimentNeverStarted" + | "ExperimentationExperimentDeleted" + | "ExperimentationClientTimeout" + | "ExperimentationExceededVariantNameLength" + | "ExperimentationExceededMaxVariantLength" + | "ExperimentInvalidId" + | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { @@ -4090,7 +4107,7 @@ declare module PlayFabServerModels { Id?: string; /** IOS JSON for the notification template. */ IOSPayload?: string; - /** Dictionary of localized push notification templates. */ + /** Dictionary of localized push notification templates with the language as the key. */ LocalizedPushNotificationTemplates?: { [key: string]: LocalizedPushNotificationProperties }; /** Name of the push notification template. */ Name: string; @@ -4275,7 +4292,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret: string; + PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; From 8dcffd597cc41cdfb51568d37999e8d9763bc62f Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 22 Aug 2019 02:53:21 +0000 Subject: [PATCH 089/253] https://api.playfab.com/releaseNotes/#190821 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 8 +-- .../PlayFab/PlayFabAuthenticationApi.d.ts | 22 +++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 66 ++++++++++++++----- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 4 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 23 +++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 14 ++-- .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 8 +-- .../PlayFab/PlayFabAuthenticationApi.d.ts | 22 +++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 66 ++++++++++++++----- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 4 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 23 +++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 14 ++-- 37 files changed, 321 insertions(+), 155 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f018e047..405dfdcd 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.49.190717", + "version": "1.50.190821", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 80f86c17..79f668b4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2ecfc10e..ce7278f3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 458a59e0..a08fdf22 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 4f8e4c34..851e5fa0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 23318654..172a5c47 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 719bd2fa..1c4c11ee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 091af230..52f02001 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 55f5b9d8..7ad23670 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 78e789fa..eee929af 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3227576d..c51c901a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -373,6 +373,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListPartyQosServers: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListQosServers: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2ec771fd..29e02f68 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 16ec1a7a..b5be958b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 4b0e7b49..a168ddc9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2914,9 +2914,9 @@ declare module PlayFabAdminModels { RemainingUses?: number; /** Result of this operation. */ Result: boolean; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3021,9 +3021,9 @@ declare module PlayFabAdminModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index df911701..09ea4b7a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -64,6 +64,26 @@ declare module PlayFabAuthenticationModels { } + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames" + | "OpenIdConnect"; + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenRequest */ export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ @@ -75,6 +95,8 @@ declare module PlayFabAuthenticationModels { export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; + /** The identity provider for this entity, for the given login */ + IdentityProvider?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 185e643f..c0be6278 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1296,7 +1296,7 @@ declare module PlayFabClientModels { export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ CatalogVersion?: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -3025,9 +3025,9 @@ declare module PlayFabClientModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3304,7 +3304,7 @@ declare module PlayFabClientModels { export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -3744,7 +3744,7 @@ declare module PlayFabClientModels { * title has been selected. */ TitleId?: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken?: string; } @@ -4072,6 +4072,24 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseReceiptFulfillment */ + export interface PurchaseReceiptFulfillment { + /** Items granted to the player in fulfillment of the validated receipt. */ + FulfilledItems?: ItemInstance[]; + /** + * Source of the payment price information for the recorded purchase transaction. A value of 'Request' indicates that the + * price specified in the request was used, whereas a value of 'Catalog' indicates that the real-money price of the catalog + * item matching the product ID in the validated receipt transaction and the currency specified in the request (defaulting + * to USD) was used. + */ + RecordedPriceSource?: string; + /** Currency used to purchase the items (ISO 4217 currency code). */ + RecordedTransactionCurrency?: string; + /** Amount of the stated currency paid for the items, in centesimal units */ + RecordedTransactionTotal?: number; + + } + type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; @@ -4286,6 +4304,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version of the restored items. If null, defaults to primary catalog. */ + CatalogVersion?: string; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; @@ -4293,6 +4313,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } @@ -4815,7 +4837,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -5268,11 +5290,11 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; - /** Currency used for the purchase. */ + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** ReceiptId returned by the Amazon App Store in-app purchase API */ ReceiptId: string; @@ -5283,14 +5305,18 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Currency used for the purchase. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ + CatalogVersion?: string; + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice?: number; /** Original JSON string returned by the Google Play IAB API. */ ReceiptJson: string; @@ -5301,14 +5327,18 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Currency used for the purchase. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ + CatalogVersion?: string; + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; @@ -5317,16 +5347,18 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; - /** Currency used for the purchase. */ + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** XML Receipt returned by the Windows App Store in-app purchase API */ Receipt: string; @@ -5335,6 +5367,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index f5833cb4..58e165b2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -80,9 +80,9 @@ declare module PlayFabMatchmakerModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4b089c7b..e2f1462b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -160,6 +160,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers */ ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists quality of service servers for party. + * https://api.playfab.com/Documentation/Multiplayer/method/ListPartyQosServers + */ + ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers. * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers @@ -1096,6 +1101,24 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersRequest */ + export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Qos servers version */ + Version: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersResponse */ + export interface ListPartyQosServersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of QoS servers. */ + QosServers?: QosServer[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 583a8e46..70950ea8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3177,9 +3177,9 @@ declare module PlayFabServerModels { RemainingUses?: number; /** Result of this operation. */ Result: boolean; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3296,9 +3296,9 @@ declare module PlayFabServerModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3340,7 +3340,7 @@ declare module PlayFabServerModels { ForceLink?: boolean; /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -3427,7 +3427,7 @@ declare module PlayFabServerModels { CreateAccount?: boolean; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -4500,7 +4500,7 @@ declare module PlayFabServerModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 80f86c17..79f668b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2ecfc10e..ce7278f3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 458a59e0..a08fdf22 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 4f8e4c34..851e5fa0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 23318654..172a5c47 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 719bd2fa..1c4c11ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 091af230..52f02001 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 55f5b9d8..7ad23670 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 78e789fa..eee929af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3227576d..c51c901a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -373,6 +373,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListPartyQosServers: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListQosServers: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2ec771fd..29e02f68 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 16ec1a7a..b5be958b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.49.190717", + sdkVersion: "1.50.190821", requestGetParams: { - sdk: "JavaScriptSDK-1.49.190717" + sdk: "JavaScriptSDK-1.50.190821" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.49.190717"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.50.190821"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 4b0e7b49..a168ddc9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2914,9 +2914,9 @@ declare module PlayFabAdminModels { RemainingUses?: number; /** Result of this operation. */ Result: boolean; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3021,9 +3021,9 @@ declare module PlayFabAdminModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index df911701..09ea4b7a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -64,6 +64,26 @@ declare module PlayFabAuthenticationModels { } + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames" + | "OpenIdConnect"; + /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenRequest */ export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ @@ -75,6 +95,8 @@ declare module PlayFabAuthenticationModels { export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; + /** The identity provider for this entity, for the given login */ + IdentityProvider?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 185e643f..c0be6278 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1296,7 +1296,7 @@ declare module PlayFabClientModels { export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ CatalogVersion?: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -3025,9 +3025,9 @@ declare module PlayFabClientModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3304,7 +3304,7 @@ declare module PlayFabClientModels { export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -3744,7 +3744,7 @@ declare module PlayFabClientModels { * title has been selected. */ TitleId?: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken?: string; } @@ -4072,6 +4072,24 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseReceiptFulfillment */ + export interface PurchaseReceiptFulfillment { + /** Items granted to the player in fulfillment of the validated receipt. */ + FulfilledItems?: ItemInstance[]; + /** + * Source of the payment price information for the recorded purchase transaction. A value of 'Request' indicates that the + * price specified in the request was used, whereas a value of 'Catalog' indicates that the real-money price of the catalog + * item matching the product ID in the validated receipt transaction and the currency specified in the request (defaulting + * to USD) was used. + */ + RecordedPriceSource?: string; + /** Currency used to purchase the items (ISO 4217 currency code). */ + RecordedTransactionCurrency?: string; + /** Amount of the stated currency paid for the items, in centesimal units */ + RecordedTransactionTotal?: number; + + } + type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; @@ -4286,6 +4304,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version of the restored items. If null, defaults to primary catalog. */ + CatalogVersion?: string; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; @@ -4293,6 +4313,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } @@ -4815,7 +4837,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -5268,11 +5290,11 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; - /** Currency used for the purchase. */ + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** ReceiptId returned by the Amazon App Store in-app purchase API */ ReceiptId: string; @@ -5283,14 +5305,18 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Currency used for the purchase. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ + CatalogVersion?: string; + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice?: number; /** Original JSON string returned by the Google Play IAB API. */ ReceiptJson: string; @@ -5301,14 +5327,18 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Currency used for the purchase. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ + CatalogVersion?: string; + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; @@ -5317,16 +5347,18 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use when granting receipt item. If null, defaults to primary catalog. */ + /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; - /** Currency used for the purchase. */ + /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; - /** Amount of the stated currency paid for the object. */ + /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** XML Receipt returned by the Windows App Store in-app purchase API */ Receipt: string; @@ -5335,6 +5367,8 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { + /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ + Fulfillments?: PurchaseReceiptFulfillment[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index f5833cb4..58e165b2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -80,9 +80,9 @@ declare module PlayFabMatchmakerModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4b089c7b..e2f1462b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -160,6 +160,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers */ ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists quality of service servers for party. + * https://api.playfab.com/Documentation/Multiplayer/method/ListPartyQosServers + */ + ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers. * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers @@ -1096,6 +1101,24 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersRequest */ + export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Qos servers version */ + Version: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersResponse */ + export interface ListPartyQosServersResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of QoS servers. */ + QosServers?: QosServer[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 583a8e46..70950ea8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3177,9 +3177,9 @@ declare module PlayFabServerModels { RemainingUses?: number; /** Result of this operation. */ Result: boolean; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3296,9 +3296,9 @@ declare module PlayFabServerModels { PurchaseDate?: string; /** Total number of remaining uses, if this is a consumable item. */ RemainingUses?: number; - /** Currency type for the cost of the catalog item. */ + /** Currency type for the cost of the catalog item. Not available when granting items. */ UnitCurrency?: string; - /** Cost of the catalog item in the given currency. */ + /** Cost of the catalog item in the given currency. Not available when granting items. */ UnitPrice: number; /** The number of uses that were added or removed to this item in this call. */ UsesIncrementedBy?: number; @@ -3340,7 +3340,7 @@ declare module PlayFabServerModels { ForceLink?: boolean; /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -3427,7 +3427,7 @@ declare module PlayFabServerModels { CreateAccount?: boolean; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } @@ -4500,7 +4500,7 @@ declare module PlayFabServerModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */ + /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } From d7fbb5ae69367264f631faef0c0668b832972192 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 3 Sep 2019 23:37:11 +0000 Subject: [PATCH 090/253] https://api.playfab.com/releaseNotes/#190903 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 10 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 14 ++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 38 ++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 91 +++++++++++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 6 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 10 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 14 ++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 38 ++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 91 +++++++++++++++++++ 33 files changed, 361 insertions(+), 77 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 405dfdcd..f7e91e68 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.50.190821", + "version": "1.52.190903", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 79f668b4..8da1b667 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ce7278f3..5367d3c2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index a08fdf22..ab3f574f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 851e5fa0..f09c0549 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 172a5c47..5a682057 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1c4c11ee..fd8c659c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 52f02001..27cfbfee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7ad23670..e1ee080e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index eee929af..4d6d1b51 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index c51c901a..3745e260 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -381,6 +381,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, + ListQosServersForTitle: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 29e02f68..b03c0ddf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b5be958b..ff53b4a9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -457,6 +457,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSharedGroupData", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetStoreItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetTime: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTime", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -541,6 +545,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithXboxId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXboxId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + ModifyItemUses: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ModifyItemUses", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index a168ddc9..94bc8335 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2196,6 +2196,7 @@ declare module PlayFabAdminModels { | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "ForbiddenByEntityPolicy" + | "UpdateInventoryRateLimitExceeded" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -2733,7 +2734,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** catalog version to store items from. Use default catalog version if null */ + /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; /** Unqiue identifier for the store which is being requested. */ StoreId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index c0be6278..607d515b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2801,7 +2801,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** catalog version to store items from. Use default catalog version if null */ + /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; /** Unqiue identifier for the store which is being requested. */ StoreId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index e2f1462b..4dbd6d90 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -170,6 +170,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers */ ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists quality of service servers. + * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServersForTitle + */ + ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries @@ -484,6 +489,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The instrumentation configuration for the build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK). @@ -516,6 +523,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The instrumentation configuration for this build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ @@ -739,6 +748,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The instrumentation configuration of the build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata of the build. The keys are case insensitive. The build metadata is made available to the server through Game * Server SDK (GSDK). @@ -951,6 +962,17 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.InstrumentationConfiguration */ + export interface InstrumentationConfiguration { + /** + * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics + * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; + * then, ProcessesToMonitor = [ GameServer ] + */ + ProcessesToMonitor?: string[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ @@ -1119,6 +1141,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleRequest */ + export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleResponse */ + export interface ListQosServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of QoS servers. */ + QosServers?: QosServer[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 70950ea8..5fc03522 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -294,6 +294,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the set of items defined for the specified store, including all prices defined, for the specified player + * https://api.playfab.com/Documentation/Server/method/GetStoreItems + */ + GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current server time * https://api.playfab.com/Documentation/Server/method/GetTime @@ -402,6 +407,12 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/LoginWithXbox */ LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API + * calls which require an authenticated user + * https://api.playfab.com/Documentation/Server/method/LoginWithXboxId + */ + LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies the number of remaining uses of a player's inventory item * https://api.playfab.com/Documentation/Server/method/ModifyItemUses @@ -2204,6 +2215,7 @@ declare module PlayFabServerModels { | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "ForbiddenByEntityPolicy" + | "UpdateInventoryRateLimitExceeded" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -3008,6 +3020,35 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsResult */ + export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** The base catalog that this store is a part of. */ + CatalogVersion?: string; + /** Additional data about the store. */ + MarketingData?: StoreMarketingModel; + /** How the store was last updated (Admin or a third party). */ + Source?: string; + /** Array of items which can be purchased from this store. */ + Store?: StoreItem[]; + /** The ID of this store. */ + StoreId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsServerRequest */ + export interface GetStoreItemsServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to store items from. Use default catalog version if null */ + CatalogVersion?: string; + /** + * Optional identifier for the player to use in requesting the store information - if used, segment overrides will be + * applied + */ + PlayFabId?: string; + /** Unqiue identifier for the store which is being requested */ + StoreId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -3421,6 +3462,19 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxIdRequest */ + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** The id of Xbox Live sandbox. */ + Sandbox: string; + /** Unique Xbox identifier for a user */ + XboxId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxRequest */ export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -4350,6 +4404,14 @@ declare module PlayFabServerModels { } + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner" + | "Custom" + | "API"; + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ @@ -4404,6 +4466,35 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreItem */ + export interface StoreItem { + /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ + CustomData?: any; + /** Intended display position for this item. Note that 0 is the first position */ + DisplayPosition?: number; + /** + * Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the + * catalog + */ + ItemId: string; + /** Override prices for this item for specific currencies */ + RealCurrencyPrices?: { [key: string]: number }; + /** Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ + VirtualCurrencyPrices?: { [key: string]: number }; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreMarketingModel */ + export interface StoreMarketingModel { + /** Tagline for a store. */ + Description?: string; + /** Display name of a store as it will appear to users. */ + DisplayName?: string; + /** Custom data about a store. */ + Metadata?: any; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 79f668b4..8da1b667 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ce7278f3..5367d3c2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index a08fdf22..ab3f574f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 851e5fa0..f09c0549 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 172a5c47..5a682057 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1c4c11ee..fd8c659c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 52f02001..27cfbfee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7ad23670..e1ee080e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index eee929af..4d6d1b51 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index c51c901a..3745e260 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -381,6 +381,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, + ListQosServersForTitle: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 29e02f68..b03c0ddf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b5be958b..ff53b4a9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.50.190821", + sdkVersion: "1.52.190903", requestGetParams: { - sdk: "JavaScriptSDK-1.50.190821" + sdk: "JavaScriptSDK-1.52.190903" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.50.190821"; +PlayFab.sdkVersion = "1.52.190903"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -457,6 +457,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSharedGroupData", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetStoreItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetTime: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetTime", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -541,6 +545,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithXboxId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXboxId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + ModifyItemUses: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ModifyItemUses", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index a168ddc9..94bc8335 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2196,6 +2196,7 @@ declare module PlayFabAdminModels { | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "ForbiddenByEntityPolicy" + | "UpdateInventoryRateLimitExceeded" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -2733,7 +2734,7 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** catalog version to store items from. Use default catalog version if null */ + /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; /** Unqiue identifier for the store which is being requested. */ StoreId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index c0be6278..607d515b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2801,7 +2801,7 @@ declare module PlayFabClientModels { /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** catalog version to store items from. Use default catalog version if null */ + /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; /** Unqiue identifier for the store which is being requested. */ StoreId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index e2f1462b..4dbd6d90 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -170,6 +170,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers */ ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists quality of service servers. + * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServersForTitle + */ + ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries @@ -484,6 +489,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The instrumentation configuration for the build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK). @@ -516,6 +523,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The instrumentation configuration for this build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ @@ -739,6 +748,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The instrumentation configuration of the build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata of the build. The keys are case insensitive. The build metadata is made available to the server through Game * Server SDK (GSDK). @@ -951,6 +962,17 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.InstrumentationConfiguration */ + export interface InstrumentationConfiguration { + /** + * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics + * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; + * then, ProcessesToMonitor = [ GameServer ] + */ + ProcessesToMonitor?: string[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ @@ -1119,6 +1141,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleRequest */ + export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleResponse */ + export interface ListQosServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of QoS servers. */ + QosServers?: QosServer[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 70950ea8..5fc03522 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -294,6 +294,11 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the set of items defined for the specified store, including all prices defined, for the specified player + * https://api.playfab.com/Documentation/Server/method/GetStoreItems + */ + GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current server time * https://api.playfab.com/Documentation/Server/method/GetTime @@ -402,6 +407,12 @@ declare module PlayFabServerModule { * https://api.playfab.com/Documentation/Server/method/LoginWithXbox */ LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API + * calls which require an authenticated user + * https://api.playfab.com/Documentation/Server/method/LoginWithXboxId + */ + LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies the number of remaining uses of a player's inventory item * https://api.playfab.com/Documentation/Server/method/ModifyItemUses @@ -2204,6 +2215,7 @@ declare module PlayFabServerModels { | "QueryRateLimitExceeded" | "EntityAPIKeyCreationDisabledForEntity" | "ForbiddenByEntityPolicy" + | "UpdateInventoryRateLimitExceeded" | "StudioCreationRateLimited" | "StudioCreationInProgress" | "DuplicateStudioName" @@ -3008,6 +3020,35 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsResult */ + export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { + /** The base catalog that this store is a part of. */ + CatalogVersion?: string; + /** Additional data about the store. */ + MarketingData?: StoreMarketingModel; + /** How the store was last updated (Admin or a third party). */ + Source?: string; + /** Array of items which can be purchased from this store. */ + Store?: StoreItem[]; + /** The ID of this store. */ + StoreId?: string; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsServerRequest */ + export interface GetStoreItemsServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to store items from. Use default catalog version if null */ + CatalogVersion?: string; + /** + * Optional identifier for the player to use in requesting the store information - if used, segment overrides will be + * applied + */ + PlayFabId?: string; + /** Unqiue identifier for the store which is being requested */ + StoreId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -3421,6 +3462,19 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxIdRequest */ + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** The id of Xbox Live sandbox. */ + Sandbox: string; + /** Unique Xbox identifier for a user */ + XboxId: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxRequest */ export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -4350,6 +4404,14 @@ declare module PlayFabServerModels { } + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner" + | "Custom" + | "API"; + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ @@ -4404,6 +4466,35 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreItem */ + export interface StoreItem { + /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ + CustomData?: any; + /** Intended display position for this item. Note that 0 is the first position */ + DisplayPosition?: number; + /** + * Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the + * catalog + */ + ItemId: string; + /** Override prices for this item for specific currencies */ + RealCurrencyPrices?: { [key: string]: number }; + /** Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies) */ + VirtualCurrencyPrices?: { [key: string]: number }; + + } + + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreMarketingModel */ + export interface StoreMarketingModel { + /** Tagline for a store. */ + Description?: string; + /** Display name of a store as it will appear to users. */ + DisplayName?: string; + /** Custom data about a store. */ + Metadata?: any; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ From 985f8e999ca2ac03ac32d600b2a65275e611550b Mon Sep 17 00:00:00 2001 From: Paul Gilmore Date: Sat, 7 Sep 2019 22:12:04 -0700 Subject: [PATCH 091/253] genConfig.json --- genConfig.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 genConfig.json diff --git a/genConfig.json b/genConfig.json new file mode 100644 index 00000000..50a25fe7 --- /dev/null +++ b/genConfig.json @@ -0,0 +1,6 @@ +{ + "default": { + "templateFolder": "javascript", + "versionKey": "javascript" + } +} \ No newline at end of file From 1f8cdaa1c421250e8863d7d46185bc585e82fd64 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 17 Sep 2019 00:45:00 +0000 Subject: [PATCH 092/253] https://api.playfab.com/releaseNotes/#190916 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 10 +++++++++- .../src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 10 +++++++++- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 6 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 10 +++++++++- .../src/typings/PlayFab/PlayFabAuthenticationApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabCloudScriptApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 10 +++++++++- 45 files changed, 125 insertions(+), 93 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f7e91e68..20ef4bab 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.52.190903", + "version": "1.53.190916", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 8da1b667..324f8567 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 5367d3c2..29ec99ae 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ab3f574f..86c7f265 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index f09c0549..3120d664 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5a682057..ece50617 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index fd8c659c..cb2d1fbd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 27cfbfee..bbaacedd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e1ee080e..ef43b7e3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 4d6d1b51..ba5f53a3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3745e260..a6fd17c0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index b03c0ddf..3cb675f6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ff53b4a9..e2b1449e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 94bc8335..6bf685ca 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1672,7 +1672,7 @@ declare module PlayFabAdminModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } @@ -2223,6 +2223,13 @@ declare module PlayFabAdminModels { | "VirtualCurrencyBetaRestoreError" | "VirtualCurrencyBetaSaveConflict" | "VirtualCurrencyBetaUpdateError" + | "InsightsManagementDatabaseNotFound" + | "InsightsManagementOperationNotFound" + | "InsightsManagementErrorPendingOperationExists" + | "InsightsManagementSetPerformanceLevelInvalidParameter" + | "InsightsManagementSetStorageRetentionInvalidParameter" + | "InsightsManagementGetStorageUsageInvalidParameter" + | "InsightsManagementGetOperationStatusInvalidParameter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2285,6 +2292,7 @@ declare module PlayFabAdminModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "MaxActionDepthExceeded" | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 09ea4b7a..d8d117a3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -24,7 +24,7 @@ declare module PlayFabAuthenticationModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 607d515b..32268b9e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1812,7 +1812,7 @@ declare module PlayFabClientModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index f34cd74a..1ec1b764 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -23,7 +23,7 @@ declare module PlayFabCloudScriptModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index b9c637ea..dde0fb27 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -94,7 +94,7 @@ declare module PlayFabDataModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 18de23b5..d2b48551 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -23,7 +23,7 @@ declare module PlayFabEventsModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index a662b159..8c22690d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -300,7 +300,7 @@ declare module PlayFabGroupsModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4dbd6d90..4364c0f1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -665,7 +665,7 @@ declare module PlayFabMultiplayerModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index ed49e0dc..bf4da1dd 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -63,7 +63,7 @@ declare module PlayFabProfilesModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 5fc03522..c3e2fbc7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1627,7 +1627,7 @@ declare module PlayFabServerModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } @@ -2242,6 +2242,13 @@ declare module PlayFabServerModels { | "VirtualCurrencyBetaRestoreError" | "VirtualCurrencyBetaSaveConflict" | "VirtualCurrencyBetaUpdateError" + | "InsightsManagementDatabaseNotFound" + | "InsightsManagementOperationNotFound" + | "InsightsManagementErrorPendingOperationExists" + | "InsightsManagementSetPerformanceLevelInvalidParameter" + | "InsightsManagementSetStorageRetentionInvalidParameter" + | "InsightsManagementGetStorageUsageInvalidParameter" + | "InsightsManagementGetOperationStatusInvalidParameter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2304,6 +2311,7 @@ declare module PlayFabServerModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "MaxActionDepthExceeded" | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 8da1b667..324f8567 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 5367d3c2..29ec99ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ab3f574f..86c7f265 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index f09c0549..3120d664 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5a682057..ece50617 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index fd8c659c..cb2d1fbd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 27cfbfee..bbaacedd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e1ee080e..ef43b7e3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 4d6d1b51..ba5f53a3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3745e260..a6fd17c0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index b03c0ddf..3cb675f6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ff53b4a9..e2b1449e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.52.190903", + sdkVersion: "1.53.190916", requestGetParams: { - sdk: "JavaScriptSDK-1.52.190903" + sdk: "JavaScriptSDK-1.53.190916" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.52.190903"; +PlayFab.sdkVersion = "1.53.190916"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 94bc8335..6bf685ca 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1672,7 +1672,7 @@ declare module PlayFabAdminModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } @@ -2223,6 +2223,13 @@ declare module PlayFabAdminModels { | "VirtualCurrencyBetaRestoreError" | "VirtualCurrencyBetaSaveConflict" | "VirtualCurrencyBetaUpdateError" + | "InsightsManagementDatabaseNotFound" + | "InsightsManagementOperationNotFound" + | "InsightsManagementErrorPendingOperationExists" + | "InsightsManagementSetPerformanceLevelInvalidParameter" + | "InsightsManagementSetStorageRetentionInvalidParameter" + | "InsightsManagementGetStorageUsageInvalidParameter" + | "InsightsManagementGetOperationStatusInvalidParameter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2285,6 +2292,7 @@ declare module PlayFabAdminModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "MaxActionDepthExceeded" | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 09ea4b7a..d8d117a3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -24,7 +24,7 @@ declare module PlayFabAuthenticationModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 607d515b..32268b9e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1812,7 +1812,7 @@ declare module PlayFabClientModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index f34cd74a..1ec1b764 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -23,7 +23,7 @@ declare module PlayFabCloudScriptModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index b9c637ea..dde0fb27 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -94,7 +94,7 @@ declare module PlayFabDataModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 18de23b5..d2b48551 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -23,7 +23,7 @@ declare module PlayFabEventsModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index a662b159..8c22690d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -300,7 +300,7 @@ declare module PlayFabGroupsModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4dbd6d90..4364c0f1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -665,7 +665,7 @@ declare module PlayFabMultiplayerModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index ed49e0dc..bf4da1dd 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -63,7 +63,7 @@ declare module PlayFabProfilesModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 5fc03522..c3e2fbc7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1627,7 +1627,7 @@ declare module PlayFabServerModels { export interface EntityKey { /** Unique ID of the entity. */ Id: string; - /** Entity type. See https://api.playfab.com/docs/tutorials/entities/entitytypes */ + /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */ Type?: string; } @@ -2242,6 +2242,13 @@ declare module PlayFabServerModels { | "VirtualCurrencyBetaRestoreError" | "VirtualCurrencyBetaSaveConflict" | "VirtualCurrencyBetaUpdateError" + | "InsightsManagementDatabaseNotFound" + | "InsightsManagementOperationNotFound" + | "InsightsManagementErrorPendingOperationExists" + | "InsightsManagementSetPerformanceLevelInvalidParameter" + | "InsightsManagementSetStorageRetentionInvalidParameter" + | "InsightsManagementGetStorageUsageInvalidParameter" + | "InsightsManagementGetOperationStatusInvalidParameter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2304,6 +2311,7 @@ declare module PlayFabServerModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "MaxActionDepthExceeded" | "SnapshotNotFound"; /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ From 88ad6b46556124e3deabce2710cd742cb81c6dca Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 1 Oct 2019 23:34:24 +0000 Subject: [PATCH 093/253] https://api.playfab.com/releaseNotes/#191001 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 15 ++++++++++++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++- .../src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 5 ++++- .../Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 9 +++++---- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 10 ++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 15 ++++++++++++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++- .../src/typings/PlayFab/PlayFabMatchmakerApi.d.ts | 5 ++++- .../typings/PlayFab/PlayFabMultiplayerApi.d.ts | 9 +++++---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 10 ++++++++-- 35 files changed, 163 insertions(+), 119 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 20ef4bab..0a80a9a3 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.53.190916", + "version": "1.54.191001", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 324f8567..06e41c22 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 29ec99ae..e7e34d31 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 86c7f265..97a30ca6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 3120d664..ce3f7984 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index ece50617..c406da08 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index cb2d1fbd..eca42595 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index bbaacedd..76bcc2e5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ef43b7e3..9d57a60b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ba5f53a3..2f6c84db 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a6fd17c0..eb01a842 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3cb675f6..e371ca81 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index e2b1449e..c208e2a4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 6bf685ca..051b29ce 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2430,7 +2430,10 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { - /** The URL where the requested report can be downloaded. */ + /** + * The URL where the requested report can be downloaded. This can be any PlayFab generated reports. The full list of + * reports can be found at: https://docs.microsoft.com/en-us/gaming/playfab/features/analytics/reports/quickstart. + */ DownloadUrl?: string; } @@ -2903,7 +2906,10 @@ declare module PlayFabAdminModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; @@ -3014,7 +3020,10 @@ declare module PlayFabAdminModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 32268b9e..044f707a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3009,7 +3009,10 @@ declare module PlayFabClientModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 58e165b2..19c94c15 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -64,7 +64,10 @@ declare module PlayFabMatchmakerModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4364c0f1..f5b2f2be 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -131,7 +131,8 @@ declare module PlayFabMultiplayerModule { */ ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Lists summarized details of all multiplayer server builds for a title. + * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client + * access is enabled, allows game client to request list of builds with player entity token. * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildSummaries */ ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -181,7 +182,7 @@ declare module PlayFabMultiplayerModule { */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client + * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. * https://api.playfab.com/Documentation/Multiplayer/method/RequestMultiplayerServer */ @@ -434,7 +435,7 @@ declare module PlayFabMultiplayerModels { GameCertificateReferences?: GameCertificateReferenceParams[]; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through - * Game Server SDK (GSDK). + * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ @@ -493,7 +494,7 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through - * Game Server SDK (GSDK). + * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index c3e2fbc7..f4e78f58 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3206,7 +3206,10 @@ declare module PlayFabServerModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; @@ -3329,7 +3332,10 @@ declare module PlayFabServerModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 324f8567..06e41c22 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 29ec99ae..e7e34d31 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 86c7f265..97a30ca6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 3120d664..ce3f7984 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index ece50617..c406da08 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index cb2d1fbd..eca42595 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index bbaacedd..76bcc2e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ef43b7e3..9d57a60b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ba5f53a3..2f6c84db 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a6fd17c0..eb01a842 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3cb675f6..e371ca81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index e2b1449e..c208e2a4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.53.190916", + sdkVersion: "1.54.191001", requestGetParams: { - sdk: "JavaScriptSDK-1.53.190916" + sdk: "JavaScriptSDK-1.54.191001" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.53.190916"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.54.191001"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 6bf685ca..051b29ce 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2430,7 +2430,10 @@ declare module PlayFabAdminModels { /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { - /** The URL where the requested report can be downloaded. */ + /** + * The URL where the requested report can be downloaded. This can be any PlayFab generated reports. The full list of + * reports can be found at: https://docs.microsoft.com/en-us/gaming/playfab/features/analytics/reports/quickstart. + */ DownloadUrl?: string; } @@ -2903,7 +2906,10 @@ declare module PlayFabAdminModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; @@ -3014,7 +3020,10 @@ declare module PlayFabAdminModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 32268b9e..044f707a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3009,7 +3009,10 @@ declare module PlayFabClientModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 58e165b2..19c94c15 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -64,7 +64,10 @@ declare module PlayFabMatchmakerModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4364c0f1..f5b2f2be 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -131,7 +131,8 @@ declare module PlayFabMultiplayerModule { */ ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Lists summarized details of all multiplayer server builds for a title. + * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client + * access is enabled, allows game client to request list of builds with player entity token. * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildSummaries */ ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -181,7 +182,7 @@ declare module PlayFabMultiplayerModule { */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Request a multiplayer server session. Accepts tokens for title and if game client accesss is enabled, allows game client + * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. * https://api.playfab.com/Documentation/Multiplayer/method/RequestMultiplayerServer */ @@ -434,7 +435,7 @@ declare module PlayFabMultiplayerModels { GameCertificateReferences?: GameCertificateReferenceParams[]; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through - * Game Server SDK (GSDK). + * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ @@ -493,7 +494,7 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through - * Game Server SDK (GSDK). + * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index c3e2fbc7..f4e78f58 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3206,7 +3206,10 @@ declare module PlayFabServerModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; @@ -3329,7 +3332,10 @@ declare module PlayFabServerModels { BundleParent?: string; /** Catalog version for the inventory item, when this instance was created. */ CatalogVersion?: string; - /** A set of custom key-value pairs on the inventory item. */ + /** + * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog + * item's custom data. + */ CustomData?: { [key: string]: string | null }; /** CatalogItem.DisplayName at the time this item was purchased. */ DisplayName?: string; From e2a5060a5801ac78731a7b7217529f7666be8773 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 15 Oct 2019 22:41:25 +0000 Subject: [PATCH 094/253] https://api.playfab.com/releaseNotes/#191015 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 ++++- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 7 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 105 +++++++++++++++++- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 ++++- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 7 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 105 +++++++++++++++++- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 + 35 files changed, 365 insertions(+), 105 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0a80a9a3..a512d404 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.54.191001", + "version": "1.55.191015", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 06e41c22..81ebe136 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e7e34d31..854caa6c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 97a30ca6..1f50cb3b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ce3f7984..023c06d4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index c406da08..54ef6dcc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index eca42595..6e303e91 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 76bcc2e5..f4bcfff5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 9d57a60b..5b44043c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 2f6c84db..be0e6c33 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index eb01a842..3f738f12 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateBuildWithCustomContainer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -285,6 +289,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -305,6 +313,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -349,6 +361,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListBuildAliases: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildAliases", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListBuildSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -401,6 +417,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index e371ca81..76fb2b99 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c208e2a4..178ffcb7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 051b29ce..b05a3b5a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3372,6 +3372,8 @@ declare module PlayFabAdminModels { 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 */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index d2b48551..ce748d64 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -5,12 +5,13 @@ declare module PlayFabEventsModule { ForgetAllCredentials(): void; /** - * Write batches of entity based events to PlayStream. + * Write batches of entity based events to PlayStream. The namespace of the Event must start with 'com.playfab.events.' * https://api.playfab.com/Documentation/Events/method/WriteEvents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Write batches of entity based events to as Telemetry events (bypass PlayStream). + * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start + * with 'custom.' * https://api.playfab.com/Documentation/Events/method/WriteTelemetryEvents */ WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -32,7 +33,7 @@ declare module PlayFabEventsModels { export interface EventContents { /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; - /** The namespace in which the event is defined. It must begin with 'com.playfab.events.' */ + /** The namespace in which the event is defined. Allowed namespaces can vary by API. */ EventNamespace: string; /** The name of this event. */ Name: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index f5b2f2be..5f51c93d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -14,6 +14,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/CancelMatchmakingTicket */ CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildAlias + */ + CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a custom container. * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer @@ -50,6 +55,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuild */ DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuildAlias + */ + DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game certificate. * https://api.playfab.com/Documentation/Multiplayer/method/DeleteCertificate @@ -75,6 +85,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetBuild */ GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/GetBuildAlias + */ + GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the credentials to the container registry. * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials @@ -130,6 +145,12 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries */ ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists details of all build aliases for a title. Accepts tokens for title and if game client access is enabled, allows + * game client to request list of builds with player entity token. + * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildAliases + */ + ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -197,6 +218,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildAlias + */ + UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's regions. * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildRegions @@ -287,6 +313,28 @@ declare module PlayFabMultiplayerModels { | "Standard_A3" | "Standard_A4"; + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasDetailsResponse */ + export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string alias Id of the alias to be created or updated. */ + AliasId?: string; + /** The alias name. */ + AliasName?: string; + /** Array of build selection criteria. */ + BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasParams */ + export interface BuildAliasParams { + /** The guid string alias ID to use for the request. */ + AliasId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { /** The current multiplayer server stats for the region. */ @@ -316,6 +364,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSelectionCriterion */ + export interface BuildSelectionCriterion { + /** Dictionary of build ids and their respective weights for distribution of allocation requests. */ + BuildWeightDistribution?: { [key: string]: number }; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSummary */ export interface BuildSummary { /** The guid string build ID of the build. */ @@ -419,6 +474,15 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildAliasRequest */ + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The alias name. */ + AliasName: string; + /** Array of build selection criteria. */ + BuildSelectionCriteria?: BuildSelectionCriterion[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ @@ -618,6 +682,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildAliasRequest */ + export interface DeleteBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string alias ID of the alias to perform the action on. */ + AliasId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildRequest */ export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ @@ -719,6 +790,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildAliasRequest */ + export interface GetBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string alias ID of the alias to perform the action on. */ + AliasId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildRequest */ export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to get. */ @@ -1010,6 +1088,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildAliasesForTitleResponse */ + export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of build aliases for the title */ + BuildAliases?: BuildAliasDetailsResponse[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesRequest */ export interface ListBuildSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ @@ -1230,6 +1315,11 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerEmptyRequest */ + export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ @@ -1274,8 +1364,10 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifiers of the build alias to use for the request. */ + BuildAliasParams?: BuildAliasParams; /** The guid string build ID of the multiplayer server to request. */ - BuildId: string; + BuildId?: string; /** * Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server * when requested (via GSDK) and can be used to validate players connecting to it. @@ -1383,6 +1475,17 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildAliasRequest */ + export interface UpdateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string alias Id of the alias to be updated. */ + AliasId: string; + /** The alias name. */ + AliasName?: string; + /** Array of build selection criteria. */ + BuildSelectionCriteria?: BuildSelectionCriterion[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index bf4da1dd..b323c26b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -117,6 +117,8 @@ declare module PlayFabProfilesModels { Entity?: EntityKey; /** The chain of responsibility for this entity. Use Lineage. */ EntityChain?: string; + /** The experiment variants of this profile. */ + ExperimentVariants?: string[]; /** The files on this profile. */ Files?: { [key: string]: EntityProfileFileMetadata }; /** The language on this profile. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f4e78f58..26df562c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3718,6 +3718,8 @@ declare module PlayFabServerModels { 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 */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 06e41c22..81ebe136 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e7e34d31..854caa6c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 97a30ca6..1f50cb3b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ce3f7984..023c06d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index c406da08..54ef6dcc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index eca42595..6e303e91 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 76bcc2e5..f4bcfff5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 9d57a60b..5b44043c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 2f6c84db..be0e6c33 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index eb01a842..3f738f12 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateBuildWithCustomContainer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithCustomContainer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -285,6 +289,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -305,6 +313,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetBuild", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetContainerRegistryCredentials: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -349,6 +361,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListAssetSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListBuildAliases: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildAliases", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListBuildSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -401,6 +417,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildAlias: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index e371ca81..76fb2b99 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c208e2a4..178ffcb7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.54.191001", + sdkVersion: "1.55.191015", requestGetParams: { - sdk: "JavaScriptSDK-1.54.191001" + sdk: "JavaScriptSDK-1.55.191015" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.54.191001"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; +PlayFab.sdkVersion = "1.55.191015"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 051b29ce..b05a3b5a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3372,6 +3372,8 @@ declare module PlayFabAdminModels { 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 */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index d2b48551..ce748d64 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -5,12 +5,13 @@ declare module PlayFabEventsModule { ForgetAllCredentials(): void; /** - * Write batches of entity based events to PlayStream. + * Write batches of entity based events to PlayStream. The namespace of the Event must start with 'com.playfab.events.' * https://api.playfab.com/Documentation/Events/method/WriteEvents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Write batches of entity based events to as Telemetry events (bypass PlayStream). + * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start + * with 'custom.' * https://api.playfab.com/Documentation/Events/method/WriteTelemetryEvents */ WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -32,7 +33,7 @@ declare module PlayFabEventsModels { export interface EventContents { /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; - /** The namespace in which the event is defined. It must begin with 'com.playfab.events.' */ + /** The namespace in which the event is defined. Allowed namespaces can vary by API. */ EventNamespace: string; /** The name of this event. */ Name: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index f5b2f2be..5f51c93d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -14,6 +14,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/CancelMatchmakingTicket */ CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildAlias + */ + CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a custom container. * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer @@ -50,6 +55,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuild */ DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuildAlias + */ + DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game certificate. * https://api.playfab.com/Documentation/Multiplayer/method/DeleteCertificate @@ -75,6 +85,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetBuild */ GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/GetBuildAlias + */ + GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the credentials to the container registry. * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials @@ -130,6 +145,12 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries */ ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists details of all build aliases for a title. Accepts tokens for title and if game client access is enabled, allows + * game client to request list of builds with player entity token. + * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildAliases + */ + ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -197,6 +218,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build alias. + * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildAlias + */ + UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's regions. * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildRegions @@ -287,6 +313,28 @@ declare module PlayFabMultiplayerModels { | "Standard_A3" | "Standard_A4"; + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasDetailsResponse */ + export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The guid string alias Id of the alias to be created or updated. */ + AliasId?: string; + /** The alias name. */ + AliasName?: string; + /** Array of build selection criteria. */ + BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasParams */ + export interface BuildAliasParams { + /** The guid string alias ID to use for the request. */ + AliasId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { /** The current multiplayer server stats for the region. */ @@ -316,6 +364,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSelectionCriterion */ + export interface BuildSelectionCriterion { + /** Dictionary of build ids and their respective weights for distribution of allocation requests. */ + BuildWeightDistribution?: { [key: string]: number }; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSummary */ export interface BuildSummary { /** The guid string build ID of the build. */ @@ -419,6 +474,15 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildAliasRequest */ + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The alias name. */ + AliasName: string; + /** Array of build selection criteria. */ + BuildSelectionCriteria?: BuildSelectionCriterion[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ @@ -618,6 +682,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildAliasRequest */ + export interface DeleteBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string alias ID of the alias to perform the action on. */ + AliasId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildRequest */ export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ @@ -719,6 +790,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildAliasRequest */ + export interface GetBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string alias ID of the alias to perform the action on. */ + AliasId: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildRequest */ export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to get. */ @@ -1010,6 +1088,13 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildAliasesForTitleResponse */ + export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of build aliases for the title */ + BuildAliases?: BuildAliasDetailsResponse[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesRequest */ export interface ListBuildSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ @@ -1230,6 +1315,11 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerEmptyRequest */ + export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ @@ -1274,8 +1364,10 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The identifiers of the build alias to use for the request. */ + BuildAliasParams?: BuildAliasParams; /** The guid string build ID of the multiplayer server to request. */ - BuildId: string; + BuildId?: string; /** * Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server * when requested (via GSDK) and can be used to validate players connecting to it. @@ -1383,6 +1475,17 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildAliasRequest */ + export interface UpdateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string alias Id of the alias to be updated. */ + AliasId: string; + /** The alias name. */ + AliasName?: string; + /** Array of build selection criteria. */ + BuildSelectionCriteria?: BuildSelectionCriterion[]; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index bf4da1dd..b323c26b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -117,6 +117,8 @@ declare module PlayFabProfilesModels { Entity?: EntityKey; /** The chain of responsibility for this entity. Use Lineage. */ EntityChain?: string; + /** The experiment variants of this profile. */ + ExperimentVariants?: string[]; /** The files on this profile. */ Files?: { [key: string]: EntityProfileFileMetadata }; /** The language on this profile. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f4e78f58..26df562c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3718,6 +3718,8 @@ declare module PlayFabServerModels { 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 */ From a011f7bfbf8a1a66513f410d3fb4190adcee01d1 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 29 Oct 2019 23:09:28 +0000 Subject: [PATCH 095/253] https://api.playfab.com/releaseNotes/#191029 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 28 ++++++++++++++++-- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 ++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 29 +++++++++++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 28 ++++++++++++++++-- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 29 +++++++++++++++++++ 33 files changed, 229 insertions(+), 101 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index a512d404..121f0038 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.55.191015", + "version": "1.56.191029", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 81ebe136..eceb6c0b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 854caa6c..0e0aed2a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1f50cb3b..de617977 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 023c06d4..5ac92e67 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 54ef6dcc..558621d2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6e303e91..495e2987 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f4bcfff5..b82199b6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 5b44043c..40c2a296 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index be0e6c33..05e03fe9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3f738f12..b84f9832 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 76fb2b99..e82ec94b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 178ffcb7..2b3e1e8c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b05a3b5a..1ab082a6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2230,6 +2230,8 @@ declare module PlayFabAdminModels { | "InsightsManagementSetStorageRetentionInvalidParameter" | "InsightsManagementGetStorageUsageInvalidParameter" | "InsightsManagementGetOperationStatusInvalidParameter" + | "DuplicatePurchaseTransactionId" + | "EvaluationModePlayerCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2266,6 +2268,8 @@ declare module PlayFabAdminModels { | "CatalogConfigInvalid" | "CatalogUnauthorized" | "CatalogItemTypeInvalid" + | "CatalogBadRequest" + | "CatalogTooManyRequests" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2292,6 +2296,7 @@ declare module PlayFabAdminModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "ExperimentationNoScorecard" | "MaxActionDepthExceeded" | "SnapshotNotFound"; @@ -3411,6 +3416,8 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; /** List of all authentication systems linked to this player account */ @@ -3457,6 +3464,8 @@ declare module PlayFabAdminModels { ShowCreated: boolean; /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; + /** Whether to show player's experiment variants. Defaults to false */ + ShowExperimentVariants: boolean; /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** Whether to show the linked accounts. Defaults to false */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 044f707a..d1b2492e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3385,6 +3385,8 @@ declare module PlayFabClientModels { SessionTicket?: string; /** Settings specific to this user. */ SettingsForUser?: UserSettings; + /** The experimentation treatments for this user at the time of login. */ + TreatmentAssignment?: TreatmentAssignment; } @@ -3956,6 +3958,8 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; /** List of all authentication systems linked to this player account */ @@ -4002,6 +4006,8 @@ declare module PlayFabClientModels { ShowCreated: boolean; /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; + /** Whether to show player's experiment variants. Defaults to false */ + ShowExperimentVariants: boolean; /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** Whether to show the linked accounts. Defaults to false */ @@ -4671,6 +4677,15 @@ declare module PlayFabClientModels { | "Other" | "Failed"; + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TreatmentAssignment */ + export interface TreatmentAssignment { + /** List of the experiment variables. */ + Variables?: Variable[]; + /** List of the experiment variants. */ + Variants?: string[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ @@ -5296,7 +5311,7 @@ declare module PlayFabClientModels { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ - CurrencyCode: string; + CurrencyCode?: string; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** ReceiptId returned by the Amazon App Store in-app purchase API */ @@ -5340,7 +5355,7 @@ declare module PlayFabClientModels { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ - CurrencyCode: string; + CurrencyCode?: string; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ @@ -5392,6 +5407,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Variable */ + export interface Variable { + /** Name of the variable. */ + Name: string; + /** Value of the variable. */ + Value: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index b323c26b..7fe7605f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -244,6 +244,8 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsResponse */ export interface GetTitlePlayersFromMasterPlayerAccountIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional id of title to get players from, required if calling using a master_player_account. */ + TitleId?: string; /** Dictionary of master player ids mapped to title player entity keys and id pairs */ TitlePlayerAccounts?: { [key: string]: EntityKey }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 26df562c..7ae26b01 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2249,6 +2249,8 @@ declare module PlayFabServerModels { | "InsightsManagementSetStorageRetentionInvalidParameter" | "InsightsManagementGetStorageUsageInvalidParameter" | "InsightsManagementGetOperationStatusInvalidParameter" + | "DuplicatePurchaseTransactionId" + | "EvaluationModePlayerCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2285,6 +2287,8 @@ declare module PlayFabServerModels { | "CatalogConfigInvalid" | "CatalogUnauthorized" | "CatalogItemTypeInvalid" + | "CatalogBadRequest" + | "CatalogTooManyRequests" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2311,6 +2315,7 @@ declare module PlayFabServerModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "ExperimentationNoScorecard" | "MaxActionDepthExceeded" | "SnapshotNotFound"; @@ -3757,6 +3762,8 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; /** List of all authentication systems linked to this player account */ @@ -3803,6 +3810,8 @@ declare module PlayFabServerModels { ShowCreated: boolean; /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; + /** Whether to show player's experiment variants. Defaults to false */ + ShowExperimentVariants: boolean; /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** Whether to show the linked accounts. Defaults to false */ @@ -4300,6 +4309,8 @@ declare module PlayFabServerModels { SessionTicket?: string; /** Settings specific to this user. */ SettingsForUser?: UserSettings; + /** The experimentation treatments for this user at the time of login. */ + TreatmentAssignment?: TreatmentAssignment; } @@ -4589,6 +4600,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TreatmentAssignment */ + export interface TreatmentAssignment { + /** List of the experiment variables. */ + Variables?: Variable[]; + /** List of the experiment variants. */ + Variants?: string[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdRequest */ export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier. */ @@ -5148,6 +5168,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.Variable */ + export interface Variable { + /** Name of the variable. */ + Name: string; + /** Value of the variable. */ + Value: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 81ebe136..eceb6c0b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 854caa6c..0e0aed2a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1f50cb3b..de617977 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 023c06d4..5ac92e67 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 54ef6dcc..558621d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6e303e91..495e2987 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f4bcfff5..b82199b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 5b44043c..40c2a296 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index be0e6c33..05e03fe9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3f738f12..b84f9832 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 76fb2b99..e82ec94b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 178ffcb7..2b3e1e8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.55.191015", + sdkVersion: "1.56.191029", requestGetParams: { - sdk: "JavaScriptSDK-1.55.191015" + sdk: "JavaScriptSDK-1.56.191029" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-2_0"; -PlayFab.sdkVersion = "1.55.191015"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.56.191029"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b05a3b5a..1ab082a6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2230,6 +2230,8 @@ declare module PlayFabAdminModels { | "InsightsManagementSetStorageRetentionInvalidParameter" | "InsightsManagementGetStorageUsageInvalidParameter" | "InsightsManagementGetOperationStatusInvalidParameter" + | "DuplicatePurchaseTransactionId" + | "EvaluationModePlayerCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2266,6 +2268,8 @@ declare module PlayFabAdminModels { | "CatalogConfigInvalid" | "CatalogUnauthorized" | "CatalogItemTypeInvalid" + | "CatalogBadRequest" + | "CatalogTooManyRequests" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2292,6 +2296,7 @@ declare module PlayFabAdminModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "ExperimentationNoScorecard" | "MaxActionDepthExceeded" | "SnapshotNotFound"; @@ -3411,6 +3416,8 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; /** List of all authentication systems linked to this player account */ @@ -3457,6 +3464,8 @@ declare module PlayFabAdminModels { ShowCreated: boolean; /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; + /** Whether to show player's experiment variants. Defaults to false */ + ShowExperimentVariants: boolean; /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** Whether to show the linked accounts. Defaults to false */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 044f707a..d1b2492e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3385,6 +3385,8 @@ declare module PlayFabClientModels { SessionTicket?: string; /** Settings specific to this user. */ SettingsForUser?: UserSettings; + /** The experimentation treatments for this user at the time of login. */ + TreatmentAssignment?: TreatmentAssignment; } @@ -3956,6 +3958,8 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; /** List of all authentication systems linked to this player account */ @@ -4002,6 +4006,8 @@ declare module PlayFabClientModels { ShowCreated: boolean; /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; + /** Whether to show player's experiment variants. Defaults to false */ + ShowExperimentVariants: boolean; /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** Whether to show the linked accounts. Defaults to false */ @@ -4671,6 +4677,15 @@ declare module PlayFabClientModels { | "Other" | "Failed"; + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TreatmentAssignment */ + export interface TreatmentAssignment { + /** List of the experiment variables. */ + Variables?: Variable[]; + /** List of the experiment variants. */ + Variants?: string[]; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ @@ -5296,7 +5311,7 @@ declare module PlayFabClientModels { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ - CurrencyCode: string; + CurrencyCode?: string; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** ReceiptId returned by the Amazon App Store in-app purchase API */ @@ -5340,7 +5355,7 @@ declare module PlayFabClientModels { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ - CurrencyCode: string; + CurrencyCode?: string; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ @@ -5392,6 +5407,15 @@ declare module PlayFabClientModels { } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Variable */ + export interface Variable { + /** Name of the variable. */ + Name: string; + /** Value of the variable. */ + Value: string; + + } + /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index b323c26b..7fe7605f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -244,6 +244,8 @@ declare module PlayFabProfilesModels { /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsResponse */ export interface GetTitlePlayersFromMasterPlayerAccountIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional id of title to get players from, required if calling using a master_player_account. */ + TitleId?: string; /** Dictionary of master player ids mapped to title player entity keys and id pairs */ TitlePlayerAccounts?: { [key: string]: EntityKey }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 26df562c..7ae26b01 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2249,6 +2249,8 @@ declare module PlayFabServerModels { | "InsightsManagementSetStorageRetentionInvalidParameter" | "InsightsManagementGetStorageUsageInvalidParameter" | "InsightsManagementGetOperationStatusInvalidParameter" + | "DuplicatePurchaseTransactionId" + | "EvaluationModePlayerCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2285,6 +2287,8 @@ declare module PlayFabServerModels { | "CatalogConfigInvalid" | "CatalogUnauthorized" | "CatalogItemTypeInvalid" + | "CatalogBadRequest" + | "CatalogTooManyRequests" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -2311,6 +2315,7 @@ declare module PlayFabServerModels { | "ExperimentationExceededVariantNameLength" | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" + | "ExperimentationNoScorecard" | "MaxActionDepthExceeded" | "SnapshotNotFound"; @@ -3757,6 +3762,8 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; /** List of all authentication systems linked to this player account */ @@ -3803,6 +3810,8 @@ declare module PlayFabServerModels { ShowCreated: boolean; /** Whether to show the display name. Defaults to false */ ShowDisplayName: boolean; + /** Whether to show player's experiment variants. Defaults to false */ + ShowExperimentVariants: boolean; /** Whether to show the last login time. Defaults to false */ ShowLastLogin: boolean; /** Whether to show the linked accounts. Defaults to false */ @@ -4300,6 +4309,8 @@ declare module PlayFabServerModels { SessionTicket?: string; /** Settings specific to this user. */ SettingsForUser?: UserSettings; + /** The experimentation treatments for this user at the time of login. */ + TreatmentAssignment?: TreatmentAssignment; } @@ -4589,6 +4600,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TreatmentAssignment */ + export interface TreatmentAssignment { + /** List of the experiment variables. */ + Variables?: Variable[]; + /** List of the experiment variants. */ + Variants?: string[]; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdRequest */ export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier. */ @@ -5148,6 +5168,15 @@ declare module PlayFabServerModels { } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.Variable */ + export interface Variable { + /** Name of the variable. */ + Name: string; + /** Value of the variable. */ + Value: string; + + } + /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** From d8912f8e8902205de6a9930a58902b8332bb1594 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Fri, 22 Nov 2019 00:31:07 +0000 Subject: [PATCH 096/253] https://api.playfab.com/releaseNotes/#191121 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 10 +++++----- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 10 +++++++++- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 10 +++++++++- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 10 +++++----- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 10 +++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 10 +++++++++- 29 files changed, 135 insertions(+), 103 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 121f0038..2f34f74a 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.56.191029", + "version": "1.57.191121", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index eceb6c0b..204cdab5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0e0aed2a..8a7fc87b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index de617977..ad6e3249 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1291,7 +1291,7 @@ PlayFab.ClientApi = { var PlayFabClientSDK = PlayFab.ClientApi; PlayFab.RegisterWithPhaser = function() { - if ( typeof Phaser === "undefined" ) + if ( typeof Phaser === "undefined" || typeof Phaser.Plugin === "undefined" ) return; Phaser.Plugin.PlayFab = function (game, parent) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 5ac92e67..29e1adcc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 558621d2..f41b70e9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 495e2987..afc3488a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index b82199b6..d4176138 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 40c2a296..7f6c3098 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 05e03fe9..06b670a9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index b84f9832..7c688110 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index e82ec94b..ecc157b5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 2b3e1e8c..92c50e6f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 1ab082a6..2ab7e8af 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -212,7 +212,8 @@ declare module PlayFabAdminModule { * 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. + * 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://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -2232,6 +2233,10 @@ declare module PlayFabAdminModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" + | "GetPlayersInSegmentRateLimitExceeded" + | "CloudScriptFunctionNameSizeExceeded" + | "InsightsManagementTitleInEvaluationMode" + | "CloudScriptAzureFunctionsQueueRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2284,6 +2289,7 @@ declare module PlayFabAdminModels { | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" + | "ExportInvalidPartitionStatusModification" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2297,6 +2303,8 @@ declare module PlayFabAdminModels { | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" | "ExperimentationNoScorecard" + | "ExperimentationTreatmentAssignmentFailed" + | "ExperimentationTreatmentAssignmentDisabled" | "MaxActionDepthExceeded" | "SnapshotNotFound"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 7ae26b01..4a1991cf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -214,7 +214,8 @@ declare module PlayFabServerModule { * 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. + * 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://api.playfab.com/Documentation/Server/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -2251,6 +2252,10 @@ declare module PlayFabServerModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" + | "GetPlayersInSegmentRateLimitExceeded" + | "CloudScriptFunctionNameSizeExceeded" + | "InsightsManagementTitleInEvaluationMode" + | "CloudScriptAzureFunctionsQueueRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2303,6 +2308,7 @@ declare module PlayFabServerModels { | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" + | "ExportInvalidPartitionStatusModification" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2316,6 +2322,8 @@ declare module PlayFabServerModels { | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" | "ExperimentationNoScorecard" + | "ExperimentationTreatmentAssignmentFailed" + | "ExperimentationTreatmentAssignmentDisabled" | "MaxActionDepthExceeded" | "SnapshotNotFound"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index eceb6c0b..204cdab5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0e0aed2a..8a7fc87b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index de617977..ad6e3249 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1291,7 +1291,7 @@ PlayFab.ClientApi = { var PlayFabClientSDK = PlayFab.ClientApi; PlayFab.RegisterWithPhaser = function() { - if ( typeof Phaser === "undefined" ) + if ( typeof Phaser === "undefined" || typeof Phaser.Plugin === "undefined" ) return; Phaser.Plugin.PlayFab = function (game, parent) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 5ac92e67..29e1adcc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 558621d2..f41b70e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 495e2987..afc3488a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index b82199b6..d4176138 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 40c2a296..7f6c3098 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 05e03fe9..06b670a9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index b84f9832..7c688110 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index e82ec94b..ecc157b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 2b3e1e8c..92c50e6f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.56.191029", + sdkVersion: "1.57.191121", requestGetParams: { - sdk: "JavaScriptSDK-1.56.191029" + sdk: "JavaScriptSDK-1.57.191121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.56.191029"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.57.191121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 1ab082a6..2ab7e8af 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -212,7 +212,8 @@ declare module PlayFabAdminModule { * 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. + * 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://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -2232,6 +2233,10 @@ declare module PlayFabAdminModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" + | "GetPlayersInSegmentRateLimitExceeded" + | "CloudScriptFunctionNameSizeExceeded" + | "InsightsManagementTitleInEvaluationMode" + | "CloudScriptAzureFunctionsQueueRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2284,6 +2289,7 @@ declare module PlayFabAdminModels { | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" + | "ExportInvalidPartitionStatusModification" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2297,6 +2303,8 @@ declare module PlayFabAdminModels { | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" | "ExperimentationNoScorecard" + | "ExperimentationTreatmentAssignmentFailed" + | "ExperimentationTreatmentAssignmentDisabled" | "MaxActionDepthExceeded" | "SnapshotNotFound"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 7ae26b01..4a1991cf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -214,7 +214,8 @@ declare module PlayFabServerModule { * 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. + * 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://api.playfab.com/Documentation/Server/method/GetPlayersInSegment */ GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -2251,6 +2252,10 @@ declare module PlayFabServerModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" + | "GetPlayersInSegmentRateLimitExceeded" + | "CloudScriptFunctionNameSizeExceeded" + | "InsightsManagementTitleInEvaluationMode" + | "CloudScriptAzureFunctionsQueueRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2303,6 +2308,7 @@ declare module PlayFabServerModels { | "ExportCantEditPendingExport" | "ExportLimitExports" | "ExportLimitEvents" + | "ExportInvalidPartitionStatusModification" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2316,6 +2322,8 @@ declare module PlayFabServerModels { | "ExperimentationExceededMaxVariantLength" | "ExperimentInvalidId" | "ExperimentationNoScorecard" + | "ExperimentationTreatmentAssignmentFailed" + | "ExperimentationTreatmentAssignmentDisabled" | "MaxActionDepthExceeded" | "SnapshotNotFound"; From 8af4612912f0b08be28f38ae4fe6607828d0adfe Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 19 Dec 2019 17:19:47 +0000 Subject: [PATCH 097/253] https://api.playfab.com/releaseNotes/#191218 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 16 +++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 8 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 16 +++-- .../PlayFab/PlayFabMultiplayerApi.d.ts | 64 ++++++++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 16 +++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 8 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 16 +++-- .../PlayFab/PlayFabMultiplayerApi.d.ts | 64 ++++++++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++-- 33 files changed, 307 insertions(+), 127 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 2f34f74a..74bceaa8 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.57.191121", + "version": "1.58.191218", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 204cdab5..f8344586 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 8a7fc87b..8e0ece91 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ad6e3249..f8106192 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 29e1adcc..1b0d66f7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f41b70e9..f3f086c6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index afc3488a..7df52441 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d4176138..7d07f17d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7f6c3098..5b347ae8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 06b670a9..58a2d722 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7c688110..5309e8c3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -333,6 +333,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetMultiplayerServerLogs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerLogs", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetQueueStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetQueueStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -417,6 +421,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + UntagContainerImage: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UntagContainerImage", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildAlias: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index ecc157b5..99adabc8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 92c50e6f..e46f443a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 2ab7e8af..68c17fe8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2237,6 +2237,7 @@ declare module PlayFabAdminModels { | "CloudScriptFunctionNameSizeExceeded" | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" + | "EvaluationModeTitleCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2290,6 +2291,9 @@ declare module PlayFabAdminModels { | "ExportLimitExports" | "ExportLimitEvents" | "ExportInvalidPartitionStatusModification" + | "ExportCouldNotCreate" + | "ExportNoBackingDatabaseFound" + | "ExportCouldNotDelete" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2299,8 +2303,8 @@ declare module PlayFabAdminModels { | "ExperimentationExperimentNeverStarted" | "ExperimentationExperimentDeleted" | "ExperimentationClientTimeout" - | "ExperimentationExceededVariantNameLength" - | "ExperimentationExceededMaxVariantLength" + | "ExperimentationInvalidVariantConfiguration" + | "ExperimentationInvalidVariableConfiguration" | "ExperimentInvalidId" | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index d1b2492e..0ca7b308 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2975,7 +2975,7 @@ declare module PlayFabClientModels { export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** Non-unique display name of the character being granted (1-20 characters in length). */ + /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; /** * Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be @@ -5412,7 +5412,7 @@ declare module PlayFabClientModels { /** Name of the variable. */ Name: string; /** Value of the variable. */ - Value: string; + Value?: string; } @@ -5437,12 +5437,14 @@ declare module PlayFabClientModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5451,12 +5453,14 @@ declare module PlayFabClientModels { export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5475,12 +5479,14 @@ declare module PlayFabClientModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5f51c93d..825606c0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -110,6 +110,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails */ GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets multiplayer server logs after a server has terminated. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerLogs + */ + GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the statistics for a queue. * https://api.playfab.com/Documentation/Multiplayer/method/GetQueueStatistics @@ -218,6 +223,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Untags a container image. + * https://api.playfab.com/Documentation/Multiplayer/method/UntagContainerImage + */ + UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build alias. * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildAlias @@ -339,11 +349,13 @@ declare module PlayFabMultiplayerModels { export interface BuildRegion { /** The current multiplayer server stats for the region. */ CurrentServerStats?: CurrentServerStats; + /** Optional settings to control dynamic adjustment of standby target */ + DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** The build region. */ Region?: string; - /** The number of standby multiplayer servers for the region. */ + /** The target number of standby multiplayer servers for the region. */ StandbyServers: number; /** * The status of multiplayer servers in the build region. Valid values are - Unknown, Initialized, Deploying, Deployed, @@ -355,6 +367,8 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegionParams */ export interface BuildRegionParams { + /** Optional settings to control dynamic adjustment of standby target. If not specified, dynamic standby is disabled */ + DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** The build region. */ @@ -716,6 +730,29 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbySettings */ + export interface DynamicStandbySettings { + /** + * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, + * and 4X at 5% + */ + DynamicFloorMultiplierThresholds?: DynamicStandbyThreshold[]; + /** When true, dynamic standby will be enabled */ + IsEnabled: boolean; + /** The time it takes to reduce target standing by to configured floor value after an increase. Defaults to 30 minutes */ + RampDownSeconds?: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbyThreshold */ + export interface DynamicStandbyThreshold { + /** When the trigger threshold is reached, multiply by this value */ + Multiplier: number; + /** The multiplier will be applied when the actual standby divided by target standby floor is less than this value */ + TriggerThresholdPercentage: number; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { @@ -981,6 +1018,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsRequest */ + export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The region of the multiplayer server to get logs for. */ + Region: string; + /** The server ID of multiplayer server to get logs for. */ + ServerId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsResponse */ + export interface GetMultiplayerServerLogsResponse extends PlayFabModule.IPlayFabResultCommon { + /** URL for logs download. */ + LogDownloadUrl?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsRequest */ export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue. */ @@ -1475,6 +1528,15 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UntagContainerImageRequest */ + export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The container image which tag we want to remove. */ + ImageName?: string; + /** The tag we want to remove. */ + Tag?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildAliasRequest */ export interface UpdateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias Id of the alias to be updated. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 4a1991cf..d1bd4905 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2256,6 +2256,7 @@ declare module PlayFabServerModels { | "CloudScriptFunctionNameSizeExceeded" | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" + | "EvaluationModeTitleCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2309,6 +2310,9 @@ declare module PlayFabServerModels { | "ExportLimitExports" | "ExportLimitEvents" | "ExportInvalidPartitionStatusModification" + | "ExportCouldNotCreate" + | "ExportNoBackingDatabaseFound" + | "ExportCouldNotDelete" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2318,8 +2322,8 @@ declare module PlayFabServerModels { | "ExperimentationExperimentNeverStarted" | "ExperimentationExperimentDeleted" | "ExperimentationClientTimeout" - | "ExperimentationExceededVariantNameLength" - | "ExperimentationExceededMaxVariantLength" + | "ExperimentationInvalidVariantConfiguration" + | "ExperimentationInvalidVariableConfiguration" | "ExperimentInvalidId" | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" @@ -3188,7 +3192,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Non-unique display name of the character being granted (1-20 characters in length). */ + /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; /** Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; @@ -5181,7 +5185,7 @@ declare module PlayFabServerModels { /** Name of the variable. */ Name: string; /** Value of the variable. */ - Value: string; + Value?: string; } @@ -5216,6 +5220,8 @@ declare module PlayFabServerModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5223,7 +5229,7 @@ declare module PlayFabServerModels { EventName: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5232,6 +5238,8 @@ declare module PlayFabServerModels { export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5239,7 +5247,7 @@ declare module PlayFabServerModels { EventName: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5248,12 +5256,14 @@ declare module PlayFabServerModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 204cdab5..f8344586 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 8a7fc87b..8e0ece91 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ad6e3249..f8106192 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 29e1adcc..1b0d66f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f41b70e9..f3f086c6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index afc3488a..7df52441 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d4176138..7d07f17d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7f6c3098..5b347ae8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 06b670a9..58a2d722 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7c688110..5309e8c3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -333,6 +333,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerDetails", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetMultiplayerServerLogs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerLogs", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetQueueStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetQueueStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -417,6 +421,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + UntagContainerImage: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UntagContainerImage", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildAlias: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index ecc157b5..99adabc8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 92c50e6f..e46f443a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.57.191121", + sdkVersion: "1.58.191218", requestGetParams: { - sdk: "JavaScriptSDK-1.57.191121" + sdk: "JavaScriptSDK-1.58.191218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.57.191121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.58.191218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 2ab7e8af..68c17fe8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2237,6 +2237,7 @@ declare module PlayFabAdminModels { | "CloudScriptFunctionNameSizeExceeded" | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" + | "EvaluationModeTitleCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2290,6 +2291,9 @@ declare module PlayFabAdminModels { | "ExportLimitExports" | "ExportLimitEvents" | "ExportInvalidPartitionStatusModification" + | "ExportCouldNotCreate" + | "ExportNoBackingDatabaseFound" + | "ExportCouldNotDelete" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2299,8 +2303,8 @@ declare module PlayFabAdminModels { | "ExperimentationExperimentNeverStarted" | "ExperimentationExperimentDeleted" | "ExperimentationClientTimeout" - | "ExperimentationExceededVariantNameLength" - | "ExperimentationExceededMaxVariantLength" + | "ExperimentationInvalidVariantConfiguration" + | "ExperimentationInvalidVariableConfiguration" | "ExperimentInvalidId" | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index d1b2492e..0ca7b308 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2975,7 +2975,7 @@ declare module PlayFabClientModels { export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; - /** Non-unique display name of the character being granted (1-20 characters in length). */ + /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; /** * Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be @@ -5412,7 +5412,7 @@ declare module PlayFabClientModels { /** Name of the variable. */ Name: string; /** Value of the variable. */ - Value: string; + Value?: string; } @@ -5437,12 +5437,14 @@ declare module PlayFabClientModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5451,12 +5453,14 @@ declare module PlayFabClientModels { export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5475,12 +5479,14 @@ declare module PlayFabClientModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5f51c93d..825606c0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -110,6 +110,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails */ GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets multiplayer server logs after a server has terminated. + * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerLogs + */ + GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the statistics for a queue. * https://api.playfab.com/Documentation/Multiplayer/method/GetQueueStatistics @@ -218,6 +223,11 @@ declare module PlayFabMultiplayerModule { * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Untags a container image. + * https://api.playfab.com/Documentation/Multiplayer/method/UntagContainerImage + */ + UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build alias. * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildAlias @@ -339,11 +349,13 @@ declare module PlayFabMultiplayerModels { export interface BuildRegion { /** The current multiplayer server stats for the region. */ CurrentServerStats?: CurrentServerStats; + /** Optional settings to control dynamic adjustment of standby target */ + DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** The build region. */ Region?: string; - /** The number of standby multiplayer servers for the region. */ + /** The target number of standby multiplayer servers for the region. */ StandbyServers: number; /** * The status of multiplayer servers in the build region. Valid values are - Unknown, Initialized, Deploying, Deployed, @@ -355,6 +367,8 @@ declare module PlayFabMultiplayerModels { /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegionParams */ export interface BuildRegionParams { + /** Optional settings to control dynamic adjustment of standby target. If not specified, dynamic standby is disabled */ + DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** The build region. */ @@ -716,6 +730,29 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbySettings */ + export interface DynamicStandbySettings { + /** + * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, + * and 4X at 5% + */ + DynamicFloorMultiplierThresholds?: DynamicStandbyThreshold[]; + /** When true, dynamic standby will be enabled */ + IsEnabled: boolean; + /** The time it takes to reduce target standing by to configured floor value after an increase. Defaults to 30 minutes */ + RampDownSeconds?: number; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbyThreshold */ + export interface DynamicStandbyThreshold { + /** When the trigger threshold is reached, multiply by this value */ + Multiplier: number; + /** The multiplier will be applied when the actual standby divided by target standby floor is less than this value */ + TriggerThresholdPercentage: number; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { @@ -981,6 +1018,22 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsRequest */ + export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The region of the multiplayer server to get logs for. */ + Region: string; + /** The server ID of multiplayer server to get logs for. */ + ServerId: string; + + } + + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsResponse */ + export interface GetMultiplayerServerLogsResponse extends PlayFabModule.IPlayFabResultCommon { + /** URL for logs download. */ + LogDownloadUrl?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsRequest */ export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue. */ @@ -1475,6 +1528,15 @@ declare module PlayFabMultiplayerModels { } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UntagContainerImageRequest */ + export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The container image which tag we want to remove. */ + ImageName?: string; + /** The tag we want to remove. */ + Tag?: string; + + } + /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildAliasRequest */ export interface UpdateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias Id of the alias to be updated. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 4a1991cf..d1bd4905 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2256,6 +2256,7 @@ declare module PlayFabServerModels { | "CloudScriptFunctionNameSizeExceeded" | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" + | "EvaluationModeTitleCountExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2309,6 +2310,9 @@ declare module PlayFabServerModels { | "ExportLimitExports" | "ExportLimitEvents" | "ExportInvalidPartitionStatusModification" + | "ExportCouldNotCreate" + | "ExportNoBackingDatabaseFound" + | "ExportCouldNotDelete" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2318,8 +2322,8 @@ declare module PlayFabServerModels { | "ExperimentationExperimentNeverStarted" | "ExperimentationExperimentDeleted" | "ExperimentationClientTimeout" - | "ExperimentationExceededVariantNameLength" - | "ExperimentationExceededMaxVariantLength" + | "ExperimentationInvalidVariantConfiguration" + | "ExperimentationInvalidVariableConfiguration" | "ExperimentInvalidId" | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" @@ -3188,7 +3192,7 @@ declare module PlayFabServerModels { /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Non-unique display name of the character being granted (1-20 characters in length). */ + /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; /** Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; @@ -5181,7 +5185,7 @@ declare module PlayFabServerModels { /** Name of the variable. */ Name: string; /** Value of the variable. */ - Value: string; + Value?: string; } @@ -5216,6 +5220,8 @@ declare module PlayFabServerModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5223,7 +5229,7 @@ declare module PlayFabServerModels { EventName: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5232,6 +5238,8 @@ declare module PlayFabServerModels { export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5239,7 +5247,7 @@ declare module PlayFabServerModels { EventName: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } @@ -5248,12 +5256,14 @@ declare module PlayFabServerModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ + EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). */ EventName: string; - /** The time (in UTC) associated with this event. The value dafaults to the current time. */ + /** The time (in UTC) associated with this event. The value defaults to the current time. */ Timestamp?: string; } From 6ca573100109d21785cfc680ac50bb757e373b79 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 21 Jan 2020 21:21:25 +0000 Subject: [PATCH 098/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200121 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 16 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 484 +++--------- .../PlayFab/PlayFabAuthenticationApi.d.ts | 10 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 690 +++++------------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 7 +- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 34 +- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 8 +- .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 98 +-- .../PlayFab/PlayFabLocalizationApi.d.ts | 4 +- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 22 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 325 +++++---- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 36 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 623 +++++----------- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 16 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 484 +++--------- .../PlayFab/PlayFabAuthenticationApi.d.ts | 10 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 690 +++++------------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 7 +- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 34 +- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 8 +- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 98 +-- .../PlayFab/PlayFabLocalizationApi.d.ts | 4 +- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 22 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 325 +++++---- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 36 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 623 +++++----------- 49 files changed, 1485 insertions(+), 3447 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 74bceaa8..1eac0be6 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.58.191218", + "version": "1.59.200121", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f8344586..afe396bf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 8e0ece91..b54eab32 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f8106192..648fa8aa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 1b0d66f7..fed5f165 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f3f086c6..7295a532 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 7df52441..0489ae8a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 7d07f17d..0578ca70 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 5b347ae8..dd1d6281 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 58a2d722..b0b156cd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5309e8c3..5d7520b0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -253,10 +253,18 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelAllMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + CancelAllServerBackfillTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelAllServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CancelMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CancelServerBackfillTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelServerBackfillTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateBuildAlias: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,6 +285,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateServerBackfillTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerBackfillTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateServerMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -345,6 +357,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetServerBackfillTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetServerBackfillTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleEnabledForMultiplayerServersStatus: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -405,6 +421,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListServerBackfillTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 99adabc8..3e0bdec9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index e46f443a..dca68071 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -529,6 +529,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, + LinkPSNAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LinkServerCustomId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -681,6 +685,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkServerCustomId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 68c17fe8..56c7468b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -6,206 +6,206 @@ declare module PlayFabAdminModule { /** * Abort an ongoing task instance. - * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/aborttaskinstance */ AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Update news item to include localized version - * https://api.playfab.com/Documentation/Admin/method/AddLocalizedNews + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addlocalizednews */ AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new news item to the title's news feed - * https://api.playfab.com/Documentation/Admin/method/AddNews + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addnews */ AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/addplayertag */ AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a * client is permitted to request in a call to StartGame - * https://api.playfab.com/Documentation/Admin/method/AddServerBuild + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/addserverbuild */ AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + * 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 }): void; /** * 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + * 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 }): void; /** * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - * https://api.playfab.com/Documentation/Admin/method/BanUsers + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/banusers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks the global count for the limited edition item. - * https://api.playfab.com/Documentation/Admin/method/CheckLimitedEditionItemAvailability + * 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 }): void; /** * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. - * https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createactionsonplayersinsegmenttask */ CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a CloudScript task, which can run a CloudScript on a schedule. - * https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createcloudscripttask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a relationship between a title and an Open ID Connect provider. - * https://api.playfab.com/Documentation/Admin/method/CreateOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection */ CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after * this API returns. - * https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createplayersharedsecret */ CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval * and an aggregation method. - * https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/createplayerstatisticdefinition */ CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete a content file from the title. When deleting a file that does not exist, it returns success. - * https://api.playfab.com/Documentation/Admin/method/DeleteContent + * https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a master player account entirely from all titles and deletes all associated data - * https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayeraccount */ DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a relationship between a title and an OpenID Connect provider. - * https://api.playfab.com/Documentation/Admin/method/DeleteOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteopenidconnection */ DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data - * https://api.playfab.com/Documentation/Admin/method/DeletePlayer + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deleteplayer */ DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API * returns. - * https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteplayersharedsecret */ DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing virtual item store - * https://api.playfab.com/Documentation/Admin/method/DeleteStore + * 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 }): void; /** * Delete a task. - * https://api.playfab.com/Documentation/Admin/method/DeleteTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/deletetask */ DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Permanently deletes a title and all associated configuration - * https://api.playfab.com/Documentation/Admin/method/DeleteTitle + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletetitle */ DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Exports all associated data of a master player account - * https://api.playfab.com/Documentation/Admin/method/ExportMasterPlayerData + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata */ ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get information about a ActionsOnPlayersInSegment task instance. - * https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getactionsonplayersinsegmenttaskinstance */ GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. - * https://api.playfab.com/Documentation/Admin/method/GetAllSegments + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - * https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + * 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 }): void; /** * Gets the contents and information of a specific Cloud Script revision. - * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptrevision */ GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get detail information about a CloudScript task instance. - * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getcloudscripttaskinstance */ GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all the current cloud script versions. For each version, information about the current published and latest * revisions is also listed. - * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptversions */ GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all contents of the title and get statistics such as size - * https://api.playfab.com/Documentation/Admin/method/GetContentList + * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentlist */ GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the * content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN * rates apply. - * https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentuploadurl */ GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a download URL for the requested report - * https://api.playfab.com/Documentation/Admin/method/GetDataReport + * 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 }): void; /** * Retrieves the details for a specific completed session, including links to standard out and standard error logs - * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergameinfo */ GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the details of defined game modes for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergamemodes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the list of titles that the player has played - * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayedtitlelist */ GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a player's ID from an auth token. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayeridfromauthtoken */ GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the player's profile - * https://api.playfab.com/Documentation/Admin/method/GetPlayerProfile + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayerprofile */ GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns all Player Shared Secret Keys including disabled and expired. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -214,366 +214,366 @@ declare module PlayFabAdminModule { * 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://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersinsegment */ GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have * a reset interval. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticdefinitions */ GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the information on the available versions of the specified statistic. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticversions */ GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get all tags with a given Namespace (optional) from a player profile. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayertags */ GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the requested policy. - * https://api.playfab.com/Documentation/Admin/method/GetPolicy + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getpolicy */ GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Admin/method/GetPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getpublisherdata */ GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the random drop table configuration for the title - * https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + * 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 }): void; /** * Retrieves the build details for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo */ GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for * use - see AddServerBuild) - * https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuilduploadurl */ GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the set of items defined for the specified store, including all prices defined - * https://api.playfab.com/Documentation/Admin/method/GetStoreItems + * 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 }): void; /** * Query for task instances by task, status, or time range. - * https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettaskinstances */ GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get definition information on a specified task or all tasks within a title. - * https://api.playfab.com/Documentation/Admin/method/GetTasks + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettasks */ GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings which can be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetTitleData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitledata */ GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings which cannot be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitleinternaldata */ GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier - * https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuseraccountinfo */ GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets all bans for a user. - * https://api.playfab.com/Documentation/Admin/method/GetUserBans + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuserbans */ GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserdata */ GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserinternaldata */ GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified user's current inventory of virtual goods - * https://api.playfab.com/Documentation/Admin/method/GetUserInventory + * 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 }): void; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherdata */ GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherinternaldata */ GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherreadonlydata */ GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified user inventories - * https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + * 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 }): void; /** * Increases the global count for the given scarce resource. - * https://api.playfab.com/Documentation/Admin/method/IncrementLimitedEditionItemAvailability + * 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 }): void; /** * Resets the indicated statistic, removing all player entries for it and backing up the old values. - * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/incrementplayerstatisticversion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of all Open ID Connect providers registered to a title. - * https://api.playfab.com/Documentation/Admin/method/ListOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title - * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/listserverbuilds */ ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retuns the list of all defined virtual currencies for the title - * https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the game server mode details for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/modifymatchmakergamemodes */ ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the build details for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/modifyserverbuild */ ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attempts to process an order refund through the original real money payment provider. - * https://api.playfab.com/Documentation/Admin/method/RefundPurchase + * 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 }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/removeplayertag */ RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the game server executable specified from the set of those a client is permitted to request in a call to * StartGame - * https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/removeserverbuild */ RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes one or more virtual currencies from the set defined for the title. - * https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + * 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 }): void; /** * Completely removes all statistics for the specified character, for the current game - * https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/admin/characters/resetcharacterstatistics */ ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Reset a player's password for a given title. - * https://api.playfab.com/Documentation/Admin/method/ResetPassword + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/resetpassword */ ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Completely removes all statistics for the specified user, for the current game - * https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/resetuserstatistics */ ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attempts to resolve a dispute with the original order's payment provider. - * https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + * 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 }): void; /** * Revoke all active bans for a user. - * https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeallbansforuser */ RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revoke all active bans specified with BanId. - * https://api.playfab.com/Documentation/Admin/method/RevokeBans + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokebans */ RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revokes access to an item in a user's inventory - * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + * 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 }): void; /** * Revokes access for up to 25 items across multiple users and characters. - * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItems + * 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 }): void; /** * Run a task immediately regardless of its schedule. - * https://api.playfab.com/Documentation/Admin/method/RunTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask */ RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. - * https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/sendaccountrecoveryemail */ SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates the catalog configuration of all virtual goods for the specified catalog version - * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + * 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 }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. - * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the currently published revision of a title Cloud Script - * https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/setpublishedrevision */ SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Admin/method/SetPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/shared-group-data/setpublisherdata */ SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets all the items in one virtual store - * https://api.playfab.com/Documentation/Admin/method/SetStoreItems + * 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 }): void; /** * Creates and updates the key-value store of custom title settings which can be read by the client - * https://api.playfab.com/Documentation/Admin/method/SetTitleData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings which cannot be read by the client - * https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device * Messaging is not supported. - * https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/setuppushnotification */ SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + * 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 }): void; /** * Updates information of a list of existing bans specified with Ban Ids. - * https://api.playfab.com/Documentation/Admin/method/UpdateBans + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updatebans */ UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the catalog configuration for virtual goods in the specified catalog version - * https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + * 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 }): void; /** * Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be * submitted in the revision. - * https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider - * https://api.playfab.com/Documentation/Admin/method/UpdateOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection */ UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. - * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateplayersharedsecret */ UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. - * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateplayerstatisticdefinition */ UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Changes a policy for a title - * https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updatepolicy */ UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the random drop table configuration for the title - * https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + * 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 }): void; /** * Updates an existing virtual item store with new or modified items - * https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + * 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 }): void; /** * Update an existing task. - * https://api.playfab.com/Documentation/Admin/method/UpdateTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/updatetask */ UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserdata */ UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserinternaldata */ UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherdata */ UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherinternaldata */ UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherreadonlydata */ UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserreadonlydata */ UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title specific display name for a user - * https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -581,14 +581,12 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { /** ID of the action to perform on each player in segment. */ ActionId: string; @@ -597,7 +595,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -626,7 +623,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -637,7 +633,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -648,7 +643,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsRequest */ export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Localized body text of the news. */ Body: string; @@ -661,12 +655,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsResult */ export interface AddLocalizedNewsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Default body text of the news. */ Body: string; @@ -677,14 +669,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique id of the new news item */ NewsId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -693,12 +683,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; @@ -720,7 +708,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -751,7 +738,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -765,7 +751,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) @@ -775,7 +760,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -784,7 +768,6 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -805,7 +788,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -820,26 +802,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -898,7 +876,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -912,7 +889,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -930,7 +906,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -949,7 +924,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; @@ -958,14 +932,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { /** The amount of the specified resource remaining. */ Amount: number; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -977,7 +949,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { /** Argument to pass to the CloudScript function. */ Argument?: any; @@ -986,7 +957,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -1009,7 +979,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { /** Most recent revision for this Cloud Script version */ LatestRevision: number; @@ -1024,7 +993,6 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -1035,7 +1003,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1046,7 +1013,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { /** Key of the content */ Key?: string; @@ -1315,7 +1281,6 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1330,7 +1295,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1345,7 +1309,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateOpenIdConnectionRequest */ export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -1365,21 +1328,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ FriendlyName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -1390,14 +1350,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1567,14 +1525,12 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Key of the content item to be deleted */ Key: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest */ export interface DeleteMasterPlayerAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Developer created string to identify a user without PlayFab ID */ MetaData?: string; @@ -1583,7 +1539,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountResult */ export interface DeleteMasterPlayerAccountResult extends PlayFabModule.IPlayFabResultCommon { /** * A notification email with this job receipt Id will be sent to the title notification email address when deletion is @@ -1595,38 +1550,32 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteOpenIdConnectionRequest */ export interface DeleteOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the connection */ ConnectionId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1635,24 +1584,20 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1664,12 +1609,10 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -1678,7 +1621,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1717,14 +1659,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataRequest */ export interface ExportMasterPlayerDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataResult */ export interface ExportMasterPlayerDataResult extends PlayFabModule.IPlayFabResultCommon { /** * An email with this job receipt Id containing the export download link will be sent to the title notification email @@ -1740,7 +1680,6 @@ declare module PlayFabAdminModels { | "Processing" | "FailedToProcess"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { /** specific game mode type */ Gamemode: string; @@ -2238,6 +2177,7 @@ declare module PlayFabAdminModels { | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" + | "InsightsManagementTitleNotInFlight" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2312,7 +2252,6 @@ declare module PlayFabAdminModels { | "MaxActionDepthExceeded" | "SnapshotNotFound"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; @@ -2321,33 +2260,28 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision number. If left null, defaults to the latest revision */ Revision?: number; @@ -2356,7 +2290,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { /** Time this revision was created */ CreatedAt: string; @@ -2371,7 +2304,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; @@ -2380,19 +2312,16 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, @@ -2402,7 +2331,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { /** List of content items. */ Contents?: ContentInfo[]; @@ -2413,7 +2341,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when @@ -2425,14 +2352,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { /** Reporting year (UTC) */ Day: number; @@ -2445,7 +2370,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { /** * The URL where the requested report can be downloaded. This can be any PlayFab generated reports. The full list of @@ -2455,14 +2379,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** version identifier of the game server executable binary being run */ BuildVersion?: string; @@ -2491,35 +2413,30 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListResult */ export interface GetPlayedTitleListResult extends PlayFabModule.IPlayFabResultCommon { /** List of titles the player has played */ TitleIds?: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -2528,14 +2445,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The player ID from the token passed in */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2548,7 +2463,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2558,26 +2472,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2593,7 +2503,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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; @@ -2604,40 +2513,34 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2646,7 +2549,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2655,14 +2557,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; @@ -2671,35 +2571,30 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2710,14 +2605,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2746,21 +2639,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the game server build to upload */ BuildId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2769,7 +2659,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2784,14 +2673,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the requested task instance. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; @@ -2807,7 +2694,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get @@ -2818,49 +2704,42 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2874,7 +2753,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2888,14 +2766,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2908,7 +2784,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2955,7 +2830,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2964,14 +2838,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2982,26 +2854,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3024,7 +2892,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3065,7 +2932,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3078,43 +2944,36 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionRequest */ export interface ListOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionResponse */ export interface ListOpenIdConnectionResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of Open ID Connections */ Connections?: OpenIdConnection[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3149,7 +3008,6 @@ declare module PlayFabAdminModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3159,7 +3017,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -3172,14 +3029,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3197,7 +3052,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; @@ -3206,12 +3060,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -3235,7 +3087,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -3266,7 +3117,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3282,7 +3132,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { /** Id Identifier, if present */ Id?: string; @@ -3291,7 +3140,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdConnection */ export interface OpenIdConnection { /** The client ID given by the ID provider. */ ClientId?: string; @@ -3306,7 +3154,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdIssuerInformation */ export interface OpenIdIssuerInformation { /** Authorization endpoint URL to direct users to for signin. */ AuthorizationUrl: string; @@ -3319,7 +3166,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; @@ -3339,7 +3185,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -3352,7 +3197,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3367,7 +3211,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3414,7 +3257,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3462,7 +3304,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3501,7 +3342,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3514,7 +3354,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3527,7 +3366,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3551,7 +3389,6 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3560,7 +3397,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3573,7 +3409,6 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; @@ -3582,7 +3417,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3593,7 +3427,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3608,7 +3441,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; @@ -3623,7 +3455,6 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3632,31 +3463,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3665,12 +3491,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new password for the player. */ Password: string; @@ -3679,19 +3503,16 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3700,7 +3521,6 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3720,14 +3540,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3741,35 +3559,30 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3780,7 +3593,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3791,26 +3603,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -3819,14 +3627,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call @@ -3836,7 +3642,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { /** Description the task */ Description?: string; @@ -3866,7 +3671,6 @@ declare module PlayFabAdminModels { | "ActionsOnPlayerSegment" | "CloudScriptAzureFunctions"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3880,7 +3684,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3889,12 +3692,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3903,12 +3704,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision to make the current published revision */ Revision: number; @@ -3917,12 +3716,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3934,12 +3731,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3951,12 +3746,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; @@ -3980,14 +3773,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { /** Flag to indicate if this key is disabled */ Disabled: boolean; @@ -4011,7 +3802,6 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4040,7 +3830,6 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4058,7 +3847,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4069,7 +3857,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4097,7 +3884,6 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4108,14 +3894,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -4151,7 +3935,6 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -4170,21 +3953,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not @@ -4201,12 +3981,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; @@ -4217,7 +3995,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** New revision number created */ Revision: number; @@ -4226,7 +4003,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateOpenIdConnectionRequest */ export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId?: string; @@ -4241,7 +4017,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -4252,12 +4027,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -4271,14 +4044,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; @@ -4289,7 +4060,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy that was updated. */ PolicyName?: string; @@ -4298,7 +4068,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -4310,12 +4079,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -4328,12 +4095,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -4352,7 +4117,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4371,7 +4135,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4381,7 +4144,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4398,7 +4160,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; @@ -4407,14 +4168,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4459,14 +4218,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4476,7 +4233,6 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4490,7 +4246,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4499,21 +4254,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInstantGamesIdInfo */ export interface UserFacebookInstantGamesIdInfo { /** Facebook Instant Games ID */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4528,14 +4280,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4544,14 +4294,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserNintendoSwitchDeviceIdInfo */ export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserOpenIdInfo */ export interface UserOpenIdInfo { /** OpenID Connection ID */ ConnectionId?: string; @@ -4585,14 +4333,12 @@ declare module PlayFabAdminModels { | "FacebookInstantGamesId" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4601,7 +4347,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4616,7 +4361,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4643,7 +4387,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4652,7 +4395,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserWindowsHelloInfo */ export interface UserWindowsHelloInfo { /** Windows Hello Device Name */ WindowsHelloDeviceName?: string; @@ -4661,14 +4403,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4685,7 +4425,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; @@ -4700,7 +4439,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index d8d117a3..a2523bfe 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -7,12 +7,12 @@ declare module PlayFabAuthenticationModule { /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. - * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/getentitytoken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method for a server to validate a client provided EntityToken. Only callable by the title entity. - * https://api.playfab.com/Documentation/Authentication/method/ValidateEntityToken + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/validateentitytoken */ ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -20,7 +20,6 @@ declare module PlayFabAuthenticationModule { } declare module PlayFabAuthenticationModels { - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -29,7 +28,6 @@ declare module PlayFabAuthenticationModels { } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityLineage */ export interface EntityLineage { /** The Character Id of the associated entity. */ CharacterId?: string; @@ -46,14 +44,12 @@ declare module PlayFabAuthenticationModels { } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenResponse */ export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -84,14 +80,12 @@ declare module PlayFabAuthenticationModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenRequest */ export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ EntityToken: string; } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenResponse */ export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 0ca7b308..7efa479b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -10,136 +10,136 @@ declare module PlayFabClientModule { * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the * allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted * items will be swapped between the two players' inventories. - * https://api.playfab.com/Documentation/Client/method/AcceptTrade + * https://docs.microsoft.com/rest/api/playfab/client/trading/accepttrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At * least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - * https://api.playfab.com/Documentation/Client/method/AddFriend + * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/addfriend */ AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. - * https://api.playfab.com/Documentation/Client/method/AddGenericID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/addgenericid */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds or updates a contact email to the player's profile. - * https://api.playfab.com/Documentation/Client/method/AddOrUpdateContactEmail + * https://docs.microsoft.com/rest/api/playfab/client/account-management/addorupdatecontactemail */ AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, - * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/addsharedgroupmembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device * ID login. - * https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + * https://docs.microsoft.com/rest/api/playfab/client/account-management/addusernamepassword */ AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the user's balance of the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + * 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 }): void; /** * Registers the Android device to receive push notifications - * https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/androiddevicepushnotificationregistration */ AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attributes an install for advertisment. - * https://api.playfab.com/Documentation/Client/method/AttributeInstall + * https://docs.microsoft.com/rest/api/playfab/client/advertising/attributeinstall */ AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other * players from accepting them, for trades that can be claimed by more than one player). - * https://api.playfab.com/Documentation/Client/method/CancelTrade + * https://docs.microsoft.com/rest/api/playfab/client/trading/canceltrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual * currency balances as appropriate - * https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + * 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 }): void; /** * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - * https://api.playfab.com/Documentation/Client/method/ConsumeItem + * 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 }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items - * https://api.playfab.com/Documentation/Client/method/ConsumePSNEntitlements + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements */ ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. - * https://api.playfab.com/Documentation/Client/method/ConsumeXboxEntitlements + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumexboxentitlements */ ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: - * https://docs.microsoft.com/en-us/gaming/playfab/features/social/groups/using-shared-group-data - * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * 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 }): void; /** * Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. - * https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + * https://docs.microsoft.com/rest/api/playfab/client/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the user's PlayFab account details - * https://api.playfab.com/Documentation/Client/method/GetAccountInfo + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getaccountinfo */ GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + * https://docs.microsoft.com/rest/api/playfab/client/characters/getalluserscharacters */ GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - * https://api.playfab.com/Documentation/Client/method/GetCatalogItems + * 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 }): void; /** * Retrieves the title-specific custom data for the character which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/GetCharacterData + * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterdata */ GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified character's current inventory of virtual goods - * https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + * 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 }): void; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterleaderboard */ GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the character which can only be read by the client - * https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterreadonlydata */ GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the details of all title-specific statistics for the user - * https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterstatistics */ GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -147,344 +147,344 @@ declare module PlayFabClientModule { * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * https://community.playfab.com/hc/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - * https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + * https://docs.microsoft.com/rest/api/playfab/client/content/getcontentdownloadurl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get details about all current running game servers matching the given parameters. - * https://api.playfab.com/Documentation/Client/method/GetCurrentGames + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/getcurrentgames */ GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in * the leaderboard - * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboard */ GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab * user. If PlayFabId is empty or null will return currently logged in user. - * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboardaroundplayer */ GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - * https://api.playfab.com/Documentation/Client/method/GetFriendsList + * 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 }): void; /** * Get details about the regions hosting game servers matching the given parameters. - * https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/getgameserverregions */ GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Client/method/GetLeaderboard + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboard */ GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID - * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardaroundcharacter */ GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or * null will return currently logged in user. - * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboardaroundplayer */ GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of all of the user's characters for the given statistic. - * https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardforusercharacters */ GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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://api.playfab.com/Documentation/Client/method/GetPaymentToken + * 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 }): void; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See - * https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/photon/quickstart for more details. - * https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken + * https://docs.microsoft.com/gaming/playfab/features/multiplayer/photon/quickstart for more details. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/getphotonauthenticationtoken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves all of the user's different kinds of info. - * https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayercombinedinfo */ GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the player's profile - * https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayerprofile */ GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. - * https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local * player. - * https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatistics */ GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the information on the available versions of the specified statistic. - * https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatisticversions */ GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get all tags with a given Namespace (optional) from a player profile. - * https://api.playfab.com/Documentation/Client/method/GetPlayerTags + * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayertags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets all trades the player has either opened or accepted, optionally filtered by trade status. - * https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + * https://docs.microsoft.com/rest/api/playfab/client/trading/getplayertrades */ GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookids */ GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Game identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookInstantGamesIds + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookinstantgamesids */ GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center * Programming Guide as the Player Identifier). - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgamecenterids */ GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgenericids */ GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for * the user accounts, available as "id" in the Google+ People API calls. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleids */ GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: * http://developers.kongregate.com/docs/client/getUserId). - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromkongregateids */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromPSNAccountIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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: * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromtwitchids */ GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromXboxLiveIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromxboxliveids */ GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Client/method/GetPublisherData + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getpublisherdata */ GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still * active. - * https://api.playfab.com/Documentation/Client/method/GetPurchase + * 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 }): void; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. * Shared Groups are designed for sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/getsharedgroupdata */ GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the set of items defined for the specified store, including all prices defined - * https://api.playfab.com/Documentation/Client/method/GetStoreItems + * 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 }): void; /** * Retrieves the current server time - * https://api.playfab.com/Documentation/Client/method/GetTime + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettime */ GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings - * https://api.playfab.com/Documentation/Client/method/GetTitleData + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitledata */ GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title news feed, as configured in the developer portal - * https://api.playfab.com/Documentation/Client/method/GetTitleNews + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitlenews */ GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns the title's base 64 encoded RSA CSP blob. - * https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey + * https://docs.microsoft.com/rest/api/playfab/client/authentication/gettitlepublickey */ GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the current status of an existing trade. - * https://api.playfab.com/Documentation/Client/method/GetTradeStatus + * https://docs.microsoft.com/rest/api/playfab/client/trading/gettradestatus */ GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/GetUserData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserdata */ GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the user's current inventory of virtual goods - * https://api.playfab.com/Documentation/Client/method/GetUserInventory + * 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 }): void; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/GetUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherdata */ GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherreadonlydata */ GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - * https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge + * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge */ GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + * https://docs.microsoft.com/rest/api/playfab/client/characters/grantcharactertouser */ GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Android device identifier to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkandroiddeviceid */ LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the custom identifier, generated by the title, to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkCustomID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkcustomid */ LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookaccount */ LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Facebook Instant Games Id to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkFacebookInstantGamesId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookinstantgamesid */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the currently signed-in user account to their Google account, using their Google account credentials - * https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleaccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the vendor-specific iOS device identifier to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkiosdeviceid */ LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Kongregate identifier to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkKongregate + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkkongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkNintendoSwitchDeviceId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid */ LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links an OpenID Connect account to a user's PlayFab account, based on an existing relationship between a title and an * Open ID Connect provider and the OpenId Connect JWT from that provider. - * https://api.playfab.com/Documentation/Client/method/LinkOpenIdConnect + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkopenidconnect */ LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkPSNAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linksteamaccount */ LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Twitch account associated with the token to the user's PlayFab account. - * https://api.playfab.com/Documentation/Client/method/LinkTwitch + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Link Windows Hello authentication to the current PlayFab Account - * https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello */ LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithandroiddeviceid */ LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithcustomid */ LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -492,53 +492,53 @@ declare module PlayFabClientModule { * which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the * creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via * RegisterPlayFabUser. - * https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithemailaddress */ LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API * calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithFacebook + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebook */ LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Facebook Instant Games ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user. Requires Facebook Instant Games to be configured. - * https://api.playfab.com/Documentation/Client/method/LoginWithFacebookInstantGamesId + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebookinstantgamesid */ LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be * used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using their Google account credentials - * https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleaccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently * be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithiosdeviceid */ LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Kongregate player account. - * https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithkongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithNintendoSwitchDeviceId + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchdeviceid */ LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Logs in a user with an Open ID Connect JWT created by an existing relationship between a title and an Open ID Connect * provider. - * https://api.playfab.com/Documentation/Client/method/LoginWithOpenIdConnect + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithopenidconnect */ LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -546,24 +546,24 @@ declare module PlayFabClientModule { * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of * new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. - * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithplayfab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a PlayStation Network authentication code, returning a session identifier that can subsequently * be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithPSN + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithpsn */ LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for * API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithSteam + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithsteam */ LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Twitch access token. - * https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -571,13 +571,13 @@ declare module PlayFabClientModule { * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the * server. - * https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello */ LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithXbox + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithxbox */ LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -587,238 +587,238 @@ declare module PlayFabClientModule { * found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the * availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be * GameNotFound. - * https://api.playfab.com/Documentation/Client/method/Matchmake + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/matchmake */ Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. - * https://api.playfab.com/Documentation/Client/method/OpenTrade + * https://docs.microsoft.com/rest/api/playfab/client/trading/opentrade */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Selects a payment option for purchase order created via StartPurchase - * https://api.playfab.com/Documentation/Client/method/PayForPurchase + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/payforpurchase */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what * the client believes the price to be. This lets the server fail the purchase if the price has changed. - * https://api.playfab.com/Documentation/Client/method/PurchaseItem + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/purchaseitem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. - * https://api.playfab.com/Documentation/Client/method/RedeemCoupon + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/redeemcoupon */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Uses the supplied OAuth code to refresh the internally cached player PSN auth token - * https://api.playfab.com/Documentation/Client/method/RefreshPSNAuthToken + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers the iOS device to receive push notifications - * https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/registerforiospushnotification */ RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which * require an authenticated user. You must supply either a username or an email address. - * https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can * subsequently be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. - * https://api.playfab.com/Documentation/Client/method/RemoveContactEmail + * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail */ RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a specified user from the friend list of the local user - * https://api.playfab.com/Documentation/Client/method/RemoveFriend + * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/removefriend */ RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified generic service identifier from the player's PlayFab account. - * https://api.playfab.com/Documentation/Client/method/RemoveGenericID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/removegenericid */ RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our - * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/removesharedgroupmembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Write a PlayStream event to describe the provided player device information. This API method is not designed to be * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. - * https://api.playfab.com/Documentation/Client/method/ReportDeviceInfo + * https://docs.microsoft.com/rest/api/playfab/client/analytics/reportdeviceinfo */ ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. - * https://api.playfab.com/Documentation/Client/method/ReportPlayer + * https://docs.microsoft.com/rest/api/playfab/client/account-management/reportplayer */ ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Restores all in-app purchases based on the given restore receipt - * https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. - * https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + * https://docs.microsoft.com/rest/api/playfab/client/account-management/sendaccountrecoveryemail */ SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the tag list for a specified user in the friend list of the local user - * https://api.playfab.com/Documentation/Client/method/SetFriendTags + * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/setfriendtags */ SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. - * https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + * https://docs.microsoft.com/rest/api/playfab/client/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Start a new game server with a given configuration, add the current player and return the connection information. - * https://api.playfab.com/Documentation/Client/method/StartGame + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/startgame */ StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates an order for a list of items from the title catalog - * https://api.playfab.com/Documentation/Client/method/StartPurchase + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase */ StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. - * https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Android device identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkandroiddeviceid */ UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related custom identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid */ UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Facebook account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookaccount */ UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Facebook Instant Game Ids from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookInstantGamesId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookinstantgamesid */ UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Game Center account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgamecenteraccount */ UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Google account from the user's PlayFab account * (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). - * https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleaccount */ UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related iOS device identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkiosdeviceid */ UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Kongregate identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkkongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkNintendoSwitchDeviceId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid */ UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks an OpenID Connect account from a user's PlayFab account, based on the connection ID of an existing relationship * between a title and an Open ID Connect provider. - * https://api.playfab.com/Documentation/Client/method/UnlinkOpenIdConnect + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkopenidconnect */ UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related PSN account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkPSNAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinksteamaccount */ UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Twitch account from the user's PlayFab account. - * https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlink Windows Hello authentication from the current PlayFab Account - * https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello */ UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount */ UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, * consistent with the operation of ConsumeItem. - * https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - * https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontaineritem */ UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Update the avatar URL of the player - * https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateavatarurl */ UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + * https://docs.microsoft.com/rest/api/playfab/client/character-data/updatecharacterdata */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the specific character. By default, clients are not * permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - * https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/client/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - * https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateplayerstatistics */ UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -826,61 +826,61 @@ declare module PlayFabClientModule { * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/updatesharedgroupdata */ UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/UpdateUserData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserdata */ UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserpublisherdata */ UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title specific display name for the user - * https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the * purchased catalog item - * https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateamazoniapreceipt */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates a Google Play purchase and gives the corresponding item to the player. - * https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validategoogleplaypurchase */ ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased * catalog item - * https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateiosreceipt */ ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the * purchased catalog item - * https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validatewindowsstorereceipt */ ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a character-based event into PlayStream. - * https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + * https://docs.microsoft.com/rest/api/playfab/client/analytics/writecharacterevent */ WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a player-based event into PlayStream. - * https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + * https://docs.microsoft.com/rest/api/playfab/client/analytics/writeplayerevent */ WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a title-based event into PlayStream. - * https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + * https://docs.microsoft.com/rest/api/playfab/client/analytics/writetitleevent */ WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -888,7 +888,6 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this @@ -902,14 +901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -920,7 +917,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; @@ -933,38 +929,32 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { /** True if the friend request was processed successfully. */ Created: boolean; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new contact email to associate with the player. */ EmailAddress: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -973,12 +963,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -989,14 +977,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique user name. */ Username?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; @@ -1005,7 +991,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -1019,12 +1004,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { /** The adid for this device. */ Adid?: string; @@ -1033,26 +1016,22 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { /** Description of the catalog item. */ Description?: string; @@ -1073,7 +1052,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1132,7 +1110,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -1146,7 +1123,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1164,7 +1140,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1183,7 +1158,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1192,7 +1166,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1211,7 +1184,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; @@ -1226,7 +1198,6 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; @@ -1238,14 +1209,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items purchased. */ Items?: ItemInstance[]; @@ -1256,7 +1225,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1267,7 +1235,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1276,7 +1243,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsRequest */ export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -1285,14 +1251,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsResult */ export interface ConsumePSNEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to the player as a result of consuming entitlements. */ ItemsGranted?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsRequest */ export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ CatalogVersion?: string; @@ -1301,14 +1265,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsResult */ export interface ConsumeXboxEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1319,7 +1281,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ Data?: { [key: string]: string | null }; @@ -1584,14 +1545,12 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1761,7 +1720,6 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build to match against. */ BuildVersion?: string; @@ -1776,7 +1734,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { /** number of games running */ GameCount: number; @@ -1787,7 +1744,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -1798,17 +1754,14 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -1817,7 +1770,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; @@ -1828,7 +1780,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1850,7 +1801,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1889,7 +1839,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookInstantGamesPlayFabIdPair */ export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -1898,7 +1847,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1907,7 +1855,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -1932,7 +1879,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { /** Unique Game Center identifier for a user. */ GameCenterId?: string; @@ -1941,7 +1887,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { /** build version this server is running */ BuildVersion?: string; @@ -1981,7 +1926,6 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** version of game server for which stats are being requested */ BuildVersion: string; @@ -1993,14 +1937,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -2009,7 +1951,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -2018,7 +1959,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address for the account to find (if no Username is specified). */ Email?: string; @@ -2037,28 +1977,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2074,7 +2010,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -2088,7 +2023,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -2097,7 +2031,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -2110,7 +2043,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -2123,28 +2055,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -2158,14 +2086,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2190,7 +2116,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2201,7 +2126,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2226,7 +2150,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2243,14 +2166,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; @@ -2263,14 +2184,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2289,7 +2208,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2300,7 +2218,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2309,14 +2226,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2335,7 +2250,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2346,14 +2260,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of service to provide the payment token. Allowed Values are: xsolla */ TokenProvider: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab's purchase order identifier. */ OrderId?: string; @@ -2362,21 +2274,18 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2385,7 +2294,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2423,7 +2331,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2432,7 +2339,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2466,7 +2372,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; @@ -2479,7 +2384,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2489,19 +2393,16 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; @@ -2513,28 +2414,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2543,7 +2440,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2552,14 +2448,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; @@ -2568,49 +2462,42 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ FacebookInstantGamesIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ Data?: FacebookInstantGamesPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2620,56 +2507,48 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ Data?: number[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; @@ -2678,42 +2557,36 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsResult */ export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; @@ -2722,35 +2595,30 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsResult */ export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Purchase order identifier. */ OrderId?: string; @@ -2765,7 +2633,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2776,7 +2643,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2790,7 +2656,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2799,7 +2664,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2808,7 +2672,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2823,47 +2686,40 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -2875,14 +2731,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player who opened trade. */ OfferingPlayerId: string; @@ -2891,14 +2745,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** Information about the requested trade. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2915,7 +2767,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2927,12 +2778,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2943,7 +2792,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -2955,14 +2803,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -2971,7 +2817,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2985,7 +2830,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; @@ -2996,7 +2840,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3037,7 +2880,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest { /** Title-specific text concerning this purchase. */ Annotation?: string; @@ -3050,7 +2892,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { /** Unique Kongregate identifier for a user. */ KongregateId?: string; @@ -3059,7 +2900,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3072,12 +2912,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -3086,12 +2924,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3104,7 +2940,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3113,12 +2948,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdRequest */ export interface LinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; @@ -3127,12 +2960,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdResult */ export interface LinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3152,12 +2983,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3169,12 +2998,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; @@ -3187,12 +3014,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; @@ -3203,12 +3028,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdRequest */ export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3217,12 +3040,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdResult */ export interface LinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkOpenIdConnectRequest */ export interface LinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; @@ -3236,7 +3057,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountRequest */ export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation Network. */ AuthCode: string; @@ -3249,12 +3069,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountResult */ export interface LinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3266,12 +3084,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; @@ -3280,12 +3096,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -3298,12 +3112,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountRequest */ export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3312,26 +3124,22 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountResult */ export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3366,7 +3174,6 @@ declare module PlayFabClientModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3390,7 +3197,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3414,7 +3220,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3434,7 +3239,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address for the account. */ Email: string; @@ -3450,7 +3254,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookInstantGamesIdRequest */ export interface LoginWithFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3470,7 +3273,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3490,7 +3292,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3521,7 +3322,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3544,7 +3344,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3568,7 +3367,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; @@ -3590,7 +3388,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithNintendoSwitchDeviceIdRequest */ export interface LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3610,7 +3407,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithOpenIdConnectRequest */ export interface LoginWithOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; @@ -3635,7 +3431,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; @@ -3651,7 +3446,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPSNRequest */ export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PSN OAuth provider. */ AuthCode?: string; @@ -3675,7 +3469,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3698,7 +3491,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Twitch's API for the user. */ AccessToken?: string; @@ -3718,7 +3510,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; @@ -3734,7 +3525,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithXboxRequest */ export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3754,7 +3544,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3764,7 +3553,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; @@ -3785,7 +3573,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server will expire, if applicable */ Expires?: string; @@ -3814,7 +3601,6 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3832,7 +3618,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3848,7 +3633,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NintendoSwitchPlayFabIdPair */ export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -3857,7 +3641,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may @@ -3871,14 +3654,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; @@ -3891,7 +3672,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; @@ -3916,7 +3696,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { /** Specific currency to use to fund the purchase. */ Currency?: string; @@ -3929,7 +3708,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3944,7 +3722,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3992,7 +3769,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -4031,7 +3807,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -4048,7 +3823,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PSNAccountPlayFabIdPair */ export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4057,7 +3831,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; @@ -4074,14 +3847,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseReceiptFulfillment */ export interface PurchaseReceiptFulfillment { /** Items granted to the player in fulfillment of the validated receipt. */ FulfilledItems?: ItemInstance[]; @@ -4102,7 +3873,6 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -4111,7 +3881,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; @@ -4122,14 +3891,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RefreshPSNAuthTokenRequest */ export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; @@ -4148,7 +3915,6 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { /** indicates whether the server specified is available in this region */ Available: boolean; @@ -4161,7 +3927,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -4172,12 +3937,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; @@ -4207,7 +3970,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -4225,7 +3987,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -4247,41 +4008,34 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -4290,12 +4044,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -4304,14 +4056,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the restored items. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4320,14 +4070,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -4341,7 +4089,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -4355,12 +4102,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -4369,12 +4114,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; @@ -4383,12 +4126,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4409,7 +4150,6 @@ declare module PlayFabClientModels { | "Custom" | "API"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** version information for the build of the game server which is to be started */ BuildVersion: string; @@ -4426,7 +4166,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server should expire, if applicable */ Expires?: string; @@ -4447,7 +4186,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; @@ -4458,7 +4196,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Cart items to be purchased. */ Contents?: CartItem[]; @@ -4471,7 +4208,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4482,7 +4218,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4491,7 +4226,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4505,7 +4239,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4516,7 +4249,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4525,7 +4257,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4543,7 +4274,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4554,7 +4284,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4582,7 +4311,6 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4591,7 +4319,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4604,7 +4331,6 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -4617,7 +4343,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; @@ -4677,7 +4402,6 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TreatmentAssignment */ export interface TreatmentAssignment { /** List of the experiment variables. */ Variables?: Variable[]; @@ -4686,7 +4410,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; @@ -4695,14 +4418,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UninkOpenIdConnectRequest */ export interface UninkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4712,12 +4433,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4727,54 +4446,44 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdRequest */ export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Facebook Instant Games identifier for the user. If not specified, the most recently signed in ID will be used. */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdResult */ export interface UnlinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will @@ -4784,88 +4493,72 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdRequest */ export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdResult */ export interface UnlinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountRequest */ export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountResult */ export interface UnlinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountResult */ export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -4884,7 +4577,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -4898,7 +4590,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4911,14 +4602,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4937,7 +4626,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4947,7 +4635,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4956,24 +4643,20 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4992,12 +4675,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -5017,7 +4698,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -5027,21 +4707,18 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -5086,14 +4763,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -5103,7 +4778,6 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -5117,7 +4791,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -5126,21 +4799,18 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInstantGamesIdInfo */ export interface UserFacebookInstantGamesIdInfo { /** Facebook Instant Games ID */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -5155,14 +4825,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -5171,14 +4839,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserNintendoSwitchDeviceIdInfo */ export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserOpenIdInfo */ export interface UserOpenIdInfo { /** OpenID Connection ID */ ConnectionId?: string; @@ -5212,14 +4878,12 @@ declare module PlayFabClientModels { | "FacebookInstantGamesId" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -5228,7 +4892,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -5239,7 +4902,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -5254,7 +4916,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -5281,7 +4942,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -5290,7 +4950,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserWindowsHelloInfo */ export interface UserWindowsHelloInfo { /** Windows Hello Device Name */ WindowsHelloDeviceName?: string; @@ -5299,14 +4958,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5321,14 +4978,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5343,14 +4998,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5363,14 +5016,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5383,14 +5034,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -5407,7 +5056,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Variable */ export interface Variable { /** Name of the variable. */ Name: string; @@ -5416,7 +5064,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -5431,14 +5078,11 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5449,12 +5093,9 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5465,7 +5106,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -5475,12 +5115,9 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5491,7 +5128,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.XboxLiveAccountPlayFabIdPair */ export interface XboxLiveAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 1ec1b764..eff48dc1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -7,7 +7,7 @@ declare module PlayFabCloudScriptModule { /** * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. - * https://api.playfab.com/Documentation/CloudScript/method/ExecuteEntityCloudScript + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executeentitycloudscript */ ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -19,7 +19,6 @@ declare module PlayFabCloudScriptModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -28,7 +27,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -67,7 +65,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteEntityCloudScriptRequest */ export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -91,7 +88,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -101,7 +97,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index dde0fb27..c6a4b27a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -6,37 +6,37 @@ declare module PlayFabDataModule { /** * Abort pending file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Data/method/AbortFileUploads + * https://docs.microsoft.com/rest/api/playfab/data/file/abortfileuploads */ AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete files on an entity's profile. - * https://api.playfab.com/Documentation/Data/method/DeleteFiles + * https://docs.microsoft.com/rest/api/playfab/data/file/deletefiles */ DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Finalize file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Data/method/FinalizeFileUploads + * https://docs.microsoft.com/rest/api/playfab/data/file/finalizefileuploads */ FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves file metadata from an entity's profile. - * https://api.playfab.com/Documentation/Data/method/GetFiles + * https://docs.microsoft.com/rest/api/playfab/data/file/getfiles */ GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves objects from an entity's profile. - * https://api.playfab.com/Documentation/Data/method/GetObjects + * https://docs.microsoft.com/rest/api/playfab/data/object/getobjects */ GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Data/method/InitiateFileUploads + * https://docs.microsoft.com/rest/api/playfab/data/file/initiatefileuploads */ InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets objects on an entity's profile. - * https://api.playfab.com/Documentation/Data/method/SetObjects + * https://docs.microsoft.com/rest/api/playfab/data/object/setobjects */ SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -44,7 +44,6 @@ declare module PlayFabDataModule { } declare module PlayFabDataModels { - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsRequest */ export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -58,7 +57,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsResponse */ export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -67,7 +65,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesRequest */ export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -81,7 +78,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesResponse */ export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -90,7 +86,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -99,7 +94,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsRequest */ export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -108,7 +102,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsResponse */ export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -119,7 +112,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFileMetadata */ export interface GetFileMetadata { /** Checksum value for the file */ Checksum?: string; @@ -134,14 +126,12 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesRequest */ export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesResponse */ export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -152,7 +142,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsRequest */ export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -164,7 +153,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsResponse */ export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -175,7 +163,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadMetadata */ export interface InitiateFileUploadMetadata { /** Name of the file. */ FileName?: string; @@ -184,7 +171,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsRequest */ export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -198,7 +184,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsResponse */ export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -209,7 +194,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.ObjectResult */ export interface ObjectResult { /** Un-escaped JSON object, if EscapeObject false or default. */ DataObject?: any; @@ -225,7 +209,6 @@ declare module PlayFabDataModels { | "Deleted" | "None"; - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObject */ export interface SetObject { /** * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation @@ -244,7 +227,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectInfo */ export interface SetObjectInfo { /** Name of the object */ ObjectName?: string; @@ -255,7 +237,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsRequest */ export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -270,7 +251,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsResponse */ export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { /** New version of the entity profile. */ ProfileVersion: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index ce748d64..ec02baa7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -6,13 +6,13 @@ declare module PlayFabEventsModule { /** * Write batches of entity based events to PlayStream. The namespace of the Event must start with 'com.playfab.events.' - * https://api.playfab.com/Documentation/Events/method/WriteEvents + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start * with 'custom.' - * https://api.playfab.com/Documentation/Events/method/WriteTelemetryEvents + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writetelemetryevents */ WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -20,7 +20,6 @@ declare module PlayFabEventsModule { } declare module PlayFabEventsModels { - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -29,7 +28,6 @@ declare module PlayFabEventsModels { } - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ export interface EventContents { /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; @@ -57,14 +55,12 @@ declare module PlayFabEventsModels { } - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsRequest */ export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Collection of events to write to PlayStream. */ Events: EventContents[]; } - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsResponse */ export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 8c22690d..2080b915 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -6,127 +6,127 @@ declare module PlayFabGroupsModule { /** * Accepts an outstanding invitation to to join a group - * https://api.playfab.com/Documentation/Groups/method/AcceptGroupApplication + * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupapplication */ AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Accepts an invitation to join a group - * https://api.playfab.com/Documentation/Groups/method/AcceptGroupInvitation + * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupinvitation */ AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds members to a group or role. - * https://api.playfab.com/Documentation/Groups/method/AddMembers + * https://docs.microsoft.com/rest/api/playfab/groups/groups/addmembers */ AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Applies to join a group - * https://api.playfab.com/Documentation/Groups/method/ApplyToGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/applytogroup */ ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Blocks a list of entities from joining a group. - * https://api.playfab.com/Documentation/Groups/method/BlockEntity + * https://docs.microsoft.com/rest/api/playfab/groups/groups/blockentity */ BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Changes the role membership of a list of entities from one role to another. - * https://api.playfab.com/Documentation/Groups/method/ChangeMemberRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/changememberrole */ ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new group. - * https://api.playfab.com/Documentation/Groups/method/CreateGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/creategroup */ CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new group role. - * https://api.playfab.com/Documentation/Groups/method/CreateRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/createrole */ CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a group and all roles, invitations, join requests, and blocks associated with it. - * https://api.playfab.com/Documentation/Groups/method/DeleteGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/deletegroup */ DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing role in a group. - * https://api.playfab.com/Documentation/Groups/method/DeleteRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/deleterole */ DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets information about a group and its roles - * https://api.playfab.com/Documentation/Groups/method/GetGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/getgroup */ GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Invites a player to join a group - * https://api.playfab.com/Documentation/Groups/method/InviteToGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/invitetogroup */ InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks to see if an entity is a member of a group or role within the group - * https://api.playfab.com/Documentation/Groups/method/IsMember + * https://docs.microsoft.com/rest/api/playfab/groups/groups/ismember */ IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all outstanding requests to join a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupApplications + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupapplications */ ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all entities blocked from joining a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupBlocks + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupblocks */ ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all outstanding invitations for a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupInvitations + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupinvitations */ ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all members for a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupMembers + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupmembers */ ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all groups and roles for an entity - * https://api.playfab.com/Documentation/Groups/method/ListMembership + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembership */ ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all outstanding invitations and group applications for an entity - * https://api.playfab.com/Documentation/Groups/method/ListMembershipOpportunities + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembershipopportunities */ ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an application to join a group - * https://api.playfab.com/Documentation/Groups/method/RemoveGroupApplication + * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupapplication */ RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an invitation join a group - * https://api.playfab.com/Documentation/Groups/method/RemoveGroupInvitation + * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupinvitation */ RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes members from a group. - * https://api.playfab.com/Documentation/Groups/method/RemoveMembers + * https://docs.microsoft.com/rest/api/playfab/groups/groups/removemembers */ RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unblocks a list of entities from joining a group - * https://api.playfab.com/Documentation/Groups/method/UnblockEntity + * https://docs.microsoft.com/rest/api/playfab/groups/groups/unblockentity */ UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates non-membership data about a group. - * https://api.playfab.com/Documentation/Groups/method/UpdateGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/updategroup */ UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates metadata about a role. - * https://api.playfab.com/Documentation/Groups/method/UpdateRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/updaterole */ UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -134,7 +134,6 @@ declare module PlayFabGroupsModule { } declare module PlayFabGroupsModels { - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupApplicationRequest */ export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a @@ -146,7 +145,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupInvitationRequest */ export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -155,7 +153,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AddMembersRequest */ export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -169,7 +166,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupRequest */ export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ AutoAcceptOutstandingInvite?: boolean; @@ -180,7 +176,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupResponse */ export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** Type of entity that requested membership */ Entity?: EntityWithLineage; @@ -191,7 +186,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.BlockEntityRequest */ export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -200,7 +194,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ChangeMemberRoleRequest */ export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 @@ -219,7 +212,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRequest */ export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -228,7 +220,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupResponse */ export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** The ID of the administrator role for the group. */ AdminRoleId?: string; @@ -247,7 +238,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleRequest */ export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -264,7 +254,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleResponse */ export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { /** The current version of the group profile, can be used for concurrency control during updates. */ ProfileVersion: number; @@ -275,14 +264,12 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteGroupRequest */ export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the group or role to remove */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteRoleRequest */ export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -291,12 +278,10 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -305,7 +290,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityMemberRole */ export interface EntityMemberRole { /** The list of members in the role */ Members?: EntityWithLineage[]; @@ -316,7 +300,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityWithLineage */ export interface EntityWithLineage { /** The entity key for the specified entity */ Key?: EntityKey; @@ -325,7 +308,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupRequest */ export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group?: EntityKey; @@ -334,7 +316,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupResponse */ export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** The ID of the administrator role for the group. */ AdminRoleId?: string; @@ -353,7 +334,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupApplication */ export interface GroupApplication { /** Type of entity that requested membership */ Entity?: EntityWithLineage; @@ -364,7 +344,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupBlock */ export interface GroupBlock { /** The entity that is blocked */ Entity?: EntityWithLineage; @@ -373,7 +352,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupInvitation */ export interface GroupInvitation { /** When the invitation will expire and be deleted */ Expires: string; @@ -388,7 +366,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupRole */ export interface GroupRole { /** ID for the role */ RoleId?: string; @@ -397,7 +374,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupWithRoles */ export interface GroupWithRoles { /** ID for the group */ Group?: EntityKey; @@ -410,7 +386,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupRequest */ export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ AutoAcceptOutstandingApplication?: boolean; @@ -426,7 +401,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupResponse */ export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** When the invitation will expire and be deleted */ Expires: string; @@ -441,7 +415,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberRequest */ export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -455,77 +428,66 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberResponse */ export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { /** A value indicating whether or not the entity is a member. */ IsMember: boolean; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsRequest */ export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsResponse */ export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of applications to the group. */ Applications?: GroupApplication[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksRequest */ export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksResponse */ export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list blocked entities. */ BlockedEntities?: GroupBlock[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsRequest */ export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsResponse */ export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of group invitations. */ Invitations?: GroupInvitation[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersRequest */ export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the group to list the members and roles for */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersResponse */ export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of roles and member entity IDs. */ Members?: EntityMemberRole[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesRequest */ export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesResponse */ export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of group applications. */ Applications?: GroupApplication[]; @@ -534,14 +496,12 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipRequest */ export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipResponse */ export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of groups */ Groups?: GroupWithRoles[]; @@ -553,7 +513,6 @@ declare module PlayFabGroupsModels { | "Deleted" | "None"; - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupApplicationRequest */ export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -562,7 +521,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupInvitationRequest */ export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -571,7 +529,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveMembersRequest */ export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -582,7 +539,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UnblockEntityRequest */ export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -591,7 +547,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRequest */ export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional: the ID of an existing role to set as the new administrator role for the group */ AdminRoleId?: string; @@ -610,7 +565,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupResponse */ export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** Optional reason to explain why the operation was the result that it was. */ OperationReason?: string; @@ -621,7 +575,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleRequest */ export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the @@ -638,7 +591,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleResponse */ export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { /** Optional reason to explain why the operation was the result that it was. */ OperationReason?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts index ff2a034f..1bca30d8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -6,7 +6,7 @@ declare module PlayFabLocalizationModule { /** * Retrieves the list of allowed languages, only accessible by title entities - * https://api.playfab.com/Documentation/Localization/method/GetLanguageList + * https://docs.microsoft.com/rest/api/playfab/localization/localization/getlanguagelist */ GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -14,12 +14,10 @@ declare module PlayFabLocalizationModule { } declare module PlayFabLocalizationModels { - /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListRequest */ export interface GetLanguageListRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListResponse */ export interface GetLanguageListResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of allowed languages, in BCP47 two-letter format */ LanguageList?: string[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 19c94c15..0f07b438 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -6,28 +6,28 @@ declare module PlayFabMatchmakerModule { /** * Validates a user with the PlayFab service - * https://api.playfab.com/Documentation/Matchmaker/method/AuthUser + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/authuser */ AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified - * https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerjoined */ PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified - * https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft */ PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance - * https://api.playfab.com/Documentation/Matchmaker/method/StartGame + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/startgame */ StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute * effective matches - * https://api.playfab.com/Documentation/Matchmaker/method/UserInfo + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/userinfo */ UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -35,14 +35,12 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; @@ -51,7 +49,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -92,7 +89,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the @@ -104,12 +100,10 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the @@ -121,7 +115,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -134,7 +127,6 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; @@ -153,7 +145,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; @@ -168,7 +159,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a @@ -180,7 +170,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; @@ -201,7 +190,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 825606c0..8d3a33ef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -6,241 +6,268 @@ declare module PlayFabMultiplayerModule { /** * Cancel all active tickets the player is a member of in a given queue. - * https://api.playfab.com/Documentation/Multiplayer/method/CancelAllMatchmakingTicketsForPlayer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallmatchmakingticketsforplayer */ CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cancel all active backfill tickets the player is a member of in a given queue. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallserverbackfillticketsforplayer + */ + CancelAllServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Cancel a matchmaking ticket. - * https://api.playfab.com/Documentation/Multiplayer/method/CancelMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelmatchmakingticket */ CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cancel a server backfill ticket. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelserverbackfillticket + */ + CancelServerBackfillTicket(request: PlayFabMultiplayerModels.CancelServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildalias */ CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a custom container. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithcustomcontainer */ CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a managed container. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithManagedContainer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithmanagedcontainer */ CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a client. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket */ CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a remote user to log on to a VM for a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateRemoteUser + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createremoteuser */ CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a backfill matchmaking ticket as a server. A backfill ticket represents an ongoing game. The matchmaking service + * automatically starts matching the backfill ticket against other matchmaking tickets. Backfill tickets cannot match with + * other backfill tickets. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createserverbackfillticket + */ + CreateServerBackfillTicket(request: PlayFabMultiplayerModels.CreateServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other * matchmaking tickets. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateServerMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteAsset + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset */ DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuild + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuild */ DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildalias */ DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game certificate. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteCertificate + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate */ DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a remote user to log on to a VM for a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteRemoteUser + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser */ DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Enables the multiplayer server feature for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/EnableMultiplayerServersForTitle + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the URL to upload assets to. - * https://api.playfab.com/Documentation/Multiplayer/method/GetAssetUploadUrl + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/GetBuild + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuild */ GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/GetBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuildalias */ GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the credentials to the container registry. - * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getcontainerregistrycredentials */ GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a match. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMatch + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch */ GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a matchmaking ticket by ticket Id. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket */ GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets multiplayer server session details for a build. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverdetails */ GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets multiplayer server logs after a server has terminated. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerLogs + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverlogs */ GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the statistics for a queue. - * https://api.playfab.com/Documentation/Multiplayer/method/GetQueueStatistics + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getqueuestatistics */ GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/GetRemoteLoginEndpoint + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getremoteloginendpoint */ GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking backfill ticket by ticket Id. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getserverbackfillticket + */ + GetServerBackfillTicket(request: PlayFabMultiplayerModels.GetServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the status of whether a title is enabled for the multiplayer server feature. - * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. - * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleMultiplayerServersQuotas + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas */ GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Join a matchmaking ticket. - * https://api.playfab.com/Documentation/Multiplayer/method/JoinMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket */ JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists archived multiplayer server sessions for a build. - * https://api.playfab.com/Documentation/Multiplayer/method/ListArchivedMultiplayerServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers */ ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game assets for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listassetsummaries */ ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists details of all build aliases for a title. Accepts tokens for title and if game client access is enabled, allows * game client to request list of builds with player entity token. - * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildAliases + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. - * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummaries */ ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game certificates for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListCertificateSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcertificatesummaries */ ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists custom container images for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImages + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimages */ ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists the tags for a custom container image. - * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimagetags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all matchmaking ticket Ids the user is a member of. - * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingTicketsForPlayer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listmatchmakingticketsforplayer */ ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server sessions for a build. - * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listmultiplayerservers */ ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers for party. - * https://api.playfab.com/Documentation/Multiplayer/method/ListPartyQosServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listpartyqosservers */ ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers. - * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosservers */ ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers. - * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServersForTitle + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server backfill ticket Ids the user is a member of. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer + */ + ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. - * https://api.playfab.com/Documentation/Multiplayer/method/RequestMultiplayerServer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestmultiplayerserver */ RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Rolls over the credentials to the container registry. - * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. - * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Untags a container image. - * https://api.playfab.com/Documentation/Multiplayer/method/UntagContainerImage + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage */ UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's regions. - * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildRegions + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions */ UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Uploads a multiplayer server game certificate. - * https://api.playfab.com/Documentation/Multiplayer/method/UploadCertificate + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate */ UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -248,7 +275,6 @@ declare module PlayFabMultiplayerModule { } declare module PlayFabMultiplayerModels { - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReference */ export interface AssetReference { /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ FileName?: string; @@ -257,7 +283,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReferenceParams */ export interface AssetReferenceParams { /** The asset's file name. */ FileName: string; @@ -266,7 +291,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetSummary */ export interface AssetSummary { /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ FileName?: string; @@ -323,7 +347,6 @@ declare module PlayFabMultiplayerModels { | "Standard_A3" | "Standard_A4"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasDetailsResponse */ export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ AliasId?: string; @@ -338,14 +361,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasParams */ export interface BuildAliasParams { /** The guid string alias ID to use for the request. */ AliasId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { /** The current multiplayer server stats for the region. */ CurrentServerStats?: CurrentServerStats; @@ -365,7 +386,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegionParams */ export interface BuildRegionParams { /** Optional settings to control dynamic adjustment of standby target. If not specified, dynamic standby is disabled */ DynamicStandbySettings?: DynamicStandbySettings; @@ -378,14 +398,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSelectionCriterion */ export interface BuildSelectionCriterion { /** Dictionary of build ids and their respective weights for distribution of allocation requests. */ BuildWeightDistribution?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSummary */ export interface BuildSummary { /** The guid string build ID of the build. */ BuildId?: string; @@ -400,7 +418,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerRequest */ export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key of the player whose tickets should be canceled. */ Entity?: EntityKey; @@ -409,16 +426,26 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerResult */ export interface CancelAllMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { } + export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key of the player whose backfill tickets should be canceled. */ + Entity: EntityKey; + /** The name of the queue from which a player's backfill tickets should be canceled. */ + QueueName: string; + + } + + export interface CancelAllServerBackfillTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + type CancellationReason = "Requested" | "Internal" | "Timeout"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue the ticket is in. */ QueueName: string; @@ -427,12 +454,22 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketResult */ export interface CancelMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Certificate */ + export interface CancelServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the queue the ticket is in. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + export interface CancelServerBackfillTicketResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface Certificate { /** Base64 encoded string contents of the certificate. */ Base64EncodedValue: string; @@ -446,7 +483,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CertificateSummary */ export interface CertificateSummary { /** The name of the certificate. */ Name?: string; @@ -455,7 +491,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ConnectedPlayer */ export interface ConnectedPlayer { /** The player ID of the player connected to the multiplayer server. */ PlayerId?: string; @@ -466,7 +501,6 @@ declare module PlayFabMultiplayerModels { | "CustomLinux" | "ManagedWindowsServerCorePreview"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ContainerImageReference */ export interface ContainerImageReference { /** The container image name. */ ImageName: string; @@ -475,7 +509,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CoreCapacity */ export interface CoreCapacity { /** The available core capacity for the (Region, VmFamily) */ Available: number; @@ -488,7 +521,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildAliasRequest */ export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -497,7 +529,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ BuildName: string; @@ -527,7 +558,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerResponse */ export interface CreateBuildWithCustomContainerResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string build ID. Must be unique for every build. */ BuildId?: string; @@ -558,7 +588,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerRequest */ export interface CreateBuildWithManagedContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ BuildName: string; @@ -588,7 +617,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerResponse */ export interface CreateBuildWithManagedContainerResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string build ID. Must be unique for every build. */ BuildId?: string; @@ -619,7 +647,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketRequest */ export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who created this ticket. */ Creator: MatchmakingPlayer; @@ -632,14 +659,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketResult */ export interface CreateMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { /** The Id of the ticket to find a match for. */ TicketId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserRequest */ export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of to create the remote user for. */ BuildId: string; @@ -654,7 +679,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserResponse */ export interface CreateRemoteUserResponse extends PlayFabModule.IPlayFabResultCommon { /** The expiration time for the remote user created. */ ExpirationTime?: string; @@ -665,7 +689,24 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateServerMatchmakingTicketRequest */ + export interface CreateServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The users who will be part of this ticket, along with their team assignments. */ + Members: MatchmakingPlayerWithTeamAssignment[]; + /** The Id of a match queue. */ + QueueName: string; + /** The details of the server the members are connected to. */ + ServerDetails?: ServerDetails; + + } + + export interface CreateServerBackfillTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + export interface CreateServerMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; @@ -676,7 +717,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CurrentServerStats */ export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -689,35 +729,30 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteAssetRequest */ export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { /** The filename of the asset to delete. */ FileName: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildAliasRequest */ export interface DeleteBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildRequest */ export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ BuildId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteCertificateRequest */ export interface DeleteCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the certificate. */ Name: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteRemoteUserRequest */ export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; @@ -730,7 +765,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbySettings */ export interface DynamicStandbySettings { /** * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, @@ -744,7 +778,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbyThreshold */ export interface DynamicStandbyThreshold { /** When the trigger threshold is reached, multiply by this value */ Multiplier: number; @@ -753,24 +786,20 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleRequest */ export interface EnableMultiplayerServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleResponse */ export interface EnableMultiplayerServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The enabled status for the multiplayer server features for the title. */ Status?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -779,7 +808,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReference */ export interface GameCertificateReference { /** * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game @@ -795,7 +823,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReferenceParams */ export interface GameCertificateReferenceParams { /** * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game @@ -811,14 +838,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlRequest */ export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The asset's file name to get the upload URL for. */ FileName: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlResponse */ export interface GetAssetUploadUrlResponse extends PlayFabModule.IPlayFabResultCommon { /** The asset's upload URL. */ AssetUploadUrl?: string; @@ -827,21 +852,18 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildAliasRequest */ export interface GetBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildRequest */ export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to get. */ BuildId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildResponse */ export interface GetBuildResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string build ID of the build. */ BuildId?: string; @@ -887,12 +909,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsRequest */ export interface GetContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsResponse */ export interface GetContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { /** The url of the container registry. */ DnsName?: string; @@ -903,7 +923,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketRequest */ export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON @@ -917,10 +936,7 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketResult */ export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ - CancellationReason?: string; /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ CancellationReasonString?: string; /** The server date and time at which ticket was created. */ @@ -947,7 +963,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchRequest */ export interface GetMatchRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON @@ -963,7 +978,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchResult */ export interface GetMatchResult extends PlayFabModule.IPlayFabResultCommon { /** The Id of a match. */ MatchId: string; @@ -979,7 +993,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsRequest */ export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ BuildId: string; @@ -993,7 +1006,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsResponse */ export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -1018,7 +1030,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsRequest */ export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The region of the multiplayer server to get logs for. */ Region: string; @@ -1027,21 +1038,18 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsResponse */ export interface GetMultiplayerServerLogsResponse extends PlayFabModule.IPlayFabResultCommon { /** URL for logs download. */ LogDownloadUrl?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsRequest */ export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue. */ QueueName: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsResult */ export interface GetQueueStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The current number of players in the matchmaking queue, who are waiting to be matched. */ NumberOfPlayersMatching?: number; @@ -1050,7 +1058,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointRequest */ export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get remote login information for. */ BuildId: string; @@ -1061,7 +1068,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointResponse */ export interface GetRemoteLoginEndpointResponse extends PlayFabModule.IPlayFabResultCommon { /** The remote login IPV4 address of multiplayer server. */ IPV4Address?: string; @@ -1070,31 +1076,61 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusRequest */ + export interface GetServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON + * object. + */ + EscapeObject: boolean; + /** The name of the queue to find a match for. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + export interface GetServerBackfillTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + CancellationReasonString?: string; + /** The server date and time at which ticket was created. */ + Created: string; + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The Id of a match. */ + MatchId?: string; + /** A list of Users that are part of this ticket, along with their team assignments. */ + Members: MatchmakingPlayerWithTeamAssignment[]; + /** The Id of a match queue. */ + QueueName: string; + /** The details of the server the members are connected to. */ + ServerDetails: ServerDetails; + /** The current ticket status. Possible values are: WaitingForMatch, Canceled and Matched. */ + Status: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + export interface GetTitleEnabledForMultiplayerServersStatusRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusResponse */ export interface GetTitleEnabledForMultiplayerServersStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** The enabled status for the multiplayer server features for the title. */ Status?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasRequest */ export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasResponse */ export interface GetTitleMultiplayerServersQuotasResponse extends PlayFabModule.IPlayFabResultCommon { /** The various quotas for multiplayer servers for the title. */ Quotas?: TitleMultiplayerServersQuotas; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.InstrumentationConfiguration */ export interface InstrumentationConfiguration { /** * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics @@ -1105,7 +1141,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ Member: MatchmakingPlayer; @@ -1116,12 +1151,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketResult */ export interface JoinMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesRequest */ export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1130,7 +1163,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesResponse */ export interface ListAssetSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of asset summaries. */ AssetSummaries?: AssetSummary[]; @@ -1141,14 +1173,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildAliasesForTitleResponse */ export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesRequest */ export interface ListBuildSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1157,7 +1187,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesResponse */ export interface ListBuildSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build summaries for a title. */ BuildSummaries?: BuildSummary[]; @@ -1168,7 +1197,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesRequest */ export interface ListCertificateSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1177,7 +1205,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesResponse */ export interface ListCertificateSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of game certificates. */ CertificateSummaries?: CertificateSummary[]; @@ -1188,7 +1215,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesRequest */ export interface ListContainerImagesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1197,7 +1223,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesResponse */ export interface ListContainerImagesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of container images. */ Images?: string[]; @@ -1208,21 +1233,18 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsRequest */ export interface ListContainerImageTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The container images we want to list tags for. */ ImageName?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsResponse */ export interface ListContainerImageTagsResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of tags for a particular container image. */ Tags?: string[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerRequest */ export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; @@ -1231,14 +1253,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerResult */ export interface ListMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** The list of ticket Ids the user is a member of. */ TicketIds: string[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersRequest */ export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer servers to list. */ BuildId: string; @@ -1251,7 +1271,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersResponse */ export interface ListMultiplayerServersResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of multiplayer server summary details. */ MultiplayerServerSummaries?: MultiplayerServerSummary[]; @@ -1262,14 +1281,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersRequest */ export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Qos servers version */ Version: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersResponse */ export interface ListPartyQosServersResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1280,12 +1297,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleRequest */ export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleResponse */ export interface ListQosServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1296,12 +1311,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersResponse */ export interface ListQosServersResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1312,7 +1325,20 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesRequest */ + export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key for which to find the ticket Ids. */ + Entity: EntityKey; + /** The name of the queue the tickets are in. */ + QueueName: string; + + } + + export interface ListServerBackfillTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of backfill ticket Ids the user is a member of. */ + TicketIds: string[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -1325,7 +1351,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesResponse */ export interface ListVirtualMachineSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1336,7 +1361,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayer */ export interface MatchmakingPlayer { /** The user's attributes custom to the title. */ Attributes?: MatchmakingPlayerAttributes; @@ -1345,7 +1369,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerAttributes */ export interface MatchmakingPlayerAttributes { /** A data object representing a user's attributes. */ DataObject?: any; @@ -1354,7 +1377,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerWithTeamAssignment */ export interface MatchmakingPlayerWithTeamAssignment { /** * The user's attributes custom to the title. These attributes will be null unless the request has ReturnMemberAttributes @@ -1368,12 +1390,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerEmptyRequest */ export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -1392,7 +1412,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Port */ export interface Port { /** The name for the port. */ Name: string; @@ -1406,7 +1425,6 @@ declare module PlayFabMultiplayerModels { type ProtocolType = "TCP" | "UDP"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.QosServer */ export interface QosServer { /** The region the QoS server is located in. */ Region?: string; @@ -1415,7 +1433,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifiers of the build alias to use for the request. */ BuildAliasParams?: BuildAliasParams; @@ -1441,7 +1458,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerResponse */ export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -1466,12 +1482,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsRequest */ export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsResponse */ export interface RolloverContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { /** The url of the container registry. */ DnsName?: string; @@ -1482,7 +1496,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ServerDetails */ export interface ServerDetails { /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; @@ -1493,7 +1506,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ShutdownMultiplayerServerRequest */ export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; @@ -1504,7 +1516,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Statistics */ export interface Statistics { /** The average. */ Average: number; @@ -1521,14 +1532,12 @@ declare module PlayFabMultiplayerModels { | "Enabled" | "Disabled"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.TitleMultiplayerServersQuotas */ export interface TitleMultiplayerServersQuotas { /** The core capacity for the various regions and VM Family */ CoreCapacities?: CoreCapacity[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UntagContainerImageRequest */ export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The container image which tag we want to remove. */ ImageName?: string; @@ -1537,7 +1546,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildAliasRequest */ export interface UpdateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias Id of the alias to be updated. */ AliasId: string; @@ -1548,7 +1556,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; @@ -1557,14 +1564,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UploadCertificateRequest */ export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The game certificate to upload. */ GameCertificate: Certificate; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.VirtualMachineSummary */ export interface VirtualMachineSummary { /** The virtual machine health status. */ HealthStatus?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 7fe7605f..76c8dd07 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -6,38 +6,38 @@ declare module PlayFabProfilesModule { /** * Gets the global title access policy - * https://api.playfab.com/Documentation/Profiles/method/GetGlobalPolicy + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getglobalpolicy */ GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Profiles/method/GetProfile + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofile */ GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Profiles/method/GetProfiles + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofiles */ GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title player accounts associated with the given master player account. - * https://api.playfab.com/Documentation/Profiles/method/GetTitlePlayersFromMasterPlayerAccountIds + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids */ GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the global title access policy - * https://api.playfab.com/Documentation/Profiles/method/SetGlobalPolicy + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy */ SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account * language, Master Player Account language, and then title default language if the first two aren't set or supported. - * https://api.playfab.com/Documentation/Profiles/method/SetProfileLanguage + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilelanguage */ SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the profiles access policy - * https://api.playfab.com/Documentation/Profiles/method/SetProfilePolicy + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilepolicy */ SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -48,7 +48,6 @@ declare module PlayFabProfilesModels { type EffectType = "Allow" | "Deny"; - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityDataObject */ export interface EntityDataObject { /** Un-escaped JSON object, if DataAsObject is true. */ DataObject?: any; @@ -59,7 +58,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -68,7 +66,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityLineage */ export interface EntityLineage { /** The Character Id of the associated entity. */ CharacterId?: string; @@ -85,7 +82,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityPermissionStatement */ export interface EntityPermissionStatement { /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ Action: string; @@ -102,7 +98,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { /** Avatar URL for the entity. */ AvatarUrl?: string; @@ -144,7 +139,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileFileMetadata */ export interface EntityProfileFileMetadata { /** Checksum value for the file */ Checksum?: string; @@ -157,7 +151,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticChildValue */ export interface EntityStatisticChildValue { /** Child name value, if child statistic */ ChildName?: string; @@ -168,7 +161,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticValue */ export interface EntityStatisticValue { /** Child statistic values */ ChildStatistics?: { [key: string]: EntityStatisticChildValue }; @@ -183,7 +175,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is @@ -195,14 +186,12 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileResponse */ export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { /** Entity profile */ Profile?: EntityProfileBody; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesRequest */ export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is @@ -214,26 +203,22 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesResponse */ export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { /** Entity profiles */ Profiles?: EntityProfileBody[]; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyRequest */ export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyResponse */ export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The permissions that govern access to all entities under this title or namespace. */ Permissions?: EntityPermissionStatement[]; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsRequest */ export interface GetTitlePlayersFromMasterPlayerAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Master player account ids. */ MasterPlayerAccountIds: string[]; @@ -242,7 +227,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsResponse */ export interface GetTitlePlayersFromMasterPlayerAccountIdsResponse extends PlayFabModule.IPlayFabResultCommon { /** Optional id of title to get players from, required if calling using a master_player_account. */ TitleId?: string; @@ -256,7 +240,6 @@ declare module PlayFabProfilesModels { | "Deleted" | "None"; - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyRequest */ export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -265,7 +248,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyResponse */ export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this @@ -275,19 +257,16 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyRequest */ export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The permissions that govern access to all entities under this title or namespace. */ Permissions?: EntityPermissionStatement[]; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyResponse */ export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageRequest */ export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -298,7 +277,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageResponse */ export interface SetProfileLanguageResponse extends PlayFabModule.IPlayFabResultCommon { /** The type of operation that occured on the profile's language */ OperationResult?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d1bd4905..18ccea82 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -6,150 +6,151 @@ declare module PlayFabServerModule { /** * Increments the character's balance of the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the Friend user to the friendlist of the user with PlayFabId. At least one of * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - * https://api.playfab.com/Documentation/Server/method/AddFriend + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/addfriend */ AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. - * https://api.playfab.com/Documentation/Server/method/AddGenericID + * https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid */ AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Server/method/AddPlayerTag + * https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag */ AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small - * number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + * number of players, please see our guide: + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/addsharedgroupmembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the user's balance of the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/adduservirtualcurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validated a client's session ticket, and if successful, returns details for that user - * https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket + * https://docs.microsoft.com/rest/api/playfab/server/authentication/authenticatesessionticket */ AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Awards the specified users the specified Steam achievements - * https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + * https://docs.microsoft.com/rest/api/playfab/server/platform-specific-methods/awardsteamachievement */ AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - * https://api.playfab.com/Documentation/Server/method/BanUsers + * https://docs.microsoft.com/rest/api/playfab/server/account-management/banusers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - * https://api.playfab.com/Documentation/Server/method/ConsumeItem + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/consumeitem */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/CreateSharedGroup + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/createsharedgroup */ CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes the specific character ID from the specified user. - * https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + * https://docs.microsoft.com/rest/api/playfab/server/characters/deletecharacterfromuser */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data - * https://api.playfab.com/Documentation/Server/method/DeletePlayer + * https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer */ DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes push notification template for title - * https://api.playfab.com/Documentation/Server/method/DeletePushNotificationTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate */ DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Inform the matchmaker that a Game Server Instance is removed. - * https://api.playfab.com/Documentation/Server/method/DeregisterGame + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/deregistergame */ DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. - * https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. - * https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript + * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. - * https://api.playfab.com/Documentation/Server/method/GetAllSegments + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + * https://docs.microsoft.com/rest/api/playfab/server/characters/getalluserscharacters */ GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - * https://api.playfab.com/Documentation/Server/method/GetCatalogItems + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getcatalogitems */ GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/GetCharacterData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterdata */ GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user's character which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterinternaldata */ GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified character's current inventory of virtual goods - * https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getcharacterinventory */ GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterleaderboard */ GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user's character which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterreadonlydata */ GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the details of all title-specific statistics for the specific character - * https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterstatistics */ GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -157,57 +158,57 @@ declare module PlayFabServerModule { * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * https://community.playfab.com/hc/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - * https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + * https://docs.microsoft.com/rest/api/playfab/server/content/getcontentdownloadurl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the * leaderboard - * https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getfriendleaderboard */ GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - * https://api.playfab.com/Documentation/Server/method/GetFriendsList + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/getfriendslist */ GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Server/method/GetLeaderboard + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboard */ GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested user - * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardaroundcharacter */ GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user - * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboardarounduser */ GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of all of the user's characters for the given statistic. - * https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardforusercharacters */ GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be * returned. All parameters default to false. - * https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the player's profile - * https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile */ GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. - * https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -216,395 +217,405 @@ declare module PlayFabServerModule { * 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://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment */ GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current version and values for the indicated statistics, for the local player. - * https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics */ GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the information on the available versions of the specified statistic. - * https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatisticversions */ GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get all tags with a given Namespace (optional) from a player profile. - * https://api.playfab.com/Documentation/Server/method/GetPlayerTags + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags */ GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookids */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookInstantGamesIds + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookinstantgamesids */ GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromGenericIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids */ GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromPSNAccountIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromXboxLiveIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids */ GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Server/method/GetPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getpublisherdata */ GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the configuration information for the specified random results tables for the title, including all ItemId * values and weights - * https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. - * https://api.playfab.com/Documentation/Server/method/GetServerCustomIDsFromPlayFabIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids */ GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all * public and private group data. Shared Groups are designed for sharing data between a very small number of players, - * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/getsharedgroupdata */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the set of items defined for the specified store, including all prices defined, for the specified player - * https://api.playfab.com/Documentation/Server/method/GetStoreItems + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems */ GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current server time - * https://api.playfab.com/Documentation/Server/method/GetTime + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettime */ GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings - * https://api.playfab.com/Documentation/Server/method/GetTitleData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitledata */ GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom internal title settings - * https://api.playfab.com/Documentation/Server/method/GetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitleinternaldata */ GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title news feed, as configured in the developer portal - * https://api.playfab.com/Documentation/Server/method/GetTitleNews + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitlenews */ GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user - * https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuseraccountinfo */ GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets all bans for a user. - * https://api.playfab.com/Documentation/Server/method/GetUserBans + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuserbans */ GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/GetUserData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserdata */ GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/GetUserInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserinternaldata */ GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified user's current inventory of virtual goods - * https://api.playfab.com/Documentation/Server/method/GetUserInventory + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getuserinventory */ GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherdata */ GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherinternaldata */ GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherreadonlydata */ GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + * https://docs.microsoft.com/rest/api/playfab/server/characters/grantcharactertouser */ GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified character's inventory - * https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter */ GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified user's inventory - * https://api.playfab.com/Documentation/Server/method/GrantItemsToUser + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser */ GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified user inventories - * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount + */ + LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the custom server identifier, generated by the title, to the user's PlayFab account. - * https://api.playfab.com/Documentation/Server/method/LinkServerCustomId + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid */ LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account - * https://api.playfab.com/Documentation/Server/method/LinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. - * https://api.playfab.com/Documentation/Server/method/LoginWithServerCustomId + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Server/method/LoginWithXbox + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxbox */ LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API * calls which require an authenticated user - * https://api.playfab.com/Documentation/Server/method/LoginWithXboxId + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxboxid */ LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies the number of remaining uses of a player's inventory item - * https://api.playfab.com/Documentation/Server/method/ModifyItemUses + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses */ ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Moves an item from a character's inventory into another of the users's character's inventory. - * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter */ MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Moves an item from a user's inventory into their character's inventory. - * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser */ MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Moves an item from a character's inventory into the owning user's inventory. - * https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Informs the PlayFab match-making service that the user specified has left the Game Server Instance - * https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/notifymatchmakerplayerleft */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. - * https://api.playfab.com/Documentation/Server/method/RedeemCoupon + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates a Game Server session ticket and returns details about the user - * https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/redeemmatchmakerticket */ RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. - * https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Inform the matchmaker that a new Game Server Instance is added. - * https://api.playfab.com/Documentation/Server/method/RegisterGame + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame */ RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified friend from the the user's friend list - * https://api.playfab.com/Documentation/Server/method/RemoveFriend + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified generic service identifier from the player's PlayFab account. - * https://api.playfab.com/Documentation/Server/method/RemoveGenericID + * https://docs.microsoft.com/rest/api/playfab/server/account-management/removegenericid */ RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + * https://docs.microsoft.com/rest/api/playfab/server/playstream/removeplayertag */ RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our - * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers + * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/removesharedgroupmembers */ RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service * representatives for the title can take action concerning potentially toxic players. - * https://api.playfab.com/Documentation/Server/method/ReportPlayer + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/reportplayer */ ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revoke all active bans for a user. - * https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokeallbansforuser */ RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revoke all active bans specified with BanId. - * https://api.playfab.com/Documentation/Server/method/RevokeBans + * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokebans */ RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revokes access to an item in a user's inventory - * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revokes access for up to 25 items across multiple users and characters. - * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItems + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Saves push notification template for title - * https://api.playfab.com/Documentation/Server/method/SavePushNotificationTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/savepushnotificationtemplate */ SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template - * https://api.playfab.com/Documentation/Server/method/SendCustomAccountRecoveryEmail + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendcustomaccountrecoveryemail */ SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an email based on an email template to a player's contact email - * https://api.playfab.com/Documentation/Server/method/SendEmailFromTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendemailfromtemplate */ SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - * https://api.playfab.com/Documentation/Server/method/SendPushNotification + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - * https://api.playfab.com/Documentation/Server/method/SendPushNotificationFromTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotificationfromtemplate */ SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the tag list for a specified user in the friend list of another user - * https://api.playfab.com/Documentation/Server/method/SetFriendTags + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags */ SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the custom data of the indicated Game Server Instance - * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancedata */ SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Set the state of the indicated Game Server Instance. - * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancestate */ SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Set custom tags for the specified Game Server Instance - * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancetags */ SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. - * https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + * https://docs.microsoft.com/rest/api/playfab/server/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Server/method/SetPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/setpublisherdata */ SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings - * https://api.playfab.com/Documentation/Server/method/SetTitleData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings - * https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. - * https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency */ SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. - * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related PSN account from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount + */ + UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the custom server identifier from the user's PlayFab account. - * https://api.playfab.com/Documentation/Server/method/UnlinkServerCustomId + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid */ UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account - * https://api.playfab.com/Documentation/Server/method/UnlinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount */ UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - * https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -612,42 +623,42 @@ declare module PlayFabServerModule { * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) * are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of * ConsumeItem. - * https://api.playfab.com/Documentation/Server/method/UnlockContainerItem + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem */ UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Update the avatar URL of the specified player - * https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + * https://docs.microsoft.com/rest/api/playfab/server/account-management/updateavatarurl */ UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates information of a list of existing bans specified with Ban Ids. - * https://api.playfab.com/Documentation/Server/method/UpdateBans + * https://docs.microsoft.com/rest/api/playfab/server/account-management/updatebans */ UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user's character which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterdata */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user's character which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterinternaldata */ UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user's character which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterreadonlydata */ UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the specific character - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the user - * https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics */ UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -655,58 +666,58 @@ declare module PlayFabServerModule { * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are * designed for sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/updatesharedgroupdata */ UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserdata */ UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserinternaldata */ UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value pair data tagged to the specified item, which is read-only from the client. - * https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata */ UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherdata */ UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherinternaldata */ UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherreadonlydata */ UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserreadonlydata */ UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a character-based event into PlayStream. - * https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent + * https://docs.microsoft.com/rest/api/playfab/server/analytics/writecharacterevent */ WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a player-based event into PlayStream. - * https://api.playfab.com/Documentation/Server/method/WritePlayerEvent + * https://docs.microsoft.com/rest/api/playfab/server/analytics/writeplayerevent */ WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a title-based event into PlayStream. - * https://api.playfab.com/Documentation/Server/method/WriteTitleEvent + * https://docs.microsoft.com/rest/api/playfab/server/analytics/writetitleevent */ WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -714,7 +725,6 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -725,7 +735,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -736,7 +745,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 @@ -752,7 +760,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user being added. */ FriendEmail?: string; @@ -767,7 +774,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; @@ -776,7 +782,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -785,12 +790,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -799,12 +802,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -818,7 +819,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { /** The Json the platform should receive. */ Json: string; @@ -827,21 +827,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { /** Unique Steam achievement name. */ AchievementName: string; @@ -852,21 +849,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -887,7 +881,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -902,21 +895,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -975,7 +965,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -989,7 +978,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1007,7 +995,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1026,7 +1013,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1035,7 +1021,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1054,7 +1039,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; @@ -1069,7 +1053,6 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1082,7 +1065,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1091,7 +1073,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -1102,7 +1083,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1371,14 +1351,12 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1548,7 +1526,6 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1562,50 +1539,42 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateRequest */ export interface DeletePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the push notification template to be deleted. */ PushNotificationTemplateId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateResult */ export interface DeletePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1614,17 +1583,14 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -1633,7 +1599,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityTokenResponse */ export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; @@ -1644,7 +1609,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses @@ -1656,14 +1620,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1702,7 +1664,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1726,7 +1687,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookInstantGamesPlayFabIdPair */ export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -1735,7 +1695,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1744,7 +1703,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -2257,6 +2215,7 @@ declare module PlayFabServerModels { | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" + | "InsightsManagementTitleNotInFlight" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2331,7 +2290,6 @@ declare module PlayFabServerModels { | "MaxActionDepthExceeded" | "SnapshotNotFound"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -2340,7 +2298,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -2349,33 +2306,28 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2391,7 +2343,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -2407,7 +2358,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -2418,7 +2368,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -2433,7 +2382,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -2446,14 +2394,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2462,7 +2408,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for the statistics. */ CharacterId?: string; @@ -2473,7 +2418,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -2487,14 +2431,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2521,7 +2463,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2540,14 +2481,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2562,14 +2501,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2588,7 +2525,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2599,7 +2535,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2610,14 +2545,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2636,7 +2569,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2647,7 +2579,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2656,7 +2587,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2694,7 +2624,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2703,7 +2632,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2737,7 +2665,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2750,7 +2677,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2760,14 +2686,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2783,7 +2707,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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; @@ -2794,14 +2717,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** user for whom statistics are being requested */ PlayFabId: string; @@ -2815,7 +2736,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; @@ -2824,21 +2744,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2847,7 +2764,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2856,35 +2772,30 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ FacebookInstantGamesIds: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ Data?: FacebookInstantGamesPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2894,28 +2805,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ Data?: number[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; @@ -2924,28 +2831,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsResult */ export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; @@ -2954,28 +2857,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsResult */ export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses @@ -2987,14 +2886,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -3005,7 +2902,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsRequest */ export interface GetServerCustomIDsFromPlayFabIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique PlayFab player identifiers for which the title needs to get server custom identifiers. Cannot contain @@ -3015,14 +2911,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsResult */ export interface GetServerCustomIDsFromPlayFabIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of server custom player identifiers to PlayFab identifiers. */ Data?: ServerCustomIDPlayFabIDPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -3036,7 +2930,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -3045,7 +2938,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -3060,7 +2952,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsServerRequest */ export interface GetStoreItemsServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -3074,75 +2965,64 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of localized news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -3156,7 +3036,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -3170,14 +3049,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -3190,7 +3067,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; @@ -3201,14 +3077,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3255,7 +3129,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3270,14 +3143,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3290,14 +3161,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -3306,14 +3175,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3336,7 +3203,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3377,7 +3243,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3390,7 +3255,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdRequest */ + export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authentication code provided by the PlayStation Network. */ + AuthCode: string; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri: string; + + } + + export interface LinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3401,12 +3283,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdResult */ export interface LinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountRequest */ export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3417,26 +3297,22 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountResult */ export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocalizedPushNotificationProperties */ export interface LocalizedPushNotificationProperties { /** Message of the localized push notification template. */ Message?: string; @@ -3445,7 +3321,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3480,7 +3355,6 @@ declare module PlayFabServerModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithServerCustomIdRequest */ export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3493,7 +3367,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxIdRequest */ export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3506,7 +3379,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxRequest */ export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3517,7 +3389,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3527,7 +3398,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3545,7 +3415,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3554,7 +3423,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; @@ -3565,7 +3433,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -3574,7 +3441,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3590,7 +3456,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; @@ -3603,12 +3468,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3619,12 +3482,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3635,12 +3496,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NintendoSwitchPlayFabIdPair */ export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -3649,7 +3508,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; @@ -3658,7 +3516,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { /** State of user leaving the Game Server Instance. */ PlayerState?: string; @@ -3670,7 +3527,6 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3685,7 +3541,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -3698,7 +3553,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3713,7 +3567,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3760,7 +3613,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3808,7 +3660,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3847,7 +3698,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3860,7 +3710,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3877,7 +3726,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PSNAccountPlayFabIdPair */ export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -3886,7 +3734,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; @@ -3906,7 +3753,6 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3915,7 +3761,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3924,7 +3769,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3935,7 +3779,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. */ CatalogVersion?: string; @@ -3948,14 +3791,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; @@ -3964,7 +3805,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Error value if the ticket was not validated. */ Error?: string; @@ -3975,14 +3815,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3995,7 +3833,6 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -4024,7 +3861,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -4034,7 +3870,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -4043,7 +3878,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; @@ -4052,7 +3886,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4061,12 +3894,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -4075,12 +3906,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -4091,14 +3920,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -4112,35 +3939,30 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4151,7 +3973,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4162,26 +3983,22 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -4190,7 +4007,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateRequest */ export interface SavePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Android JSON for the notification template. */ AndroidPayload?: string; @@ -4205,14 +4021,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateResult */ export interface SavePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { /** Id of the push notification template that was saved. */ PushNotificationTemplateId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -4226,7 +4040,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -4237,12 +4050,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The email template id of the email template to send. */ EmailTemplateId: string; @@ -4251,12 +4062,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationFromTemplateRequest */ export interface SendPushNotificationFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the push notification template. */ PushNotificationTemplateId: string; @@ -4265,7 +4074,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver @@ -4288,12 +4096,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerCustomIDPlayFabIDPair */ export interface ServerCustomIDPlayFabIDPair { /** Unique PlayFab identifier. */ PlayFabId?: string; @@ -4302,7 +4108,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerLoginResult */ export interface ServerLoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -4326,7 +4131,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -4337,7 +4141,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data to set for the specified game server instance. */ GameServerData: string; @@ -4346,12 +4149,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; @@ -4360,12 +4161,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; @@ -4377,12 +4176,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4391,12 +4188,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -4408,12 +4203,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -4425,12 +4218,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4451,7 +4242,6 @@ declare module PlayFabServerModels { | "Custom" | "API"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4462,7 +4252,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4471,7 +4260,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4485,7 +4273,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4496,7 +4283,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4505,7 +4291,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4523,7 +4308,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4534,7 +4318,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4562,7 +4345,6 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4575,7 +4357,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4586,7 +4367,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4599,7 +4379,6 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item body. */ Body?: string; @@ -4612,7 +4391,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TreatmentAssignment */ export interface TreatmentAssignment { /** List of the experiment variables. */ Variables?: Variable[]; @@ -4621,7 +4399,16 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdRequest */ + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier. */ PlayFabId: string; @@ -4630,12 +4417,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdResult */ export interface UnlinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; @@ -4644,12 +4429,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountResult */ export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -4670,7 +4453,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -4686,7 +4468,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4699,7 +4480,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; @@ -4708,7 +4488,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -4727,21 +4506,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4762,7 +4538,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4772,7 +4547,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4783,12 +4557,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. @@ -4802,12 +4574,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4826,12 +4596,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4850,7 +4618,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4860,7 +4627,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4877,7 +4643,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4898,7 +4663,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4943,14 +4707,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4960,7 +4722,6 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4974,7 +4735,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4983,21 +4743,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInstantGamesIdInfo */ export interface UserFacebookInstantGamesIdInfo { /** Facebook Instant Games ID */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -5012,14 +4769,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -5028,14 +4783,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserNintendoSwitchDeviceIdInfo */ export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserOpenIdInfo */ export interface UserOpenIdInfo { /** OpenID Connection ID */ ConnectionId?: string; @@ -5069,14 +4822,12 @@ declare module PlayFabServerModels { | "FacebookInstantGamesId" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -5085,7 +4836,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -5096,7 +4846,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -5111,7 +4860,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -5138,7 +4886,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -5147,7 +4894,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserWindowsHelloInfo */ export interface UserWindowsHelloInfo { /** Windows Hello Device Name */ WindowsHelloDeviceName?: string; @@ -5156,14 +4902,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -5180,7 +4924,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.Variable */ export interface Variable { /** Name of the variable. */ Name: string; @@ -5189,7 +4932,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -5204,7 +4946,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -5214,14 +4955,11 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5234,12 +4972,9 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5252,12 +4987,9 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5268,7 +5000,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.XboxLiveAccountPlayFabIdPair */ export interface XboxLiveAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f8344586..afe396bf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 8e0ece91..b54eab32 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f8106192..648fa8aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 1b0d66f7..fed5f165 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f3f086c6..7295a532 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 7df52441..0489ae8a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 7d07f17d..0578ca70 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 5b347ae8..dd1d6281 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 58a2d722..b0b156cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5309e8c3..5d7520b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -253,10 +253,18 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelAllMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + CancelAllServerBackfillTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelAllServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CancelMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CancelServerBackfillTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CancelServerBackfillTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateBuildAlias: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,6 +285,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateServerBackfillTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerBackfillTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateServerMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -345,6 +357,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetRemoteLoginEndpoint", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetServerBackfillTicket: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetServerBackfillTicket", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleEnabledForMultiplayerServersStatus: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -405,6 +421,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListServerBackfillTicketsForPlayer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 99adabc8..3e0bdec9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index e46f443a..dca68071 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.58.191218", + sdkVersion: "1.59.200121", requestGetParams: { - sdk: "JavaScriptSDK-1.58.191218" + sdk: "JavaScriptSDK-1.59.200121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.58.191218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.59.200121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -529,6 +529,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, + LinkPSNAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LinkServerCustomId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -681,6 +685,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkServerCustomId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 68c17fe8..56c7468b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -6,206 +6,206 @@ declare module PlayFabAdminModule { /** * Abort an ongoing task instance. - * https://api.playfab.com/Documentation/Admin/method/AbortTaskInstance + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/aborttaskinstance */ AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Update news item to include localized version - * https://api.playfab.com/Documentation/Admin/method/AddLocalizedNews + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addlocalizednews */ AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new news item to the title's news feed - * https://api.playfab.com/Documentation/Admin/method/AddNews + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addnews */ AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Admin/method/AddPlayerTag + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/addplayertag */ AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a * client is permitted to request in a call to StartGame - * https://api.playfab.com/Documentation/Admin/method/AddServerBuild + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/addserverbuild */ AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Admin/method/AddUserVirtualCurrency + * 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 }): void; /** * 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://api.playfab.com/Documentation/Admin/method/AddVirtualCurrencyTypes + * 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 }): void; /** * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - * https://api.playfab.com/Documentation/Admin/method/BanUsers + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/banusers */ BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks the global count for the limited edition item. - * https://api.playfab.com/Documentation/Admin/method/CheckLimitedEditionItemAvailability + * 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 }): void; /** * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. - * https://api.playfab.com/Documentation/Admin/method/CreateActionsOnPlayersInSegmentTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createactionsonplayersinsegmenttask */ CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a CloudScript task, which can run a CloudScript on a schedule. - * https://api.playfab.com/Documentation/Admin/method/CreateCloudScriptTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createcloudscripttask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a relationship between a title and an Open ID Connect provider. - * https://api.playfab.com/Documentation/Admin/method/CreateOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection */ CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after * this API returns. - * https://api.playfab.com/Documentation/Admin/method/CreatePlayerSharedSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createplayersharedsecret */ CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval * and an aggregation method. - * https://api.playfab.com/Documentation/Admin/method/CreatePlayerStatisticDefinition + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/createplayerstatisticdefinition */ CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete a content file from the title. When deleting a file that does not exist, it returns success. - * https://api.playfab.com/Documentation/Admin/method/DeleteContent + * https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent */ DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a master player account entirely from all titles and deletes all associated data - * https://api.playfab.com/Documentation/Admin/method/DeleteMasterPlayerAccount + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayeraccount */ DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a relationship between a title and an OpenID Connect provider. - * https://api.playfab.com/Documentation/Admin/method/DeleteOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteopenidconnection */ DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data - * https://api.playfab.com/Documentation/Admin/method/DeletePlayer + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deleteplayer */ DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API * returns. - * https://api.playfab.com/Documentation/Admin/method/DeletePlayerSharedSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteplayersharedsecret */ DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing virtual item store - * https://api.playfab.com/Documentation/Admin/method/DeleteStore + * 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 }): void; /** * Delete a task. - * https://api.playfab.com/Documentation/Admin/method/DeleteTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/deletetask */ DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Permanently deletes a title and all associated configuration - * https://api.playfab.com/Documentation/Admin/method/DeleteTitle + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletetitle */ DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Exports all associated data of a master player account - * https://api.playfab.com/Documentation/Admin/method/ExportMasterPlayerData + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata */ ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get information about a ActionsOnPlayersInSegment task instance. - * https://api.playfab.com/Documentation/Admin/method/GetActionsOnPlayersInSegmentTaskInstance + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getactionsonplayersinsegmenttaskinstance */ GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. - * https://api.playfab.com/Documentation/Admin/method/GetAllSegments + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - * https://api.playfab.com/Documentation/Admin/method/GetCatalogItems + * 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 }): void; /** * Gets the contents and information of a specific Cloud Script revision. - * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptRevision + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptrevision */ GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get detail information about a CloudScript task instance. - * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptTaskInstance + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getcloudscripttaskinstance */ GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all the current cloud script versions. For each version, information about the current published and latest * revisions is also listed. - * https://api.playfab.com/Documentation/Admin/method/GetCloudScriptVersions + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptversions */ GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all contents of the title and get statistics such as size - * https://api.playfab.com/Documentation/Admin/method/GetContentList + * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentlist */ GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the * content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN * rates apply. - * https://api.playfab.com/Documentation/Admin/method/GetContentUploadUrl + * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentuploadurl */ GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a download URL for the requested report - * https://api.playfab.com/Documentation/Admin/method/GetDataReport + * 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 }): void; /** * Retrieves the details for a specific completed session, including links to standard out and standard error logs - * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameInfo + * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergameinfo */ GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the details of defined game modes for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes + * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergamemodes */ GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the list of titles that the player has played - * https://api.playfab.com/Documentation/Admin/method/GetPlayedTitleList + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayedtitlelist */ GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a player's ID from an auth token. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayeridfromauthtoken */ GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the player's profile - * https://api.playfab.com/Documentation/Admin/method/GetPlayerProfile + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayerprofile */ GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns all Player Shared Secret Keys including disabled and expired. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerSharedSecrets + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -214,366 +214,366 @@ declare module PlayFabAdminModule { * 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://api.playfab.com/Documentation/Admin/method/GetPlayersInSegment + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersinsegment */ GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have * a reset interval. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticDefinitions + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticdefinitions */ GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the information on the available versions of the specified statistic. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerStatisticVersions + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticversions */ GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get all tags with a given Namespace (optional) from a player profile. - * https://api.playfab.com/Documentation/Admin/method/GetPlayerTags + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayertags */ GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the requested policy. - * https://api.playfab.com/Documentation/Admin/method/GetPolicy + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getpolicy */ GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Admin/method/GetPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getpublisherdata */ GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the random drop table configuration for the title - * https://api.playfab.com/Documentation/Admin/method/GetRandomResultTables + * 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 }): void; /** * Retrieves the build details for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/GetServerBuildInfo + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo */ GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for * use - see AddServerBuild) - * https://api.playfab.com/Documentation/Admin/method/GetServerBuildUploadUrl + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuilduploadurl */ GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the set of items defined for the specified store, including all prices defined - * https://api.playfab.com/Documentation/Admin/method/GetStoreItems + * 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 }): void; /** * Query for task instances by task, status, or time range. - * https://api.playfab.com/Documentation/Admin/method/GetTaskInstances + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettaskinstances */ GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get definition information on a specified task or all tasks within a title. - * https://api.playfab.com/Documentation/Admin/method/GetTasks + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettasks */ GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings which can be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetTitleData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitledata */ GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings which cannot be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitleinternaldata */ GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier - * https://api.playfab.com/Documentation/Admin/method/GetUserAccountInfo + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuseraccountinfo */ GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets all bans for a user. - * https://api.playfab.com/Documentation/Admin/method/GetUserBans + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuserbans */ GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserdata */ GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserinternaldata */ GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified user's current inventory of virtual goods - * https://api.playfab.com/Documentation/Admin/method/GetUserInventory + * 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 }): void; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherdata */ GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherinternaldata */ GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherreadonlydata */ GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/GetUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified user inventories - * https://api.playfab.com/Documentation/Admin/method/GrantItemsToUsers + * 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 }): void; /** * Increases the global count for the given scarce resource. - * https://api.playfab.com/Documentation/Admin/method/IncrementLimitedEditionItemAvailability + * 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 }): void; /** * Resets the indicated statistic, removing all player entries for it and backing up the old values. - * https://api.playfab.com/Documentation/Admin/method/IncrementPlayerStatisticVersion + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/incrementplayerstatisticversion */ IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of all Open ID Connect providers registered to a title. - * https://api.playfab.com/Documentation/Admin/method/ListOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the build details for all game server executables which are currently defined for the title - * https://api.playfab.com/Documentation/Admin/method/ListServerBuilds + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/listserverbuilds */ ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retuns the list of all defined virtual currencies for the title - * https://api.playfab.com/Documentation/Admin/method/ListVirtualCurrencyTypes + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the game server mode details for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/ModifyMatchmakerGameModes + * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/modifymatchmakergamemodes */ ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the build details for the specified game server executable - * https://api.playfab.com/Documentation/Admin/method/ModifyServerBuild + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/modifyserverbuild */ ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attempts to process an order refund through the original real money payment provider. - * https://api.playfab.com/Documentation/Admin/method/RefundPurchase + * 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 }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Admin/method/RemovePlayerTag + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/removeplayertag */ RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the game server executable specified from the set of those a client is permitted to request in a call to * StartGame - * https://api.playfab.com/Documentation/Admin/method/RemoveServerBuild + * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/removeserverbuild */ RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes one or more virtual currencies from the set defined for the title. - * https://api.playfab.com/Documentation/Admin/method/RemoveVirtualCurrencyTypes + * 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 }): void; /** * Completely removes all statistics for the specified character, for the current game - * https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/admin/characters/resetcharacterstatistics */ ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Reset a player's password for a given title. - * https://api.playfab.com/Documentation/Admin/method/ResetPassword + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/resetpassword */ ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Completely removes all statistics for the specified user, for the current game - * https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/resetuserstatistics */ ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attempts to resolve a dispute with the original order's payment provider. - * https://api.playfab.com/Documentation/Admin/method/ResolvePurchaseDispute + * 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 }): void; /** * Revoke all active bans for a user. - * https://api.playfab.com/Documentation/Admin/method/RevokeAllBansForUser + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeallbansforuser */ RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revoke all active bans specified with BanId. - * https://api.playfab.com/Documentation/Admin/method/RevokeBans + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokebans */ RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revokes access to an item in a user's inventory - * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItem + * 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 }): void; /** * Revokes access for up to 25 items across multiple users and characters. - * https://api.playfab.com/Documentation/Admin/method/RevokeInventoryItems + * 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 }): void; /** * Run a task immediately regardless of its schedule. - * https://api.playfab.com/Documentation/Admin/method/RunTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask */ RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. - * https://api.playfab.com/Documentation/Admin/method/SendAccountRecoveryEmail + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/sendaccountrecoveryemail */ SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates the catalog configuration of all virtual goods for the specified catalog version - * https://api.playfab.com/Documentation/Admin/method/SetCatalogItems + * 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 }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. - * https://api.playfab.com/Documentation/Admin/method/SetPlayerSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the currently published revision of a title Cloud Script - * https://api.playfab.com/Documentation/Admin/method/SetPublishedRevision + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/setpublishedrevision */ SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Admin/method/SetPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/shared-group-data/setpublisherdata */ SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets all the items in one virtual store - * https://api.playfab.com/Documentation/Admin/method/SetStoreItems + * 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 }): void; /** * Creates and updates the key-value store of custom title settings which can be read by the client - * https://api.playfab.com/Documentation/Admin/method/SetTitleData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings which cannot be read by the client - * https://api.playfab.com/Documentation/Admin/method/SetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device * Messaging is not supported. - * https://api.playfab.com/Documentation/Admin/method/SetupPushNotification + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/setuppushnotification */ SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Admin/method/SubtractUserVirtualCurrency + * 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 }): void; /** * Updates information of a list of existing bans specified with Ban Ids. - * https://api.playfab.com/Documentation/Admin/method/UpdateBans + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updatebans */ UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the catalog configuration for virtual goods in the specified catalog version - * https://api.playfab.com/Documentation/Admin/method/UpdateCatalogItems + * 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 }): void; /** * Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be * submitted in the revision. - * https://api.playfab.com/Documentation/Admin/method/UpdateCloudScript + * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider - * https://api.playfab.com/Documentation/Admin/method/UpdateOpenIdConnection + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection */ UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. - * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerSharedSecret + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateplayersharedsecret */ UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. - * https://api.playfab.com/Documentation/Admin/method/UpdatePlayerStatisticDefinition + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateplayerstatisticdefinition */ UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Changes a policy for a title - * https://api.playfab.com/Documentation/Admin/method/UpdatePolicy + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updatepolicy */ UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the random drop table configuration for the title - * https://api.playfab.com/Documentation/Admin/method/UpdateRandomResultTables + * 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 }): void; /** * Updates an existing virtual item store with new or modified items - * https://api.playfab.com/Documentation/Admin/method/UpdateStoreItems + * 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 }): void; /** * Update an existing task. - * https://api.playfab.com/Documentation/Admin/method/UpdateTask + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/updatetask */ UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserdata */ UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserinternaldata */ UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherdata */ UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherinternaldata */ UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherreadonlydata */ UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Admin/method/UpdateUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserreadonlydata */ UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title specific display name for a user - * https://api.playfab.com/Documentation/Admin/method/UpdateUserTitleDisplayName + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -581,14 +581,12 @@ declare module PlayFabAdminModule { } declare module PlayFabAdminModels { - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AbortTaskInstanceRequest */ export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of a task instance that is being aborted. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskParameter */ export interface ActionsOnPlayersInSegmentTaskParameter { /** ID of the action to perform on each player in segment. */ ActionId: string; @@ -597,7 +595,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ActionsOnPlayersInSegmentTaskSummary */ export interface ActionsOnPlayersInSegmentTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -626,7 +623,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -637,7 +633,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -648,7 +643,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsRequest */ export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Localized body text of the news. */ Body: string; @@ -661,12 +655,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddLocalizedNewsResult */ export interface AddLocalizedNewsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsRequest */ export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Default body text of the news. */ Body: string; @@ -677,14 +669,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddNewsResult */ export interface AddNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique id of the new news item */ NewsId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -693,12 +683,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildRequest */ export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** server host regions in which this build should be running and available */ ActiveRegions?: string[]; @@ -720,7 +708,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddServerBuildResult */ export interface AddServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -751,7 +738,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -765,7 +751,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.AddVirtualCurrencyTypesRequest */ export interface AddVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * List of virtual currencies and their initial deposits (the amount a user is granted when signing in for the first time) @@ -775,7 +760,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ApiCondition */ export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -784,7 +768,6 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -805,7 +788,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanRequest */ export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -820,26 +802,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BlankResult */ export interface BlankResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -898,7 +876,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -912,7 +889,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -930,7 +906,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -949,7 +924,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityRequest */ export interface CheckLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; @@ -958,14 +932,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CheckLimitedEditionItemAvailabilityResult */ export interface CheckLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { /** The amount of the specified resource remaining. */ Amount: number; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptFile */ export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -977,7 +949,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskParameter */ export interface CloudScriptTaskParameter { /** Argument to pass to the CloudScript function. */ Argument?: any; @@ -986,7 +957,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptTaskSummary */ export interface CloudScriptTaskSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -1009,7 +979,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CloudScriptVersionStatus */ export interface CloudScriptVersionStatus { /** Most recent revision for this Cloud Script version */ LatestRevision: number; @@ -1024,7 +993,6 @@ declare module PlayFabAdminModels { | "True" | "False"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -1035,7 +1003,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1046,7 +1013,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ContentInfo */ export interface ContentInfo { /** Key of the content */ Key?: string; @@ -1315,7 +1281,6 @@ declare module PlayFabAdminModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateActionsOnPlayerSegmentTaskRequest */ export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1330,7 +1295,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateCloudScriptTaskRequest */ export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -1345,7 +1309,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateOpenIdConnectionRequest */ export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -1365,21 +1328,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretRequest */ export interface CreatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Friendly name for this key */ FriendlyName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerSharedSecretResult */ export interface CreatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionRequest */ export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -1390,14 +1350,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreatePlayerStatisticDefinitionResult */ export interface CreatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** created statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.CreateTaskResult */ export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1567,14 +1525,12 @@ declare module PlayFabAdminModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteContentRequest */ export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Key of the content item to be deleted */ Key: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountRequest */ export interface DeleteMasterPlayerAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Developer created string to identify a user without PlayFab ID */ MetaData?: string; @@ -1583,7 +1539,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteMasterPlayerAccountResult */ export interface DeleteMasterPlayerAccountResult extends PlayFabModule.IPlayFabResultCommon { /** * A notification email with this job receipt Id will be sent to the title notification email address when deletion is @@ -1595,38 +1550,32 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteOpenIdConnectionRequest */ export interface DeleteOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the connection */ ConnectionId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretRequest */ export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeletePlayerSharedSecretResult */ export interface DeletePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreRequest */ export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1635,24 +1584,20 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteStoreResult */ export interface DeleteStoreResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTaskRequest */ export interface DeleteTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specify either the task ID or the name of task to be deleted. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleRequest */ export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.DeleteTitleResult */ export interface DeleteTitleResult extends PlayFabModule.IPlayFabResultCommon { } @@ -1664,12 +1609,10 @@ declare module PlayFabAdminModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -1678,7 +1621,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1717,14 +1659,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataRequest */ export interface ExportMasterPlayerDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ExportMasterPlayerDataResult */ export interface ExportMasterPlayerDataResult extends PlayFabModule.IPlayFabResultCommon { /** * An email with this job receipt Id containing the export download link will be sent to the title notification email @@ -1740,7 +1680,6 @@ declare module PlayFabAdminModels { | "Processing" | "FailedToProcess"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GameModeInfo */ export interface GameModeInfo { /** specific game mode type */ Gamemode: string; @@ -2238,6 +2177,7 @@ declare module PlayFabAdminModels { | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" + | "InsightsManagementTitleNotInFlight" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2312,7 +2252,6 @@ declare module PlayFabAdminModels { | "MaxActionDepthExceeded" | "SnapshotNotFound"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetActionsOnPlayersInSegmentTaskInstanceResult */ export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: ActionsOnPlayersInSegmentTaskParameter; @@ -2321,33 +2260,28 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionRequest */ export interface GetCloudScriptRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision number. If left null, defaults to the latest revision */ Revision?: number; @@ -2356,7 +2290,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptRevisionResult */ export interface GetCloudScriptRevisionResult extends PlayFabModule.IPlayFabResultCommon { /** Time this revision was created */ CreatedAt: string; @@ -2371,7 +2304,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptTaskInstanceResult */ export interface GetCloudScriptTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ Parameter?: CloudScriptTaskParameter; @@ -2380,19 +2312,16 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsRequest */ export interface GetCloudScriptVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetCloudScriptVersionsResult */ export interface GetCloudScriptVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** List of versions */ Versions?: CloudScriptVersionStatus[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListRequest */ export interface GetContentListRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Limits the response to keys that begin with the specified prefix. You can use prefixes to list contents under a folder, @@ -2402,7 +2331,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentListResult */ export interface GetContentListResult extends PlayFabModule.IPlayFabResultCommon { /** List of content items. */ Contents?: ContentInfo[]; @@ -2413,7 +2341,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlRequest */ export interface GetContentUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** * A standard MIME type describing the format of the contents. The same MIME type has to be set in the header when @@ -2425,14 +2352,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetContentUploadUrlResult */ export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportRequest */ export interface GetDataReportRequest extends PlayFabModule.IPlayFabRequestCommon { /** Reporting year (UTC) */ Day: number; @@ -2445,7 +2370,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetDataReportResult */ export interface GetDataReportResult extends PlayFabModule.IPlayFabResultCommon { /** * The URL where the requested report can be downloaded. This can be any PlayFab generated reports. The full list of @@ -2455,14 +2379,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoRequest */ export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the lobby for which info is being requested */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameInfoResult */ export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon { /** version identifier of the game server executable binary being run */ BuildVersion?: string; @@ -2491,35 +2413,30 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesRequest */ export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being requested */ BuildVersion: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetMatchmakerGameModesResult */ export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { /** array of game modes available for the specified build */ GameModes?: GameModeInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListRequest */ export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayedTitleListResult */ export interface GetPlayedTitleListResult extends PlayFabModule.IPlayFabResultCommon { /** List of titles the player has played */ TitleIds?: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */ export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -2528,14 +2445,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */ export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The player ID from the token passed in */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2548,7 +2463,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2558,26 +2472,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsRequest */ export interface GetPlayerSharedSecretsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerSharedSecretsResult */ export interface GetPlayerSharedSecretsResult extends PlayFabModule.IPlayFabResultCommon { /** The player shared secret to use when calling Client/GetTitlePublicKey */ SharedSecrets?: SharedSecret[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2593,7 +2503,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersInSegmentResult */ 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; @@ -2604,40 +2513,34 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsRequest */ export interface GetPlayerStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticDefinitionsResult */ export interface GetPlayerStatisticDefinitionsResult extends PlayFabModule.IPlayFabResultCommon { /** the player statistic definitions for the title */ Statistics?: PlayerStatisticDefinition[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2646,7 +2549,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2655,14 +2557,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyRequest */ export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ PolicyName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPolicyResponse */ export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; @@ -2671,35 +2571,30 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version to fetch tables from. Use default catalog version if null */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetSegmentResult */ export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2710,14 +2605,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoRequest */ export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildInfoResult */ export interface GetServerBuildInfoResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -2746,21 +2639,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLRequest */ export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the game server build to upload */ BuildId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetServerBuildUploadURLResult */ export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { /** pre-authorized URL for uploading the game server build package */ URL?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2769,7 +2659,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2784,14 +2673,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstanceRequest */ export interface GetTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the requested task instance. */ TaskInstanceId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesRequest */ export interface GetTaskInstancesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional range-from filter for task instances' StartedAt timestamp. */ StartedAtRangeFrom?: string; @@ -2807,7 +2694,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTaskInstancesResult */ export interface GetTaskInstancesResult extends PlayFabModule.IPlayFabResultCommon { /** * Basic status summaries of the queried task instances. Empty If no task instances meets the filter criteria. To get @@ -2818,49 +2704,42 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksRequest */ export interface GetTasksRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to get a specific task. If not specified, return all defined tasks. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTasksResult */ export interface GetTasksResult extends PlayFabModule.IPlayFabResultCommon { /** Result tasks. Empty if there is no task found. */ Tasks?: ScheduledTask[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2874,7 +2753,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2888,14 +2766,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2908,7 +2784,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -2955,7 +2830,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2964,14 +2838,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityRequest */ export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2982,26 +2854,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementLimitedEditionItemAvailabilityResult */ export interface IncrementLimitedEditionItemAvailabilityResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionRequest */ export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.IncrementPlayerStatisticVersionResult */ export interface IncrementPlayerStatisticVersionResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersion?: PlayerStatisticVersion; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3024,7 +2892,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3065,7 +2932,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3078,43 +2944,36 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsRequest */ export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListBuildsResult */ export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { /** array of uploaded game server builds */ Builds?: GetServerBuildInfoResult[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionRequest */ export interface ListOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListOpenIdConnectionResponse */ export interface ListOpenIdConnectionResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of Open ID Connections */ Connections?: OpenIdConnection[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesRequest */ export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ListVirtualCurrencyTypesResult */ export interface ListVirtualCurrencyTypesResult extends PlayFabModule.IPlayFabResultCommon { /** List of virtual currency names defined for this title */ VirtualCurrencies?: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3149,7 +3008,6 @@ declare module PlayFabAdminModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3159,7 +3017,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoRequest */ export interface LookupUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -3172,14 +3029,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.LookupUserAccountInfoResult */ export interface LookupUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** User info for the user matching the request */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3197,7 +3052,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesRequest */ export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { /** previously uploaded build version for which game modes are being specified */ BuildVersion: string; @@ -3206,12 +3060,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyMatchmakerGameModesResult */ export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildRequest */ export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -3235,7 +3087,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyServerBuildResult */ export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; @@ -3266,7 +3117,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3282,7 +3132,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.NameIdentifier */ export interface NameIdentifier { /** Id Identifier, if present */ Id?: string; @@ -3291,7 +3140,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdConnection */ export interface OpenIdConnection { /** The client ID given by the ID provider. */ ClientId?: string; @@ -3306,7 +3154,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.OpenIdIssuerInformation */ export interface OpenIdIssuerInformation { /** Authorization endpoint URL to direct users to for signin. */ AuthorizationUrl: string; @@ -3319,7 +3166,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PermissionStatement */ export interface PermissionStatement { /** The action this statement effects. The only supported action is 'Execute'. */ Action: string; @@ -3339,7 +3185,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -3352,7 +3197,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3367,7 +3211,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3414,7 +3257,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3462,7 +3304,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3501,7 +3342,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3514,7 +3354,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticDefinition */ export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -3527,7 +3366,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3551,7 +3389,6 @@ declare module PlayFabAdminModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3560,7 +3397,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3573,7 +3409,6 @@ declare module PlayFabAdminModels { | "APNS" | "APNS_SANDBOX"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTable */ export interface RandomResultTable { /** Child nodes that indicate what kind of drop table item this actually is. */ Nodes: ResultTableNode[]; @@ -3582,7 +3417,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3593,7 +3427,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseRequest */ export interface RefundPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3608,7 +3441,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RefundPurchaseResponse */ export interface RefundPurchaseResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; @@ -3623,7 +3455,6 @@ declare module PlayFabAdminModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3632,31 +3463,26 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildRequest */ export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable to be removed */ BuildId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveServerBuildResult */ export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RemoveVirtualCurrencyTypesRequest */ export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsRequest */ export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3665,12 +3491,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetCharacterStatisticsResult */ export interface ResetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */ export interface ResetPasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new password for the player. */ Password: string; @@ -3679,19 +3503,16 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */ export interface ResetPasswordResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */ export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsResult */ export interface ResetUserStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3700,7 +3521,6 @@ declare module PlayFabAdminModels { | "Reinstate" | "Manual"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeRequest */ export interface ResolvePurchaseDisputeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique order ID for the purchase in question. */ OrderId: string; @@ -3720,14 +3540,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResolvePurchaseDisputeResponse */ export interface ResolvePurchaseDisputeResponse extends PlayFabModule.IPlayFabResultCommon { /** The order's updated purchase status. */ PurchaseStatus?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -3741,35 +3559,30 @@ declare module PlayFabAdminModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3780,7 +3593,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -3791,26 +3603,22 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -3819,14 +3627,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskRequest */ export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.RunTaskResult */ export interface RunTaskResult extends PlayFabModule.IPlayFabResultCommon { /** * ID of the task instance that is started. This can be used in Get*TaskInstance (e.g. GetCloudScriptTaskInstance) API call @@ -3836,7 +3642,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScheduledTask */ export interface ScheduledTask { /** Description the task */ Description?: string; @@ -3866,7 +3671,6 @@ declare module PlayFabAdminModels { | "ActionsOnPlayerSegment" | "CloudScriptAzureFunctions"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -3880,7 +3684,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -3889,12 +3692,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3903,12 +3704,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionRequest */ export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Revision to make the current published revision */ Revision: number; @@ -3917,12 +3716,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublishedRevisionResult */ export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3934,12 +3731,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -3951,12 +3746,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationRequest */ export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ Credential: string; @@ -3980,14 +3773,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SetupPushNotificationResult */ export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { /** Amazon Resource Name for the created notification topic. */ ARN?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SharedSecret */ export interface SharedSecret { /** Flag to indicate if this key is disabled */ Disabled: boolean; @@ -4011,7 +3802,6 @@ declare module PlayFabAdminModels { | "Max" | "Sum"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4040,7 +3830,6 @@ declare module PlayFabAdminModels { | "ArchivalPending" | "Archived"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4058,7 +3847,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4069,7 +3857,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4097,7 +3884,6 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4108,14 +3894,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.TaskInstanceBasicSummary */ export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -4151,7 +3935,6 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBanRequest */ export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -4170,21 +3953,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsRequest */ export interface UpdateCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of catalog items to be submitted. Note that while CatalogItem has a parameter for CatalogVersion, it is not @@ -4201,12 +3981,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCatalogItemsResult */ export interface UpdateCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptRequest */ export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; @@ -4217,7 +3995,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateCloudScriptResult */ export interface UpdateCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** New revision number created */ Revision: number; @@ -4226,7 +4003,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateOpenIdConnectionRequest */ export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId?: string; @@ -4241,7 +4017,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretRequest */ export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -4252,12 +4027,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerSharedSecretResult */ export interface UpdatePlayerSharedSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionRequest */ export interface UpdatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -4271,14 +4044,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePlayerStatisticDefinitionResult */ export interface UpdatePlayerStatisticDefinitionResult extends PlayFabModule.IPlayFabResultCommon { /** updated statistic definition */ Statistic?: PlayerStatisticDefinition; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyRequest */ export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; @@ -4289,7 +4060,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdatePolicyResponse */ export interface UpdatePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy that was updated. */ PolicyName?: string; @@ -4298,7 +4068,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesRequest */ export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -4310,12 +4079,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateRandomResultTablesResult */ export interface UpdateRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsRequest */ export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -4328,12 +4095,10 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateStoreItemsResult */ export interface UpdateStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateTaskRequest */ export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** Description the task */ Description?: string; @@ -4352,7 +4117,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4371,7 +4135,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4381,7 +4144,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4398,7 +4160,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; @@ -4407,14 +4168,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** current title display name for the user (this will be the original display name if the rename attempt failed) */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4459,14 +4218,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4476,7 +4233,6 @@ declare module PlayFabAdminModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4490,7 +4246,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4499,21 +4254,18 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserFacebookInstantGamesIdInfo */ export interface UserFacebookInstantGamesIdInfo { /** Facebook Instant Games ID */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -4528,14 +4280,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -4544,14 +4294,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserNintendoSwitchDeviceIdInfo */ export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserOpenIdInfo */ export interface UserOpenIdInfo { /** OpenID Connection ID */ ConnectionId?: string; @@ -4585,14 +4333,12 @@ declare module PlayFabAdminModels { | "FacebookInstantGamesId" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -4601,7 +4347,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -4616,7 +4361,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -4643,7 +4387,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -4652,7 +4395,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserWindowsHelloInfo */ export interface UserWindowsHelloInfo { /** Windows Hello Device Name */ WindowsHelloDeviceName?: string; @@ -4661,14 +4403,12 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -4685,7 +4425,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyData */ export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; @@ -4700,7 +4439,6 @@ declare module PlayFabAdminModels { } - /** https://api.playfab.com/Documentation/Admin/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index d8d117a3..a2523bfe 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -7,12 +7,12 @@ declare module PlayFabAuthenticationModule { /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. - * https://api.playfab.com/Documentation/Authentication/method/GetEntityToken + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/getentitytoken */ GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method for a server to validate a client provided EntityToken. Only callable by the title entity. - * https://api.playfab.com/Documentation/Authentication/method/ValidateEntityToken + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/validateentitytoken */ ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -20,7 +20,6 @@ declare module PlayFabAuthenticationModule { } declare module PlayFabAuthenticationModels { - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -29,7 +28,6 @@ declare module PlayFabAuthenticationModels { } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.EntityLineage */ export interface EntityLineage { /** The Character Id of the associated entity. */ CharacterId?: string; @@ -46,14 +44,12 @@ declare module PlayFabAuthenticationModels { } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenRequest */ export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.GetEntityTokenResponse */ export interface GetEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -84,14 +80,12 @@ declare module PlayFabAuthenticationModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenRequest */ export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ EntityToken: string; } - /** https://api.playfab.com/Documentation/Authentication/datatype/PlayFab.Authentication.Models/PlayFab.Authentication.Models.ValidateEntityTokenResponse */ export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 0ca7b308..7efa479b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -10,136 +10,136 @@ declare module PlayFabClientModule { * Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the * allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted * items will be swapped between the two players' inventories. - * https://api.playfab.com/Documentation/Client/method/AcceptTrade + * https://docs.microsoft.com/rest/api/playfab/client/trading/accepttrade */ AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At * least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - * https://api.playfab.com/Documentation/Client/method/AddFriend + * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/addfriend */ AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. - * https://api.playfab.com/Documentation/Client/method/AddGenericID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/addgenericid */ AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds or updates a contact email to the player's profile. - * https://api.playfab.com/Documentation/Client/method/AddOrUpdateContactEmail + * https://docs.microsoft.com/rest/api/playfab/client/account-management/addorupdatecontactemail */ AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, - * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/AddSharedGroupMembers + * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/addsharedgroupmembers */ AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device * ID login. - * https://api.playfab.com/Documentation/Client/method/AddUsernamePassword + * https://docs.microsoft.com/rest/api/playfab/client/account-management/addusernamepassword */ AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the user's balance of the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Client/method/AddUserVirtualCurrency + * 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 }): void; /** * Registers the Android device to receive push notifications - * https://api.playfab.com/Documentation/Client/method/AndroidDevicePushNotificationRegistration + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/androiddevicepushnotificationregistration */ AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Attributes an install for advertisment. - * https://api.playfab.com/Documentation/Client/method/AttributeInstall + * https://docs.microsoft.com/rest/api/playfab/client/advertising/attributeinstall */ AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other * players from accepting them, for trades that can be claimed by more than one player). - * https://api.playfab.com/Documentation/Client/method/CancelTrade + * https://docs.microsoft.com/rest/api/playfab/client/trading/canceltrade */ CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual * currency balances as appropriate - * https://api.playfab.com/Documentation/Client/method/ConfirmPurchase + * 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 }): void; /** * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - * https://api.playfab.com/Documentation/Client/method/ConsumeItem + * 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 }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items - * https://api.playfab.com/Documentation/Client/method/ConsumePSNEntitlements + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements */ ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. - * https://api.playfab.com/Documentation/Client/method/ConsumeXboxEntitlements + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumexboxentitlements */ ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: - * https://docs.microsoft.com/en-us/gaming/playfab/features/social/groups/using-shared-group-data - * https://api.playfab.com/Documentation/Client/method/CreateSharedGroup + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * 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 }): void; /** * Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. - * https://api.playfab.com/Documentation/Client/method/ExecuteCloudScript + * https://docs.microsoft.com/rest/api/playfab/client/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the user's PlayFab account details - * https://api.playfab.com/Documentation/Client/method/GetAccountInfo + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getaccountinfo */ GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Client/method/GetAllUsersCharacters + * https://docs.microsoft.com/rest/api/playfab/client/characters/getalluserscharacters */ GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - * https://api.playfab.com/Documentation/Client/method/GetCatalogItems + * 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 }): void; /** * Retrieves the title-specific custom data for the character which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/GetCharacterData + * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterdata */ GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified character's current inventory of virtual goods - * https://api.playfab.com/Documentation/Client/method/GetCharacterInventory + * 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 }): void; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Client/method/GetCharacterLeaderboard + * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterleaderboard */ GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the character which can only be read by the client - * https://api.playfab.com/Documentation/Client/method/GetCharacterReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterreadonlydata */ GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the details of all title-specific statistics for the user - * https://api.playfab.com/Documentation/Client/method/GetCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterstatistics */ GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -147,344 +147,344 @@ declare module PlayFabClientModule { * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * https://community.playfab.com/hc/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - * https://api.playfab.com/Documentation/Client/method/GetContentDownloadUrl + * https://docs.microsoft.com/rest/api/playfab/client/content/getcontentdownloadurl */ GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get details about all current running game servers matching the given parameters. - * https://api.playfab.com/Documentation/Client/method/GetCurrentGames + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/getcurrentgames */ GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in * the leaderboard - * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboard + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboard */ GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab * user. If PlayFabId is empty or null will return currently logged in user. - * https://api.playfab.com/Documentation/Client/method/GetFriendLeaderboardAroundPlayer + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboardaroundplayer */ GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - * https://api.playfab.com/Documentation/Client/method/GetFriendsList + * 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 }): void; /** * Get details about the regions hosting game servers matching the given parameters. - * https://api.playfab.com/Documentation/Client/method/GetGameServerRegions + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/getgameserverregions */ GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Client/method/GetLeaderboard + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboard */ GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID - * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundCharacter + * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardaroundcharacter */ GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or * null will return currently logged in user. - * https://api.playfab.com/Documentation/Client/method/GetLeaderboardAroundPlayer + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboardaroundplayer */ GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of all of the user's characters for the given statistic. - * https://api.playfab.com/Documentation/Client/method/GetLeaderboardForUserCharacters + * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardforusercharacters */ GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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://api.playfab.com/Documentation/Client/method/GetPaymentToken + * 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 }): void; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See - * https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/photon/quickstart for more details. - * https://api.playfab.com/Documentation/Client/method/GetPhotonAuthenticationToken + * https://docs.microsoft.com/gaming/playfab/features/multiplayer/photon/quickstart for more details. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/getphotonauthenticationtoken */ GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves all of the user's different kinds of info. - * https://api.playfab.com/Documentation/Client/method/GetPlayerCombinedInfo + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayercombinedinfo */ GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the player's profile - * https://api.playfab.com/Documentation/Client/method/GetPlayerProfile + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayerprofile */ GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. - * https://api.playfab.com/Documentation/Client/method/GetPlayerSegments + * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local * player. - * https://api.playfab.com/Documentation/Client/method/GetPlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatistics */ GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the information on the available versions of the specified statistic. - * https://api.playfab.com/Documentation/Client/method/GetPlayerStatisticVersions + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatisticversions */ GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get all tags with a given Namespace (optional) from a player profile. - * https://api.playfab.com/Documentation/Client/method/GetPlayerTags + * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayertags */ GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets all trades the player has either opened or accepted, optionally filtered by trade status. - * https://api.playfab.com/Documentation/Client/method/GetPlayerTrades + * https://docs.microsoft.com/rest/api/playfab/client/trading/getplayertrades */ GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookids */ GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Game identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromFacebookInstantGamesIds + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookinstantgamesids */ GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center * Programming Guide as the Player Identifier). - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGameCenterIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgamecenterids */ GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGenericIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgenericids */ GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for * the user accounts, available as "id" in the Google+ People API calls. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromGoogleIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleids */ GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: * http://developers.kongregate.com/docs/client/getUserId). - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromKongregateIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromkongregateids */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromPSNAccountIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromSteamIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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: * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromTwitchIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromtwitchids */ GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. - * https://api.playfab.com/Documentation/Client/method/GetPlayFabIDsFromXboxLiveIDs + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromxboxliveids */ GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Client/method/GetPublisherData + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getpublisherdata */ GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still * active. - * https://api.playfab.com/Documentation/Client/method/GetPurchase + * 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 }): void; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. * Shared Groups are designed for sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/GetSharedGroupData + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/getsharedgroupdata */ GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the set of items defined for the specified store, including all prices defined - * https://api.playfab.com/Documentation/Client/method/GetStoreItems + * 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 }): void; /** * Retrieves the current server time - * https://api.playfab.com/Documentation/Client/method/GetTime + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettime */ GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings - * https://api.playfab.com/Documentation/Client/method/GetTitleData + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitledata */ GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title news feed, as configured in the developer portal - * https://api.playfab.com/Documentation/Client/method/GetTitleNews + * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitlenews */ GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns the title's base 64 encoded RSA CSP blob. - * https://api.playfab.com/Documentation/Client/method/GetTitlePublicKey + * https://docs.microsoft.com/rest/api/playfab/client/authentication/gettitlepublickey */ GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the current status of an existing trade. - * https://api.playfab.com/Documentation/Client/method/GetTradeStatus + * https://docs.microsoft.com/rest/api/playfab/client/trading/gettradestatus */ GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/GetUserData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserdata */ GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the user's current inventory of virtual goods - * https://api.playfab.com/Documentation/Client/method/GetUserInventory + * 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 }): void; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/GetUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherdata */ GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Client/method/GetUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherreadonlydata */ GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Client/method/GetUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - * https://api.playfab.com/Documentation/Client/method/GetWindowsHelloChallenge + * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge */ GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Client/method/GrantCharacterToUser + * https://docs.microsoft.com/rest/api/playfab/client/characters/grantcharactertouser */ GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Android device identifier to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkAndroidDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkandroiddeviceid */ LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the custom identifier, generated by the title, to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkCustomID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkcustomid */ LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkFacebookAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookaccount */ LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Facebook Instant Games Id to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkFacebookInstantGamesId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookinstantgamesid */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkGameCenterAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the currently signed-in user account to their Google account, using their Google account credentials - * https://api.playfab.com/Documentation/Client/method/LinkGoogleAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleaccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the vendor-specific iOS device identifier to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkIOSDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkiosdeviceid */ LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Kongregate identifier to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkKongregate + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkkongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkNintendoSwitchDeviceId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid */ LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links an OpenID Connect account to a user's PlayFab account, based on an existing relationship between a title and an * Open ID Connect provider and the OpenId Connect JWT from that provider. - * https://api.playfab.com/Documentation/Client/method/LinkOpenIdConnect + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkopenidconnect */ LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkPSNAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkSteamAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linksteamaccount */ LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Twitch account associated with the token to the user's PlayFab account. - * https://api.playfab.com/Documentation/Client/method/LinkTwitch + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Link Windows Hello authentication to the current PlayFab Account - * https://api.playfab.com/Documentation/Client/method/LinkWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello */ LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/LinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithAndroidDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithandroiddeviceid */ LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithCustomID + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithcustomid */ LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -492,53 +492,53 @@ declare module PlayFabClientModule { * which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the * creation of new accounts via the CreateAccountFlag. Email addresses may be used to create accounts via * RegisterPlayFabUser. - * https://api.playfab.com/Documentation/Client/method/LoginWithEmailAddress + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithemailaddress */ LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API * calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithFacebook + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebook */ LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Facebook Instant Games ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user. Requires Facebook Instant Games to be configured. - * https://api.playfab.com/Documentation/Client/method/LoginWithFacebookInstantGamesId + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebookinstantgamesid */ LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be * used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithGameCenter + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using their Google account credentials - * https://api.playfab.com/Documentation/Client/method/LoginWithGoogleAccount + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleaccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently * be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithIOSDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithiosdeviceid */ LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Kongregate player account. - * https://api.playfab.com/Documentation/Client/method/LoginWithKongregate + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithkongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithNintendoSwitchDeviceId + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchdeviceid */ LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Logs in a user with an Open ID Connect JWT created by an existing relationship between a title and an Open ID Connect * provider. - * https://api.playfab.com/Documentation/Client/method/LoginWithOpenIdConnect + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithopenidconnect */ LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -546,24 +546,24 @@ declare module PlayFabClientModule { * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of * new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. - * https://api.playfab.com/Documentation/Client/method/LoginWithPlayFab + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithplayfab */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a PlayStation Network authentication code, returning a session identifier that can subsequently * be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithPSN + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithpsn */ LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for * API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithSteam + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithsteam */ LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Twitch access token. - * https://api.playfab.com/Documentation/Client/method/LoginWithTwitch + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -571,13 +571,13 @@ declare module PlayFabClientModule { * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the * server. - * https://api.playfab.com/Documentation/Client/method/LoginWithWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello */ LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/LoginWithXbox + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithxbox */ LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -587,238 +587,238 @@ declare module PlayFabClientModule { * found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the * availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be * GameNotFound. - * https://api.playfab.com/Documentation/Client/method/Matchmake + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/matchmake */ Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. - * https://api.playfab.com/Documentation/Client/method/OpenTrade + * https://docs.microsoft.com/rest/api/playfab/client/trading/opentrade */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Selects a payment option for purchase order created via StartPurchase - * https://api.playfab.com/Documentation/Client/method/PayForPurchase + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/payforpurchase */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what * the client believes the price to be. This lets the server fail the purchase if the price has changed. - * https://api.playfab.com/Documentation/Client/method/PurchaseItem + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/purchaseitem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. - * https://api.playfab.com/Documentation/Client/method/RedeemCoupon + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/redeemcoupon */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Uses the supplied OAuth code to refresh the internally cached player PSN auth token - * https://api.playfab.com/Documentation/Client/method/RefreshPSNAuthToken + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers the iOS device to receive push notifications - * https://api.playfab.com/Documentation/Client/method/RegisterForIOSPushNotification + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/registerforiospushnotification */ RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which * require an authenticated user. You must supply either a username or an email address. - * https://api.playfab.com/Documentation/Client/method/RegisterPlayFabUser + * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can * subsequently be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Client/method/RegisterWithWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello */ RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. - * https://api.playfab.com/Documentation/Client/method/RemoveContactEmail + * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail */ RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a specified user from the friend list of the local user - * https://api.playfab.com/Documentation/Client/method/RemoveFriend + * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/removefriend */ RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified generic service identifier from the player's PlayFab account. - * https://api.playfab.com/Documentation/Client/method/RemoveGenericID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/removegenericid */ RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our - * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/RemoveSharedGroupMembers + * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/removesharedgroupmembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Write a PlayStream event to describe the provided player device information. This API method is not designed to be * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. - * https://api.playfab.com/Documentation/Client/method/ReportDeviceInfo + * https://docs.microsoft.com/rest/api/playfab/client/analytics/reportdeviceinfo */ ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. - * https://api.playfab.com/Documentation/Client/method/ReportPlayer + * https://docs.microsoft.com/rest/api/playfab/client/account-management/reportplayer */ ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Restores all in-app purchases based on the given restore receipt - * https://api.playfab.com/Documentation/Client/method/RestoreIOSPurchases + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. - * https://api.playfab.com/Documentation/Client/method/SendAccountRecoveryEmail + * https://docs.microsoft.com/rest/api/playfab/client/account-management/sendaccountrecoveryemail */ SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the tag list for a specified user in the friend list of the local user - * https://api.playfab.com/Documentation/Client/method/SetFriendTags + * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/setfriendtags */ SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. - * https://api.playfab.com/Documentation/Client/method/SetPlayerSecret + * https://docs.microsoft.com/rest/api/playfab/client/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Start a new game server with a given configuration, add the current player and return the connection information. - * https://api.playfab.com/Documentation/Client/method/StartGame + * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/startgame */ StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates an order for a list of items from the title catalog - * https://api.playfab.com/Documentation/Client/method/StartPurchase + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase */ StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. - * https://api.playfab.com/Documentation/Client/method/SubtractUserVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Android device identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkAndroidDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkandroiddeviceid */ UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related custom identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkCustomID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid */ UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Facebook account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookaccount */ UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Facebook Instant Game Ids from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkFacebookInstantGamesId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookinstantgamesid */ UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Game Center account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkGameCenterAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgamecenteraccount */ UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Google account from the user's PlayFab account * (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). - * https://api.playfab.com/Documentation/Client/method/UnlinkGoogleAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleaccount */ UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related iOS device identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkIOSDeviceID + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkiosdeviceid */ UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Kongregate identifier from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkKongregate + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkkongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkNintendoSwitchDeviceId + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid */ UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks an OpenID Connect account from a user's PlayFab account, based on the connection ID of an existing relationship * between a title and an Open ID Connect provider. - * https://api.playfab.com/Documentation/Client/method/UnlinkOpenIdConnect + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkopenidconnect */ UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related PSN account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkPSNAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Steam account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkSteamAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinksteamaccount */ UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Twitch account from the user's PlayFab account. - * https://api.playfab.com/Documentation/Client/method/UnlinkTwitch + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlink Windows Hello authentication from the current PlayFab Account - * https://api.playfab.com/Documentation/Client/method/UnlinkWindowsHello + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello */ UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account - * https://api.playfab.com/Documentation/Client/method/UnlinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount */ UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, * consistent with the operation of ConsumeItem. - * https://api.playfab.com/Documentation/Client/method/UnlockContainerInstance + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - * https://api.playfab.com/Documentation/Client/method/UnlockContainerItem + * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontaineritem */ UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Update the avatar URL of the player - * https://api.playfab.com/Documentation/Client/method/UpdateAvatarUrl + * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateavatarurl */ UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/UpdateCharacterData + * https://docs.microsoft.com/rest/api/playfab/client/character-data/updatecharacterdata */ UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the specific character. By default, clients are not * permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - * https://api.playfab.com/Documentation/Client/method/UpdateCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/client/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. - * https://api.playfab.com/Documentation/Client/method/UpdatePlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateplayerstatistics */ UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -826,61 +826,61 @@ declare module PlayFabClientModule { * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. * Regardless of the permission setting, only members of the group can update the data. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Client/method/UpdateSharedGroupData + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/updatesharedgroupdata */ UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/UpdateUserData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserdata */ UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates and updates the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Client/method/UpdateUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserpublisherdata */ UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title specific display name for the user - * https://api.playfab.com/Documentation/Client/method/UpdateUserTitleDisplayName + * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the * purchased catalog item - * https://api.playfab.com/Documentation/Client/method/ValidateAmazonIAPReceipt + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateamazoniapreceipt */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates a Google Play purchase and gives the corresponding item to the player. - * https://api.playfab.com/Documentation/Client/method/ValidateGooglePlayPurchase + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validategoogleplaypurchase */ ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased * catalog item - * https://api.playfab.com/Documentation/Client/method/ValidateIOSReceipt + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateiosreceipt */ ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the * purchased catalog item - * https://api.playfab.com/Documentation/Client/method/ValidateWindowsStoreReceipt + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validatewindowsstorereceipt */ ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a character-based event into PlayStream. - * https://api.playfab.com/Documentation/Client/method/WriteCharacterEvent + * https://docs.microsoft.com/rest/api/playfab/client/analytics/writecharacterevent */ WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a player-based event into PlayStream. - * https://api.playfab.com/Documentation/Client/method/WritePlayerEvent + * https://docs.microsoft.com/rest/api/playfab/client/analytics/writeplayerevent */ WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a title-based event into PlayStream. - * https://api.playfab.com/Documentation/Client/method/WriteTitleEvent + * https://docs.microsoft.com/rest/api/playfab/client/analytics/writetitleevent */ WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -888,7 +888,6 @@ declare module PlayFabClientModule { } declare module PlayFabClientModels { - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeRequest */ export interface AcceptTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Items from the accepting player's inventory in exchange for the offered items in the trade. In the case of a gift, this @@ -902,14 +901,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AcceptTradeResponse */ export interface AcceptTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just accepted. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -920,7 +917,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user to attempt to add to the local user's friend list. */ FriendEmail?: string; @@ -933,38 +929,32 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddFriendResult */ export interface AddFriendResult extends PlayFabModule.IPlayFabResultCommon { /** True if the friend request was processed successfully. */ Created: boolean; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddGenericIDResult */ export interface AddGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailRequest */ export interface AddOrUpdateContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The new contact email to associate with the player. */ EmailAddress: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddOrUpdateContactEmailResult */ export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -973,12 +963,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordRequest */ export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -989,14 +977,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUsernamePasswordResult */ export interface AddUsernamePasswordResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique user name. */ Username?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; @@ -1005,7 +991,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationRequest */ export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -1019,12 +1004,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AndroidDevicePushNotificationRegistrationResult */ export interface AndroidDevicePushNotificationRegistrationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallRequest */ export interface AttributeInstallRequest extends PlayFabModule.IPlayFabRequestCommon { /** The adid for this device. */ Adid?: string; @@ -1033,26 +1016,22 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.AttributeInstallResult */ export interface AttributeInstallResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeRequest */ export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CancelTradeResponse */ export interface CancelTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** Details about trade which was just canceled. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CartItem */ export interface CartItem { /** Description of the catalog item. */ Description?: string; @@ -1073,7 +1052,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1132,7 +1110,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -1146,7 +1123,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1164,7 +1140,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1183,7 +1158,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1192,7 +1166,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1211,7 +1184,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CharacterResult */ export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; @@ -1226,7 +1198,6 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CollectionFilter */ export interface CollectionFilter { /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ Excludes?: Container_Dictionary_String_String[]; @@ -1238,14 +1209,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseRequest */ export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier returned from StartPurchase. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConfirmPurchaseResult */ export interface ConfirmPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items purchased. */ Items?: ItemInstance[]; @@ -1256,7 +1225,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1267,7 +1235,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1276,7 +1243,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsRequest */ export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -1285,14 +1251,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumePSNEntitlementsResult */ export interface ConsumePSNEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to the player as a result of consuming entitlements. */ ItemsGranted?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsRequest */ export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ CatalogVersion?: string; @@ -1301,14 +1265,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ConsumeXboxEntitlementsResult */ export interface ConsumeXboxEntitlementsResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1319,7 +1281,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Container_Dictionary_String_String */ export interface Container_Dictionary_String_String { /** Content of data */ Data?: { [key: string]: string | null }; @@ -1584,14 +1545,12 @@ declare module PlayFabClientModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1761,7 +1720,6 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesRequest */ export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build to match against. */ BuildVersion?: string; @@ -1776,7 +1734,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.CurrentGamesResult */ export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { /** number of games running */ GameCount: number; @@ -1787,7 +1744,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.DeviceInfoRequest */ export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -1798,17 +1754,14 @@ declare module PlayFabClientModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -1817,7 +1770,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.EntityTokenResponse */ export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; @@ -1828,7 +1780,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptRequest */ export interface ExecuteCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1850,7 +1801,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1889,7 +1839,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookInstantGamesPlayFabIdPair */ export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -1898,7 +1847,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1907,7 +1855,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.FriendInfo */ export interface FriendInfo { /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -1932,7 +1879,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameCenterPlayFabIdPair */ export interface GameCenterPlayFabIdPair { /** Unique Game Center identifier for a user. */ GameCenterId?: string; @@ -1941,7 +1887,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameInfo */ export interface GameInfo { /** build version this server is running */ BuildVersion?: string; @@ -1981,7 +1926,6 @@ declare module PlayFabClientModels { type GameInstanceState = "Open" | "Closed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsRequest */ export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** version of game server for which stats are being requested */ BuildVersion: string; @@ -1993,14 +1937,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GameServerRegionsResult */ export interface GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { /** array of regions found matching the request parameters */ Regions?: RegionInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -2009,7 +1951,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -2018,7 +1959,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoRequest */ export interface GetAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address for the account to find (if no Username is specified). */ Email?: string; @@ -2037,28 +1977,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetAccountInfoResult */ export interface GetAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account information for the local user. */ AccountInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2074,7 +2010,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -2088,7 +2023,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -2097,7 +2031,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -2110,7 +2043,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -2123,28 +2055,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The requested character statistics. */ CharacterStatistics?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -2158,14 +2086,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerRequest */ export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2190,7 +2116,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardAroundPlayerResult */ export interface GetFriendLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2201,7 +2126,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2226,7 +2150,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2243,14 +2166,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; @@ -2263,14 +2184,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerRequest */ export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2289,7 +2208,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardAroundPlayerResult */ export interface GetLeaderboardAroundPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2300,7 +2218,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2309,14 +2226,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; @@ -2335,7 +2250,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2346,14 +2260,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenRequest */ export interface GetPaymentTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of service to provide the payment token. Allowed Values are: xsolla */ TokenProvider: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPaymentTokenResult */ export interface GetPaymentTokenResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab's purchase order identifier. */ OrderId?: string; @@ -2362,21 +2274,18 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenRequest */ export interface GetPhotonAuthenticationTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The Photon applicationId for the game you wish to log into. */ PhotonApplicationId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPhotonAuthenticationTokenResult */ export interface GetPhotonAuthenticationTokenResult extends PlayFabModule.IPlayFabResultCommon { /** The Photon authentication token for this game-session. */ PhotonCustomAuthenticationToken?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2385,7 +2294,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2423,7 +2331,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2432,7 +2339,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2466,7 +2372,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; @@ -2479,7 +2384,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2489,19 +2393,16 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsRequest */ export interface GetPlayerSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; @@ -2513,28 +2414,24 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** User statistics for the requested user. */ Statistics?: StatisticValue[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2543,7 +2440,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2552,14 +2448,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesRequest */ export interface GetPlayerTradesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Returns only trades with the given status. If null, returns all trades. */ StatusFilter?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayerTradesResponse */ export interface GetPlayerTradesResponse extends PlayFabModule.IPlayFabResultCommon { /** History of trades which this player has accepted. */ AcceptedTrades?: TradeInfo[]; @@ -2568,49 +2462,42 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ FacebookInstantGamesIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ Data?: FacebookInstantGamesPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsRequest */ export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ GameCenterIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGameCenterIDsResult */ export interface GetPlayFabIDsFromGameCenterIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Game Center identifiers to PlayFab identifiers. */ Data?: GameCenterPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2620,56 +2507,48 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsRequest */ export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ GoogleIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromGoogleIDsResult */ export interface GetPlayFabIDsFromGoogleIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Google identifiers to PlayFab identifiers. */ Data?: GooglePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsRequest */ export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromKongregateIDsResult */ export interface GetPlayFabIDsFromKongregateIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Kongregate identifiers to PlayFab identifiers. */ Data?: KongregatePlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ Data?: number[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; @@ -2678,42 +2557,36 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromPSNAccountIDsResult */ export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsRequest */ export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ TwitchIds: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromTwitchIDsResult */ export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Twitch identifiers to PlayFab identifiers. */ Data?: TwitchPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; @@ -2722,35 +2595,30 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPlayFabIDsFromXboxLiveIDsResult */ export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseRequest */ export interface GetPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Purchase order identifier. */ OrderId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetPurchaseResult */ export interface GetPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Purchase order identifier. */ OrderId?: string; @@ -2765,7 +2633,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSegmentResult */ export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -2776,7 +2643,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -2790,7 +2656,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -2799,7 +2664,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsRequest */ export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -2808,7 +2672,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -2823,47 +2686,40 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyRequest */ export interface GetTitlePublicKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -2875,14 +2731,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTitlePublicKeyResult */ export interface GetTitlePublicKeyResult extends PlayFabModule.IPlayFabResultCommon { /** Base64 encoded RSA CSP byte array blob containing the title's public RSA key */ RSAPublicKey?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusRequest */ export interface GetTradeStatusRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player who opened trade. */ OfferingPlayerId: string; @@ -2891,14 +2745,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetTradeStatusResponse */ export interface GetTradeStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** Information about the requested trade. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -2915,7 +2767,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -2927,12 +2778,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -2943,7 +2792,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeRequest */ export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -2955,14 +2803,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GetWindowsHelloChallengeResponse */ export interface GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { /** Server generated challenge to be signed by the user. */ Challenge?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GooglePlayFabIdPair */ export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -2971,7 +2817,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2985,7 +2830,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; @@ -2996,7 +2840,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3037,7 +2880,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ItemPurchaseRequest */ export interface ItemPurchaseRequest { /** Title-specific text concerning this purchase. */ Annotation?: string; @@ -3050,7 +2892,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.KongregatePlayFabIdPair */ export interface KongregatePlayFabIdPair { /** Unique Kongregate identifier for a user. */ KongregateId?: string; @@ -3059,7 +2900,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDRequest */ export interface LinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3072,12 +2912,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkAndroidDeviceIDResult */ export interface LinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDRequest */ export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -3086,12 +2924,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkCustomIDResult */ export interface LinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3104,7 +2940,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountRequest */ export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3113,12 +2948,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookAccountResult */ export interface LinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdRequest */ export interface LinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; @@ -3127,12 +2960,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkFacebookInstantGamesIdResult */ export interface LinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountRequest */ export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3152,12 +2983,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGameCenterAccountResult */ export interface LinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountRequest */ export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3169,12 +2998,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkGoogleAccountResult */ export interface LinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDRequest */ export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; @@ -3187,12 +3014,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkIOSDeviceIDResult */ export interface LinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountRequest */ export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; @@ -3203,12 +3028,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkKongregateAccountResult */ export interface LinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdRequest */ export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3217,12 +3040,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkNintendoSwitchDeviceIdResult */ export interface LinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkOpenIdConnectRequest */ export interface LinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; @@ -3236,7 +3057,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountRequest */ export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation Network. */ AuthCode: string; @@ -3249,12 +3069,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkPSNAccountResult */ export interface LinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountRequest */ export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3266,12 +3084,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkSteamAccountResult */ export interface LinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountRequest */ export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; @@ -3280,12 +3096,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkTwitchAccountResult */ export interface LinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountRequest */ export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -3298,12 +3112,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkWindowsHelloAccountResponse */ export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountRequest */ export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3312,26 +3124,22 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LinkXboxAccountResult */ export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3366,7 +3174,6 @@ declare module PlayFabClientModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginResult */ export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -3390,7 +3197,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithAndroidDeviceIDRequest */ export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific model of the user's device. */ AndroidDevice?: string; @@ -3414,7 +3220,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithCustomIDRequest */ export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3434,7 +3239,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithEmailAddressRequest */ export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address for the account. */ Email: string; @@ -3450,7 +3254,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookInstantGamesIdRequest */ export interface LoginWithFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3470,7 +3273,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithFacebookRequest */ export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; @@ -3490,7 +3292,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGameCenterRequest */ export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3521,7 +3322,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithGoogleAccountRequest */ export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3544,7 +3344,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithIOSDeviceIDRequest */ export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3568,7 +3367,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithKongregateRequest */ export interface LoginWithKongregateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Kongregate's client API for the user. */ AuthTicket?: string; @@ -3590,7 +3388,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithNintendoSwitchDeviceIdRequest */ export interface LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3610,7 +3407,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithOpenIdConnectRequest */ export interface LoginWithOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; @@ -3635,7 +3431,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPlayFabRequest */ export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; @@ -3651,7 +3446,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithPSNRequest */ export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PSN OAuth provider. */ AuthCode?: string; @@ -3675,7 +3469,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithSteamRequest */ export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3698,7 +3491,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithTwitchRequest */ export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token issued by Twitch's API for the user. */ AccessToken?: string; @@ -3718,7 +3510,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithWindowsHelloRequest */ export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; @@ -3734,7 +3525,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LoginWithXboxRequest */ export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3754,7 +3544,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3764,7 +3553,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeRequest */ export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Build version to match against. [Note: Required if LobbyId is not specified] */ BuildVersion?: string; @@ -3785,7 +3573,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MatchmakeResult */ export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server will expire, if applicable */ Expires?: string; @@ -3814,7 +3601,6 @@ declare module PlayFabClientModels { | "NoAvailableSlots" | "SessionClosed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3832,7 +3618,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3848,7 +3633,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.NintendoSwitchPlayFabIdPair */ export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -3857,7 +3641,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeRequest */ export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may @@ -3871,14 +3654,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.OpenTradeResponse */ export interface OpenTradeResponse extends PlayFabModule.IPlayFabResultCommon { /** The information about the trade that was just opened. */ Trade?: TradeInfo; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseRequest */ export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; @@ -3891,7 +3672,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PayForPurchaseResult */ export interface PayForPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Local credit applied to the transaction (provider specific). */ CreditApplied: number; @@ -3916,7 +3696,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PaymentOption */ export interface PaymentOption { /** Specific currency to use to fund the purchase. */ Currency?: string; @@ -3929,7 +3708,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3944,7 +3722,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3992,7 +3769,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -4031,7 +3807,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -4048,7 +3823,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PSNAccountPlayFabIdPair */ export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4057,7 +3831,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemRequest */ export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; @@ -4074,14 +3847,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseItemResult */ export interface PurchaseItemResult extends PlayFabModule.IPlayFabResultCommon { /** Details for the items purchased. */ Items?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PurchaseReceiptFulfillment */ export interface PurchaseReceiptFulfillment { /** Items granted to the player in fulfillment of the validated receipt. */ FulfilledItems?: ItemInstance[]; @@ -4102,7 +3873,6 @@ declare module PlayFabClientModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -4111,7 +3881,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. If null, uses the default catalog */ CatalogVersion?: string; @@ -4122,14 +3891,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RefreshPSNAuthTokenRequest */ export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; @@ -4148,7 +3915,6 @@ declare module PlayFabClientModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegionInfo */ export interface RegionInfo { /** indicates whether the server specified is available in this region */ Available: boolean; @@ -4161,7 +3927,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationRequest */ export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -4172,12 +3937,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterForIOSPushNotificationResult */ export interface RegisterForIOSPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserRequest */ export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; @@ -4207,7 +3970,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterPlayFabUserResult */ export interface RegisterPlayFabUserResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -4225,7 +3987,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RegisterWithWindowsHelloRequest */ export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** Device name. */ DeviceName?: string; @@ -4247,41 +4008,34 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailRequest */ export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveContactEmailResult */ export interface RemoveContactEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveFriendResult */ export interface RemoveFriendResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveGenericIDResult */ export interface RemoveGenericIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -4290,12 +4044,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientRequest */ export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -4304,14 +4056,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ReportPlayerClientResult */ export interface ReportPlayerClientResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesRequest */ export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the restored items. If null, defaults to primary catalog. */ CatalogVersion?: string; @@ -4320,14 +4070,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.RestoreIOSPurchasesResult */ export interface RestoreIOSPurchasesResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -4341,7 +4089,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailRequest */ export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email: string; @@ -4355,12 +4102,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SendAccountRecoveryEmailResult */ export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -4369,12 +4114,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetFriendTagsResult */ export interface SetFriendTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; @@ -4383,12 +4126,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4409,7 +4150,6 @@ declare module PlayFabClientModels { | "Custom" | "API"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** version information for the build of the game server which is to be started */ BuildVersion: string; @@ -4426,7 +4166,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartGameResult */ export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { /** timestamp for when the server should expire, if applicable */ Expires?: string; @@ -4447,7 +4186,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseRequest */ export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; @@ -4458,7 +4196,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StartPurchaseResult */ export interface StartPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Cart items to be purchased. */ Contents?: CartItem[]; @@ -4471,7 +4208,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4482,7 +4218,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4491,7 +4226,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4505,7 +4239,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4516,7 +4249,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4525,7 +4257,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4543,7 +4274,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4554,7 +4284,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4582,7 +4311,6 @@ declare module PlayFabClientModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4591,7 +4319,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4604,7 +4331,6 @@ declare module PlayFabClientModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item text. */ Body?: string; @@ -4617,7 +4343,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TradeInfo */ export interface TradeInfo { /** Item instances from the accepting player that are used to fulfill the trade. If null, no one has accepted the trade. */ AcceptedInventoryInstanceIds?: string[]; @@ -4677,7 +4402,6 @@ declare module PlayFabClientModels { | "Other" | "Failed"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TreatmentAssignment */ export interface TreatmentAssignment { /** List of the experiment variables. */ Variables?: Variable[]; @@ -4686,7 +4410,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.TwitchPlayFabIdPair */ export interface TwitchPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ PlayFabId?: string; @@ -4695,14 +4418,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UninkOpenIdConnectRequest */ export interface UninkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDRequest */ export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4712,12 +4433,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkAndroidDeviceIDResult */ export interface UnlinkAndroidDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDRequest */ export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4727,54 +4446,44 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkCustomIDResult */ export interface UnlinkCustomIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountRequest */ export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookAccountResult */ export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdRequest */ export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Facebook Instant Games identifier for the user. If not specified, the most recently signed in ID will be used. */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkFacebookInstantGamesIdResult */ export interface UnlinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountRequest */ export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGameCenterAccountResult */ export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountRequest */ export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkGoogleAccountResult */ export interface UnlinkGoogleAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDRequest */ export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will @@ -4784,88 +4493,72 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkIOSDeviceIDResult */ export interface UnlinkIOSDeviceIDResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountRequest */ export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkKongregateAccountResult */ export interface UnlinkKongregateAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdRequest */ export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkNintendoSwitchDeviceIdResult */ export interface UnlinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountRequest */ export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkPSNAccountResult */ export interface UnlinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountRequest */ export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkSteamAccountResult */ export interface UnlinkSteamAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountRequest */ export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkTwitchAccountResult */ export interface UnlinkTwitchAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountRequest */ export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkWindowsHelloAccountResponse */ export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlinkXboxAccountResult */ export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -4884,7 +4577,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -4898,7 +4590,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4911,14 +4602,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4937,7 +4626,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4947,7 +4635,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4956,24 +4643,20 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4992,12 +4675,10 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -5017,7 +4698,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -5027,21 +4707,18 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameRequest */ export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UpdateUserTitleDisplayNameResult */ export interface UpdateUserTitleDisplayNameResult extends PlayFabModule.IPlayFabResultCommon { /** Current title display name for the user (this will be the original display name if the rename attempt failed). */ DisplayName?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -5086,14 +4763,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -5103,7 +4778,6 @@ declare module PlayFabClientModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -5117,7 +4791,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -5126,21 +4799,18 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserFacebookInstantGamesIdInfo */ export interface UserFacebookInstantGamesIdInfo { /** Facebook Instant Games ID */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -5155,14 +4825,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -5171,14 +4839,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserNintendoSwitchDeviceIdInfo */ export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserOpenIdInfo */ export interface UserOpenIdInfo { /** OpenID Connection ID */ ConnectionId?: string; @@ -5212,14 +4878,12 @@ declare module PlayFabClientModels { | "FacebookInstantGamesId" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -5228,7 +4892,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -5239,7 +4902,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -5254,7 +4916,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -5281,7 +4942,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -5290,7 +4950,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserWindowsHelloInfo */ export interface UserWindowsHelloInfo { /** Windows Hello Device Name */ WindowsHelloDeviceName?: string; @@ -5299,14 +4958,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptRequest */ export interface ValidateAmazonReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5321,14 +4978,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateAmazonReceiptResult */ export interface ValidateAmazonReceiptResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseRequest */ export interface ValidateGooglePlayPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5343,14 +4998,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateGooglePlayPurchaseResult */ export interface ValidateGooglePlayPurchaseResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptRequest */ export interface ValidateIOSReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5363,14 +5016,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateIOSReceiptResult */ export interface ValidateIOSReceiptResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptRequest */ export interface ValidateWindowsReceiptRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */ CatalogVersion?: string; @@ -5383,14 +5034,12 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValidateWindowsReceiptResult */ export interface ValidateWindowsReceiptResult extends PlayFabModule.IPlayFabResultCommon { /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */ Fulfillments?: PurchaseReceiptFulfillment[]; } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -5407,7 +5056,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.Variable */ export interface Variable { /** Name of the variable. */ Name: string; @@ -5416,7 +5064,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -5431,14 +5078,11 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientCharacterEventRequest */ export interface WriteClientCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5449,12 +5093,9 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteClientPlayerEventRequest */ export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5465,7 +5106,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -5475,12 +5115,9 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5491,7 +5128,6 @@ declare module PlayFabClientModels { } - /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Client.Models/PlayFab.Client.Models.XboxLiveAccountPlayFabIdPair */ export interface XboxLiveAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 1ec1b764..eff48dc1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -7,7 +7,7 @@ declare module PlayFabCloudScriptModule { /** * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. - * https://api.playfab.com/Documentation/CloudScript/method/ExecuteEntityCloudScript + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executeentitycloudscript */ ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -19,7 +19,6 @@ declare module PlayFabCloudScriptModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -28,7 +27,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -67,7 +65,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ExecuteEntityCloudScriptRequest */ export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -91,7 +88,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -101,7 +97,6 @@ declare module PlayFabCloudScriptModels { } - /** https://api.playfab.com/Documentation/CloudScript/datatype/PlayFab.CloudScript.Models/PlayFab.CloudScript.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index dde0fb27..c6a4b27a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -6,37 +6,37 @@ declare module PlayFabDataModule { /** * Abort pending file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Data/method/AbortFileUploads + * https://docs.microsoft.com/rest/api/playfab/data/file/abortfileuploads */ AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete files on an entity's profile. - * https://api.playfab.com/Documentation/Data/method/DeleteFiles + * https://docs.microsoft.com/rest/api/playfab/data/file/deletefiles */ DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Finalize file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Data/method/FinalizeFileUploads + * https://docs.microsoft.com/rest/api/playfab/data/file/finalizefileuploads */ FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves file metadata from an entity's profile. - * https://api.playfab.com/Documentation/Data/method/GetFiles + * https://docs.microsoft.com/rest/api/playfab/data/file/getfiles */ GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves objects from an entity's profile. - * https://api.playfab.com/Documentation/Data/method/GetObjects + * https://docs.microsoft.com/rest/api/playfab/data/object/getobjects */ GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates file uploads to an entity's profile. - * https://api.playfab.com/Documentation/Data/method/InitiateFileUploads + * https://docs.microsoft.com/rest/api/playfab/data/file/initiatefileuploads */ InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets objects on an entity's profile. - * https://api.playfab.com/Documentation/Data/method/SetObjects + * https://docs.microsoft.com/rest/api/playfab/data/object/setobjects */ SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -44,7 +44,6 @@ declare module PlayFabDataModule { } declare module PlayFabDataModels { - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsRequest */ export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -58,7 +57,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.AbortFileUploadsResponse */ export interface AbortFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -67,7 +65,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesRequest */ export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -81,7 +78,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.DeleteFilesResponse */ export interface DeleteFilesResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -90,7 +86,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -99,7 +94,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsRequest */ export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -108,7 +102,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.FinalizeFileUploadsResponse */ export interface FinalizeFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -119,7 +112,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFileMetadata */ export interface GetFileMetadata { /** Checksum value for the file */ Checksum?: string; @@ -134,14 +126,12 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesRequest */ export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetFilesResponse */ export interface GetFilesResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -152,7 +142,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsRequest */ export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -164,7 +153,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.GetObjectsResponse */ export interface GetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -175,7 +163,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadMetadata */ export interface InitiateFileUploadMetadata { /** Name of the file. */ FileName?: string; @@ -184,7 +171,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsRequest */ export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -198,7 +184,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsResponse */ export interface InitiateFileUploadsResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; @@ -209,7 +194,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.ObjectResult */ export interface ObjectResult { /** Un-escaped JSON object, if EscapeObject false or default. */ DataObject?: any; @@ -225,7 +209,6 @@ declare module PlayFabDataModels { | "Deleted" | "None"; - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObject */ export interface SetObject { /** * Body of the object to be saved. If empty and DeleteObject is true object will be deleted if it exists, or no operation @@ -244,7 +227,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectInfo */ export interface SetObjectInfo { /** Name of the object */ ObjectName?: string; @@ -255,7 +237,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsRequest */ export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -270,7 +251,6 @@ declare module PlayFabDataModels { } - /** https://api.playfab.com/Documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.SetObjectsResponse */ export interface SetObjectsResponse extends PlayFabModule.IPlayFabResultCommon { /** New version of the entity profile. */ ProfileVersion: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index ce748d64..ec02baa7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -6,13 +6,13 @@ declare module PlayFabEventsModule { /** * Write batches of entity based events to PlayStream. The namespace of the Event must start with 'com.playfab.events.' - * https://api.playfab.com/Documentation/Events/method/WriteEvents + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start * with 'custom.' - * https://api.playfab.com/Documentation/Events/method/WriteTelemetryEvents + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writetelemetryevents */ WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -20,7 +20,6 @@ declare module PlayFabEventsModule { } declare module PlayFabEventsModels { - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -29,7 +28,6 @@ declare module PlayFabEventsModels { } - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.EventContents */ export interface EventContents { /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; @@ -57,14 +55,12 @@ declare module PlayFabEventsModels { } - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsRequest */ export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Collection of events to write to PlayStream. */ Events: EventContents[]; } - /** https://api.playfab.com/Documentation/Events/datatype/PlayFab.Events.Models/PlayFab.Events.Models.WriteEventsResponse */ export interface WriteEventsResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifiers assigned by the server to the events, in the same order as the events in the request. Only diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 8c22690d..2080b915 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -6,127 +6,127 @@ declare module PlayFabGroupsModule { /** * Accepts an outstanding invitation to to join a group - * https://api.playfab.com/Documentation/Groups/method/AcceptGroupApplication + * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupapplication */ AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Accepts an invitation to join a group - * https://api.playfab.com/Documentation/Groups/method/AcceptGroupInvitation + * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupinvitation */ AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds members to a group or role. - * https://api.playfab.com/Documentation/Groups/method/AddMembers + * https://docs.microsoft.com/rest/api/playfab/groups/groups/addmembers */ AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Applies to join a group - * https://api.playfab.com/Documentation/Groups/method/ApplyToGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/applytogroup */ ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Blocks a list of entities from joining a group. - * https://api.playfab.com/Documentation/Groups/method/BlockEntity + * https://docs.microsoft.com/rest/api/playfab/groups/groups/blockentity */ BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Changes the role membership of a list of entities from one role to another. - * https://api.playfab.com/Documentation/Groups/method/ChangeMemberRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/changememberrole */ ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new group. - * https://api.playfab.com/Documentation/Groups/method/CreateGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/creategroup */ CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new group role. - * https://api.playfab.com/Documentation/Groups/method/CreateRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/createrole */ CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a group and all roles, invitations, join requests, and blocks associated with it. - * https://api.playfab.com/Documentation/Groups/method/DeleteGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/deletegroup */ DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing role in a group. - * https://api.playfab.com/Documentation/Groups/method/DeleteRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/deleterole */ DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets information about a group and its roles - * https://api.playfab.com/Documentation/Groups/method/GetGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/getgroup */ GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Invites a player to join a group - * https://api.playfab.com/Documentation/Groups/method/InviteToGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/invitetogroup */ InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks to see if an entity is a member of a group or role within the group - * https://api.playfab.com/Documentation/Groups/method/IsMember + * https://docs.microsoft.com/rest/api/playfab/groups/groups/ismember */ IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all outstanding requests to join a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupApplications + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupapplications */ ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all entities blocked from joining a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupBlocks + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupblocks */ ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all outstanding invitations for a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupInvitations + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupinvitations */ ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all members for a group - * https://api.playfab.com/Documentation/Groups/method/ListGroupMembers + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupmembers */ ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all groups and roles for an entity - * https://api.playfab.com/Documentation/Groups/method/ListMembership + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembership */ ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all outstanding invitations and group applications for an entity - * https://api.playfab.com/Documentation/Groups/method/ListMembershipOpportunities + * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembershipopportunities */ ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an application to join a group - * https://api.playfab.com/Documentation/Groups/method/RemoveGroupApplication + * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupapplication */ RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an invitation join a group - * https://api.playfab.com/Documentation/Groups/method/RemoveGroupInvitation + * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupinvitation */ RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes members from a group. - * https://api.playfab.com/Documentation/Groups/method/RemoveMembers + * https://docs.microsoft.com/rest/api/playfab/groups/groups/removemembers */ RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unblocks a list of entities from joining a group - * https://api.playfab.com/Documentation/Groups/method/UnblockEntity + * https://docs.microsoft.com/rest/api/playfab/groups/groups/unblockentity */ UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates non-membership data about a group. - * https://api.playfab.com/Documentation/Groups/method/UpdateGroup + * https://docs.microsoft.com/rest/api/playfab/groups/groups/updategroup */ UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates metadata about a role. - * https://api.playfab.com/Documentation/Groups/method/UpdateRole + * https://docs.microsoft.com/rest/api/playfab/groups/groups/updaterole */ UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -134,7 +134,6 @@ declare module PlayFabGroupsModule { } declare module PlayFabGroupsModels { - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupApplicationRequest */ export interface AcceptGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a @@ -146,7 +145,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AcceptGroupInvitationRequest */ export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -155,7 +153,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.AddMembersRequest */ export interface AddMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -169,7 +166,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupRequest */ export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ AutoAcceptOutstandingInvite?: boolean; @@ -180,7 +176,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ApplyToGroupResponse */ export interface ApplyToGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** Type of entity that requested membership */ Entity?: EntityWithLineage; @@ -191,7 +186,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.BlockEntityRequest */ export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -200,7 +194,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ChangeMemberRoleRequest */ export interface ChangeMemberRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 @@ -219,7 +212,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRequest */ export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -228,7 +220,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupResponse */ export interface CreateGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** The ID of the administrator role for the group. */ AdminRoleId?: string; @@ -247,7 +238,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleRequest */ export interface CreateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -264,7 +254,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.CreateGroupRoleResponse */ export interface CreateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { /** The current version of the group profile, can be used for concurrency control during updates. */ ProfileVersion: number; @@ -275,14 +264,12 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteGroupRequest */ export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the group or role to remove */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.DeleteRoleRequest */ export interface DeleteRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -291,12 +278,10 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -305,7 +290,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityMemberRole */ export interface EntityMemberRole { /** The list of members in the role */ Members?: EntityWithLineage[]; @@ -316,7 +300,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.EntityWithLineage */ export interface EntityWithLineage { /** The entity key for the specified entity */ Key?: EntityKey; @@ -325,7 +308,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupRequest */ export interface GetGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group?: EntityKey; @@ -334,7 +316,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GetGroupResponse */ export interface GetGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** The ID of the administrator role for the group. */ AdminRoleId?: string; @@ -353,7 +334,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupApplication */ export interface GroupApplication { /** Type of entity that requested membership */ Entity?: EntityWithLineage; @@ -364,7 +344,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupBlock */ export interface GroupBlock { /** The entity that is blocked */ Entity?: EntityWithLineage; @@ -373,7 +352,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupInvitation */ export interface GroupInvitation { /** When the invitation will expire and be deleted */ Expires: string; @@ -388,7 +366,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupRole */ export interface GroupRole { /** ID for the role */ RoleId?: string; @@ -397,7 +374,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.GroupWithRoles */ export interface GroupWithRoles { /** ID for the group */ Group?: EntityKey; @@ -410,7 +386,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupRequest */ export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ AutoAcceptOutstandingApplication?: boolean; @@ -426,7 +401,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.InviteToGroupResponse */ export interface InviteToGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** When the invitation will expire and be deleted */ Expires: string; @@ -441,7 +415,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberRequest */ export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -455,77 +428,66 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.IsMemberResponse */ export interface IsMemberResponse extends PlayFabModule.IPlayFabResultCommon { /** A value indicating whether or not the entity is a member. */ IsMember: boolean; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsRequest */ export interface ListGroupApplicationsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupApplicationsResponse */ export interface ListGroupApplicationsResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of applications to the group. */ Applications?: GroupApplication[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksRequest */ export interface ListGroupBlocksRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupBlocksResponse */ export interface ListGroupBlocksResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list blocked entities. */ BlockedEntities?: GroupBlock[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsRequest */ export interface ListGroupInvitationsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupInvitationsResponse */ export interface ListGroupInvitationsResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of group invitations. */ Invitations?: GroupInvitation[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersRequest */ export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** ID of the group to list the members and roles for */ Group: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListGroupMembersResponse */ export interface ListGroupMembersResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of roles and member entity IDs. */ Members?: EntityMemberRole[]; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesRequest */ export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipOpportunitiesResponse */ export interface ListMembershipOpportunitiesResponse extends PlayFabModule.IPlayFabResultCommon { /** The requested list of group applications. */ Applications?: GroupApplication[]; @@ -534,14 +496,12 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipRequest */ export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.ListMembershipResponse */ export interface ListMembershipResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of groups */ Groups?: GroupWithRoles[]; @@ -553,7 +513,6 @@ declare module PlayFabGroupsModels { | "Deleted" | "None"; - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupApplicationRequest */ export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -562,7 +521,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveGroupInvitationRequest */ export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -571,7 +529,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.RemoveMembersRequest */ export interface RemoveMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifier of the group */ Group: EntityKey; @@ -582,7 +539,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UnblockEntityRequest */ export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -591,7 +547,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRequest */ export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional: the ID of an existing role to set as the new administrator role for the group */ AdminRoleId?: string; @@ -610,7 +565,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupResponse */ export interface UpdateGroupResponse extends PlayFabModule.IPlayFabResultCommon { /** Optional reason to explain why the operation was the result that it was. */ OperationReason?: string; @@ -621,7 +575,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleRequest */ export interface UpdateGroupRoleRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the @@ -638,7 +591,6 @@ declare module PlayFabGroupsModels { } - /** https://api.playfab.com/Documentation/Groups/datatype/PlayFab.Groups.Models/PlayFab.Groups.Models.UpdateGroupRoleResponse */ export interface UpdateGroupRoleResponse extends PlayFabModule.IPlayFabResultCommon { /** Optional reason to explain why the operation was the result that it was. */ OperationReason?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts index ff2a034f..1bca30d8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -6,7 +6,7 @@ declare module PlayFabLocalizationModule { /** * Retrieves the list of allowed languages, only accessible by title entities - * https://api.playfab.com/Documentation/Localization/method/GetLanguageList + * https://docs.microsoft.com/rest/api/playfab/localization/localization/getlanguagelist */ GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -14,12 +14,10 @@ declare module PlayFabLocalizationModule { } declare module PlayFabLocalizationModels { - /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListRequest */ export interface GetLanguageListRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Localization/datatype/PlayFab.Localization.Models/PlayFab.Localization.Models.GetLanguageListResponse */ export interface GetLanguageListResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of allowed languages, in BCP47 two-letter format */ LanguageList?: string[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 19c94c15..0f07b438 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -6,28 +6,28 @@ declare module PlayFabMatchmakerModule { /** * Validates a user with the PlayFab service - * https://api.playfab.com/Documentation/Matchmaker/method/AuthUser + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/authuser */ AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified - * https://api.playfab.com/Documentation/Matchmaker/method/PlayerJoined + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerjoined */ PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified - * https://api.playfab.com/Documentation/Matchmaker/method/PlayerLeft + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft */ PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance - * https://api.playfab.com/Documentation/Matchmaker/method/StartGame + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/startgame */ StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute * effective matches - * https://api.playfab.com/Documentation/Matchmaker/method/UserInfo + * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/userinfo */ UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -35,14 +35,12 @@ declare module PlayFabMatchmakerModule { } declare module PlayFabMatchmakerModels { - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserRequest */ export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session Ticket provided by the client. */ AuthorizationTicket: string; } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.AuthUserResponse */ export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { /** Boolean indicating if the user has been authorized to use the external match-making service. */ Authorized: boolean; @@ -51,7 +49,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -92,7 +89,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedRequest */ export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the @@ -104,12 +100,10 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerJoinedResponse */ export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftRequest */ export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the @@ -121,7 +115,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.PlayerLeftResponse */ export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -134,7 +127,6 @@ declare module PlayFabMatchmakerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameRequest */ export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the previously uploaded build executable which is to be started. */ Build: string; @@ -153,7 +145,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.StartGameResponse */ export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the game/lobby in the new Game Server Instance. */ GameID?: string; @@ -168,7 +159,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoRequest */ export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a @@ -180,7 +170,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.UserInfoResponse */ export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items in the user's current inventory. */ Inventory?: ItemInstance[]; @@ -201,7 +190,6 @@ declare module PlayFabMatchmakerModels { } - /** https://api.playfab.com/Documentation/Matchmaker/datatype/PlayFab.Matchmaker.Models/PlayFab.Matchmaker.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 825606c0..8d3a33ef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -6,241 +6,268 @@ declare module PlayFabMultiplayerModule { /** * Cancel all active tickets the player is a member of in a given queue. - * https://api.playfab.com/Documentation/Multiplayer/method/CancelAllMatchmakingTicketsForPlayer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallmatchmakingticketsforplayer */ CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cancel all active backfill tickets the player is a member of in a given queue. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallserverbackfillticketsforplayer + */ + CancelAllServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Cancel a matchmaking ticket. - * https://api.playfab.com/Documentation/Multiplayer/method/CancelMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelmatchmakingticket */ CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cancel a server backfill ticket. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelserverbackfillticket + */ + CancelServerBackfillTicket(request: PlayFabMultiplayerModels.CancelServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildalias */ CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a custom container. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithCustomContainer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithcustomcontainer */ CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build with a managed container. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateBuildWithManagedContainer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithmanagedcontainer */ CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a client. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket */ CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a remote user to log on to a VM for a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateRemoteUser + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createremoteuser */ CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a backfill matchmaking ticket as a server. A backfill ticket represents an ongoing game. The matchmaking service + * automatically starts matching the backfill ticket against other matchmaking tickets. Backfill tickets cannot match with + * other backfill tickets. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createserverbackfillticket + */ + CreateServerBackfillTicket(request: PlayFabMultiplayerModels.CreateServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other * matchmaking tickets. - * https://api.playfab.com/Documentation/Multiplayer/method/CreateServerMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteAsset + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset */ DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuild + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuild */ DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildalias */ DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game certificate. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteCertificate + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate */ DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a remote user to log on to a VM for a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/DeleteRemoteUser + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser */ DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Enables the multiplayer server feature for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/EnableMultiplayerServersForTitle + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the URL to upload assets to. - * https://api.playfab.com/Documentation/Multiplayer/method/GetAssetUploadUrl + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/GetBuild + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuild */ GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/GetBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuildalias */ GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the credentials to the container registry. - * https://api.playfab.com/Documentation/Multiplayer/method/GetContainerRegistryCredentials + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getcontainerregistrycredentials */ GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a match. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMatch + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch */ GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a matchmaking ticket by ticket Id. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket */ GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets multiplayer server session details for a build. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerDetails + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverdetails */ GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets multiplayer server logs after a server has terminated. - * https://api.playfab.com/Documentation/Multiplayer/method/GetMultiplayerServerLogs + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverlogs */ GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the statistics for a queue. - * https://api.playfab.com/Documentation/Multiplayer/method/GetQueueStatistics + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getqueuestatistics */ GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. - * https://api.playfab.com/Documentation/Multiplayer/method/GetRemoteLoginEndpoint + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getremoteloginendpoint */ GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a matchmaking backfill ticket by ticket Id. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getserverbackfillticket + */ + GetServerBackfillTicket(request: PlayFabMultiplayerModels.GetServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the status of whether a title is enabled for the multiplayer server feature. - * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleEnabledForMultiplayerServersStatus + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. - * https://api.playfab.com/Documentation/Multiplayer/method/GetTitleMultiplayerServersQuotas + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas */ GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Join a matchmaking ticket. - * https://api.playfab.com/Documentation/Multiplayer/method/JoinMatchmakingTicket + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket */ JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists archived multiplayer server sessions for a build. - * https://api.playfab.com/Documentation/Multiplayer/method/ListArchivedMultiplayerServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers */ ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game assets for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListAssetSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listassetsummaries */ ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists details of all build aliases for a title. Accepts tokens for title and if game client access is enabled, allows * game client to request list of builds with player entity token. - * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildAliases + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. - * https://api.playfab.com/Documentation/Multiplayer/method/ListBuildSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummaries */ ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game certificates for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListCertificateSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcertificatesummaries */ ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists custom container images for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImages + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimages */ ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists the tags for a custom container image. - * https://api.playfab.com/Documentation/Multiplayer/method/ListContainerImageTags + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimagetags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all matchmaking ticket Ids the user is a member of. - * https://api.playfab.com/Documentation/Multiplayer/method/ListMatchmakingTicketsForPlayer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listmatchmakingticketsforplayer */ ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server sessions for a build. - * https://api.playfab.com/Documentation/Multiplayer/method/ListMultiplayerServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listmultiplayerservers */ ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers for party. - * https://api.playfab.com/Documentation/Multiplayer/method/ListPartyQosServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listpartyqosservers */ ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers. - * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServers + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosservers */ ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists quality of service servers. - * https://api.playfab.com/Documentation/Multiplayer/method/ListQosServersForTitle + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server backfill ticket Ids the user is a member of. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer + */ + ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. - * https://api.playfab.com/Documentation/Multiplayer/method/ListVirtualMachineSummaries + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. - * https://api.playfab.com/Documentation/Multiplayer/method/RequestMultiplayerServer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestmultiplayerserver */ RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Rolls over the credentials to the container registry. - * https://api.playfab.com/Documentation/Multiplayer/method/RolloverContainerRegistryCredentials + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. - * https://api.playfab.com/Documentation/Multiplayer/method/ShutdownMultiplayerServer + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Untags a container image. - * https://api.playfab.com/Documentation/Multiplayer/method/UntagContainerImage + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage */ UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a multiplayer server build alias. - * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildAlias + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's regions. - * https://api.playfab.com/Documentation/Multiplayer/method/UpdateBuildRegions + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions */ UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Uploads a multiplayer server game certificate. - * https://api.playfab.com/Documentation/Multiplayer/method/UploadCertificate + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate */ UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -248,7 +275,6 @@ declare module PlayFabMultiplayerModule { } declare module PlayFabMultiplayerModels { - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReference */ export interface AssetReference { /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ FileName?: string; @@ -257,7 +283,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetReferenceParams */ export interface AssetReferenceParams { /** The asset's file name. */ FileName: string; @@ -266,7 +291,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.AssetSummary */ export interface AssetSummary { /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ FileName?: string; @@ -323,7 +347,6 @@ declare module PlayFabMultiplayerModels { | "Standard_A3" | "Standard_A4"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasDetailsResponse */ export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ AliasId?: string; @@ -338,14 +361,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildAliasParams */ export interface BuildAliasParams { /** The guid string alias ID to use for the request. */ AliasId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegion */ export interface BuildRegion { /** The current multiplayer server stats for the region. */ CurrentServerStats?: CurrentServerStats; @@ -365,7 +386,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildRegionParams */ export interface BuildRegionParams { /** Optional settings to control dynamic adjustment of standby target. If not specified, dynamic standby is disabled */ DynamicStandbySettings?: DynamicStandbySettings; @@ -378,14 +398,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSelectionCriterion */ export interface BuildSelectionCriterion { /** Dictionary of build ids and their respective weights for distribution of allocation requests. */ BuildWeightDistribution?: { [key: string]: number }; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.BuildSummary */ export interface BuildSummary { /** The guid string build ID of the build. */ BuildId?: string; @@ -400,7 +418,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerRequest */ export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key of the player whose tickets should be canceled. */ Entity?: EntityKey; @@ -409,16 +426,26 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelAllMatchmakingTicketsForPlayerResult */ export interface CancelAllMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { } + export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key of the player whose backfill tickets should be canceled. */ + Entity: EntityKey; + /** The name of the queue from which a player's backfill tickets should be canceled. */ + QueueName: string; + + } + + export interface CancelAllServerBackfillTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + + } + type CancellationReason = "Requested" | "Internal" | "Timeout"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketRequest */ export interface CancelMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue the ticket is in. */ QueueName: string; @@ -427,12 +454,22 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CancelMatchmakingTicketResult */ export interface CancelMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Certificate */ + export interface CancelServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the queue the ticket is in. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + export interface CancelServerBackfillTicketResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface Certificate { /** Base64 encoded string contents of the certificate. */ Base64EncodedValue: string; @@ -446,7 +483,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CertificateSummary */ export interface CertificateSummary { /** The name of the certificate. */ Name?: string; @@ -455,7 +491,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ConnectedPlayer */ export interface ConnectedPlayer { /** The player ID of the player connected to the multiplayer server. */ PlayerId?: string; @@ -466,7 +501,6 @@ declare module PlayFabMultiplayerModels { | "CustomLinux" | "ManagedWindowsServerCorePreview"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ContainerImageReference */ export interface ContainerImageReference { /** The container image name. */ ImageName: string; @@ -475,7 +509,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CoreCapacity */ export interface CoreCapacity { /** The available core capacity for the (Region, VmFamily) */ Available: number; @@ -488,7 +521,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildAliasRequest */ export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -497,7 +529,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerRequest */ export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ BuildName: string; @@ -527,7 +558,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithCustomContainerResponse */ export interface CreateBuildWithCustomContainerResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string build ID. Must be unique for every build. */ BuildId?: string; @@ -558,7 +588,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerRequest */ export interface CreateBuildWithManagedContainerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The build name. */ BuildName: string; @@ -588,7 +617,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateBuildWithManagedContainerResponse */ export interface CreateBuildWithManagedContainerResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string build ID. Must be unique for every build. */ BuildId?: string; @@ -619,7 +647,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketRequest */ export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who created this ticket. */ Creator: MatchmakingPlayer; @@ -632,14 +659,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateMatchmakingTicketResult */ export interface CreateMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { /** The Id of the ticket to find a match for. */ TicketId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserRequest */ export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of to create the remote user for. */ BuildId: string; @@ -654,7 +679,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateRemoteUserResponse */ export interface CreateRemoteUserResponse extends PlayFabModule.IPlayFabResultCommon { /** The expiration time for the remote user created. */ ExpirationTime?: string; @@ -665,7 +689,24 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CreateServerMatchmakingTicketRequest */ + export interface CreateServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The users who will be part of this ticket, along with their team assignments. */ + Members: MatchmakingPlayerWithTeamAssignment[]; + /** The Id of a match queue. */ + QueueName: string; + /** The details of the server the members are connected to. */ + ServerDetails?: ServerDetails; + + } + + export interface CreateServerBackfillTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + export interface CreateServerMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; @@ -676,7 +717,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.CurrentServerStats */ export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -689,35 +729,30 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteAssetRequest */ export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { /** The filename of the asset to delete. */ FileName: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildAliasRequest */ export interface DeleteBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteBuildRequest */ export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ BuildId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteCertificateRequest */ export interface DeleteCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the certificate. */ Name: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DeleteRemoteUserRequest */ export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; @@ -730,7 +765,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbySettings */ export interface DynamicStandbySettings { /** * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, @@ -744,7 +778,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.DynamicStandbyThreshold */ export interface DynamicStandbyThreshold { /** When the trigger threshold is reached, multiply by this value */ Multiplier: number; @@ -753,24 +786,20 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleRequest */ export interface EnableMultiplayerServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EnableMultiplayerServersForTitleResponse */ export interface EnableMultiplayerServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The enabled status for the multiplayer server features for the title. */ Status?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -779,7 +808,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReference */ export interface GameCertificateReference { /** * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game @@ -795,7 +823,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GameCertificateReferenceParams */ export interface GameCertificateReferenceParams { /** * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game @@ -811,14 +838,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlRequest */ export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The asset's file name to get the upload URL for. */ FileName: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetAssetUploadUrlResponse */ export interface GetAssetUploadUrlResponse extends PlayFabModule.IPlayFabResultCommon { /** The asset's upload URL. */ AssetUploadUrl?: string; @@ -827,21 +852,18 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildAliasRequest */ export interface GetBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildRequest */ export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to get. */ BuildId: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetBuildResponse */ export interface GetBuildResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string build ID of the build. */ BuildId?: string; @@ -887,12 +909,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsRequest */ export interface GetContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetContainerRegistryCredentialsResponse */ export interface GetContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { /** The url of the container registry. */ DnsName?: string; @@ -903,7 +923,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketRequest */ export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON @@ -917,10 +936,7 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchmakingTicketResult */ export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ - CancellationReason?: string; /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ CancellationReasonString?: string; /** The server date and time at which ticket was created. */ @@ -947,7 +963,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchRequest */ export interface GetMatchRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON @@ -963,7 +978,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMatchResult */ export interface GetMatchResult extends PlayFabModule.IPlayFabResultCommon { /** The Id of a match. */ MatchId: string; @@ -979,7 +993,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsRequest */ export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ BuildId: string; @@ -993,7 +1006,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerDetailsResponse */ export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -1018,7 +1030,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsRequest */ export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The region of the multiplayer server to get logs for. */ Region: string; @@ -1027,21 +1038,18 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetMultiplayerServerLogsResponse */ export interface GetMultiplayerServerLogsResponse extends PlayFabModule.IPlayFabResultCommon { /** URL for logs download. */ LogDownloadUrl?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsRequest */ export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue. */ QueueName: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetQueueStatisticsResult */ export interface GetQueueStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** The current number of players in the matchmaking queue, who are waiting to be matched. */ NumberOfPlayersMatching?: number; @@ -1050,7 +1058,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointRequest */ export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get remote login information for. */ BuildId: string; @@ -1061,7 +1068,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetRemoteLoginEndpointResponse */ export interface GetRemoteLoginEndpointResponse extends PlayFabModule.IPlayFabResultCommon { /** The remote login IPV4 address of multiplayer server. */ IPV4Address?: string; @@ -1070,31 +1076,61 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusRequest */ + export interface GetServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON + * object. + */ + EscapeObject: boolean; + /** The name of the queue to find a match for. */ + QueueName: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + + export interface GetServerBackfillTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + CancellationReasonString?: string; + /** The server date and time at which ticket was created. */ + Created: string; + /** How long to attempt matching this ticket in seconds. */ + GiveUpAfterSeconds: number; + /** The Id of a match. */ + MatchId?: string; + /** A list of Users that are part of this ticket, along with their team assignments. */ + Members: MatchmakingPlayerWithTeamAssignment[]; + /** The Id of a match queue. */ + QueueName: string; + /** The details of the server the members are connected to. */ + ServerDetails: ServerDetails; + /** The current ticket status. Possible values are: WaitingForMatch, Canceled and Matched. */ + Status: string; + /** The Id of the ticket to find a match for. */ + TicketId: string; + + } + export interface GetTitleEnabledForMultiplayerServersStatusRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleEnabledForMultiplayerServersStatusResponse */ export interface GetTitleEnabledForMultiplayerServersStatusResponse extends PlayFabModule.IPlayFabResultCommon { /** The enabled status for the multiplayer server features for the title. */ Status?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasRequest */ export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.GetTitleMultiplayerServersQuotasResponse */ export interface GetTitleMultiplayerServersQuotasResponse extends PlayFabModule.IPlayFabResultCommon { /** The various quotas for multiplayer servers for the title. */ Quotas?: TitleMultiplayerServersQuotas; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.InstrumentationConfiguration */ export interface InstrumentationConfiguration { /** * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics @@ -1105,7 +1141,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketRequest */ export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ Member: MatchmakingPlayer; @@ -1116,12 +1151,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.JoinMatchmakingTicketResult */ export interface JoinMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesRequest */ export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1130,7 +1163,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListAssetSummariesResponse */ export interface ListAssetSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of asset summaries. */ AssetSummaries?: AssetSummary[]; @@ -1141,14 +1173,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildAliasesForTitleResponse */ export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesRequest */ export interface ListBuildSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1157,7 +1187,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListBuildSummariesResponse */ export interface ListBuildSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build summaries for a title. */ BuildSummaries?: BuildSummary[]; @@ -1168,7 +1197,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesRequest */ export interface ListCertificateSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1177,7 +1205,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListCertificateSummariesResponse */ export interface ListCertificateSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of game certificates. */ CertificateSummaries?: CertificateSummary[]; @@ -1188,7 +1215,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesRequest */ export interface ListContainerImagesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1197,7 +1223,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImagesResponse */ export interface ListContainerImagesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of container images. */ Images?: string[]; @@ -1208,21 +1233,18 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsRequest */ export interface ListContainerImageTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The container images we want to list tags for. */ ImageName?: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListContainerImageTagsResponse */ export interface ListContainerImageTagsResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of tags for a particular container image. */ Tags?: string[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerRequest */ export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; @@ -1231,14 +1253,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMatchmakingTicketsForPlayerResult */ export interface ListMatchmakingTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { /** The list of ticket Ids the user is a member of. */ TicketIds: string[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersRequest */ export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer servers to list. */ BuildId: string; @@ -1251,7 +1271,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListMultiplayerServersResponse */ export interface ListMultiplayerServersResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of multiplayer server summary details. */ MultiplayerServerSummaries?: MultiplayerServerSummary[]; @@ -1262,14 +1281,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersRequest */ export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Qos servers version */ Version: string; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListPartyQosServersResponse */ export interface ListPartyQosServersResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1280,12 +1297,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleRequest */ export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersForTitleResponse */ export interface ListQosServersForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1296,12 +1311,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersRequest */ export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListQosServersResponse */ export interface ListQosServersResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1312,7 +1325,20 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesRequest */ + export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity key for which to find the ticket Ids. */ + Entity: EntityKey; + /** The name of the queue the tickets are in. */ + QueueName: string; + + } + + export interface ListServerBackfillTicketsForPlayerResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of backfill ticket Ids the user is a member of. */ + TicketIds: string[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -1325,7 +1351,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ListVirtualMachineSummariesResponse */ export interface ListVirtualMachineSummariesResponse extends PlayFabModule.IPlayFabResultCommon { /** The page size on the response. */ PageSize: number; @@ -1336,7 +1361,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayer */ export interface MatchmakingPlayer { /** The user's attributes custom to the title. */ Attributes?: MatchmakingPlayerAttributes; @@ -1345,7 +1369,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerAttributes */ export interface MatchmakingPlayerAttributes { /** A data object representing a user's attributes. */ DataObject?: any; @@ -1354,7 +1377,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MatchmakingPlayerWithTeamAssignment */ export interface MatchmakingPlayerWithTeamAssignment { /** * The user's attributes custom to the title. These attributes will be null unless the request has ReturnMemberAttributes @@ -1368,12 +1390,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerEmptyRequest */ export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.MultiplayerServerSummary */ export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -1392,7 +1412,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Port */ export interface Port { /** The name for the port. */ Name: string; @@ -1406,7 +1425,6 @@ declare module PlayFabMultiplayerModels { type ProtocolType = "TCP" | "UDP"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.QosServer */ export interface QosServer { /** The region the QoS server is located in. */ Region?: string; @@ -1415,7 +1433,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerRequest */ export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifiers of the build alias to use for the request. */ BuildAliasParams?: BuildAliasParams; @@ -1441,7 +1458,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RequestMultiplayerServerResponse */ export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -1466,12 +1482,10 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsRequest */ export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.RolloverContainerRegistryCredentialsResponse */ export interface RolloverContainerRegistryCredentialsResponse extends PlayFabModule.IPlayFabResultCommon { /** The url of the container registry. */ DnsName?: string; @@ -1482,7 +1496,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ServerDetails */ export interface ServerDetails { /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; @@ -1493,7 +1506,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.ShutdownMultiplayerServerRequest */ export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; @@ -1504,7 +1516,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.Statistics */ export interface Statistics { /** The average. */ Average: number; @@ -1521,14 +1532,12 @@ declare module PlayFabMultiplayerModels { | "Enabled" | "Disabled"; - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.TitleMultiplayerServersQuotas */ export interface TitleMultiplayerServersQuotas { /** The core capacity for the various regions and VM Family */ CoreCapacities?: CoreCapacity[]; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UntagContainerImageRequest */ export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The container image which tag we want to remove. */ ImageName?: string; @@ -1537,7 +1546,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildAliasRequest */ export interface UpdateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias Id of the alias to be updated. */ AliasId: string; @@ -1548,7 +1556,6 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UpdateBuildRegionsRequest */ export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; @@ -1557,14 +1564,12 @@ declare module PlayFabMultiplayerModels { } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.UploadCertificateRequest */ export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The game certificate to upload. */ GameCertificate: Certificate; } - /** https://api.playfab.com/Documentation/Multiplayer/datatype/PlayFab.Multiplayer.Models/PlayFab.Multiplayer.Models.VirtualMachineSummary */ export interface VirtualMachineSummary { /** The virtual machine health status. */ HealthStatus?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 7fe7605f..76c8dd07 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -6,38 +6,38 @@ declare module PlayFabProfilesModule { /** * Gets the global title access policy - * https://api.playfab.com/Documentation/Profiles/method/GetGlobalPolicy + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getglobalpolicy */ GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Profiles/method/GetProfile + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofile */ GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the entity's profile. - * https://api.playfab.com/Documentation/Profiles/method/GetProfiles + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofiles */ GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title player accounts associated with the given master player account. - * https://api.playfab.com/Documentation/Profiles/method/GetTitlePlayersFromMasterPlayerAccountIds + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids */ GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the global title access policy - * https://api.playfab.com/Documentation/Profiles/method/SetGlobalPolicy + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy */ SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account * language, Master Player Account language, and then title default language if the first two aren't set or supported. - * https://api.playfab.com/Documentation/Profiles/method/SetProfileLanguage + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilelanguage */ SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the profiles access policy - * https://api.playfab.com/Documentation/Profiles/method/SetProfilePolicy + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilepolicy */ SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -48,7 +48,6 @@ declare module PlayFabProfilesModels { type EffectType = "Allow" | "Deny"; - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityDataObject */ export interface EntityDataObject { /** Un-escaped JSON object, if DataAsObject is true. */ DataObject?: any; @@ -59,7 +58,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -68,7 +66,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityLineage */ export interface EntityLineage { /** The Character Id of the associated entity. */ CharacterId?: string; @@ -85,7 +82,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityPermissionStatement */ export interface EntityPermissionStatement { /** The action this statement effects. May be 'Read', 'Write' or '*' for both read and write. */ Action: string; @@ -102,7 +98,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileBody */ export interface EntityProfileBody { /** Avatar URL for the entity. */ AvatarUrl?: string; @@ -144,7 +139,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityProfileFileMetadata */ export interface EntityProfileFileMetadata { /** Checksum value for the file */ Checksum?: string; @@ -157,7 +151,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticChildValue */ export interface EntityStatisticChildValue { /** Child name value, if child statistic */ ChildName?: string; @@ -168,7 +161,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.EntityStatisticValue */ export interface EntityStatisticValue { /** Child statistic values */ ChildStatistics?: { [key: string]: EntityStatisticChildValue }; @@ -183,7 +175,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileRequest */ export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is @@ -195,14 +186,12 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfileResponse */ export interface GetEntityProfileResponse extends PlayFabModule.IPlayFabResultCommon { /** Entity profile */ Profile?: EntityProfileBody; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesRequest */ export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is @@ -214,26 +203,22 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetEntityProfilesResponse */ export interface GetEntityProfilesResponse extends PlayFabModule.IPlayFabResultCommon { /** Entity profiles */ Profiles?: EntityProfileBody[]; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyRequest */ export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetGlobalPolicyResponse */ export interface GetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The permissions that govern access to all entities under this title or namespace. */ Permissions?: EntityPermissionStatement[]; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsRequest */ export interface GetTitlePlayersFromMasterPlayerAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Master player account ids. */ MasterPlayerAccountIds: string[]; @@ -242,7 +227,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.GetTitlePlayersFromMasterPlayerAccountIdsResponse */ export interface GetTitlePlayersFromMasterPlayerAccountIdsResponse extends PlayFabModule.IPlayFabResultCommon { /** Optional id of title to get players from, required if calling using a master_player_account. */ TitleId?: string; @@ -256,7 +240,6 @@ declare module PlayFabProfilesModels { | "Deleted" | "None"; - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyRequest */ export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity: EntityKey; @@ -265,7 +248,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetEntityProfilePolicyResponse */ export interface SetEntityProfilePolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** * The permissions that govern access to this entity profile and its properties. Only includes permissions set on this @@ -275,19 +257,16 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyRequest */ export interface SetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The permissions that govern access to all entities under this title or namespace. */ Permissions?: EntityPermissionStatement[]; } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetGlobalPolicyResponse */ export interface SetGlobalPolicyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageRequest */ export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity to perform this action on. */ Entity?: EntityKey; @@ -298,7 +277,6 @@ declare module PlayFabProfilesModels { } - /** https://api.playfab.com/Documentation/Profiles/datatype/PlayFab.Profiles.Models/PlayFab.Profiles.Models.SetProfileLanguageResponse */ export interface SetProfileLanguageResponse extends PlayFabModule.IPlayFabResultCommon { /** The type of operation that occured on the profile's language */ OperationResult?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d1bd4905..18ccea82 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -6,150 +6,151 @@ declare module PlayFabServerModule { /** * Increments the character's balance of the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Server/method/AddCharacterVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the Friend user to the friendlist of the user with PlayFabId. At least one of * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. - * https://api.playfab.com/Documentation/Server/method/AddFriend + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/addfriend */ AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. - * https://api.playfab.com/Documentation/Server/method/AddGenericID + * https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid */ AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Server/method/AddPlayerTag + * https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag */ AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small - * number of players, please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/AddSharedGroupMembers + * number of players, please see our guide: + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/addsharedgroupmembers */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the user's balance of the specified virtual currency by the stated amount - * https://api.playfab.com/Documentation/Server/method/AddUserVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/adduservirtualcurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validated a client's session ticket, and if successful, returns details for that user - * https://api.playfab.com/Documentation/Server/method/AuthenticateSessionTicket + * https://docs.microsoft.com/rest/api/playfab/server/authentication/authenticatesessionticket */ AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Awards the specified users the specified Steam achievements - * https://api.playfab.com/Documentation/Server/method/AwardSteamAchievement + * https://docs.microsoft.com/rest/api/playfab/server/platform-specific-methods/awardsteamachievement */ AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game. - * https://api.playfab.com/Documentation/Server/method/BanUsers + * https://docs.microsoft.com/rest/api/playfab/server/account-management/banusers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory. - * https://api.playfab.com/Documentation/Server/method/ConsumeItem + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/consumeitem */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data * between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/CreateSharedGroup + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/createsharedgroup */ CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes the specific character ID from the specified user. - * https://api.playfab.com/Documentation/Server/method/DeleteCharacterFromUser + * https://docs.microsoft.com/rest/api/playfab/server/characters/deletecharacterfromuser */ DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a user's player account from a title and deletes all associated data - * https://api.playfab.com/Documentation/Server/method/DeletePlayer + * https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer */ DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes push notification template for title - * https://api.playfab.com/Documentation/Server/method/DeletePushNotificationTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate */ DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/DeleteSharedGroup + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Inform the matchmaker that a Game Server Instance is removed. - * https://api.playfab.com/Documentation/Server/method/DeregisterGame + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/deregistergame */ DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. - * https://api.playfab.com/Documentation/Server/method/EvaluateRandomResultTable + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. - * https://api.playfab.com/Documentation/Server/method/ExecuteCloudScript + * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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. - * https://api.playfab.com/Documentation/Server/method/GetAllSegments + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Server/method/GetAllUsersCharacters + * https://docs.microsoft.com/rest/api/playfab/server/characters/getalluserscharacters */ GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties - * https://api.playfab.com/Documentation/Server/method/GetCatalogItems + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getcatalogitems */ GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/GetCharacterData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterdata */ GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user's character which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/GetCharacterInternalData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterinternaldata */ GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified character's current inventory of virtual goods - * https://api.playfab.com/Documentation/Server/method/GetCharacterInventory + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getcharacterinventory */ GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Server/method/GetCharacterLeaderboard + * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterleaderboard */ GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user's character which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/GetCharacterReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterreadonlydata */ GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the details of all title-specific statistics for the specific character - * https://api.playfab.com/Documentation/Server/method/GetCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterstatistics */ GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -157,57 +158,57 @@ declare module PlayFabServerModule { * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the * content. Note that a successful result does not guarantee the existence of this content - if it has not been uploaded, * the query to retrieve the data will fail. See this post for more information: - * https://community.playfab.com/hc/en-us/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, + * https://community.playfab.com/hc/community/posts/205469488-How-to-upload-files-to-PlayFab-s-Content-Service. Also, * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. - * https://api.playfab.com/Documentation/Server/method/GetContentDownloadUrl + * https://docs.microsoft.com/rest/api/playfab/server/content/getcontentdownloadurl */ GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the * leaderboard - * https://api.playfab.com/Documentation/Server/method/GetFriendLeaderboard + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getfriendleaderboard */ GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. - * https://api.playfab.com/Documentation/Server/method/GetFriendsList + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/getfriendslist */ GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard - * https://api.playfab.com/Documentation/Server/method/GetLeaderboard + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboard */ GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested user - * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundCharacter + * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardaroundcharacter */ GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user - * https://api.playfab.com/Documentation/Server/method/GetLeaderboardAroundUser + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboardarounduser */ GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves a list of all of the user's characters for the given statistic. - * https://api.playfab.com/Documentation/Server/method/GetLeaderboardForUserCharacters + * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardforusercharacters */ GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be * returned. All parameters default to false. - * https://api.playfab.com/Documentation/Server/method/GetPlayerCombinedInfo + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the player's profile - * https://api.playfab.com/Documentation/Server/method/GetPlayerProfile + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile */ GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all segments that a player currently belongs to at this moment in time. - * https://api.playfab.com/Documentation/Server/method/GetPlayerSegments + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -216,395 +217,405 @@ declare module PlayFabServerModule { * 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://api.playfab.com/Documentation/Server/method/GetPlayersInSegment + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment */ GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current version and values for the indicated statistics, for the local player. - * https://api.playfab.com/Documentation/Server/method/GetPlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics */ GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the information on the available versions of the specified statistic. - * https://api.playfab.com/Documentation/Server/method/GetPlayerStatisticVersions + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatisticversions */ GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get all tags with a given Namespace (optional) from a player profile. - * https://api.playfab.com/Documentation/Server/method/GetPlayerTags + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags */ GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookids */ GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromFacebookInstantGamesIds + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookinstantgamesids */ GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromGenericIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids */ GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromNintendoSwitchDeviceIds + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromPSNAccountIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromSteamIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. - * https://api.playfab.com/Documentation/Server/method/GetPlayFabIDsFromXboxLiveIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids */ GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Server/method/GetPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getpublisherdata */ GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the configuration information for the specified random results tables for the title, including all ItemId * values and weights - * https://api.playfab.com/Documentation/Server/method/GetRandomResultTables + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. - * https://api.playfab.com/Documentation/Server/method/GetServerCustomIDsFromPlayFabIDs + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids */ GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all * public and private group data. Shared Groups are designed for sharing data between a very small number of players, - * please see our guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/GetSharedGroupData + * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/getsharedgroupdata */ GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the set of items defined for the specified store, including all prices defined, for the specified player - * https://api.playfab.com/Documentation/Server/method/GetStoreItems + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems */ GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the current server time - * https://api.playfab.com/Documentation/Server/method/GetTime + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettime */ GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom title settings - * https://api.playfab.com/Documentation/Server/method/GetTitleData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitledata */ GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the key-value store of custom internal title settings - * https://api.playfab.com/Documentation/Server/method/GetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitleinternaldata */ GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title news feed, as configured in the developer portal - * https://api.playfab.com/Documentation/Server/method/GetTitleNews + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitlenews */ GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user - * https://api.playfab.com/Documentation/Server/method/GetUserAccountInfo + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuseraccountinfo */ GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets all bans for a user. - * https://api.playfab.com/Documentation/Server/method/GetUserBans + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuserbans */ GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/GetUserData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserdata */ GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/GetUserInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserinternaldata */ GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the specified user's current inventory of virtual goods - * https://api.playfab.com/Documentation/Server/method/GetUserInventory + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getuserinventory */ GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/GetUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherdata */ GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/GetUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherinternaldata */ GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/GetUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherreadonlydata */ GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/GetUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. - * https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser + * https://docs.microsoft.com/rest/api/playfab/server/characters/grantcharactertouser */ GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified character's inventory - * https://api.playfab.com/Documentation/Server/method/GrantItemsToCharacter + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter */ GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified user's inventory - * https://api.playfab.com/Documentation/Server/method/GrantItemsToUser + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser */ GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the specified items to the specified user inventories - * https://api.playfab.com/Documentation/Server/method/GrantItemsToUsers + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount + */ + LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the custom server identifier, generated by the title, to the user's PlayFab account. - * https://api.playfab.com/Documentation/Server/method/LinkServerCustomId + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid */ LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account - * https://api.playfab.com/Documentation/Server/method/LinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. - * https://api.playfab.com/Documentation/Server/method/LoginWithServerCustomId + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user - * https://api.playfab.com/Documentation/Server/method/LoginWithXbox + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxbox */ LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API * calls which require an authenticated user - * https://api.playfab.com/Documentation/Server/method/LoginWithXboxId + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxboxid */ LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Modifies the number of remaining uses of a player's inventory item - * https://api.playfab.com/Documentation/Server/method/ModifyItemUses + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses */ ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Moves an item from a character's inventory into another of the users's character's inventory. - * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromCharacter + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter */ MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Moves an item from a user's inventory into their character's inventory. - * https://api.playfab.com/Documentation/Server/method/MoveItemToCharacterFromUser + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser */ MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Moves an item from a character's inventory into the owning user's inventory. - * https://api.playfab.com/Documentation/Server/method/MoveItemToUserFromCharacter + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Informs the PlayFab match-making service that the user specified has left the Game Server Instance - * https://api.playfab.com/Documentation/Server/method/NotifyMatchmakerPlayerLeft + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/notifymatchmakerplayerleft */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. - * https://api.playfab.com/Documentation/Server/method/RedeemCoupon + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Validates a Game Server session ticket and returns details about the user - * https://api.playfab.com/Documentation/Server/method/RedeemMatchmakerTicket + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/redeemmatchmakerticket */ RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. - * https://api.playfab.com/Documentation/Server/method/RefreshGameServerInstanceHeartbeat + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Inform the matchmaker that a new Game Server Instance is added. - * https://api.playfab.com/Documentation/Server/method/RegisterGame + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame */ RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified friend from the the user's friend list - * https://api.playfab.com/Documentation/Server/method/RemoveFriend + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend */ RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified generic service identifier from the player's PlayFab account. - * https://api.playfab.com/Documentation/Server/method/RemoveGenericID + * https://docs.microsoft.com/rest/api/playfab/server/account-management/removegenericid */ RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. - * https://api.playfab.com/Documentation/Server/method/RemovePlayerTag + * https://docs.microsoft.com/rest/api/playfab/server/playstream/removeplayertag */ RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data * will be deleted. Shared Groups are designed for sharing data between a very small number of players, please see our - * guide: https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/RemoveSharedGroupMembers + * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/removesharedgroupmembers */ RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service * representatives for the title can take action concerning potentially toxic players. - * https://api.playfab.com/Documentation/Server/method/ReportPlayer + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/reportplayer */ ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revoke all active bans for a user. - * https://api.playfab.com/Documentation/Server/method/RevokeAllBansForUser + * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokeallbansforuser */ RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revoke all active bans specified with BanId. - * https://api.playfab.com/Documentation/Server/method/RevokeBans + * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokebans */ RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revokes access to an item in a user's inventory - * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItem + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitem */ RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Revokes access for up to 25 items across multiple users and characters. - * https://api.playfab.com/Documentation/Server/method/RevokeInventoryItems + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Saves push notification template for title - * https://api.playfab.com/Documentation/Server/method/SavePushNotificationTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/savepushnotificationtemplate */ SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template - * https://api.playfab.com/Documentation/Server/method/SendCustomAccountRecoveryEmail + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendcustomaccountrecoveryemail */ SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an email based on an email template to a player's contact email - * https://api.playfab.com/Documentation/Server/method/SendEmailFromTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendemailfromtemplate */ SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - * https://api.playfab.com/Documentation/Server/method/SendPushNotification + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotification */ SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. - * https://api.playfab.com/Documentation/Server/method/SendPushNotificationFromTemplate + * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotificationfromtemplate */ SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the tag list for a specified user in the friend list of another user - * https://api.playfab.com/Documentation/Server/method/SetFriendTags + * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags */ SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the custom data of the indicated Game Server Instance - * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceData + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancedata */ SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Set the state of the indicated Game Server Instance. - * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceState + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancestate */ SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Set custom tags for the specified Game Server Instance - * https://api.playfab.com/Documentation/Server/method/SetGameServerInstanceTags + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancetags */ SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. - * https://api.playfab.com/Documentation/Server/method/SetPlayerSecret + * https://docs.microsoft.com/rest/api/playfab/server/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom publisher settings - * https://api.playfab.com/Documentation/Server/method/SetPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/setpublisherdata */ SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings - * https://api.playfab.com/Documentation/Server/method/SetTitleData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings - * https://api.playfab.com/Documentation/Server/method/SetTitleInternalData + * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. - * https://api.playfab.com/Documentation/Server/method/SubtractCharacterVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency */ SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. - * https://api.playfab.com/Documentation/Server/method/SubtractUserVirtualCurrency + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related PSN account from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount + */ + UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the custom server identifier from the user's PlayFab account. - * https://api.playfab.com/Documentation/Server/method/UnlinkServerCustomId + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid */ UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account - * https://api.playfab.com/Documentation/Server/method/UnlinkXboxAccount + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount */ UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. - * https://api.playfab.com/Documentation/Server/method/UnlockContainerInstance + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -612,42 +623,42 @@ declare module PlayFabServerModule { * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) * are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of * ConsumeItem. - * https://api.playfab.com/Documentation/Server/method/UnlockContainerItem + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem */ UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Update the avatar URL of the specified player - * https://api.playfab.com/Documentation/Server/method/UpdateAvatarUrl + * https://docs.microsoft.com/rest/api/playfab/server/account-management/updateavatarurl */ UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates information of a list of existing bans specified with Ban Ids. - * https://api.playfab.com/Documentation/Server/method/UpdateBans + * https://docs.microsoft.com/rest/api/playfab/server/account-management/updatebans */ UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user's character which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterdata */ UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user's character which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterInternalData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterinternaldata */ UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user's character which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterreadonlydata */ UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the specific character - * https://api.playfab.com/Documentation/Server/method/UpdateCharacterStatistics + * https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the values of the specified title-specific statistics for the user - * https://api.playfab.com/Documentation/Server/method/UpdatePlayerStatistics + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics */ UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** @@ -655,58 +666,58 @@ declare module PlayFabServerModule { * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. * Regardless of the permission setting, only members of the group (and the server) can update the data. Shared Groups are * designed for sharing data between a very small number of players, please see our guide: - * https://api.playfab.com/docs/tutorials/landing-players/shared-groups - * https://api.playfab.com/Documentation/Server/method/UpdateSharedGroupData + * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data + * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/updatesharedgroupdata */ UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserdata */ UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserinternaldata */ UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value pair data tagged to the specified item, which is read-only from the client. - * https://api.playfab.com/Documentation/Server/method/UpdateUserInventoryItemCustomData + * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata */ UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherdata */ UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherInternalData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherinternaldata */ UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the publisher-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserPublisherReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherreadonlydata */ UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the title-specific custom data for the user which can only be read by the client - * https://api.playfab.com/Documentation/Server/method/UpdateUserReadOnlyData + * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserreadonlydata */ UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a character-based event into PlayStream. - * https://api.playfab.com/Documentation/Server/method/WriteCharacterEvent + * https://docs.microsoft.com/rest/api/playfab/server/analytics/writecharacterevent */ WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a player-based event into PlayStream. - * https://api.playfab.com/Documentation/Server/method/WritePlayerEvent + * https://docs.microsoft.com/rest/api/playfab/server/analytics/writeplayerevent */ WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Writes a title-based event into PlayStream. - * https://api.playfab.com/Documentation/Server/method/WriteTitleEvent + * https://docs.microsoft.com/rest/api/playfab/server/analytics/writetitleevent */ WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -714,7 +725,6 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttribution */ export interface AdCampaignAttribution { /** UTC time stamp of attribution */ AttributedAt: string; @@ -725,7 +735,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdCampaignAttributionModel */ export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -736,7 +745,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddCharacterVirtualCurrencyRequest */ export interface AddCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the character balance of the specified virtual currency. Maximum VC balance is Int32 @@ -752,7 +760,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddFriendRequest */ export interface AddFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** Email address of the user being added. */ FriendEmail?: string; @@ -767,7 +774,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddGenericIDRequest */ export interface AddGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to add to the player account. */ GenericId: GenericServiceId; @@ -776,7 +782,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagRequest */ export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -785,12 +790,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddPlayerTagResult */ export interface AddPlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersRequest */ export interface AddSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -799,12 +802,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddSharedGroupMembersResult */ export interface AddSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AddUserVirtualCurrencyRequest */ export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -818,7 +819,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AdvancedPushPlatformMsg */ export interface AdvancedPushPlatformMsg { /** The Json the platform should receive. */ Json: string; @@ -827,21 +827,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketRequest */ export interface AuthenticateSessionTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Session ticket as issued by a PlayFab client login API. */ SessionTicket: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AuthenticateSessionTicketResult */ export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementItem */ export interface AwardSteamAchievementItem { /** Unique Steam achievement name. */ AchievementName: string; @@ -852,21 +849,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementRequest */ export interface AwardSteamAchievementRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of achievements to grant and the users to whom they are to be granted. */ Achievements: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.AwardSteamAchievementResult */ export interface AwardSteamAchievementResult extends PlayFabModule.IPlayFabResultCommon { /** Array of achievements granted. */ AchievementResults?: AwardSteamAchievementItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanInfo */ export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -887,7 +881,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanRequest */ export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -902,21 +895,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersRequest */ export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.BanUsersResult */ export interface BanUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were applied */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItem */ export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -975,7 +965,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemBundleInfo */ export interface CatalogItemBundleInfo { /** unique ItemId values for all items which will be added to the player inventory when the bundle is added */ BundledItems?: string[]; @@ -989,7 +978,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemConsumableInfo */ export interface CatalogItemConsumableInfo { /** number of times this object can be used, after which it will be removed from the player inventory */ UsageCount?: number; @@ -1007,7 +995,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CatalogItemContainerInfo */ export interface CatalogItemContainerInfo { /** unique ItemId values for all items which will be added to the player inventory, once the container has been unlocked */ ItemContents?: string[]; @@ -1026,7 +1013,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterInventory */ export interface CharacterInventory { /** The id of this character. */ CharacterId?: string; @@ -1035,7 +1021,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterLeaderboardEntry */ export interface CharacterLeaderboardEntry { /** PlayFab unique identifier of the character that belongs to the user for this leaderboard entry. */ CharacterId?: string; @@ -1054,7 +1039,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CharacterResult */ export interface CharacterResult { /** The id for this character on this player. */ CharacterId?: string; @@ -1069,7 +1053,6 @@ declare module PlayFabServerModels { | "Latest" | "Specific"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemRequest */ export interface ConsumeItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -1082,7 +1065,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ConsumeItemResult */ export interface ConsumeItemResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -1091,7 +1073,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfo */ export interface ContactEmailInfo { /** The email address */ EmailAddress?: string; @@ -1102,7 +1083,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ContactEmailInfoModel */ export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1371,14 +1351,12 @@ declare module PlayFabServerModels { | "ZM" | "ZW"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupRequest */ export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ SharedGroupId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.CreateSharedGroupResult */ export interface CreateSharedGroupResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the shared group. */ SharedGroupId?: string; @@ -1548,7 +1526,6 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserRequest */ export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1562,50 +1539,42 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteCharacterFromUserResult */ export interface DeleteCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerRequest */ export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePlayerResult */ export interface DeletePlayerResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateRequest */ export interface DeletePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the push notification template to be deleted. */ PushNotificationTemplateId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeletePushNotificationTemplateResult */ export interface DeletePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeleteSharedGroupRequest */ export interface DeleteSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group. */ SharedGroupId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameRequest */ export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.DeregisterGameResponse */ export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { } @@ -1614,17 +1583,14 @@ declare module PlayFabServerModels { | "Pending" | "Confirmed"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResponse */ export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EmptyResult */ export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityKey */ export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -1633,7 +1599,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EntityTokenResponse */ export interface EntityTokenResponse { /** The entity id and type. */ Entity?: EntityKey; @@ -1644,7 +1609,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableRequest */ export interface EvaluateRandomResultTableRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to evaluate the Random Result Table. If unspecified, uses @@ -1656,14 +1620,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.EvaluateRandomResultTableResult */ export interface EvaluateRandomResultTableResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier for the item returned from the Random Result Table evaluation, for the given catalog. */ ResultItemId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptResult */ export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1702,7 +1664,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ExecuteCloudScriptServerRequest */ export interface ExecuteCloudScriptServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the CloudScript function to execute */ FunctionName: string; @@ -1726,7 +1687,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookInstantGamesPlayFabIdPair */ export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -1735,7 +1695,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FacebookPlayFabIdPair */ export interface FacebookPlayFabIdPair { /** Unique Facebook identifier for a user. */ FacebookId?: string; @@ -1744,7 +1703,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.FriendInfo */ export interface FriendInfo { /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ FacebookInfo?: UserFacebookInfo; @@ -2257,6 +2215,7 @@ declare module PlayFabServerModels { | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" + | "InsightsManagementTitleNotInFlight" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2331,7 +2290,6 @@ declare module PlayFabServerModels { | "MaxActionDepthExceeded" | "SnapshotNotFound"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericPlayFabIdPair */ export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -2340,7 +2298,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GenericServiceId */ export interface GenericServiceId { /** Name of the service for which the player has a unique identifier. */ ServiceName: string; @@ -2349,33 +2306,28 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsRequest */ export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetAllSegmentsResult */ export interface GetAllSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments for this title. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsRequest */ export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCatalogItemsResult */ export interface GetCatalogItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items which can be purchased. */ Catalog?: CatalogItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataRequest */ export interface GetCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2391,7 +2343,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterDataResult */ export interface GetCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -2407,7 +2358,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryRequest */ export interface GetCharacterInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Used to limit results to only those from a specific catalog version. */ CatalogVersion?: string; @@ -2418,7 +2368,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterInventoryResult */ export interface GetCharacterInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for this inventory. */ CharacterId?: string; @@ -2433,7 +2382,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardRequest */ export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional character type on which to filter the leaderboard entries. */ CharacterType?: string; @@ -2446,14 +2394,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterLeaderboardResult */ export interface GetCharacterLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsRequest */ export interface GetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2462,7 +2408,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetCharacterStatisticsResult */ export interface GetCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier of the character for the statistics. */ CharacterId?: string; @@ -2473,7 +2418,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlRequest */ export interface GetContentDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** HTTP method to fetch item - GET or HEAD. Use HEAD when only fetching metadata. Default is GET. */ HttpMethod?: string; @@ -2487,14 +2431,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetContentDownloadUrlResult */ export interface GetContentDownloadUrlResult extends PlayFabModule.IPlayFabResultCommon { /** URL for downloading content via HTTP GET or HEAD method. The URL will expire in approximately one hour. */ URL?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendLeaderboardRequest */ export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2521,7 +2463,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListRequest */ export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2540,14 +2481,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetFriendsListResult */ export interface GetFriendsListResult extends PlayFabModule.IPlayFabResultCommon { /** Array of friends found. */ Friends?: FriendInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterRequest */ export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -2562,14 +2501,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundCharacterResult */ export interface GetLeaderboardAroundCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserRequest */ export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2588,7 +2525,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardAroundUserResult */ export interface GetLeaderboardAroundUserResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2599,7 +2535,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersRequest */ export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2610,14 +2545,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardForUsersCharactersResult */ export interface GetLeaderboardForUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered list of leaderboard entries. */ Leaderboard?: CharacterLeaderboardEntry[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardRequest */ export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ MaxResultsCount: number; @@ -2636,7 +2569,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetLeaderboardResult */ export interface GetLeaderboardResult extends PlayFabModule.IPlayFabResultCommon { /** Ordered listing of users and their positions in the requested leaderboard. */ Leaderboard?: PlayerLeaderboardEntry[]; @@ -2647,7 +2579,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequest */ export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; @@ -2656,7 +2587,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoRequestParams */ export interface GetPlayerCombinedInfoRequestParams { /** Whether to get character inventories. Defaults to false. */ GetCharacterInventories: boolean; @@ -2694,7 +2624,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResult */ export interface GetPlayerCombinedInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Results for requested info. */ InfoResultPayload?: GetPlayerCombinedInfoResultPayload; @@ -2703,7 +2632,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerCombinedInfoResultPayload */ export interface GetPlayerCombinedInfoResultPayload { /** Account information for the user. This is always retrieved. */ AccountInfo?: UserAccountInfo; @@ -2737,7 +2665,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileRequest */ export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2750,7 +2677,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerProfileResult */ export interface GetPlayerProfileResult extends PlayFabModule.IPlayFabResultCommon { /** * The profile of the player. This profile is not guaranteed to be up-to-date. For a new player, this profile will not @@ -2760,14 +2686,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerSegmentsResult */ export interface GetPlayerSegmentsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of segments the requested player currently belongs to. */ Segments?: GetSegmentResult[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentRequest */ export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -2783,7 +2707,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersInSegmentResult */ 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; @@ -2794,14 +2717,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayersSegmentsRequest */ export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsRequest */ export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** user for whom statistics are being requested */ PlayFabId: string; @@ -2815,7 +2736,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticsResult */ export interface GetPlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { /** PlayFab unique identifier of the user whose statistics are being returned */ PlayFabId?: string; @@ -2824,21 +2744,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsRequest */ export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the statistic */ StatisticName?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerStatisticVersionsResult */ export interface GetPlayerStatisticVersionsResult extends PlayFabModule.IPlayFabResultCommon { /** version change history of the statistic */ StatisticVersions?: PlayerStatisticVersion[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsRequest */ export interface GetPlayerTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional namespace to filter results by */ Namespace?: string; @@ -2847,7 +2764,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayerTagsResult */ export interface GetPlayerTagsResult extends PlayFabModule.IPlayFabResultCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2856,35 +2772,30 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsRequest */ export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ FacebookIDs: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookIDsResult */ export interface GetPlayFabIDsFromFacebookIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook identifiers to PlayFab identifiers. */ Data?: FacebookPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsRequest */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ FacebookInstantGamesIds: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromFacebookInstantGamesIdsResult */ export interface GetPlayFabIDsFromFacebookInstantGamesIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Facebook Instant Games identifiers to PlayFab identifiers. */ Data?: FacebookInstantGamesPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsRequest */ export interface GetPlayFabIDsFromGenericIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique generic service identifiers for which the title needs to get PlayFab identifiers. Currently limited to a @@ -2894,28 +2805,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromGenericIDsResult */ export interface GetPlayFabIDsFromGenericIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of generic service identifiers to PlayFab identifiers. */ Data?: GenericPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromNintendoSwitchDeviceIdsResult */ export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ Data?: number[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsRequest */ export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; @@ -2924,28 +2831,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromPSNAccountIDsResult */ export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsRequest */ export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ SteamStringIDs?: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromSteamIDsResult */ export interface GetPlayFabIDsFromSteamIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Steam identifiers to PlayFab identifiers. */ Data?: SteamPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsRequest */ export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; @@ -2954,28 +2857,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPlayFabIDsFromXboxLiveIDsResult */ export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataRequest */ export interface GetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of keys to get back data from the Publisher data blob, set by the admin tools */ Keys: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetPublisherDataResult */ export interface GetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesRequest */ export interface GetRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to retrieve the Random Result Tables. If unspecified, uses @@ -2987,14 +2886,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetRandomResultTablesResult */ export interface GetRandomResultTablesResult extends PlayFabModule.IPlayFabResultCommon { /** array of random result tables currently available */ Tables?: { [key: string]: RandomResultTableListing }; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSegmentResult */ export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -3005,7 +2902,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsRequest */ export interface GetServerCustomIDsFromPlayFabIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique PlayFab player identifiers for which the title needs to get server custom identifiers. Cannot contain @@ -3015,14 +2911,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetServerCustomIDsFromPlayFabIDsResult */ export interface GetServerCustomIDsFromPlayFabIDsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of server custom player identifiers to PlayFab identifiers. */ Data?: ServerCustomIDPlayFabIDPair[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataRequest */ export interface GetSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** If true, return the list of all members of the shared group. */ GetMembers?: boolean; @@ -3036,7 +2930,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetSharedGroupDataResult */ export interface GetSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { /** Data for the requested keys. */ Data?: { [key: string]: SharedGroupDataRecord }; @@ -3045,7 +2938,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsResult */ export interface GetStoreItemsResult extends PlayFabModule.IPlayFabResultCommon { /** The base catalog that this store is a part of. */ CatalogVersion?: string; @@ -3060,7 +2952,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetStoreItemsServerRequest */ export interface GetStoreItemsServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -3074,75 +2965,64 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeRequest */ export interface GetTimeRequest extends PlayFabModule.IPlayFabRequestCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTimeResult */ export interface GetTimeResult extends PlayFabModule.IPlayFabResultCommon { /** Current server time when the request was received, in UTC */ Time: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataRequest */ export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleDataResult */ export interface GetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { /** a dictionary object of key / value pairs */ Data?: { [key: string]: string | null }; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsRequest */ export interface GetTitleNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Limits the results to the last n entries. Defaults to 10 if not set. */ Count?: number; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetTitleNewsResult */ export interface GetTitleNewsResult extends PlayFabModule.IPlayFabResultCommon { /** Array of localized news items. */ News?: TitleNewsItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoRequest */ export interface GetUserAccountInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserAccountInfoResult */ export interface GetUserAccountInfoResult extends PlayFabModule.IPlayFabResultCommon { /** Account details for the user whose information was requested. */ UserInfo?: UserAccountInfo; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansRequest */ export interface GetUserBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserBansResult */ export interface GetUserBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information about the bans */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataRequest */ export interface GetUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The version that currently exists according to the caller. The call will return the data for all of the keys if the @@ -3156,7 +3036,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserDataResult */ export interface GetUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** User specific data for this title. */ Data?: { [key: string]: UserDataRecord }; @@ -3170,14 +3049,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryRequest */ export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GetUserInventoryResult */ export interface GetUserInventoryResult extends PlayFabModule.IPlayFabResultCommon { /** Array of inventory items belonging to the user. */ Inventory?: ItemInstance[]; @@ -3190,7 +3067,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserRequest */ export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; @@ -3201,14 +3077,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantCharacterToUserResult */ export interface GrantCharacterToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Unique identifier tagged to this character. */ CharacterId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantedItemInstance */ export interface GrantedItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3255,7 +3129,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterRequest */ export interface GrantItemsToCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3270,14 +3143,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToCharacterResult */ export interface GrantItemsToCharacterResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserRequest */ export interface GrantItemsToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3290,14 +3161,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUserResult */ export interface GrantItemsToUserResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersRequest */ export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -3306,14 +3175,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.GrantItemsToUsersResult */ export interface GrantItemsToUsersResult extends PlayFabModule.IPlayFabResultCommon { /** Array of items granted to users. */ ItemGrantResults?: GrantedItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemGrant */ export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3336,7 +3203,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ItemInstance */ export interface ItemInstance { /** Game specific comment associated with this instance when it was added to the user inventory. */ Annotation?: string; @@ -3377,7 +3243,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkedPlatformAccountModel */ export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3390,7 +3255,24 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdRequest */ + export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authentication code provided by the PlayStation Network. */ + AuthCode: string; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + IssuerId?: number; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** Redirect URI supplied to PSN when requesting an auth code */ + RedirectUri: string; + + } + + export interface LinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3401,12 +3283,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkServerCustomIdResult */ export interface LinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountRequest */ export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3417,26 +3297,22 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LinkXboxAccountResult */ export interface LinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersRequest */ export interface ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ListUsersCharactersResult */ export interface ListUsersCharactersResult extends PlayFabModule.IPlayFabResultCommon { /** The requested list of characters. */ Characters?: CharacterResult[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocalizedPushNotificationProperties */ export interface LocalizedPushNotificationProperties { /** Message of the localized push notification template. */ Message?: string; @@ -3445,7 +3321,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LocationModel */ export interface LocationModel { /** City name. */ City?: string; @@ -3480,7 +3355,6 @@ declare module PlayFabServerModels { | "FacebookInstantGames" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithServerCustomIdRequest */ export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3493,7 +3367,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxIdRequest */ export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3506,7 +3379,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LoginWithXboxRequest */ export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3517,7 +3389,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.LogStatement */ export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -3527,7 +3398,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MembershipModel */ export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -3545,7 +3415,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyCharacterVirtualCurrencyResult */ export interface ModifyCharacterVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3554,7 +3423,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesRequest */ export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; @@ -3565,7 +3433,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyItemUsesResult */ export interface ModifyItemUsesResult extends PlayFabModule.IPlayFabResultCommon { /** Unique instance identifier of the item with uses consumed. */ ItemInstanceId?: string; @@ -3574,7 +3441,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ModifyUserVirtualCurrencyResult */ export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; @@ -3590,7 +3456,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterRequest */ export interface MoveItemToCharacterFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the character that currently has the item. */ GivingCharacterId: string; @@ -3603,12 +3468,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromCharacterResult */ export interface MoveItemToCharacterFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserRequest */ export interface MoveItemToCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3619,12 +3482,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToCharacterFromUserResult */ export interface MoveItemToCharacterFromUserResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterRequest */ export interface MoveItemToUserFromCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -3635,12 +3496,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.MoveItemToUserFromCharacterResult */ export interface MoveItemToUserFromCharacterResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NintendoSwitchPlayFabIdPair */ export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -3649,7 +3508,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftRequest */ export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; @@ -3658,7 +3516,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.NotifyMatchmakerPlayerLeftResult */ export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { /** State of user leaving the Game Server Instance. */ PlayerState?: string; @@ -3670,7 +3527,6 @@ declare module PlayFabServerModels { | "Participating" | "Participated"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLeaderboardEntry */ export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -3685,7 +3541,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLinkedAccount */ export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -3698,7 +3553,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerLocation */ export interface PlayerLocation { /** City of the player's geographic location. */ City?: string; @@ -3713,7 +3567,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfile */ export interface PlayerProfile { /** Array of ad campaigns player has been attributed to */ AdCampaignAttributions?: AdCampaignAttribution[]; @@ -3760,7 +3613,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileModel */ export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -3808,7 +3660,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerProfileViewConstraints */ export interface PlayerProfileViewConstraints { /** Whether to show player's avatar URL. Defaults to false */ ShowAvatarUrl: boolean; @@ -3847,7 +3698,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatistic */ export interface PlayerStatistic { /** Statistic ID */ Id?: string; @@ -3860,7 +3710,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PlayerStatisticVersion */ export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -3877,7 +3726,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PSNAccountPlayFabIdPair */ export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -3886,7 +3734,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationPackage */ export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; @@ -3906,7 +3753,6 @@ declare module PlayFabServerModels { type PushNotificationPlatform = "ApplePushNotificationService" | "GoogleCloudMessaging"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistration */ export interface PushNotificationRegistration { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3915,7 +3761,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.PushNotificationRegistrationModel */ export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -3924,7 +3769,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RandomResultTableListing */ export interface RandomResultTableListing { /** Catalog version this table is associated with */ CatalogVersion?: string; @@ -3935,7 +3779,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponRequest */ export interface RedeemCouponRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the coupon. */ CatalogVersion?: string; @@ -3948,14 +3791,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemCouponResult */ export interface RedeemCouponResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of redeeming the coupon. */ GrantedItems?: ItemInstance[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketRequest */ export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; @@ -3964,7 +3805,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RedeemMatchmakerTicketResult */ export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { /** Error value if the ticket was not validated. */ Error?: string; @@ -3975,14 +3815,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatRequest */ export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ LobbyId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RefreshGameServerInstanceHeartbeatResult */ export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { } @@ -3995,7 +3833,6 @@ declare module PlayFabServerModels { | "Brazil" | "Australia"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameRequest */ export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; @@ -4024,7 +3861,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RegisterGameResponse */ export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { /** * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the @@ -4034,7 +3870,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveFriendRequest */ export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -4043,7 +3878,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveGenericIDRequest */ export interface RemoveGenericIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Generic service identifier to be removed from the player. */ GenericId: GenericServiceId; @@ -4052,7 +3886,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagRequest */ export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4061,12 +3894,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemovePlayerTagResult */ export interface RemovePlayerTagResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersRequest */ export interface RemoveSharedGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An array of unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabIds: string[]; @@ -4075,12 +3906,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RemoveSharedGroupMembersResult */ export interface RemoveSharedGroupMembersResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerRequest */ export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -4091,14 +3920,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ReportPlayerServerResult */ export interface ReportPlayerServerResult extends PlayFabModule.IPlayFabResultCommon { /** The number of remaining reports which may be filed today by this reporting player. */ SubmissionsRemaining: number; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ResultTableNode */ export interface ResultTableNode { /** Either an ItemId, or the TableId of another random result table */ ResultItem: string; @@ -4112,35 +3939,30 @@ declare module PlayFabServerModels { type ResultTableNodeType = "ItemId" | "TableId"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserRequest */ export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeAllBansForUserResult */ export interface RevokeAllBansForUserResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked. */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansRequest */ export interface RevokeBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** Ids of the bans to be revoked. Maximum 100. */ BanIds: string[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeBansResult */ export interface RevokeBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were revoked */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItem */ export interface RevokeInventoryItem { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4151,7 +3973,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemRequest */ export interface RevokeInventoryItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4162,26 +3983,22 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsRequest */ export interface RevokeInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of player items to revoke, between 1 and 25 items. */ Items: RevokeInventoryItem[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryItemsResult */ export interface RevokeInventoryItemsResult extends PlayFabModule.IPlayFabResultCommon { /** Collection of any errors that occurred during processing. */ Errors?: RevokeItemError[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeInventoryResult */ export interface RevokeInventoryResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.RevokeItemError */ export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -4190,7 +4007,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateRequest */ export interface SavePushNotificationTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Android JSON for the notification template. */ AndroidPayload?: string; @@ -4205,14 +4021,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SavePushNotificationTemplateResult */ export interface SavePushNotificationTemplateResult extends PlayFabModule.IPlayFabResultCommon { /** Id of the push notification template that was saved. */ PushNotificationTemplateId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ScriptExecutionError */ export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -4226,7 +4040,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailRequest */ export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** User email address attached to their account */ Email?: string; @@ -4237,12 +4050,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendCustomAccountRecoveryEmailResult */ export interface SendCustomAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateRequest */ export interface SendEmailFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The email template id of the email template to send. */ EmailTemplateId: string; @@ -4251,12 +4062,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendEmailFromTemplateResult */ export interface SendEmailFromTemplateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationFromTemplateRequest */ export interface SendPushNotificationFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the push notification template. */ PushNotificationTemplateId: string; @@ -4265,7 +4074,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationRequest */ export interface SendPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver @@ -4288,12 +4096,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SendPushNotificationResult */ export interface SendPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerCustomIDPlayFabIDPair */ export interface ServerCustomIDPlayFabIDPair { /** Unique PlayFab identifier. */ PlayFabId?: string; @@ -4302,7 +4108,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ServerLoginResult */ export interface ServerLoginResult extends PlayFabModule.IPlayFabResultCommon { /** * If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -4326,7 +4131,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetFriendTagsRequest */ export interface SetFriendTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account to which the tag(s) should be applied. */ FriendPlayFabId: string; @@ -4337,7 +4141,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataRequest */ export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data to set for the specified game server instance. */ GameServerData: string; @@ -4346,12 +4149,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceDataResult */ export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateRequest */ export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Instance to be updated, in decimal format. */ LobbyId: string; @@ -4360,12 +4161,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceStateResult */ export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsRequest */ export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the Game Server Instance to be updated. */ LobbyId: string; @@ -4377,12 +4176,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetGameServerInstanceTagsResult */ export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretRequest */ export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4391,12 +4188,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPlayerSecretResult */ export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataRequest */ export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -4408,12 +4203,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetPublisherDataResult */ export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataRequest */ export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -4425,12 +4218,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SetTitleDataResult */ export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SharedGroupDataRecord */ export interface SharedGroupDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4451,7 +4242,6 @@ declare module PlayFabServerModels { | "Custom" | "API"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticModel */ export interface StatisticModel { /** Statistic name */ Name?: string; @@ -4462,7 +4252,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticNameVersion */ export interface StatisticNameVersion { /** unique name of the statistic */ StatisticName: string; @@ -4471,7 +4260,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticUpdate */ export interface StatisticUpdate { /** unique name of the statistic */ StatisticName: string; @@ -4485,7 +4273,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StatisticValue */ export interface StatisticValue { /** unique name of the statistic */ StatisticName?: string; @@ -4496,7 +4283,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SteamPlayFabIdPair */ export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; @@ -4505,7 +4291,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreItem */ export interface StoreItem { /** Store specific custom data. The data only exists as part of this store; it is not transferred to item instances */ CustomData?: any; @@ -4523,7 +4308,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.StoreMarketingModel */ export interface StoreMarketingModel { /** Tagline for a store. */ Description?: string; @@ -4534,7 +4318,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubscriptionModel */ export interface SubscriptionModel { /** When this subscription expires. */ Expiration: string; @@ -4562,7 +4345,6 @@ declare module PlayFabServerModels { | "FreeTrial" | "PaymentPending"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractCharacterVirtualCurrencyRequest */ export interface SubtractCharacterVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4575,7 +4357,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.SubtractUserVirtualCurrencyRequest */ export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; @@ -4586,7 +4367,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TagModel */ export interface TagModel { /** Full value of the tag, including namespace */ TagValue?: string; @@ -4599,7 +4379,6 @@ declare module PlayFabServerModels { | "ActivatedSteam" | "RevokedSteam"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TitleNewsItem */ export interface TitleNewsItem { /** News item body. */ Body?: string; @@ -4612,7 +4391,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.TreatmentAssignment */ export interface TreatmentAssignment { /** List of the experiment variables. */ Variables?: Variable[]; @@ -4621,7 +4399,16 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdRequest */ + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkPSNAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier. */ PlayFabId: string; @@ -4630,12 +4417,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkServerCustomIdResult */ export interface UnlinkServerCustomIdResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountRequest */ export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; @@ -4644,12 +4429,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlinkXboxAccountResult */ export interface UnlinkXboxAccountResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerInstanceRequest */ export interface UnlockContainerInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses catalog @@ -4670,7 +4453,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemRequest */ export interface UnlockContainerItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Specifies the catalog version that should be used to determine container contents. If unspecified, uses default/primary @@ -4686,7 +4468,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UnlockContainerItemResult */ export interface UnlockContainerItemResult extends PlayFabModule.IPlayFabResultCommon { /** Items granted to the player as a result of unlocking the container. */ GrantedItems?: ItemInstance[]; @@ -4699,7 +4480,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateAvatarUrlRequest */ export interface UpdateAvatarUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** URL of the avatar image. If empty, it removes the existing avatar URL. */ ImageUrl: string; @@ -4708,7 +4488,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBanRequest */ export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -4727,21 +4506,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansRequest */ export interface UpdateBansRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of bans to be updated. Maximum 100. */ Bans: UpdateBanRequest[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateBansResult */ export interface UpdateBansResult extends PlayFabModule.IPlayFabResultCommon { /** Information on the bans that were updated */ BanData?: BanInfo[]; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataRequest */ export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4762,7 +4538,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterDataResult */ export interface UpdateCharacterDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4772,7 +4547,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsRequest */ export interface UpdateCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -4783,12 +4557,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateCharacterStatisticsResult */ export interface UpdateCharacterStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsRequest */ export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. @@ -4802,12 +4574,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdatePlayerStatisticsResult */ export interface UpdatePlayerStatisticsResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataRequest */ export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4826,12 +4596,10 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateSharedGroupDataResult */ export interface UpdateSharedGroupDataResult extends PlayFabModule.IPlayFabResultCommon { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataRequest */ export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4850,7 +4618,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserDataResult */ export interface UpdateUserDataResult extends PlayFabModule.IPlayFabResultCommon { /** * Indicates the current version of the data that has been set. This is incremented with every set call for that type of @@ -4860,7 +4627,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInternalDataRequest */ export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may @@ -4877,7 +4643,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UpdateUserInventoryItemDataRequest */ export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; @@ -4898,7 +4663,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAccountInfo */ export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; @@ -4943,14 +4707,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserAndroidDeviceInfo */ export interface UserAndroidDeviceInfo { /** Android device ID */ AndroidDeviceId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserCustomIdInfo */ export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4960,7 +4722,6 @@ declare module PlayFabServerModels { type UserDataPermission = "Private" | "Public"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserDataRecord */ export interface UserDataRecord { /** Timestamp for when this data was last updated. */ LastUpdated: string; @@ -4974,7 +4735,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInfo */ export interface UserFacebookInfo { /** Facebook identifier */ FacebookId?: string; @@ -4983,21 +4743,18 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserFacebookInstantGamesIdInfo */ export interface UserFacebookInstantGamesIdInfo { /** Facebook Instant Games ID */ FacebookInstantGamesId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGameCenterInfo */ export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserGoogleInfo */ export interface UserGoogleInfo { /** Email address of the Google account */ GoogleEmail?: string; @@ -5012,14 +4769,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserIosDeviceInfo */ export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserKongregateInfo */ export interface UserKongregateInfo { /** Kongregate ID */ KongregateId?: string; @@ -5028,14 +4783,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserNintendoSwitchDeviceIdInfo */ export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserOpenIdInfo */ export interface UserOpenIdInfo { /** OpenID Connection ID */ ConnectionId?: string; @@ -5069,14 +4822,12 @@ declare module PlayFabServerModels { | "FacebookInstantGamesId" | "OpenIdConnect"; - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPrivateAccountInfo */ export interface UserPrivateAccountInfo { /** user email address */ Email?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserPsnInfo */ export interface UserPsnInfo { /** PSN account ID */ PsnAccountId?: string; @@ -5085,7 +4836,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSettings */ export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; @@ -5096,7 +4846,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserSteamInfo */ export interface UserSteamInfo { /** what stage of game ownership the user is listed as being in, from Steam */ SteamActivationStatus?: string; @@ -5111,7 +4860,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTitleInfo */ export interface UserTitleInfo { /** URL to the player's avatar. */ AvatarUrl?: string; @@ -5138,7 +4886,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserTwitchInfo */ export interface UserTwitchInfo { /** Twitch ID */ TwitchId?: string; @@ -5147,7 +4894,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserWindowsHelloInfo */ export interface UserWindowsHelloInfo { /** Windows Hello Device Name */ WindowsHelloDeviceName?: string; @@ -5156,14 +4902,12 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.UserXboxInfo */ export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.ValueToDateModel */ export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; @@ -5180,7 +4924,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.Variable */ export interface Variable { /** Name of the variable. */ Name: string; @@ -5189,7 +4932,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.VirtualCurrencyRechargeTime */ export interface VirtualCurrencyRechargeTime { /** * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value @@ -5204,7 +4946,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteEventResponse */ export interface WriteEventResponse extends PlayFabModule.IPlayFabResultCommon { /** * The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to @@ -5214,14 +4955,11 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerCharacterEventRequest */ export interface WriteServerCharacterEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5234,12 +4972,9 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteServerPlayerEventRequest */ export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5252,12 +4987,9 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.WriteTitleEventRequest */ export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; - /** The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). */ - EventCustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5268,7 +5000,6 @@ declare module PlayFabServerModels { } - /** https://api.playfab.com/Documentation/Server/datatype/PlayFab.Server.Models/PlayFab.Server.Models.XboxLiveAccountPlayFabIdPair */ export interface XboxLiveAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId?: string; From 5b1a4898f4c036f0aa47c6b1e1775524efab3f75 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 19 Feb 2020 00:20:15 +0000 Subject: [PATCH 099/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200218 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 12 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 52 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 30 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 703 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 13 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 + .../src/PlayFab/PlayFabAdminApi.js | 12 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 52 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 30 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 703 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 13 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 + 33 files changed, 1693 insertions(+), 101 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1eac0be6..e47a4d33 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.59.200121", + "version": "1.60.200218", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index afe396bf..e7014943 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -293,6 +293,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateCloudScriptTask", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateInsightsScheduledScalingTask: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateInsightsScheduledScalingTask", request, "X-SecretKey", callback, customData, extraHeaders); + }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index b54eab32..f8bf2573 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 648fa8aa..1ea08d4f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index fed5f165..7733d248 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -252,6 +252,50 @@ PlayFab.CloudScriptApi = { ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, + + ExecuteFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListFunctions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListFunctions", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListHttpFunctions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListHttpFunctions", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListQueuedFunctions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListQueuedFunctions", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForEntityTriggeredAction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForEntityTriggeredAction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForFunctionExecution: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForFunctionExecution", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForPlayerTriggeredAction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForPlayerTriggeredAction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForScheduledTask: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForScheduledTask", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RegisterHttpFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterHttpFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RegisterQueuedFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterQueuedFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UnregisterFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/UnregisterFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabCloudScriptSDK = PlayFab.CloudScriptApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7295a532..c9e20aeb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 0489ae8a..70878ef7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0578ca70..fea8b395 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index dd1d6281..37c1ccc0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index b0b156cd..ce6e6455 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5d7520b0..49fa4e0b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -349,6 +349,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerLogs", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetMultiplayerSessionLogsBySessionId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerSessionLogsBySessionId", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetQueueStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetQueueStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3e0bdec9..c085fc0d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index dca68071..212d98fc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 56c7468b..820fd107 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -61,6 +61,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createcloudscripttask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a Insights Scheduled Scaling task, which can scale Insights Performance Units on a schedule + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask + */ + CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection @@ -1309,6 +1314,20 @@ declare module PlayFabAdminModels { } + export interface CreateInsightsScheduledScalingTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Description the task */ + Description?: string; + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ + IsActive: boolean; + /** Name of the task. This is a unique identifier for tasks in the title. */ + Name: string; + /** Task details related to Insights Scaling */ + Parameter: InsightsScalingTaskParameter; + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ + Schedule?: string; + + } + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -2249,6 +2268,8 @@ declare module PlayFabAdminModels { | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" | "ExperimentationTreatmentAssignmentDisabled" + | "ExperimentationInvalidDuration" + | "ExperimentationMaxExperimentsReached" | "MaxActionDepthExceeded" | "SnapshotNotFound"; @@ -2870,6 +2891,12 @@ declare module PlayFabAdminModels { } + export interface InsightsScalingTaskParameter { + /** Insights Performance Level to scale to. */ + Level: number; + + } + export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3669,7 +3696,8 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment" - | "CloudScriptAzureFunctions"; + | "CloudScriptAzureFunctions" + | "InsightsScheduledScaling"; export interface ScriptExecutionError { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index eff48dc1..0729193a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -10,15 +10,357 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executeentitycloudscript */ ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of + * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executefunction + */ + ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all currently registered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions + */ + ListFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all currently registered HTTP triggered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listhttpfunctions + */ + ListHttpFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all currently registered Queue triggered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listqueuedfunctions + */ + ListQueuedFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate an entity PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforentitytriggeredaction + */ + PostFunctionResultForEntityTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForEntityTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate an entity PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforfunctionexecution + */ + PostFunctionResultForFunctionExecution(request: PlayFabCloudScriptModels.PostFunctionResultForFunctionExecutionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate a player PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforplayertriggeredaction + */ + PostFunctionResultForPlayerTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForPlayerTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate a PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforscheduledtask + */ + PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers an HTTP triggered Azure function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerhttpfunction + */ + RegisterHttpFunction(request: PlayFabCloudScriptModels.RegisterHttpFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers a queue triggered Azure Function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerqueuedfunction + */ + RegisterQueuedFunction(request: PlayFabCloudScriptModels.RegisterQueuedFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unregisters an Azure Function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/unregisterfunction + */ + UnregisterFunction(request: PlayFabCloudScriptModels.UnregisterFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabCloudScriptModels { + export interface AdCampaignAttributionModel { + /** UTC time stamp of attribution */ + AttributedAt: string; + /** Attribution campaign identifier */ + CampaignId?: string; + /** Attribution network name */ + Platform?: string; + + } + type CloudScriptRevisionOption = "Live" | "Latest" | "Specific"; + export interface ContactEmailInfoModel { + /** The email address */ + EmailAddress?: string; + /** The name of the email info data */ + Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; + + } + + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -88,6 +430,134 @@ declare module PlayFabCloudScriptModels { } + export interface ExecuteFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the CloudScript function to execute */ + FunctionName: string; + /** Object that is passed in to the function as the FunctionArgument field of the FunctionExecutionContext data structure */ + FunctionParameter?: any; + /** + * Generate a 'entity_executed_cloudscript_function' PlayStream event containing the results of the function execution and + * other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + + } + + export interface ExecuteFunctionResult extends PlayFabModule.IPlayFabResultCommon { + /** Error from the CloudScript Azure Function. */ + Error?: FunctionExecutionError; + /** The amount of time the function took to execute */ + ExecutionTimeMilliseconds: number; + /** The name of the function that executed */ + FunctionName?: string; + /** The object returned from the function, if any */ + FunctionResult?: any; + /** Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. */ + FunctionResultTooLarge?: boolean; + + } + + export interface FunctionExecutionError { + /** + * Error code, such as CloudScriptAzureFunctionsExecutionTimeLimitExceeded, CloudScriptAzureFunctionsArgumentSizeExceeded, + * CloudScriptAzureFunctionsReturnSizeExceeded or CloudScriptAzureFunctionsHTTPRequestError + */ + Error?: string; + /** Details about the error */ + Message?: string; + /** Point during the execution of the function at which the error occurred, if any */ + StackTrace?: string; + + } + + export interface FunctionModel { + /** The address of the function. */ + FunctionAddress?: string; + /** The name the function was registered under. */ + FunctionName?: string; + /** The trigger type for the function. */ + TriggerType?: string; + + } + + export interface HttpFunctionModel { + /** The name the function was registered under. */ + FunctionName?: string; + /** The URL of the function. */ + FunctionUrl?: string; + + } + + export interface LinkedPlatformAccountModel { + /** Linked account email of the user on the platform, if available */ + Email?: string; + /** Authentication platform */ + Platform?: string; + /** Unique account identifier of the user on the platform */ + PlatformUserId?: string; + /** Linked account username of the user on the platform, if available */ + Username?: string; + + } + + export interface ListFunctionsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface ListFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of functions that are currently registered for the title. */ + Functions?: FunctionModel[]; + + } + + export interface ListHttpFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of HTTP triggered functions that are currently registered for the title. */ + Functions?: HttpFunctionModel[]; + + } + + export interface ListQueuedFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of Queue triggered functions that are currently registered for the title. */ + Functions?: QueuedFunctionModel[]; + + } + + export interface LocationModel { + /** City name. */ + 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 geographic location. */ + Latitude?: number; + /** Longitude coordinate of the geographic location. */ + Longitude?: number; + + } + + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames" + | "OpenIdConnect"; + export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -97,6 +567,171 @@ declare module PlayFabCloudScriptModels { } + export interface MembershipModel { + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ + IsActive: boolean; + /** The time this membership expires */ + MembershipExpiration: string; + /** The id of the membership */ + MembershipId?: string; + /** + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** The list of subscriptions that this player has for this membership */ + Subscriptions?: SubscriptionModel[]; + + } + + export interface NameIdentifier { + /** Id Identifier, if present */ + Id?: string; + /** Name Identifier, if present */ + Name?: string; + + } + + export interface PlayerProfileModel { + /** List of advertising campaigns the player has been attributed to */ + AdCampaignAttributions?: AdCampaignAttributionModel[]; + /** URL of the player's avatar image */ + AvatarUrl?: string; + /** If the player is currently banned, the UTC Date when the ban expires */ + BannedUntil?: string; + /** List of all contact email info associated with the player account */ + ContactEmailAddresses?: ContactEmailInfoModel[]; + /** Player record created */ + Created?: string; + /** Player display name */ + DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; + /** UTC time when the player most recently logged in to the title */ + LastLogin?: string; + /** List of all authentication systems linked to this player account */ + LinkedAccounts?: LinkedPlatformAccountModel[]; + /** List of geographic locations from which the player has logged in to the title */ + Locations?: LocationModel[]; + /** List of memberships for the player, along with whether are expired. */ + Memberships?: MembershipModel[]; + /** Player account origination */ + Origination?: string; + /** PlayFab player account unique identifier */ + PlayerId?: string; + /** Publisher this player belongs to */ + PublisherId?: string; + /** List of configured end points registered for sending the player push notifications */ + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; + /** List of leaderboard statistic values for the player */ + Statistics?: StatisticModel[]; + /** List of player's tags for segmentation */ + Tags?: TagModel[]; + /** Title ID this player profile applies to */ + TitleId?: string; + /** + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + */ + TotalValueToDateInUSD?: number; + /** List of the player's lifetime purchase totals, summed by real-money currency */ + ValuesToDate?: ValueToDateModel[]; + + } + + export interface PlayStreamEventEnvelopeModel { + /** The ID of the entity the event is about. */ + EntityId?: string; + /** The type of the entity the event is about. */ + EntityType?: string; + /** Data specific to this event. */ + EventData?: string; + /** The name of the event. */ + EventName?: string; + /** The namespace of the event. */ + EventNamespace?: string; + /** Settings for the event. */ + EventSettings?: string; + + } + + export interface PostFunctionResultForEntityTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The result of the function execution. */ + FunctionResult: ExecuteFunctionResult; + + } + + export interface PostFunctionResultForFunctionExecutionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The result of the function execution. */ + FunctionResult: ExecuteFunctionResult; + + } + + export interface PostFunctionResultForPlayerTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The result of the function execution. */ + FunctionResult: ExecuteFunctionResult; + /** The player profile the function was invoked with. */ + PlayerProfile: PlayerProfileModel; + /** The triggering PlayStream event, if any, that caused the function to be invoked. */ + PlayStreamEventEnvelope?: PlayStreamEventEnvelopeModel; + + } + + export interface PostFunctionResultForScheduledTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The result of the function execution */ + FunctionResult: ExecuteFunctionResult; + /** The id of the scheduled task that invoked the function. */ + ScheduledTaskId: NameIdentifier; + + } + + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + export interface PushNotificationRegistrationModel { + /** Notification configured endpoint */ + NotificationEndpointARN?: string; + /** Push notification platform */ + Platform?: string; + + } + + export interface QueuedFunctionModel { + /** The connection string for the Azure Storage Account that hosts the queue. */ + ConnectionString?: string; + /** The name the function was registered under. */ + FunctionName?: string; + /** The name of the queue that triggers the Azure Function. */ + QueueName?: string; + + } + + export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the function to register */ + FunctionName: string; + /** Full URL for Azure Function that implements the function. */ + FunctionUrl: string; + + } + + export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A connection string for the storage account that hosts the queue for the Azure Function. */ + ConnectionString: string; + /** The name of the function to register */ + FunctionName: string; + /** The name of the queue for the Azure Function. */ + QueueName: string; + + } + export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -110,5 +745,73 @@ declare module PlayFabCloudScriptModels { } + export interface StatisticModel { + /** Statistic name */ + Name?: string; + /** Statistic value */ + Value: number; + /** Statistic version (0 if not a versioned statistic) */ + Version: number; + + } + + export interface SubscriptionModel { + /** When this subscription expires. */ + Expiration: string; + /** The time the subscription was orignially purchased */ + InitialSubscriptionTime: string; + /** Whether this subscription is currently active. That is, if Expiration > now. */ + IsActive: boolean; + /** The status of this subscription, according to the subscription provider. */ + Status?: string; + /** The id for this subscription */ + SubscriptionId?: string; + /** The item id for this subscription from the primary catalog */ + SubscriptionItemId?: string; + /** The provider for this subscription. Apple or Google Play are supported today. */ + SubscriptionProvider?: string; + + } + + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + + export interface TagModel { + /** Full value of the tag, including namespace */ + TagValue?: string; + + } + + type TriggerType = "HTTP" + | "Queue"; + + export interface UnregisterFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the function to unregister */ + FunctionName: string; + + } + + export interface ValueToDateModel { + /** ISO 4217 code of the currency used in the purchases */ + Currency?: string; + /** + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. + */ + TotalValueAsDecimal?: string; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8d3a33ef..9e28a70b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -132,6 +132,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverlogs */ GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets multiplayer server logs after a server has terminated. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayersessionlogsbysessionid + */ + GetMultiplayerSessionLogsBySessionId(request: PlayFabMultiplayerModels.GetMultiplayerSessionLogsBySessionIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the statistics for a queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getqueuestatistics @@ -1032,7 +1037,7 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The region of the multiplayer server to get logs for. */ - Region: string; + Region?: string; /** The server ID of multiplayer server to get logs for. */ ServerId: string; @@ -1044,6 +1049,12 @@ declare module PlayFabMultiplayerModels { } + export interface GetMultiplayerSessionLogsBySessionIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The server ID of multiplayer server to get logs for. */ + SessionId: string; + + } + export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue. */ QueueName: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 18ccea82..63a68bea 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2287,6 +2287,8 @@ declare module PlayFabServerModels { | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" | "ExperimentationTreatmentAssignmentDisabled" + | "ExperimentationInvalidDuration" + | "ExperimentationMaxExperimentsReached" | "MaxActionDepthExceeded" | "SnapshotNotFound"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index afe396bf..e7014943 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -293,6 +293,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateCloudScriptTask", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateInsightsScheduledScalingTask: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateInsightsScheduledScalingTask", request, "X-SecretKey", callback, customData, extraHeaders); + }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index b54eab32..f8bf2573 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 648fa8aa..1ea08d4f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index fed5f165..7733d248 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -252,6 +252,50 @@ PlayFab.CloudScriptApi = { ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, + + ExecuteFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListFunctions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListFunctions", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListHttpFunctions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListHttpFunctions", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListQueuedFunctions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListQueuedFunctions", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForEntityTriggeredAction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForEntityTriggeredAction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForFunctionExecution: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForFunctionExecution", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForPlayerTriggeredAction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForPlayerTriggeredAction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PostFunctionResultForScheduledTask: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForScheduledTask", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RegisterHttpFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterHttpFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RegisterQueuedFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterQueuedFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UnregisterFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/UnregisterFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, }; var PlayFabCloudScriptSDK = PlayFab.CloudScriptApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7295a532..c9e20aeb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 0489ae8a..70878ef7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0578ca70..fea8b395 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index dd1d6281..37c1ccc0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index b0b156cd..ce6e6455 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5d7520b0..49fa4e0b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -349,6 +349,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerServerLogs", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetMultiplayerSessionLogsBySessionId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetMultiplayerSessionLogsBySessionId", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetQueueStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetQueueStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3e0bdec9..c085fc0d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index dca68071..212d98fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.59.200121", + sdkVersion: "1.60.200218", requestGetParams: { - sdk: "JavaScriptSDK-1.59.200121" + sdk: "JavaScriptSDK-1.60.200218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.59.200121"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.60.200218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 56c7468b..820fd107 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -61,6 +61,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createcloudscripttask */ CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a Insights Scheduled Scaling task, which can scale Insights Performance Units on a schedule + * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask + */ + CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection @@ -1309,6 +1314,20 @@ declare module PlayFabAdminModels { } + export interface CreateInsightsScheduledScalingTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Description the task */ + Description?: string; + /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ + IsActive: boolean; + /** Name of the task. This is a unique identifier for tasks in the title. */ + Name: string; + /** Task details related to Insights Scaling */ + Parameter: InsightsScalingTaskParameter; + /** Cron expression for the run schedule of the task. The expression should be in UTC. */ + Schedule?: string; + + } + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -2249,6 +2268,8 @@ declare module PlayFabAdminModels { | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" | "ExperimentationTreatmentAssignmentDisabled" + | "ExperimentationInvalidDuration" + | "ExperimentationMaxExperimentsReached" | "MaxActionDepthExceeded" | "SnapshotNotFound"; @@ -2870,6 +2891,12 @@ declare module PlayFabAdminModels { } + export interface InsightsScalingTaskParameter { + /** Insights Performance Level to scale to. */ + Level: number; + + } + export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -3669,7 +3696,8 @@ declare module PlayFabAdminModels { type ScheduledTaskType = "CloudScript" | "ActionsOnPlayerSegment" - | "CloudScriptAzureFunctions"; + | "CloudScriptAzureFunctions" + | "InsightsScheduledScaling"; export interface ScriptExecutionError { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index eff48dc1..0729193a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -10,15 +10,357 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executeentitycloudscript */ ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of + * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executefunction + */ + ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all currently registered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions + */ + ListFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all currently registered HTTP triggered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listhttpfunctions + */ + ListHttpFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists all currently registered Queue triggered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listqueuedfunctions + */ + ListQueuedFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate an entity PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforentitytriggeredaction + */ + PostFunctionResultForEntityTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForEntityTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate an entity PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforfunctionexecution + */ + PostFunctionResultForFunctionExecution(request: PlayFabCloudScriptModels.PostFunctionResultForFunctionExecutionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate a player PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforplayertriggeredaction + */ + PostFunctionResultForPlayerTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForPlayerTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Generate a PlayStream event for the provided function result. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforscheduledtask + */ + PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers an HTTP triggered Azure function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerhttpfunction + */ + RegisterHttpFunction(request: PlayFabCloudScriptModels.RegisterHttpFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers a queue triggered Azure Function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerqueuedfunction + */ + RegisterQueuedFunction(request: PlayFabCloudScriptModels.RegisterQueuedFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unregisters an Azure Function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/unregisterfunction + */ + UnregisterFunction(request: PlayFabCloudScriptModels.UnregisterFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabCloudScriptModels { + export interface AdCampaignAttributionModel { + /** UTC time stamp of attribution */ + AttributedAt: string; + /** Attribution campaign identifier */ + CampaignId?: string; + /** Attribution network name */ + Platform?: string; + + } + type CloudScriptRevisionOption = "Live" | "Latest" | "Specific"; + export interface ContactEmailInfoModel { + /** The email address */ + EmailAddress?: string; + /** The name of the email info data */ + Name?: string; + /** The verification status of the email */ + VerificationStatus?: string; + + } + + type ContinentCode = "AF" + | "AN" + | "AS" + | "EU" + | "NA" + | "OC" + | "SA"; + + type CountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + type EmailVerificationStatus = "Unverified" + | "Pending" + | "Confirmed"; + + export interface EmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -88,6 +430,134 @@ declare module PlayFabCloudScriptModels { } + export interface ExecuteFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The name of the CloudScript function to execute */ + FunctionName: string; + /** Object that is passed in to the function as the FunctionArgument field of the FunctionExecutionContext data structure */ + FunctionParameter?: any; + /** + * Generate a 'entity_executed_cloudscript_function' PlayStream event containing the results of the function execution and + * other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager. + */ + GeneratePlayStreamEvent?: boolean; + + } + + export interface ExecuteFunctionResult extends PlayFabModule.IPlayFabResultCommon { + /** Error from the CloudScript Azure Function. */ + Error?: FunctionExecutionError; + /** The amount of time the function took to execute */ + ExecutionTimeMilliseconds: number; + /** The name of the function that executed */ + FunctionName?: string; + /** The object returned from the function, if any */ + FunctionResult?: any; + /** Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. */ + FunctionResultTooLarge?: boolean; + + } + + export interface FunctionExecutionError { + /** + * Error code, such as CloudScriptAzureFunctionsExecutionTimeLimitExceeded, CloudScriptAzureFunctionsArgumentSizeExceeded, + * CloudScriptAzureFunctionsReturnSizeExceeded or CloudScriptAzureFunctionsHTTPRequestError + */ + Error?: string; + /** Details about the error */ + Message?: string; + /** Point during the execution of the function at which the error occurred, if any */ + StackTrace?: string; + + } + + export interface FunctionModel { + /** The address of the function. */ + FunctionAddress?: string; + /** The name the function was registered under. */ + FunctionName?: string; + /** The trigger type for the function. */ + TriggerType?: string; + + } + + export interface HttpFunctionModel { + /** The name the function was registered under. */ + FunctionName?: string; + /** The URL of the function. */ + FunctionUrl?: string; + + } + + export interface LinkedPlatformAccountModel { + /** Linked account email of the user on the platform, if available */ + Email?: string; + /** Authentication platform */ + Platform?: string; + /** Unique account identifier of the user on the platform */ + PlatformUserId?: string; + /** Linked account username of the user on the platform, if available */ + Username?: string; + + } + + export interface ListFunctionsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface ListFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of functions that are currently registered for the title. */ + Functions?: FunctionModel[]; + + } + + export interface ListHttpFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of HTTP triggered functions that are currently registered for the title. */ + Functions?: HttpFunctionModel[]; + + } + + export interface ListQueuedFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of Queue triggered functions that are currently registered for the title. */ + Functions?: QueuedFunctionModel[]; + + } + + export interface LocationModel { + /** City name. */ + 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 geographic location. */ + Latitude?: number; + /** Longitude coordinate of the geographic location. */ + Longitude?: number; + + } + + type LoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames" + | "OpenIdConnect"; + export interface LogStatement { /** Optional object accompanying the message as contextual information */ Data?: any; @@ -97,6 +567,171 @@ declare module PlayFabCloudScriptModels { } + export interface MembershipModel { + /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ + IsActive: boolean; + /** The time this membership expires */ + MembershipExpiration: string; + /** The id of the membership */ + MembershipId?: string; + /** + * Membership expirations can be explicitly overridden (via game manager or the admin api). If this membership has been + * overridden, this will be the new expiration time. + */ + OverrideExpiration?: string; + /** The list of subscriptions that this player has for this membership */ + Subscriptions?: SubscriptionModel[]; + + } + + export interface NameIdentifier { + /** Id Identifier, if present */ + Id?: string; + /** Name Identifier, if present */ + Name?: string; + + } + + export interface PlayerProfileModel { + /** List of advertising campaigns the player has been attributed to */ + AdCampaignAttributions?: AdCampaignAttributionModel[]; + /** URL of the player's avatar image */ + AvatarUrl?: string; + /** If the player is currently banned, the UTC Date when the ban expires */ + BannedUntil?: string; + /** List of all contact email info associated with the player account */ + ContactEmailAddresses?: ContactEmailInfoModel[]; + /** Player record created */ + Created?: string; + /** Player display name */ + DisplayName?: string; + /** List of experiment variants for the player. */ + ExperimentVariants?: string[]; + /** UTC time when the player most recently logged in to the title */ + LastLogin?: string; + /** List of all authentication systems linked to this player account */ + LinkedAccounts?: LinkedPlatformAccountModel[]; + /** List of geographic locations from which the player has logged in to the title */ + Locations?: LocationModel[]; + /** List of memberships for the player, along with whether are expired. */ + Memberships?: MembershipModel[]; + /** Player account origination */ + Origination?: string; + /** PlayFab player account unique identifier */ + PlayerId?: string; + /** Publisher this player belongs to */ + PublisherId?: string; + /** List of configured end points registered for sending the player push notifications */ + PushNotificationRegistrations?: PushNotificationRegistrationModel[]; + /** List of leaderboard statistic values for the player */ + Statistics?: StatisticModel[]; + /** List of player's tags for segmentation */ + Tags?: TagModel[]; + /** Title ID this player profile applies to */ + TitleId?: string; + /** + * Sum of the player's purchases made with real-money currencies, converted to US dollars equivalent and represented as a + * whole number of cents (1/100 USD). For example, 999 indicates nine dollars and ninety-nine cents. + */ + TotalValueToDateInUSD?: number; + /** List of the player's lifetime purchase totals, summed by real-money currency */ + ValuesToDate?: ValueToDateModel[]; + + } + + export interface PlayStreamEventEnvelopeModel { + /** The ID of the entity the event is about. */ + EntityId?: string; + /** The type of the entity the event is about. */ + EntityType?: string; + /** Data specific to this event. */ + EventData?: string; + /** The name of the event. */ + EventName?: string; + /** The namespace of the event. */ + EventNamespace?: string; + /** Settings for the event. */ + EventSettings?: string; + + } + + export interface PostFunctionResultForEntityTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The result of the function execution. */ + FunctionResult: ExecuteFunctionResult; + + } + + export interface PostFunctionResultForFunctionExecutionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The result of the function execution. */ + FunctionResult: ExecuteFunctionResult; + + } + + export interface PostFunctionResultForPlayerTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The result of the function execution. */ + FunctionResult: ExecuteFunctionResult; + /** The player profile the function was invoked with. */ + PlayerProfile: PlayerProfileModel; + /** The triggering PlayStream event, if any, that caused the function to be invoked. */ + PlayStreamEventEnvelope?: PlayStreamEventEnvelopeModel; + + } + + export interface PostFunctionResultForScheduledTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity: EntityKey; + /** The result of the function execution */ + FunctionResult: ExecuteFunctionResult; + /** The id of the scheduled task that invoked the function. */ + ScheduledTaskId: NameIdentifier; + + } + + type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + export interface PushNotificationRegistrationModel { + /** Notification configured endpoint */ + NotificationEndpointARN?: string; + /** Push notification platform */ + Platform?: string; + + } + + export interface QueuedFunctionModel { + /** The connection string for the Azure Storage Account that hosts the queue. */ + ConnectionString?: string; + /** The name the function was registered under. */ + FunctionName?: string; + /** The name of the queue that triggers the Azure Function. */ + QueueName?: string; + + } + + export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the function to register */ + FunctionName: string; + /** Full URL for Azure Function that implements the function. */ + FunctionUrl: string; + + } + + export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A connection string for the storage account that hosts the queue for the Azure Function. */ + ConnectionString: string; + /** The name of the function to register */ + FunctionName: string; + /** The name of the queue for the Azure Function. */ + QueueName: string; + + } + export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -110,5 +745,73 @@ declare module PlayFabCloudScriptModels { } + export interface StatisticModel { + /** Statistic name */ + Name?: string; + /** Statistic value */ + Value: number; + /** Statistic version (0 if not a versioned statistic) */ + Version: number; + + } + + export interface SubscriptionModel { + /** When this subscription expires. */ + Expiration: string; + /** The time the subscription was orignially purchased */ + InitialSubscriptionTime: string; + /** Whether this subscription is currently active. That is, if Expiration > now. */ + IsActive: boolean; + /** The status of this subscription, according to the subscription provider. */ + Status?: string; + /** The id for this subscription */ + SubscriptionId?: string; + /** The item id for this subscription from the primary catalog */ + SubscriptionItemId?: string; + /** The provider for this subscription. Apple or Google Play are supported today. */ + SubscriptionProvider?: string; + + } + + type SubscriptionProviderStatus = "NoError" + | "Cancelled" + | "UnknownError" + | "BillingError" + | "ProductUnavailable" + | "CustomerDidNotAcceptPriceChange" + | "FreeTrial" + | "PaymentPending"; + + export interface TagModel { + /** Full value of the tag, including namespace */ + TagValue?: string; + + } + + type TriggerType = "HTTP" + | "Queue"; + + export interface UnregisterFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The name of the function to unregister */ + FunctionName: string; + + } + + export interface ValueToDateModel { + /** ISO 4217 code of the currency used in the purchases */ + Currency?: string; + /** + * Total value of the purchases in a whole number of 1/100 monetary units. For example, 999 indicates nine dollars and + * ninety-nine cents when Currency is 'USD') + */ + TotalValue: number; + /** + * Total value of the purchases in a string representation of decimal monetary units. For example, '9.99' indicates nine + * dollars and ninety-nine cents when Currency is 'USD'. + */ + TotalValueAsDecimal?: string; + + } + } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8d3a33ef..9e28a70b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -132,6 +132,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverlogs */ GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets multiplayer server logs after a server has terminated. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayersessionlogsbysessionid + */ + GetMultiplayerSessionLogsBySessionId(request: PlayFabMultiplayerModels.GetMultiplayerSessionLogsBySessionIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get the statistics for a queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getqueuestatistics @@ -1032,7 +1037,7 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The region of the multiplayer server to get logs for. */ - Region: string; + Region?: string; /** The server ID of multiplayer server to get logs for. */ ServerId: string; @@ -1044,6 +1049,12 @@ declare module PlayFabMultiplayerModels { } + export interface GetMultiplayerSessionLogsBySessionIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The server ID of multiplayer server to get logs for. */ + SessionId: string; + + } + export interface GetQueueStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The name of the queue. */ QueueName: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 18ccea82..63a68bea 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2287,6 +2287,8 @@ declare module PlayFabServerModels { | "ExperimentationNoScorecard" | "ExperimentationTreatmentAssignmentFailed" | "ExperimentationTreatmentAssignmentDisabled" + | "ExperimentationInvalidDuration" + | "ExperimentationMaxExperimentsReached" | "MaxActionDepthExceeded" | "SnapshotNotFound"; From 03afcef87577907c2dcd1a4e84df85b71337181e Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 4 Mar 2020 00:06:35 +0000 Subject: [PATCH 100/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200303 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 41 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 286 ++++++++++++++++ PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 57 +++- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../PlayFab/PlayFabExperimentationApi.d.ts | 308 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 11 +- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 + PlayFabTestingExample/PlayFabApiTest.csproj | 2 + PlayFabTestingExample/index.html | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 41 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 286 ++++++++++++++++ .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 57 +++- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../PlayFab/PlayFabExperimentationApi.d.ts | 308 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 11 +- 43 files changed, 1512 insertions(+), 111 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e47a4d33..ce8af562 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.60.200218", + "version": "1.61.200303", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e7014943..dff3153d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index f8bf2573..c0370f84 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1ea08d4f..db2c5058 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -544,6 +544,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -625,6 +629,31 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithApple: 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); + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) === "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithApple", 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 @@ -1150,6 +1179,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 7733d248..78af2793 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index c9e20aeb..9cc4ff72 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 70878ef7..20e432bf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js new file mode 100644 index 00000000..55f55472 --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -0,0 +1,286 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.61.200303", + requestGetParams: { + sdk: "JavaScriptSDK-1.61.200303" + }, + sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this + productionServerUrl: ".playfabapi.com", + 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.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 = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; +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.ExperimentationApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/CreateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/DeleteExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetExperiments: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExperiments", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetLatestScorecard: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetLatestScorecard", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetTreatmentAssignment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetTreatmentAssignment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + StartExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/StartExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + StopExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/StopExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, +}; + +var PlayFabExperimentationSDK = PlayFab.ExperimentationApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index fea8b395..34e503db 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 37c1ccc0..7f9c2a30 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ce6e6455..71e0fae5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 49fa4e0b..12ee4e3b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index c085fc0d..5d1efad9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 212d98fc..4d6c9ad9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 820fd107..d97698d9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2197,6 +2197,12 @@ declare module PlayFabAdminModels { | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" + | "LimitNotFound" + | "LimitNotAvailableViaAPI" + | "InsightsManagementSetStorageRetentionBelowMinimum" + | "InsightsManagementSetStorageRetentionAboveMaximum" + | "AppleNotEnabledForTitle" + | "InsightsManagementNewActiveEventArchiveLimitInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3033,7 +3039,8 @@ declare module PlayFabAdminModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index a2523bfe..7c6e18aa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -78,7 +78,8 @@ declare module PlayFabAuthenticationModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 7efa479b..595d83ba 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -404,6 +404,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkandroiddeviceid */ LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Apple account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkapple + */ + LinkApple(request: PlayFabClientModels.LinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -481,6 +486,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithandroiddeviceid */ LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs in the user with a Sign in with Apple identity token. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithapple + */ + LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -713,6 +723,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkandroiddeviceid */ UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Apple account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkapple + */ + UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid @@ -2916,6 +2931,17 @@ declare module PlayFabClientModels { } + export interface LinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to a specific Apple account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization + * credential payload. Used to validate the request and find the user ID (Apple subject) to link with. + */ + IdentityToken: string; + + } + export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -3172,7 +3198,8 @@ declare module PlayFabClientModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -3220,6 +3247,28 @@ declare module PlayFabClientModels { } + export interface LoginWithAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** + * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization + * credential payload. + */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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 LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4437,6 +4486,10 @@ declare module PlayFabClientModels { } + export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4551,7 +4604,7 @@ declare module PlayFabClientModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken: string; + XboxToken?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 0729193a..ef833b16 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -556,7 +556,8 @@ declare module PlayFabCloudScriptModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts new file mode 100644 index 00000000..c0a6cb92 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -0,0 +1,308 @@ +/// + +declare module PlayFabExperimentationModule { + export interface IPlayFabExperimentation { + ForgetAllCredentials(): void; + + /** + * Creates a new experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment + */ + CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment + */ + DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the details of all experiments for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments + */ + GetExperiments(request: PlayFabExperimentationModels.GetExperimentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the latest scorecard of the experiment for the title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getlatestscorecard + */ + GetLatestScorecard(request: PlayFabExperimentationModels.GetLatestScorecardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the treatment assignments for a player for every running experiment in the title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/gettreatmentassignment + */ + GetTreatmentAssignment(request: PlayFabExperimentationModels.GetTreatmentAssignmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Starts an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/startexperiment + */ + StartExperiment(request: PlayFabExperimentationModels.StartExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Stops an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/stopexperiment + */ + StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment + */ + UpdateExperiment(request: PlayFabExperimentationModels.UpdateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabExperimentationModels { + type AnalysisTaskState = "Waiting" + | "ReadyForSubmission" + | "SubmittingToPipeline" + | "Running" + | "Completed" + | "Failed" + | "Canceled"; + + export interface CreateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Description of the experiment. */ + Description?: string; + /** The duration of the experiment, in days. */ + Duration: number; + /** Type of experiment. */ + ExperimentType?: string; + /** Friendly name of the experiment. */ + Name: string; + /** Id of the segment to which this experiment applies. Defaults to the 'All Players' segment. */ + SegmentId?: string; + /** When experiment should start. */ + StartDate: string; + /** + * List of title player account IDs that automatically receive treatments in the experiment, but are not included when + * calculating experiment metrics. + */ + TitlePlayerAccountTestIds?: string[]; + /** List of variants for the experiment. */ + Variants: Variant[]; + + } + + export interface CreateExperimentResult extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the new experiment. */ + ExperimentId?: string; + + } + + export interface DeleteExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment to delete. */ + ExperimentId: string; + + } + + export interface EmptyResponse 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 Experiment { + /** Description of the experiment. */ + Description?: string; + /** The duration of the experiment, in days. */ + Duration: number; + /** Type of experiment. */ + ExperimentType?: string; + /** Id of the experiment. */ + Id?: string; + /** Friendly name of the experiment. */ + Name?: string; + /** Id of the segment to which this experiment applies. Defaults to the 'All Players' segment. */ + SegmentId?: string; + /** When experiment should start/was started. */ + StartDate: string; + /** State experiment is currently in. */ + State?: string; + /** + * List of title player account IDs that automatically receive treatments in the experiment, but are not included when + * calculating experiment metrics. + */ + TitlePlayerAccountTestIds?: string[]; + /** List of variants for the experiment. */ + Variants?: Variant[]; + + } + + type ExperimentState = "New" + | "Started" + | "Stopped" + | "Deleted"; + + type ExperimentType = "Active" + | "Snapshot"; + + export interface GetExperimentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface GetExperimentsResult extends PlayFabModule.IPlayFabResultCommon { + /** List of experiments for the title. */ + Experiments?: Experiment[]; + + } + + export interface GetLatestScorecardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment. */ + ExperimentId?: string; + + } + + export interface GetLatestScorecardResult extends PlayFabModule.IPlayFabResultCommon { + /** Scorecard for the experiment of the title. */ + Scorecard?: Scorecard; + + } + + export interface GetTreatmentAssignmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface GetTreatmentAssignmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Treatment assignment for the entity. */ + TreatmentAssignment?: TreatmentAssignment; + + } + + export interface MetricData { + /** The upper bound of the confidence interval for the relative delta (Delta.RelativeValue). */ + ConfidenceIntervalEnd: number; + /** The lower bound of the confidence interval for the relative delta (Delta.RelativeValue). */ + ConfidenceIntervalStart: number; + /** The absolute delta between TreatmentStats.Average and ControlStats.Average. */ + DeltaAbsoluteChange: number; + /** The relative delta ratio between TreatmentStats.Average and ControlStats.Average. */ + DeltaRelativeChange: number; + /** The machine name of the metric. */ + InternalName?: string; + /** Indicates if a movement was detected on that metric. */ + Movement?: string; + /** The readable name of the metric. */ + Name?: string; + /** The expectation that a movement is real */ + PMove: number; + /** The p-value resulting from the statistical test run for this metric */ + PValue: number; + /** The threshold for observing sample ratio mismatch. */ + PValueThreshold: number; + /** Indicates if the movement is statistically significant. */ + StatSigLevel?: string; + /** Observed standard deviation value of the metric. */ + StdDev: number; + /** Observed average value of the metric. */ + Value: number; + + } + + export interface Scorecard { + /** Represents the date the scorecard was generated. */ + DateGenerated?: string; + /** Represents the duration of scorecard analysis. */ + Duration?: string; + /** Represents the number of events processed for the generation of this scorecard */ + EventsProcessed: number; + /** Id of the experiment. */ + ExperimentId?: string; + /** Friendly name of the experiment. */ + ExperimentName?: string; + /** Represents the latest compute job status. */ + LatestJobStatus?: string; + /** Represents the presence of a sample ratio mismatch in the scorecard data. */ + SampleRatioMismatch: boolean; + /** Scorecard containing list of analysis. */ + ScorecardDataRows?: ScorecardDataRow[]; + + } + + export interface ScorecardDataRow { + /** Represents whether the variant is control or not. */ + IsControl: boolean; + /** Data of the analysis with the internal name of the metric as the key and an object of metric data as value. */ + MetricDataRows?: { [key: string]: MetricData }; + /** Represents the player count in the variant. */ + PlayerCount: number; + /** Name of the variant of analysis. */ + VariantName?: string; + + } + + export interface StartExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment to start. */ + ExperimentId: string; + + } + + export interface StopExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment to stop. */ + ExperimentId: string; + + } + + export interface TreatmentAssignment { + /** List of the experiment variables. */ + Variables?: Variable[]; + /** List of the experiment variants. */ + Variants?: string[]; + + } + + export interface UpdateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Description of the experiment. */ + Description?: string; + /** The duration of the experiment, in days. */ + Duration: number; + /** Type of experiment. */ + ExperimentType?: string; + /** Id of the experiment. */ + Id: string; + /** Friendly name of the experiment. */ + Name: string; + /** Id of the segment to which this experiment applies. Defaults to the 'All Players' segment. */ + SegmentId?: string; + /** When experiment should start. */ + StartDate: string; + /** + * List of title player account IDs that automatically receive treatments in the experiment, but are not included when + * calculating experiment metrics. + */ + TitlePlayerAccountTestIds?: string[]; + /** List of variants for the experiment. */ + Variants: Variant[]; + + } + + export interface Variable { + /** Name of the variable. */ + Name: string; + /** Value of the variable. */ + Value?: string; + + } + + export interface Variant { + /** Description of the variant. */ + Description?: string; + /** Id of the variant. */ + Id?: string; + /** Specifies if variant is control for experiment. */ + IsControl: boolean; + /** Name of the variant. */ + Name: string; + /** Percentage of target audience traffic that will see this variant. */ + TrafficPercentage: number; + /** Variables returned by this variant. */ + Variables?: Variable[]; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 63a68bea..8e43638b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2216,6 +2216,12 @@ declare module PlayFabServerModels { | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" + | "LimitNotFound" + | "LimitNotAvailableViaAPI" + | "InsightsManagementSetStorageRetentionBelowMinimum" + | "InsightsManagementSetStorageRetentionAboveMaximum" + | "AppleNotEnabledForTitle" + | "InsightsManagementNewActiveEventArchiveLimitInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3355,7 +3361,8 @@ declare module PlayFabServerModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -4427,7 +4434,7 @@ declare module PlayFabServerModels { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken: string; + XboxToken?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index f863c5f2..f1661e72 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -6,6 +6,7 @@ /// /// /// +/// /// /// /// @@ -54,6 +55,7 @@ declare var PlayFab: { CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; DataApi: PlayFabDataModule.IPlayFabData; EventsApi: PlayFabEventsModule.IPlayFabEvents; + ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; @@ -69,6 +71,7 @@ declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthen declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; +declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 7d0bc7f5..91ad9b4a 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -32,6 +32,7 @@ + @@ -49,6 +50,7 @@ + diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 8eae010f..4ffab591 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -18,6 +18,7 @@ + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e7014943..dff3153d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index f8bf2573..c0370f84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1ea08d4f..db2c5058 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -544,6 +544,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -625,6 +629,31 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithApple: 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); + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) === "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithApple", 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 @@ -1150,6 +1179,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkAndroidDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 7733d248..78af2793 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index c9e20aeb..9cc4ff72 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 70878ef7..20e432bf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js new file mode 100644 index 00000000..55f55472 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -0,0 +1,286 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.61.200303", + requestGetParams: { + sdk: "JavaScriptSDK-1.61.200303" + }, + sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this + productionServerUrl: ".playfabapi.com", + 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.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 = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; +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.ExperimentationApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/CreateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/DeleteExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetExperiments: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExperiments", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetLatestScorecard: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetLatestScorecard", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetTreatmentAssignment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetTreatmentAssignment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + StartExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/StartExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + StopExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/StopExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateExperiment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); + }, +}; + +var PlayFabExperimentationSDK = PlayFab.ExperimentationApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index fea8b395..34e503db 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 37c1ccc0..7f9c2a30 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ce6e6455..71e0fae5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 49fa4e0b..12ee4e3b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index c085fc0d..5d1efad9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 212d98fc..4d6c9ad9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.60.200218", + sdkVersion: "1.61.200303", requestGetParams: { - sdk: "JavaScriptSDK-1.60.200218" + sdk: "JavaScriptSDK-1.61.200303" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.60.200218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.61.200303"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index f863c5f2..f1661e72 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -6,6 +6,7 @@ /// /// /// +/// /// /// /// @@ -54,6 +55,7 @@ declare var PlayFab: { CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; DataApi: PlayFabDataModule.IPlayFabData; EventsApi: PlayFabEventsModule.IPlayFabEvents; + ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; @@ -69,6 +71,7 @@ declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthen declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; +declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 820fd107..d97698d9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2197,6 +2197,12 @@ declare module PlayFabAdminModels { | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" + | "LimitNotFound" + | "LimitNotAvailableViaAPI" + | "InsightsManagementSetStorageRetentionBelowMinimum" + | "InsightsManagementSetStorageRetentionAboveMaximum" + | "AppleNotEnabledForTitle" + | "InsightsManagementNewActiveEventArchiveLimitInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3033,7 +3039,8 @@ declare module PlayFabAdminModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index a2523bfe..7c6e18aa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -78,7 +78,8 @@ declare module PlayFabAuthenticationModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 7efa479b..595d83ba 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -404,6 +404,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkandroiddeviceid */ LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Apple account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkapple + */ + LinkApple(request: PlayFabClientModels.LinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -481,6 +486,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithandroiddeviceid */ LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs in the user with a Sign in with Apple identity token. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithapple + */ + LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -713,6 +723,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkandroiddeviceid */ UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Apple account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkapple + */ + UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid @@ -2916,6 +2931,17 @@ declare module PlayFabClientModels { } + export interface LinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** If another user is already linked to a specific Apple account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization + * credential payload. Used to validate the request and find the user ID (Apple subject) to link with. + */ + IdentityToken: string; + + } + export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -3172,7 +3198,8 @@ declare module PlayFabClientModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -3220,6 +3247,28 @@ declare module PlayFabClientModels { } + export interface LoginWithAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** + * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization + * credential payload. + */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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 LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4437,6 +4486,10 @@ declare module PlayFabClientModels { } + export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID @@ -4551,7 +4604,7 @@ declare module PlayFabClientModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken: string; + XboxToken?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 0729193a..ef833b16 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -556,7 +556,8 @@ declare module PlayFabCloudScriptModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts new file mode 100644 index 00000000..c0a6cb92 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -0,0 +1,308 @@ +/// + +declare module PlayFabExperimentationModule { + export interface IPlayFabExperimentation { + ForgetAllCredentials(): void; + + /** + * Creates a new experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment + */ + CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment + */ + DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the details of all experiments for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments + */ + GetExperiments(request: PlayFabExperimentationModels.GetExperimentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the latest scorecard of the experiment for the title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getlatestscorecard + */ + GetLatestScorecard(request: PlayFabExperimentationModels.GetLatestScorecardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the treatment assignments for a player for every running experiment in the title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/gettreatmentassignment + */ + GetTreatmentAssignment(request: PlayFabExperimentationModels.GetTreatmentAssignmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Starts an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/startexperiment + */ + StartExperiment(request: PlayFabExperimentationModels.StartExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Stops an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/stopexperiment + */ + StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates an existing experiment for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment + */ + UpdateExperiment(request: PlayFabExperimentationModels.UpdateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabExperimentationModels { + type AnalysisTaskState = "Waiting" + | "ReadyForSubmission" + | "SubmittingToPipeline" + | "Running" + | "Completed" + | "Failed" + | "Canceled"; + + export interface CreateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Description of the experiment. */ + Description?: string; + /** The duration of the experiment, in days. */ + Duration: number; + /** Type of experiment. */ + ExperimentType?: string; + /** Friendly name of the experiment. */ + Name: string; + /** Id of the segment to which this experiment applies. Defaults to the 'All Players' segment. */ + SegmentId?: string; + /** When experiment should start. */ + StartDate: string; + /** + * List of title player account IDs that automatically receive treatments in the experiment, but are not included when + * calculating experiment metrics. + */ + TitlePlayerAccountTestIds?: string[]; + /** List of variants for the experiment. */ + Variants: Variant[]; + + } + + export interface CreateExperimentResult extends PlayFabModule.IPlayFabResultCommon { + /** The ID of the new experiment. */ + ExperimentId?: string; + + } + + export interface DeleteExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment to delete. */ + ExperimentId: string; + + } + + export interface EmptyResponse 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 Experiment { + /** Description of the experiment. */ + Description?: string; + /** The duration of the experiment, in days. */ + Duration: number; + /** Type of experiment. */ + ExperimentType?: string; + /** Id of the experiment. */ + Id?: string; + /** Friendly name of the experiment. */ + Name?: string; + /** Id of the segment to which this experiment applies. Defaults to the 'All Players' segment. */ + SegmentId?: string; + /** When experiment should start/was started. */ + StartDate: string; + /** State experiment is currently in. */ + State?: string; + /** + * List of title player account IDs that automatically receive treatments in the experiment, but are not included when + * calculating experiment metrics. + */ + TitlePlayerAccountTestIds?: string[]; + /** List of variants for the experiment. */ + Variants?: Variant[]; + + } + + type ExperimentState = "New" + | "Started" + | "Stopped" + | "Deleted"; + + type ExperimentType = "Active" + | "Snapshot"; + + export interface GetExperimentsRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface GetExperimentsResult extends PlayFabModule.IPlayFabResultCommon { + /** List of experiments for the title. */ + Experiments?: Experiment[]; + + } + + export interface GetLatestScorecardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment. */ + ExperimentId?: string; + + } + + export interface GetLatestScorecardResult extends PlayFabModule.IPlayFabResultCommon { + /** Scorecard for the experiment of the title. */ + Scorecard?: Scorecard; + + } + + export interface GetTreatmentAssignmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface GetTreatmentAssignmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Treatment assignment for the entity. */ + TreatmentAssignment?: TreatmentAssignment; + + } + + export interface MetricData { + /** The upper bound of the confidence interval for the relative delta (Delta.RelativeValue). */ + ConfidenceIntervalEnd: number; + /** The lower bound of the confidence interval for the relative delta (Delta.RelativeValue). */ + ConfidenceIntervalStart: number; + /** The absolute delta between TreatmentStats.Average and ControlStats.Average. */ + DeltaAbsoluteChange: number; + /** The relative delta ratio between TreatmentStats.Average and ControlStats.Average. */ + DeltaRelativeChange: number; + /** The machine name of the metric. */ + InternalName?: string; + /** Indicates if a movement was detected on that metric. */ + Movement?: string; + /** The readable name of the metric. */ + Name?: string; + /** The expectation that a movement is real */ + PMove: number; + /** The p-value resulting from the statistical test run for this metric */ + PValue: number; + /** The threshold for observing sample ratio mismatch. */ + PValueThreshold: number; + /** Indicates if the movement is statistically significant. */ + StatSigLevel?: string; + /** Observed standard deviation value of the metric. */ + StdDev: number; + /** Observed average value of the metric. */ + Value: number; + + } + + export interface Scorecard { + /** Represents the date the scorecard was generated. */ + DateGenerated?: string; + /** Represents the duration of scorecard analysis. */ + Duration?: string; + /** Represents the number of events processed for the generation of this scorecard */ + EventsProcessed: number; + /** Id of the experiment. */ + ExperimentId?: string; + /** Friendly name of the experiment. */ + ExperimentName?: string; + /** Represents the latest compute job status. */ + LatestJobStatus?: string; + /** Represents the presence of a sample ratio mismatch in the scorecard data. */ + SampleRatioMismatch: boolean; + /** Scorecard containing list of analysis. */ + ScorecardDataRows?: ScorecardDataRow[]; + + } + + export interface ScorecardDataRow { + /** Represents whether the variant is control or not. */ + IsControl: boolean; + /** Data of the analysis with the internal name of the metric as the key and an object of metric data as value. */ + MetricDataRows?: { [key: string]: MetricData }; + /** Represents the player count in the variant. */ + PlayerCount: number; + /** Name of the variant of analysis. */ + VariantName?: string; + + } + + export interface StartExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment to start. */ + ExperimentId: string; + + } + + export interface StopExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The ID of the experiment to stop. */ + ExperimentId: string; + + } + + export interface TreatmentAssignment { + /** List of the experiment variables. */ + Variables?: Variable[]; + /** List of the experiment variants. */ + Variants?: string[]; + + } + + export interface UpdateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Description of the experiment. */ + Description?: string; + /** The duration of the experiment, in days. */ + Duration: number; + /** Type of experiment. */ + ExperimentType?: string; + /** Id of the experiment. */ + Id: string; + /** Friendly name of the experiment. */ + Name: string; + /** Id of the segment to which this experiment applies. Defaults to the 'All Players' segment. */ + SegmentId?: string; + /** When experiment should start. */ + StartDate: string; + /** + * List of title player account IDs that automatically receive treatments in the experiment, but are not included when + * calculating experiment metrics. + */ + TitlePlayerAccountTestIds?: string[]; + /** List of variants for the experiment. */ + Variants: Variant[]; + + } + + export interface Variable { + /** Name of the variable. */ + Name: string; + /** Value of the variable. */ + Value?: string; + + } + + export interface Variant { + /** Description of the variant. */ + Description?: string; + /** Id of the variant. */ + Id?: string; + /** Specifies if variant is control for experiment. */ + IsControl: boolean; + /** Name of the variant. */ + Name: string; + /** Percentage of target audience traffic that will see this variant. */ + TrafficPercentage: number; + /** Variables returned by this variant. */ + Variables?: Variable[]; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 63a68bea..8e43638b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2216,6 +2216,12 @@ declare module PlayFabServerModels { | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" + | "LimitNotFound" + | "LimitNotAvailableViaAPI" + | "InsightsManagementSetStorageRetentionBelowMinimum" + | "InsightsManagementSetStorageRetentionAboveMaximum" + | "AppleNotEnabledForTitle" + | "InsightsManagementNewActiveEventArchiveLimitInvalid" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3355,7 +3361,8 @@ declare module PlayFabServerModels { | "CustomServer" | "NintendoSwitch" | "FacebookInstantGames" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple"; export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -4427,7 +4434,7 @@ declare module PlayFabServerModels { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken: string; + XboxToken?: string; } From a226f53fbe6513ecb35f0cb61739e3ae6275688c Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 2 Apr 2020 19:00:32 +0000 Subject: [PATCH 101/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200402 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 15 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 278 ++++++++++++++++++ .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 16 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 39 ++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 23 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../Typings/PlayFab/PlayFabInsightsApi.d.ts | 159 ++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 63 +++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 37 ++- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 + PlayFabTestingExample/PlayFabApiTest.csproj | 2 + PlayFabTestingExample/index.html | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 15 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 278 ++++++++++++++++++ .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 16 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 39 ++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 23 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../typings/PlayFab/PlayFabInsightsApi.d.ts | 159 ++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 63 +++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 37 ++- 47 files changed, 1318 insertions(+), 141 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index ce8af562..10babdda 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.61.200303", + "version": "1.63.200402", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index dff3153d..ab59fe6b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c0370f84..931396c9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index db2c5058..11e8f845 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1310,12 +1310,13 @@ PlayFab.ClientApi = { _MultiStepClientLogin: function (needsAttribution) { if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { var request = {}; - if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) + if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) { request.Idfa = PlayFab.settings.advertisingIdValue; - else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) + } else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) { request.Adid = PlayFab.settings.advertisingIdValue; - else + } else { return; + } PlayFab.ClientApi.AttributeInstall(request, null); } } diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 78af2793..a9626fed 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9cc4ff72..a9ca65c3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 20e432bf..01bf8dba 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 55f55472..847c349f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 34e503db..cc4d8c50 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js new file mode 100644 index 00000000..a9f6b26f --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -0,0 +1,278 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.63.200402", + requestGetParams: { + sdk: "JavaScriptSDK-1.63.200402" + }, + sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this + productionServerUrl: ".playfabapi.com", + 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.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 = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; +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.InsightsApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetDetails: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetDetails", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetLimits: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetLimits", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetOperationStatus: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetOperationStatus", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetPendingOperations: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetPendingOperations", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetPerformance: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/SetPerformance", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetStorageRetention: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/SetStorageRetention", request, "X-EntityToken", callback, customData, extraHeaders); + }, +}; + +var PlayFabInsightsSDK = PlayFab.InsightsApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7f9c2a30..0ab6d811 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 71e0fae5..ae5443e4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 12ee4e3b..7f18d070 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -305,6 +305,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteBuildRegion: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -453,6 +457,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5d1efad9..503f912d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 4d6c9ad9..ac9c3027 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index d97698d9..f83f5a8e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2202,7 +2202,11 @@ declare module PlayFabAdminModels { | "InsightsManagementSetStorageRetentionBelowMinimum" | "InsightsManagementSetStorageRetentionAboveMaximum" | "AppleNotEnabledForTitle" - | "InsightsManagementNewActiveEventArchiveLimitInvalid" + | "InsightsManagementNewActiveEventExportLimitInvalid" + | "InsightsManagementSetPerformanceRateLimited" + | "PartyRequestsThrottledFromRateLimiter" + | "XboxServiceTooManyRequests" + | "NintendoSwitchNotEnabledForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2259,6 +2263,12 @@ declare module PlayFabAdminModels { | "ExportCouldNotCreate" | "ExportNoBackingDatabaseFound" | "ExportCouldNotDelete" + | "ExportCannotDetermineEventQuery" + | "ExportInvalidQuerySchemaModification" + | "ExportQuerySchemaMissingRequiredColumns" + | "ExportCannotParseQuery" + | "ExportControlCommandsNotAllowed" + | "ExportQueryMissingTableReference" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2276,7 +2286,9 @@ declare module PlayFabAdminModels { | "ExperimentationTreatmentAssignmentDisabled" | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" + | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" + | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3040,7 +3052,8 @@ declare module PlayFabAdminModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -3938,6 +3951,8 @@ declare module PlayFabAdminModels { export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; + /** Error message for last processing attempt, if an error occured. */ + ErrorMessage?: string; /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; /** Progress represented as percentage. */ @@ -4212,6 +4227,8 @@ declare module PlayFabAdminModels { export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** Sign in with Apple account information, if an Apple account has been linked */ + AppleAccountInfo?: UserAppleIdInfo; /** Timestamp indicating when the user account was created */ Created: string; /** Custom ID information, if a custom ID has been assigned */ @@ -4229,6 +4246,8 @@ declare module PlayFabAdminModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchAccountInfo?: number; + /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ NintendoSwitchDeviceIdInfo?: number; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; @@ -4259,6 +4278,12 @@ declare module PlayFabAdminModels { } + export interface UserAppleIdInfo { + /** Apple subject ID */ + AppleSubjectId?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4329,6 +4354,12 @@ declare module PlayFabAdminModels { } + export interface UserNintendoSwitchAccountIdInfo { + /** Nintendo Switch account subject ID */ + NintendoSwitchAccountSubjectId?: string; + + } + export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; @@ -4366,7 +4397,9 @@ declare module PlayFabAdminModels { | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 7c6e18aa..cffbf571 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -79,7 +79,8 @@ declare module PlayFabAuthenticationModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 595d83ba..f7551ce1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3199,7 +3199,8 @@ declare module PlayFabClientModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -4775,6 +4776,8 @@ declare module PlayFabClientModels { export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** Sign in with Apple account information, if an Apple account has been linked */ + AppleAccountInfo?: UserAppleIdInfo; /** Timestamp indicating when the user account was created */ Created: string; /** Custom ID information, if a custom ID has been assigned */ @@ -4792,6 +4795,8 @@ declare module PlayFabClientModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchAccountInfo?: number; + /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ NintendoSwitchDeviceIdInfo?: number; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; @@ -4822,6 +4827,12 @@ declare module PlayFabClientModels { } + export interface UserAppleIdInfo { + /** Apple subject ID */ + AppleSubjectId?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4892,6 +4903,12 @@ declare module PlayFabClientModels { } + export interface UserNintendoSwitchAccountIdInfo { + /** Nintendo Switch account subject ID */ + NintendoSwitchAccountSubjectId?: string; + + } + export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; @@ -4929,7 +4946,9 @@ declare module PlayFabClientModels { | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index ef833b16..0c7d298b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -557,7 +557,8 @@ declare module PlayFabCloudScriptModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts new file mode 100644 index 00000000..4ee29610 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts @@ -0,0 +1,159 @@ +/// + +declare module PlayFabInsightsModule { + export interface IPlayFabInsights { + ForgetAllCredentials(): void; + + /** + * Gets the current values for the Insights performance and data storage retention, list of pending operations, and the + * performance and data storage retention limits. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getdetails + */ + GetDetails(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the range of allowed values for performance and data storage retention values as well as the submeter details + * for each performance level. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getlimits + */ + GetLimits(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the status of a SetPerformance or SetStorageRetention operation. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getoperationstatus + */ + GetOperationStatus(request: PlayFabInsightsModels.InsightsGetOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a list of pending SetPerformance and/or SetStorageRetention operations for the title. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getpendingoperations + */ + GetPendingOperations(request: PlayFabInsightsModels.InsightsGetPendingOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the Insights performance level value for the title. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setperformance + */ + SetPerformance(request: PlayFabInsightsModels.InsightsSetPerformanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the Insights data storage retention days value for the title. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setstorageretention + */ + SetStorageRetention(request: PlayFabInsightsModels.InsightsSetStorageRetentionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabInsightsModels { + export interface InsightsEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface InsightsGetDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Amount of data (in MB) currently used by Insights. */ + DataUsageMb: number; + /** Details of any error that occurred while retrieving Insights details. */ + ErrorMessage?: string; + /** Allowed range of values for performance level and data storage retention. */ + Limits?: InsightsGetLimitsResponse; + /** List of pending Insights operations for the title. */ + PendingOperations?: InsightsGetOperationStatusResponse[]; + /** Current Insights performance level setting. */ + PerformanceLevel: number; + /** Current Insights data storage retention value in days. */ + RetentionDays: number; + + } + + export interface InsightsGetLimitsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Default Insights performance level. */ + DefaultPerformanceLevel: number; + /** Default Insights data storage retention days. */ + DefaultStorageRetentionDays: number; + /** Maximum allowed data storage retention days. */ + StorageMaxRetentionDays: number; + /** Minimum allowed data storage retention days. */ + StorageMinRetentionDays: number; + /** List of Insights submeter limits for the allowed performance levels. */ + SubMeters?: InsightsPerformanceLevel[]; + + } + + export interface InsightsGetOperationStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the Insights operation. */ + OperationId?: string; + + } + + export interface InsightsGetOperationStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional message related to the operation details. */ + Message?: string; + /** Time the operation was completed. */ + OperationCompletedTime: string; + /** Id of the Insights operation. */ + OperationId?: string; + /** Time the operation status was last updated. */ + OperationLastUpdated: string; + /** Time the operation started. */ + OperationStartedTime: string; + /** The type of operation, SetPerformance or SetStorageRetention. */ + OperationType?: string; + /** The value requested for the operation. */ + OperationValue: number; + /** Current status of the operation. */ + Status?: string; + + } + + export interface InsightsGetPendingOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The type of pending operations requested, or blank for all operation types. */ + OperationType?: string; + + } + + export interface InsightsGetPendingOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of pending Insights operations. */ + PendingOperations?: InsightsGetOperationStatusResponse[]; + + } + + export interface InsightsOperationResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional message related to the operation details. */ + Message?: string; + /** Id of the Insights operation. */ + OperationId?: string; + /** The type of operation, SetPerformance or SetStorageRetention. */ + OperationType?: string; + + } + + export interface InsightsPerformanceLevel { + /** Number of allowed active event exports. */ + ActiveEventExports: number; + /** Maximum cache size. */ + CacheSizeMB: number; + /** Maximum number of concurrent queries. */ + Concurrency: number; + /** Number of Insights credits consumed per minute. */ + CreditsPerMinute: number; + /** Maximum events per second. */ + EventsPerSecond: number; + /** Performance level. */ + Level: number; + /** Maximum amount of memory allowed per query. */ + MaxMemoryPerQueryMB: number; + /** Amount of compute power allocated for queries and operations. */ + VirtualCpuCores: number; + + } + + export interface InsightsSetPerformanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Insights performance level to apply to the title. */ + PerformanceLevel: number; + + } + + export interface InsightsSetStorageRetentionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Insights data storage retention value (in days) to apply to the title. */ + RetentionDays: number; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 9e28a70b..4a5877e6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -77,6 +77,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildalias */ DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a multiplayer server build's region. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildregion + */ + DeleteBuildRegion(request: PlayFabMultiplayerModels.DeleteBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate @@ -265,6 +270,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's region. If the region is not yet created, it will be created + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion + */ + UpdateBuildRegion(request: PlayFabMultiplayerModels.UpdateBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's regions. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions @@ -292,7 +302,7 @@ declare module PlayFabMultiplayerModels { /** The asset's file name. */ FileName: string; /** The asset's mount path. */ - MountPath: string; + MountPath?: string; } @@ -385,7 +395,7 @@ declare module PlayFabMultiplayerModels { StandbyServers: number; /** * The status of multiplayer servers in the build region. Valid values are - Unknown, Initialized, Deploying, Deployed, - * Unhealthy. + * Unhealthy, Deleting, Deleted. */ Status?: string; @@ -504,7 +514,8 @@ declare module PlayFabMultiplayerModels { type ContainerFlavor = "ManagedWindowsServerCore" | "CustomLinux" - | "ManagedWindowsServerCorePreview"; + | "ManagedWindowsServerCorePreview" + | "Invalid"; export interface ContainerImageReference { /** The container image name. */ @@ -584,10 +595,14 @@ declare module PlayFabMultiplayerModels { Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; /** The ports the build is mapped on. */ Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; /** The VM size the build was created on. */ VmSize?: string; @@ -602,6 +617,11 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** + * The directory containing the game executable. This would be the start path of the game assets that contain the main game + * server executable. If not provided, a best effort will be made to extract it from the start game command. + */ + GameWorkingDirectory?: string; /** The instrumentation configuration for the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** @@ -635,16 +655,25 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** + * The directory containing the game executable. This would be the start path of the game assets that contain the main game + * server executable. If not provided, a best effort will be made to extract it from the start game command. + */ + GameWorkingDirectory?: string; /** The instrumentation configuration for this build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; /** The ports the build is mapped on. */ Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; /** The VM size the build was created on. */ @@ -746,6 +775,14 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update regions for. */ + BuildId: string; + /** The build region to delete. */ + Region: string; + + } + export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ BuildId: string; @@ -900,10 +937,14 @@ declare module PlayFabMultiplayerModels { Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to hosted on a single VM of the build. */ MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; /** The ports the build is mapped on. */ Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; /** * The command to run when the multiplayer server has been allocated, including any arguments. This only applies to managed * builds. If the build is a custom build, this field will be null. @@ -1036,8 +1077,6 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The region of the multiplayer server to get logs for. */ - Region?: string; /** The server ID of multiplayer server to get logs for. */ ServerId: string; @@ -1423,6 +1462,9 @@ declare module PlayFabMultiplayerModels { } + type OsPlatform = "Windows" + | "Linux"; + export interface Port { /** The name for the port. */ Name: string; @@ -1517,6 +1559,9 @@ declare module PlayFabMultiplayerModels { } + type ServerType = "Container" + | "Process"; + export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; @@ -1567,6 +1612,14 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update regions for. */ + BuildId: string; + /** The updated region configuration that should be applied to the specified build. */ + BuildRegion: BuildRegionParams; + + } + export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 8e43638b..4e689064 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2221,7 +2221,11 @@ declare module PlayFabServerModels { | "InsightsManagementSetStorageRetentionBelowMinimum" | "InsightsManagementSetStorageRetentionAboveMaximum" | "AppleNotEnabledForTitle" - | "InsightsManagementNewActiveEventArchiveLimitInvalid" + | "InsightsManagementNewActiveEventExportLimitInvalid" + | "InsightsManagementSetPerformanceRateLimited" + | "PartyRequestsThrottledFromRateLimiter" + | "XboxServiceTooManyRequests" + | "NintendoSwitchNotEnabledForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2278,6 +2282,12 @@ declare module PlayFabServerModels { | "ExportCouldNotCreate" | "ExportNoBackingDatabaseFound" | "ExportCouldNotDelete" + | "ExportCannotDetermineEventQuery" + | "ExportInvalidQuerySchemaModification" + | "ExportQuerySchemaMissingRequiredColumns" + | "ExportCannotParseQuery" + | "ExportControlCommandsNotAllowed" + | "ExportQueryMissingTableReference" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2295,7 +2305,9 @@ declare module PlayFabServerModels { | "ExperimentationTreatmentAssignmentDisabled" | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" + | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" + | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { @@ -3362,7 +3374,8 @@ declare module PlayFabServerModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -4675,6 +4688,8 @@ declare module PlayFabServerModels { export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** Sign in with Apple account information, if an Apple account has been linked */ + AppleAccountInfo?: UserAppleIdInfo; /** Timestamp indicating when the user account was created */ Created: string; /** Custom ID information, if a custom ID has been assigned */ @@ -4692,6 +4707,8 @@ declare module PlayFabServerModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchAccountInfo?: number; + /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ NintendoSwitchDeviceIdInfo?: number; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; @@ -4722,6 +4739,12 @@ declare module PlayFabServerModels { } + export interface UserAppleIdInfo { + /** Apple subject ID */ + AppleSubjectId?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4792,6 +4815,12 @@ declare module PlayFabServerModels { } + export interface UserNintendoSwitchAccountIdInfo { + /** Nintendo Switch account subject ID */ + NintendoSwitchAccountSubjectId?: string; + + } + export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; @@ -4829,7 +4858,9 @@ declare module PlayFabServerModels { | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index f1661e72..f3d91fe6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -7,6 +7,7 @@ /// /// /// +/// /// /// /// @@ -56,6 +57,7 @@ declare var PlayFab: { DataApi: PlayFabDataModule.IPlayFabData; EventsApi: PlayFabEventsModule.IPlayFabEvents; ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; + InsightsApi: PlayFabInsightsModule.IPlayFabInsights; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; @@ -72,6 +74,7 @@ declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; +declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 91ad9b4a..22c78620 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -33,6 +33,7 @@ + @@ -51,6 +52,7 @@ + diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 4ffab591..4aa18e8d 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -19,6 +19,7 @@ + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index dff3153d..ab59fe6b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c0370f84..931396c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index db2c5058..11e8f845 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1310,12 +1310,13 @@ PlayFab.ClientApi = { _MultiStepClientLogin: function (needsAttribution) { if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { var request = {}; - if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) + if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) { request.Idfa = PlayFab.settings.advertisingIdValue; - else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) + } else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) { request.Adid = PlayFab.settings.advertisingIdValue; - else + } else { return; + } PlayFab.ClientApi.AttributeInstall(request, null); } } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 78af2793..a9626fed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9cc4ff72..a9ca65c3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 20e432bf..01bf8dba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 55f55472..847c349f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 34e503db..cc4d8c50 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js new file mode 100644 index 00000000..a9f6b26f --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -0,0 +1,278 @@ +/// + +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) + advertisingIdType: null, + advertisingIdValue: null, + GlobalHeaderInjection: null, + + // disableAdvertising is provided for completeness, but changing it is not suggested + // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly + disableAdvertising: false, + AD_TYPE_IDFA: "Idfa", + AD_TYPE_ANDROID_ID: "Adid" + } +} + +if(!PlayFab._internalSettings) { + PlayFab._internalSettings = { + entityToken: null, + sdkVersion: "1.63.200402", + requestGetParams: { + sdk: "JavaScriptSDK-1.63.200402" + }, + sessionTicket: null, + verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this + productionServerUrl: ".playfabapi.com", + 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (PlayFab._internalSettings.verticalName) { + return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + } else { + return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + } + } else { + return PlayFab._internalSettings.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 = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; +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.InsightsApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + GetDetails: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetDetails", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetLimits: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetLimits", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetOperationStatus: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetOperationStatus", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetPendingOperations: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/GetPendingOperations", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetPerformance: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/SetPerformance", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetStorageRetention: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/SetStorageRetention", request, "X-EntityToken", callback, customData, extraHeaders); + }, +}; + +var PlayFabInsightsSDK = PlayFab.InsightsApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7f9c2a30..0ab6d811 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 71e0fae5..ae5443e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 12ee4e3b..7f18d070 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -305,6 +305,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteBuildRegion: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -453,6 +457,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5d1efad9..503f912d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 4d6c9ad9..ac9c3027 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.61.200303", + sdkVersion: "1.63.200402", requestGetParams: { - sdk: "JavaScriptSDK-1.61.200303" + sdk: "JavaScriptSDK-1.63.200402" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.61.200303"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.63.200402"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index f1661e72..f3d91fe6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -7,6 +7,7 @@ /// /// /// +/// /// /// /// @@ -56,6 +57,7 @@ declare var PlayFab: { DataApi: PlayFabDataModule.IPlayFabData; EventsApi: PlayFabEventsModule.IPlayFabEvents; ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; + InsightsApi: PlayFabInsightsModule.IPlayFabInsights; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; @@ -72,6 +74,7 @@ declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; +declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index d97698d9..f83f5a8e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2202,7 +2202,11 @@ declare module PlayFabAdminModels { | "InsightsManagementSetStorageRetentionBelowMinimum" | "InsightsManagementSetStorageRetentionAboveMaximum" | "AppleNotEnabledForTitle" - | "InsightsManagementNewActiveEventArchiveLimitInvalid" + | "InsightsManagementNewActiveEventExportLimitInvalid" + | "InsightsManagementSetPerformanceRateLimited" + | "PartyRequestsThrottledFromRateLimiter" + | "XboxServiceTooManyRequests" + | "NintendoSwitchNotEnabledForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2259,6 +2263,12 @@ declare module PlayFabAdminModels { | "ExportCouldNotCreate" | "ExportNoBackingDatabaseFound" | "ExportCouldNotDelete" + | "ExportCannotDetermineEventQuery" + | "ExportInvalidQuerySchemaModification" + | "ExportQuerySchemaMissingRequiredColumns" + | "ExportCannotParseQuery" + | "ExportControlCommandsNotAllowed" + | "ExportQueryMissingTableReference" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2276,7 +2286,9 @@ declare module PlayFabAdminModels { | "ExperimentationTreatmentAssignmentDisabled" | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" + | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" + | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -3040,7 +3052,8 @@ declare module PlayFabAdminModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -3938,6 +3951,8 @@ declare module PlayFabAdminModels { export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; + /** Error message for last processing attempt, if an error occured. */ + ErrorMessage?: string; /** Estimated time remaining in seconds. */ EstimatedSecondsRemaining?: number; /** Progress represented as percentage. */ @@ -4212,6 +4227,8 @@ declare module PlayFabAdminModels { export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** Sign in with Apple account information, if an Apple account has been linked */ + AppleAccountInfo?: UserAppleIdInfo; /** Timestamp indicating when the user account was created */ Created: string; /** Custom ID information, if a custom ID has been assigned */ @@ -4229,6 +4246,8 @@ declare module PlayFabAdminModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchAccountInfo?: number; + /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ NintendoSwitchDeviceIdInfo?: number; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; @@ -4259,6 +4278,12 @@ declare module PlayFabAdminModels { } + export interface UserAppleIdInfo { + /** Apple subject ID */ + AppleSubjectId?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4329,6 +4354,12 @@ declare module PlayFabAdminModels { } + export interface UserNintendoSwitchAccountIdInfo { + /** Nintendo Switch account subject ID */ + NintendoSwitchAccountSubjectId?: string; + + } + export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; @@ -4366,7 +4397,9 @@ declare module PlayFabAdminModels { | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 7c6e18aa..cffbf571 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -79,7 +79,8 @@ declare module PlayFabAuthenticationModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Client EntityToken */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 595d83ba..f7551ce1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3199,7 +3199,8 @@ declare module PlayFabClientModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -4775,6 +4776,8 @@ declare module PlayFabClientModels { export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** Sign in with Apple account information, if an Apple account has been linked */ + AppleAccountInfo?: UserAppleIdInfo; /** Timestamp indicating when the user account was created */ Created: string; /** Custom ID information, if a custom ID has been assigned */ @@ -4792,6 +4795,8 @@ declare module PlayFabClientModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchAccountInfo?: number; + /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ NintendoSwitchDeviceIdInfo?: number; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; @@ -4822,6 +4827,12 @@ declare module PlayFabClientModels { } + export interface UserAppleIdInfo { + /** Apple subject ID */ + AppleSubjectId?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4892,6 +4903,12 @@ declare module PlayFabClientModels { } + export interface UserNintendoSwitchAccountIdInfo { + /** Nintendo Switch account subject ID */ + NintendoSwitchAccountSubjectId?: string; + + } + export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; @@ -4929,7 +4946,9 @@ declare module PlayFabClientModels { | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index ef833b16..0c7d298b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -557,7 +557,8 @@ declare module PlayFabCloudScriptModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts new file mode 100644 index 00000000..4ee29610 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts @@ -0,0 +1,159 @@ +/// + +declare module PlayFabInsightsModule { + export interface IPlayFabInsights { + ForgetAllCredentials(): void; + + /** + * Gets the current values for the Insights performance and data storage retention, list of pending operations, and the + * performance and data storage retention limits. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getdetails + */ + GetDetails(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the range of allowed values for performance and data storage retention values as well as the submeter details + * for each performance level. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getlimits + */ + GetLimits(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the status of a SetPerformance or SetStorageRetention operation. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getoperationstatus + */ + GetOperationStatus(request: PlayFabInsightsModels.InsightsGetOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a list of pending SetPerformance and/or SetStorageRetention operations for the title. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getpendingoperations + */ + GetPendingOperations(request: PlayFabInsightsModels.InsightsGetPendingOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the Insights performance level value for the title. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setperformance + */ + SetPerformance(request: PlayFabInsightsModels.InsightsSetPerformanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the Insights data storage retention days value for the title. + * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setstorageretention + */ + SetStorageRetention(request: PlayFabInsightsModels.InsightsSetStorageRetentionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabInsightsModels { + export interface InsightsEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface InsightsGetDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Amount of data (in MB) currently used by Insights. */ + DataUsageMb: number; + /** Details of any error that occurred while retrieving Insights details. */ + ErrorMessage?: string; + /** Allowed range of values for performance level and data storage retention. */ + Limits?: InsightsGetLimitsResponse; + /** List of pending Insights operations for the title. */ + PendingOperations?: InsightsGetOperationStatusResponse[]; + /** Current Insights performance level setting. */ + PerformanceLevel: number; + /** Current Insights data storage retention value in days. */ + RetentionDays: number; + + } + + export interface InsightsGetLimitsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Default Insights performance level. */ + DefaultPerformanceLevel: number; + /** Default Insights data storage retention days. */ + DefaultStorageRetentionDays: number; + /** Maximum allowed data storage retention days. */ + StorageMaxRetentionDays: number; + /** Minimum allowed data storage retention days. */ + StorageMinRetentionDays: number; + /** List of Insights submeter limits for the allowed performance levels. */ + SubMeters?: InsightsPerformanceLevel[]; + + } + + export interface InsightsGetOperationStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the Insights operation. */ + OperationId?: string; + + } + + export interface InsightsGetOperationStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional message related to the operation details. */ + Message?: string; + /** Time the operation was completed. */ + OperationCompletedTime: string; + /** Id of the Insights operation. */ + OperationId?: string; + /** Time the operation status was last updated. */ + OperationLastUpdated: string; + /** Time the operation started. */ + OperationStartedTime: string; + /** The type of operation, SetPerformance or SetStorageRetention. */ + OperationType?: string; + /** The value requested for the operation. */ + OperationValue: number; + /** Current status of the operation. */ + Status?: string; + + } + + export interface InsightsGetPendingOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The type of pending operations requested, or blank for all operation types. */ + OperationType?: string; + + } + + export interface InsightsGetPendingOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of pending Insights operations. */ + PendingOperations?: InsightsGetOperationStatusResponse[]; + + } + + export interface InsightsOperationResponse extends PlayFabModule.IPlayFabResultCommon { + /** Optional message related to the operation details. */ + Message?: string; + /** Id of the Insights operation. */ + OperationId?: string; + /** The type of operation, SetPerformance or SetStorageRetention. */ + OperationType?: string; + + } + + export interface InsightsPerformanceLevel { + /** Number of allowed active event exports. */ + ActiveEventExports: number; + /** Maximum cache size. */ + CacheSizeMB: number; + /** Maximum number of concurrent queries. */ + Concurrency: number; + /** Number of Insights credits consumed per minute. */ + CreditsPerMinute: number; + /** Maximum events per second. */ + EventsPerSecond: number; + /** Performance level. */ + Level: number; + /** Maximum amount of memory allowed per query. */ + MaxMemoryPerQueryMB: number; + /** Amount of compute power allocated for queries and operations. */ + VirtualCpuCores: number; + + } + + export interface InsightsSetPerformanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Insights performance level to apply to the title. */ + PerformanceLevel: number; + + } + + export interface InsightsSetStorageRetentionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Insights data storage retention value (in days) to apply to the title. */ + RetentionDays: number; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 9e28a70b..4a5877e6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -77,6 +77,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildalias */ DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes a multiplayer server build's region. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildregion + */ + DeleteBuildRegion(request: PlayFabMultiplayerModels.DeleteBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate @@ -265,6 +270,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's region. If the region is not yet created, it will be created + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion + */ + UpdateBuildRegion(request: PlayFabMultiplayerModels.UpdateBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's regions. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions @@ -292,7 +302,7 @@ declare module PlayFabMultiplayerModels { /** The asset's file name. */ FileName: string; /** The asset's mount path. */ - MountPath: string; + MountPath?: string; } @@ -385,7 +395,7 @@ declare module PlayFabMultiplayerModels { StandbyServers: number; /** * The status of multiplayer servers in the build region. Valid values are - Unknown, Initialized, Deploying, Deployed, - * Unhealthy. + * Unhealthy, Deleting, Deleted. */ Status?: string; @@ -504,7 +514,8 @@ declare module PlayFabMultiplayerModels { type ContainerFlavor = "ManagedWindowsServerCore" | "CustomLinux" - | "ManagedWindowsServerCorePreview"; + | "ManagedWindowsServerCorePreview" + | "Invalid"; export interface ContainerImageReference { /** The container image name. */ @@ -584,10 +595,14 @@ declare module PlayFabMultiplayerModels { Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; /** The ports the build is mapped on. */ Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; /** The VM size the build was created on. */ VmSize?: string; @@ -602,6 +617,11 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** + * The directory containing the game executable. This would be the start path of the game assets that contain the main game + * server executable. If not provided, a best effort will be made to extract it from the start game command. + */ + GameWorkingDirectory?: string; /** The instrumentation configuration for the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** @@ -635,16 +655,25 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** + * The directory containing the game executable. This would be the start path of the game assets that contain the main game + * server executable. If not provided, a best effort will be made to extract it from the start game command. + */ + GameWorkingDirectory?: string; /** The instrumentation configuration for this build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; /** The ports the build is mapped on. */ Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; /** The VM size the build was created on. */ @@ -746,6 +775,14 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update regions for. */ + BuildId: string; + /** The build region to delete. */ + Region: string; + + } + export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ BuildId: string; @@ -900,10 +937,14 @@ declare module PlayFabMultiplayerModels { Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to hosted on a single VM of the build. */ MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; /** The ports the build is mapped on. */ Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; /** * The command to run when the multiplayer server has been allocated, including any arguments. This only applies to managed * builds. If the build is a custom build, this field will be null. @@ -1036,8 +1077,6 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerLogsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The region of the multiplayer server to get logs for. */ - Region?: string; /** The server ID of multiplayer server to get logs for. */ ServerId: string; @@ -1423,6 +1462,9 @@ declare module PlayFabMultiplayerModels { } + type OsPlatform = "Windows" + | "Linux"; + export interface Port { /** The name for the port. */ Name: string; @@ -1517,6 +1559,9 @@ declare module PlayFabMultiplayerModels { } + type ServerType = "Container" + | "Process"; + export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; @@ -1567,6 +1612,14 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update regions for. */ + BuildId: string; + /** The updated region configuration that should be applied to the specified build. */ + BuildRegion: BuildRegionParams; + + } + export interface UpdateBuildRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 8e43638b..4e689064 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2221,7 +2221,11 @@ declare module PlayFabServerModels { | "InsightsManagementSetStorageRetentionBelowMinimum" | "InsightsManagementSetStorageRetentionAboveMaximum" | "AppleNotEnabledForTitle" - | "InsightsManagementNewActiveEventArchiveLimitInvalid" + | "InsightsManagementNewActiveEventExportLimitInvalid" + | "InsightsManagementSetPerformanceRateLimited" + | "PartyRequestsThrottledFromRateLimiter" + | "XboxServiceTooManyRequests" + | "NintendoSwitchNotEnabledForTitle" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2278,6 +2282,12 @@ declare module PlayFabServerModels { | "ExportCouldNotCreate" | "ExportNoBackingDatabaseFound" | "ExportCouldNotDelete" + | "ExportCannotDetermineEventQuery" + | "ExportInvalidQuerySchemaModification" + | "ExportQuerySchemaMissingRequiredColumns" + | "ExportCannotParseQuery" + | "ExportControlCommandsNotAllowed" + | "ExportQueryMissingTableReference" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2295,7 +2305,9 @@ declare module PlayFabServerModels { | "ExperimentationTreatmentAssignmentDisabled" | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" + | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" + | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { @@ -3362,7 +3374,8 @@ declare module PlayFabServerModels { | "NintendoSwitch" | "FacebookInstantGames" | "OpenIdConnect" - | "Apple"; + | "Apple" + | "NintendoSwitchAccount"; export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -4675,6 +4688,8 @@ declare module PlayFabServerModels { export interface UserAccountInfo { /** User Android device information, if an Android device has been linked */ AndroidDeviceInfo?: UserAndroidDeviceInfo; + /** Sign in with Apple account information, if an Apple account has been linked */ + AppleAccountInfo?: UserAppleIdInfo; /** Timestamp indicating when the user account was created */ Created: string; /** Custom ID information, if a custom ID has been assigned */ @@ -4692,6 +4707,8 @@ declare module PlayFabServerModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ + NintendoSwitchAccountInfo?: number; + /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ NintendoSwitchDeviceIdInfo?: number; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; @@ -4722,6 +4739,12 @@ declare module PlayFabServerModels { } + export interface UserAppleIdInfo { + /** Apple subject ID */ + AppleSubjectId?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; @@ -4792,6 +4815,12 @@ declare module PlayFabServerModels { } + export interface UserNintendoSwitchAccountIdInfo { + /** Nintendo Switch account subject ID */ + NintendoSwitchAccountSubjectId?: string; + + } + export interface UserNintendoSwitchDeviceIdInfo { /** Nintendo Switch Device ID */ NintendoSwitchDeviceId?: string; @@ -4829,7 +4858,9 @@ declare module PlayFabServerModels { | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" - | "OpenIdConnect"; + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; export interface UserPrivateAccountInfo { /** user email address */ From cf0a8db7592f2ca3d8a97fa2fd8daff361d9bab3 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 21 Apr 2020 19:16:53 +0000 Subject: [PATCH 102/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200421 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 53 ++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 15 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 191 +++++++++++++++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 11 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 53 ++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 15 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 191 +++++++++++++++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 11 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 37 files changed, 611 insertions(+), 127 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 10babdda..c687868d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.63.200402", + "version": "1.64.200421", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ab59fe6b..af2f1b3b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 931396c9..31d91a77 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 11e8f845..ca0e7c36 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -328,6 +328,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAccountInfo", request, "X-Authorization", callback, customData, extraHeaders); }, + GetAdPlacements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAdPlacements", request, "X-Authorization", callback, customData, extraHeaders); + }, + GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAllUsersCharacters", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -576,6 +580,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -854,6 +862,31 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithNintendoSwitchAccount: 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); + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) === "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchAccount", 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);}); + }, + LoginWithNintendoSwitchDeviceId: 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 @@ -1139,6 +1172,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveSharedGroupMembers", request, "X-Authorization", callback, customData, extraHeaders); }, + ReportAdActivity: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportAdActivity", request, "X-Authorization", callback, customData, extraHeaders); + }, + ReportDeviceInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportDeviceInfo", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1151,6 +1188,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RestoreIOSPurchases", request, "X-Authorization", callback, customData, extraHeaders); }, + RewardAdActivity: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RewardAdActivity", request, "X-Authorization", callback, customData, extraHeaders); + }, + SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SendAccountRecoveryEmail", request, null, callback, customData, extraHeaders); }, @@ -1211,6 +1252,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index a9626fed..ab627515 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index a9ca65c3..22e9712c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 01bf8dba..cd6d04ad 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 847c349f..cb1b64fe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index cc4d8c50..da0b71fd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index a9f6b26f..49fc3b71 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0ab6d811..10b0d942 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ae5443e4..6bc2c92a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7f18d070..546affe9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -313,6 +313,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteContainerImageRepository: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteContainerImageRepository", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteRemoteUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -421,6 +425,9 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, "X-EntityToken", callback, customData, extraHeaders); }, + /** + * @deprecated Please use ListQosServersForTitle instead. + */ ListQosServers: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 503f912d..d12fee16 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ac9c3027..e523d0e8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f83f5a8e..3d45e4de 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2207,6 +2207,7 @@ declare module PlayFabAdminModels { | "PartyRequestsThrottledFromRateLimiter" | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" + | "RequestMultiplayerServersThrottledFromRateLimiter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index f7551ce1..a6a32c65 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -106,6 +106,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/getaccountinfo */ GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Returns a list of ad placements and a reward for each + * https://docs.microsoft.com/rest/api/playfab/client/advertising/getadplacements + */ + GetAdPlacements(request: PlayFabClientModels.GetAdPlacementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. @@ -444,6 +449,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkkongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Nintendo Switch account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchaccount + */ + LinkNintendoSwitchAccount(request: PlayFabClientModels.LinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid @@ -539,6 +549,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithkongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs in the user with a Nintendo Switch Account identity token. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchaccount + */ + LoginWithNintendoSwitchAccount(request: PlayFabClientModels.LoginWithNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -667,6 +682,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/removesharedgroupmembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Report player's ad activity + * https://docs.microsoft.com/rest/api/playfab/client/advertising/reportadactivity + */ + ReportAdActivity(request: PlayFabClientModels.ReportAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Write a PlayStream event to describe the provided player device information. This API method is not designed to be * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. @@ -684,6 +704,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Reward player's ad activity + * https://docs.microsoft.com/rest/api/playfab/client/advertising/rewardadactivity + */ + RewardAdActivity(request: PlayFabClientModels.RewardAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will @@ -764,6 +789,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkkongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Nintendo Switch account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchaccount + */ + UnlinkNintendoSwitchAccount(request: PlayFabClientModels.UnlinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid @@ -774,7 +804,7 @@ declare module PlayFabClientModule { * between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkopenidconnect */ - UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related PSN account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount @@ -922,6 +952,11 @@ declare module PlayFabClientModels { } + type AdActivity = "Opened" + | "Closed" + | "Start" + | "End"; + export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1006,6 +1041,48 @@ declare module PlayFabClientModels { } + export interface AdPlacementDetails { + /** Placement unique ID */ + PlacementId?: string; + /** Placement name */ + PlacementName?: string; + /** If placement has viewing limits indicates how many views are left */ + PlacementViewsRemaining?: number; + /** If placement has viewing limits indicates when they will next reset */ + PlacementViewsResetMinutes?: number; + /** Optional URL to a reward asset */ + RewardAssetUrl?: string; + /** Reward description */ + RewardDescription?: string; + /** Reward unique ID */ + RewardId?: string; + /** Reward name */ + RewardName?: string; + + } + + export interface AdRewardItemGranted { + /** Catalog ID */ + CatalogId?: string; + /** Catalog item display name */ + DisplayName?: string; + /** Inventory instance ID */ + InstanceId?: string; + /** Item ID */ + ItemId?: string; + + } + + export interface AdRewardResults { + /** Array of the items granted to the player */ + GrantedItems?: AdRewardItemGranted[]; + /** Dictionary of virtual currencies that were granted to the player */ + GrantedVirtualCurrencies?: { [key: string]: number }; + /** Dictionary of statistics that were modified for the player */ + IncrementedStatistics?: { [key: string]: number }; + + } + export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -1998,6 +2075,20 @@ declare module PlayFabClientModels { } + export interface GetAdPlacementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The current AppId to use */ + AppId: string; + /** Using the name or unique identifier, filter the result for get a specific placement. */ + Identifier?: NameIdentifier; + + } + + export interface GetAdPlacementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of results */ + AdPlacements?: AdPlacementDetails[]; + + } + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; @@ -3058,6 +3149,19 @@ declare module PlayFabClientModels { } + export interface LinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ + EnvironmentId?: string; + /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by Nintendo after login. Used to validate the request and find the user ID (Nintendo + * Switch subject) to link with. + */ + IdentityToken: string; + + } + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3438,6 +3542,27 @@ declare module PlayFabClientModels { } + export interface LoginWithNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ + EnvironmentId?: string; + /** The JSON Web token (JWT) returned by Nintendo after login. */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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 LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3683,6 +3808,14 @@ declare module PlayFabClientModels { } + export interface NameIdentifier { + /** Id Identifier, if present */ + Id?: string; + /** Name Identifier, if present */ + Name?: string; + + } + export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -4098,6 +4231,20 @@ declare module PlayFabClientModels { } + export interface ReportAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Type of activity, may be Opened, Closed, Start or End */ + Activity: string; + /** Unique ID of the placement to report for */ + PlacementId: string; + /** Unique ID of the reward the player was offered */ + RewardId: string; + + } + + export interface ReportAdActivityResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -4126,6 +4273,32 @@ declare module PlayFabClientModels { } + export interface RewardAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Placement unique ID */ + PlacementId: string; + /** Reward unique ID */ + RewardId: string; + + } + + export interface RewardAdActivityResult extends PlayFabModule.IPlayFabResultCommon { + /** PlayStream Event ID that was generated by this reward (all subsequent events are associated with this event identifier) */ + AdActivityEventId?: string; + /** Debug results from the grants */ + DebugResults?: string[]; + /** Id of the placement the reward was for */ + PlacementId?: string; + /** Name of the placement the reward was for */ + PlacementName?: string; + /** If placement has viewing limits indicates how many views are left */ + PlacementViewsRemaining?: number; + /** If placement has viewing limits indicates when they will next reset */ + PlacementViewsResetMinutes?: number; + /** Reward results */ + RewardResults?: AdRewardResults; + + } + export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -4468,12 +4641,6 @@ declare module PlayFabClientModels { } - export interface UninkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { - /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ - ConnectionId: string; - - } - export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4559,6 +4726,10 @@ declare module PlayFabClientModels { } + export interface UnlinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ NintendoSwitchDeviceId?: string; @@ -4569,6 +4740,12 @@ declare module PlayFabClientModels { } + export interface UnlinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + + } + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4a5877e6..32c3d061 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -87,6 +87,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate */ DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a container image repository. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecontainerimagerepository + */ + DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser @@ -795,6 +800,12 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The container image repository we want to delete. */ + ImageName?: string; + + } + export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 4e689064..5c3a7fe9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2226,6 +2226,7 @@ declare module PlayFabServerModels { | "PartyRequestsThrottledFromRateLimiter" | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" + | "RequestMultiplayerServersThrottledFromRateLimiter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ab59fe6b..af2f1b3b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 931396c9..31d91a77 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 11e8f845..ca0e7c36 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -328,6 +328,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAccountInfo", request, "X-Authorization", callback, customData, extraHeaders); }, + GetAdPlacements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAdPlacements", request, "X-Authorization", callback, customData, extraHeaders); + }, + GetAllUsersCharacters: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetAllUsersCharacters", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -576,6 +580,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -854,6 +862,31 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithNintendoSwitchAccount: 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); + PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); + } + if (callback != null && typeof (callback) === "function") + callback(result, error); + }; + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchAccount", 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);}); + }, + LoginWithNintendoSwitchDeviceId: 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 @@ -1139,6 +1172,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveSharedGroupMembers", request, "X-Authorization", callback, customData, extraHeaders); }, + ReportAdActivity: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportAdActivity", request, "X-Authorization", callback, customData, extraHeaders); + }, + ReportDeviceInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ReportDeviceInfo", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1151,6 +1188,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RestoreIOSPurchases", request, "X-Authorization", callback, customData, extraHeaders); }, + RewardAdActivity: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RewardAdActivity", request, "X-Authorization", callback, customData, extraHeaders); + }, + SendAccountRecoveryEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SendAccountRecoveryEmail", request, null, callback, customData, extraHeaders); }, @@ -1211,6 +1252,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchDeviceId", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index a9626fed..ab627515 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index a9ca65c3..22e9712c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 01bf8dba..cd6d04ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 847c349f..cb1b64fe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index cc4d8c50..da0b71fd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index a9f6b26f..49fc3b71 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0ab6d811..10b0d942 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ae5443e4..6bc2c92a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7f18d070..546affe9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -313,6 +313,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteContainerImageRepository: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteContainerImageRepository", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteRemoteUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -421,6 +425,9 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, "X-EntityToken", callback, customData, extraHeaders); }, + /** + * @deprecated Please use ListQosServersForTitle instead. + */ ListQosServers: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 503f912d..d12fee16 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ac9c3027..e523d0e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.63.200402", + sdkVersion: "1.64.200421", requestGetParams: { - sdk: "JavaScriptSDK-1.63.200402" + sdk: "JavaScriptSDK-1.64.200421" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.63.200402"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.64.200421"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f83f5a8e..3d45e4de 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2207,6 +2207,7 @@ declare module PlayFabAdminModels { | "PartyRequestsThrottledFromRateLimiter" | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" + | "RequestMultiplayerServersThrottledFromRateLimiter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index f7551ce1..a6a32c65 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -106,6 +106,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/getaccountinfo */ GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Returns a list of ad placements and a reward for each + * https://docs.microsoft.com/rest/api/playfab/client/advertising/getadplacements + */ + GetAdPlacements(request: PlayFabClientModels.GetAdPlacementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. @@ -444,6 +449,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkkongregate */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Nintendo Switch account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchaccount + */ + LinkNintendoSwitchAccount(request: PlayFabClientModels.LinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid @@ -539,6 +549,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithkongregate */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs in the user with a Nintendo Switch Account identity token. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchaccount + */ + LoginWithNintendoSwitchAccount(request: PlayFabClientModels.LoginWithNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -667,6 +682,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/removesharedgroupmembers */ RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Report player's ad activity + * https://docs.microsoft.com/rest/api/playfab/client/advertising/reportadactivity + */ + ReportAdActivity(request: PlayFabClientModels.ReportAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Write a PlayStream event to describe the provided player device information. This API method is not designed to be * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. @@ -684,6 +704,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Reward player's ad activity + * https://docs.microsoft.com/rest/api/playfab/client/advertising/rewardadactivity + */ + RewardAdActivity(request: PlayFabClientModels.RewardAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will @@ -764,6 +789,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkkongregate */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Nintendo Switch account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchaccount + */ + UnlinkNintendoSwitchAccount(request: PlayFabClientModels.UnlinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid @@ -774,7 +804,7 @@ declare module PlayFabClientModule { * between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkopenidconnect */ - UnlinkOpenIdConnect(request: PlayFabClientModels.UninkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related PSN account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount @@ -922,6 +952,11 @@ declare module PlayFabClientModels { } + type AdActivity = "Opened" + | "Closed" + | "Start" + | "End"; + export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1006,6 +1041,48 @@ declare module PlayFabClientModels { } + export interface AdPlacementDetails { + /** Placement unique ID */ + PlacementId?: string; + /** Placement name */ + PlacementName?: string; + /** If placement has viewing limits indicates how many views are left */ + PlacementViewsRemaining?: number; + /** If placement has viewing limits indicates when they will next reset */ + PlacementViewsResetMinutes?: number; + /** Optional URL to a reward asset */ + RewardAssetUrl?: string; + /** Reward description */ + RewardDescription?: string; + /** Reward unique ID */ + RewardId?: string; + /** Reward name */ + RewardName?: string; + + } + + export interface AdRewardItemGranted { + /** Catalog ID */ + CatalogId?: string; + /** Catalog item display name */ + DisplayName?: string; + /** Inventory instance ID */ + InstanceId?: string; + /** Item ID */ + ItemId?: string; + + } + + export interface AdRewardResults { + /** Array of the items granted to the player */ + GrantedItems?: AdRewardItemGranted[]; + /** Dictionary of virtual currencies that were granted to the player */ + GrantedVirtualCurrencies?: { [key: string]: number }; + /** Dictionary of statistics that were modified for the player */ + IncrementedStatistics?: { [key: string]: number }; + + } + export interface AndroidDevicePushNotificationRegistrationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; @@ -1998,6 +2075,20 @@ declare module PlayFabClientModels { } + export interface GetAdPlacementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The current AppId to use */ + AppId: string; + /** Using the name or unique identifier, filter the result for get a specific placement. */ + Identifier?: NameIdentifier; + + } + + export interface GetAdPlacementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of results */ + AdPlacements?: AdPlacementDetails[]; + + } + export interface GetCatalogItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog is being requested. If null, uses the default catalog. */ CatalogVersion?: string; @@ -3058,6 +3149,19 @@ declare module PlayFabClientModels { } + export interface LinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ + EnvironmentId?: string; + /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by Nintendo after login. Used to validate the request and find the user ID (Nintendo + * Switch subject) to link with. + */ + IdentityToken: string; + + } + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3438,6 +3542,27 @@ declare module PlayFabClientModels { } + export interface LoginWithNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ + EnvironmentId?: string; + /** The JSON Web token (JWT) returned by Nintendo after login. */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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 LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3683,6 +3808,14 @@ declare module PlayFabClientModels { } + export interface NameIdentifier { + /** Id Identifier, if present */ + Id?: string; + /** Name Identifier, if present */ + Name?: string; + + } + export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -4098,6 +4231,20 @@ declare module PlayFabClientModels { } + export interface ReportAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Type of activity, may be Opened, Closed, Start or End */ + Activity: string; + /** Unique ID of the placement to report for */ + PlacementId: string; + /** Unique ID of the reward the player was offered */ + RewardId: string; + + } + + export interface ReportAdActivityResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; @@ -4126,6 +4273,32 @@ declare module PlayFabClientModels { } + export interface RewardAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Placement unique ID */ + PlacementId: string; + /** Reward unique ID */ + RewardId: string; + + } + + export interface RewardAdActivityResult extends PlayFabModule.IPlayFabResultCommon { + /** PlayStream Event ID that was generated by this reward (all subsequent events are associated with this event identifier) */ + AdActivityEventId?: string; + /** Debug results from the grants */ + DebugResults?: string[]; + /** Id of the placement the reward was for */ + PlacementId?: string; + /** Name of the placement the reward was for */ + PlacementName?: string; + /** If placement has viewing limits indicates how many views are left */ + PlacementViewsRemaining?: number; + /** If placement has viewing limits indicates when they will next reset */ + PlacementViewsResetMinutes?: number; + /** Reward results */ + RewardResults?: AdRewardResults; + + } + export interface ScriptExecutionError { /** * Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, @@ -4468,12 +4641,6 @@ declare module PlayFabClientModels { } - export interface UninkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { - /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ - ConnectionId: string; - - } - export interface UnlinkAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Android device identifier for the user's device. If not specified, the most recently signed in Android Device ID will be @@ -4559,6 +4726,10 @@ declare module PlayFabClientModels { } + export interface UnlinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ NintendoSwitchDeviceId?: string; @@ -4569,6 +4740,12 @@ declare module PlayFabClientModels { } + export interface UnlinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ + ConnectionId: string; + + } + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 4a5877e6..32c3d061 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -87,6 +87,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate */ DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a container image repository. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecontainerimagerepository + */ + DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser @@ -795,6 +800,12 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The container image repository we want to delete. */ + ImageName?: string; + + } + export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 4e689064..5c3a7fe9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2226,6 +2226,7 @@ declare module PlayFabServerModels { | "PartyRequestsThrottledFromRateLimiter" | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" + | "RequestMultiplayerServersThrottledFromRateLimiter" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 23df17822c527939b2a0545439e2e4c19d60ca7d Mon Sep 17 00:00:00 2001 From: pgilmorepg Date: Tue, 12 May 2020 16:04:49 -0700 Subject: [PATCH 103/253] Add requiresoptionalvaluesupport APIs to this repo --- genConfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/genConfig.json b/genConfig.json index 50a25fe7..ece638b4 100644 --- a/genConfig.json +++ b/genConfig.json @@ -1,5 +1,6 @@ { "default": { + "buildFlags": "requiresoptionalvaluesupport", "templateFolder": "javascript", "versionKey": "javascript" } From 33bccd7b1db63689f1ce140e96396f21ba8b7868 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 18 May 2020 21:25:59 +0000 Subject: [PATCH 104/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200518 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 24 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 25 +- .../PlayFab/PlayFabExperimentationApi.d.ts | 2 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 479 +++++++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 21 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 24 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 25 +- .../PlayFab/PlayFabExperimentationApi.d.ts | 2 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 479 +++++++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 21 +- 39 files changed, 1153 insertions(+), 177 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c687868d..046175d2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.64.200421", + "version": "1.65.200518", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index af2f1b3b..cf9e4a78 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 31d91a77..7724d78c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ca0e7c36..0d7ba542 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ab627515..07dd485f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 22e9712c..5d4e4434 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index cd6d04ad..efae9e81 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index cb1b64fe..d3b2277a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index da0b71fd..b695cddf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 49fc3b71..dcb3b812 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 10b0d942..0e45a412 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 6bc2c92a..0507ec19 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 546affe9..64b81cd2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -345,6 +345,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -413,6 +417,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingQueues", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -444,6 +452,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, + RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -452,6 +464,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, + SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index d12fee16..14d102d1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index e523d0e8..049d85b5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3d45e4de..56d9703b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2208,6 +2208,8 @@ declare module PlayFabAdminModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" + | "TitleDataInstanceNotFound" + | "DuplicateTitleDataOverrideInstanceName" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2288,6 +2290,7 @@ declare module PlayFabAdminModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; @@ -2499,7 +2502,7 @@ declare module PlayFabAdminModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; } @@ -4247,9 +4250,9 @@ declare module PlayFabAdminModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ - NintendoSwitchAccountInfo?: number; + NintendoSwitchAccountInfo?: UserNintendoSwitchAccountIdInfo; /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ - NintendoSwitchDeviceIdInfo?: number; + NintendoSwitchDeviceIdInfo?: UserNintendoSwitchDeviceIdInfo; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index a6a32c65..800307ba 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2212,7 +2212,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Statistic used to rank players for this leaderboard. */ StatisticName: string; /** The version of the leaderboard to get. */ @@ -2244,7 +2244,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** Statistic used to rank friends for this leaderboard. */ @@ -2266,7 +2266,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ XboxToken?: string; @@ -2306,7 +2306,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Statistic used to rank players for this leaderboard. */ StatisticName: string; /** The version of the leaderboard to get. */ @@ -2346,7 +2346,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** Statistic used to rank players for this leaderboard. */ @@ -2424,7 +2424,7 @@ declare module PlayFabClientModels { /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ @@ -2486,7 +2486,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; } @@ -2651,7 +2651,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ - Data?: number[]; + Data?: NintendoSwitchPlayFabIdPair[]; } @@ -4763,6 +4763,11 @@ declare module PlayFabClientModels { } export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Valid token issued by Twitch. Used to specify which twitch account to unlink from the profile. By default it uses the + * one that is present on the profile. + */ + AccessToken?: string; } @@ -4972,9 +4977,9 @@ declare module PlayFabClientModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ - NintendoSwitchAccountInfo?: number; + NintendoSwitchAccountInfo?: UserNintendoSwitchAccountIdInfo; /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ - NintendoSwitchDeviceIdInfo?: number; + NintendoSwitchDeviceIdInfo?: UserNintendoSwitchDeviceIdInfo; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts index c0a6cb92..e2df1bee 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -297,6 +297,8 @@ declare module PlayFabExperimentationModels { IsControl: boolean; /** Name of the variant. */ Name: string; + /** Id of the TitleDataOverrideGroup to use with this variant. */ + TitleDataOverrideId?: string; /** Percentage of target audience traffic that will see this variant. */ TrafficPercentage: number; /** Variables returned by this variant. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 32c3d061..8017a84e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -127,6 +127,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch */ GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. Get a matchmaking queue configuration. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/getmatchmakingqueue + */ + GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a matchmaking ticket by ticket Id. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket @@ -214,6 +219,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimagetags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. List all matchmaking queue configs. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/listmatchmakingqueues + */ + ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all matchmaking ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listmatchmakingticketsforplayer @@ -249,6 +259,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. Remove a matchmaking queue config. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/removematchmakingqueue + */ + RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. @@ -260,6 +275,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. Create or update a matchmaking queue configuration. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/setmatchmakingqueue + */ + SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver @@ -319,6 +339,16 @@ declare module PlayFabMultiplayerModels { } + type AttributeMergeFunction = "Min" + | "Max" + | "Average"; + + type AttributeNotSpecifiedBehavior = "UseDefault" + | "MatchAny"; + + type AttributeSource = "User" + | "PlayerEntity"; + type AzureRegion = "AustraliaEast" | "AustraliaSoutheast" | "BrazilSouth" @@ -344,15 +374,23 @@ declare module PlayFabMultiplayerModels { | "F" | "Fsv2"; - type AzureVmSize = "Standard_D1_v2" - | "Standard_D2_v2" - | "Standard_D3_v2" - | "Standard_D4_v2" - | "Standard_D5_v2" + type AzureVmSize = "Standard_A1" + | "Standard_A2" + | "Standard_A3" + | "Standard_A4" | "Standard_A1_v2" | "Standard_A2_v2" | "Standard_A4_v2" | "Standard_A8_v2" + | "Standard_D1_v2" + | "Standard_D2_v2" + | "Standard_D3_v2" + | "Standard_D4_v2" + | "Standard_D5_v2" + | "Standard_D2_v3" + | "Standard_D4_v3" + | "Standard_D8_v3" + | "Standard_D16_v3" | "Standard_F1" | "Standard_F2" | "Standard_F4" @@ -361,11 +399,7 @@ declare module PlayFabMultiplayerModels { | "Standard_F2s_v2" | "Standard_F4s_v2" | "Standard_F8s_v2" - | "Standard_F16s_v2" - | "Standard_A1" - | "Standard_A2" - | "Standard_A3" - | "Standard_A4"; + | "Standard_F16s_v2"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -768,6 +802,46 @@ declare module PlayFabMultiplayerModels { } + export interface CustomDifferenceRuleExpansion { + /** Manually specify the values to use for each expansion interval (this overrides Difference, Delta, and MaxDifference). */ + DifferenceOverrides: OverrideDouble[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomRegionSelectionRuleExpansion { + /** Manually specify the maximum latency to use for each expansion interval. */ + MaxLatencyOverrides: OverrideUnsignedInt[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomSetIntersectionRuleExpansion { + /** Manually specify the values to use for each expansion interval. */ + MinIntersectionSizeOverrides: OverrideUnsignedInt[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomTeamDifferenceRuleExpansion { + /** Manually specify the team difference value to use for each expansion interval. */ + DifferenceOverrides: OverrideDouble[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomTeamSizeBalanceRuleExpansion { + /** Manually specify the team size difference to use for each expansion interval. */ + DifferenceOverrides: OverrideUnsignedInt[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { /** The filename of the asset to delete. */ FileName: string; @@ -818,6 +892,42 @@ declare module PlayFabMultiplayerModels { } + export interface DifferenceRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior: string; + /** + * Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. When this + * is set, Difference is ignored. + */ + CustomExpansion?: CustomDifferenceRuleExpansion; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is false). Optional. + */ + DefaultAttributeValue?: number; + /** The allowed difference between any two tickets at the start of matchmaking. */ + Difference: number; + /** Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. */ + LinearExpansion?: LinearDifferenceRuleExpansion; + /** How values are treated when there are multiple players in a single ticket. */ + MergeFunction: string; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + export interface DynamicStandbySettings { /** * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, @@ -980,6 +1090,18 @@ declare module PlayFabMultiplayerModels { } + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to retrieve. */ + QueueName?: string; + + } + + export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON @@ -1216,6 +1338,54 @@ declare module PlayFabMultiplayerModels { } + export interface LinearDifferenceRuleExpansion { + /** This value gets added to Difference at every expansion interval. */ + Delta: number; + /** Once the total difference reaches this value, expansion stops. Optional. */ + Limit?: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearRegionSelectionRuleExpansion { + /** This value gets added to MaxLatency at every expansion interval. */ + Delta: number; + /** Once the max Latency reaches this value, expansion stops. */ + Limit: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearSetIntersectionRuleExpansion { + /** This value gets added to MinIntersectionSize at every expansion interval. */ + Delta: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearTeamDifferenceRuleExpansion { + /** This value gets added to Difference at every expansion interval. */ + Delta: number; + /** Once the total difference reaches this value, expansion stops. Optional. */ + Limit?: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearTeamSizeBalanceRuleExpansion { + /** This value gets added to Difference at every expansion interval. */ + Delta: number; + /** Once the total difference reaches this value, expansion stops. Optional. */ + Limit?: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1306,6 +1476,16 @@ declare module PlayFabMultiplayerModels { } + export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of matchmaking queue configs for this title. */ + MatchMakingQueues?: MatchmakingQueueConfig[]; + + } + export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; @@ -1451,6 +1631,83 @@ declare module PlayFabMultiplayerModels { } + export interface MatchmakingQueueConfig { + /** This is the buildId that will be used to allocate the multiplayer server for the match. */ + BuildId?: string; + /** List of difference rules used to find an optimal match. */ + DifferenceRules?: DifferenceRule[]; + /** List of match total rules used to find an optimal match. */ + MatchTotalRules?: MatchTotalRule[]; + /** Maximum number of players in a match. */ + MaxMatchSize: number; + /** Maximum number of players in a ticket. Optional. */ + MaxTicketSize?: number; + /** Minimum number of players in a match. */ + MinMatchSize: number; + /** Unique identifier for a Queue. Chosen by the developer. */ + Name: string; + /** Region selection rule used to find an optimal match. */ + RegionSelectionRule?: RegionSelectionRule; + /** Boolean flag to enable server allocation for the queue. */ + ServerAllocationEnabled: boolean; + /** List of set intersection rules used to find an optimal match. */ + SetIntersectionRules?: SetIntersectionRule[]; + /** Controls which statistics are visible to players. */ + StatisticsVisibilityToPlayers?: StatisticsVisibilityToPlayers; + /** List of string equality rules used to find an optimal match. */ + StringEqualityRules?: StringEqualityRule[]; + /** List of team difference rules used to find an optimal match. */ + TeamDifferenceRules?: TeamDifferenceRule[]; + /** The team configuration for a match. This may be null if there are no teams. */ + Teams?: MatchmakingQueueTeam[]; + /** Team size balance rule used to find an optimal match. */ + TeamSizeBalanceRule?: TeamSizeBalanceRule; + /** Team ticket size similarity rule used to find an optimal match. */ + TeamTicketSizeSimilarityRule?: TeamTicketSizeSimilarityRule; + + } + + export interface MatchmakingQueueTeam { + /** The maximum number of players required for the team. */ + MaxTeamSize: number; + /** The minimum number of players required for the team. */ + MinTeamSize: number; + /** A name to identify the team. This is case insensitive. */ + Name: string; + + } + + export interface MatchTotalRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** Collection of fields relating to expanding this rule at set intervals. */ + Expansion?: MatchTotalRuleExpansion; + /** The maximum total value for a group. Must be >= Min. */ + Max: number; + /** The minimum total value for a group. Must be >=2. */ + Min: number; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface MatchTotalRuleExpansion { + /** Manually specify the values to use for each expansion interval. When this is set, Max is ignored. */ + MaxOverrides?: OverrideDouble[]; + /** Manually specify the values to use for each expansion interval. When this is set, Min is ignored. */ + MinOverrides?: OverrideDouble[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -1476,6 +1733,18 @@ declare module PlayFabMultiplayerModels { type OsPlatform = "Windows" | "Linux"; + export interface OverrideDouble { + /** The custom expansion value. */ + Value: number; + + } + + export interface OverrideUnsignedInt { + /** The custom expansion value. */ + Value: number; + + } + export interface Port { /** The name for the port. */ Name: string; @@ -1497,6 +1766,48 @@ declare module PlayFabMultiplayerModels { } + export interface QueueRuleAttribute { + /** Specifies which attribute in a ticket to use. */ + Path: string; + /** Specifies which source the attribute comes from. */ + Source: string; + + } + + export interface RegionSelectionRule { + /** + * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, + * MaxLatency is ignored. + */ + CustomExpansion?: CustomRegionSelectionRuleExpansion; + /** Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. */ + LinearExpansion?: LinearRegionSelectionRuleExpansion; + /** Specifies the maximum latency that is allowed between the client and the selected server. The value is in milliseconds. */ + MaxLatency: number; + /** Friendly name chosen by developer. */ + Name: string; + /** Specifies which attribute in a ticket to use. */ + Path: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to remove. */ + QueueName?: string; + + } + + export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifiers of the build alias to use for the request. */ BuildAliasParams?: BuildAliasParams; @@ -1573,6 +1884,50 @@ declare module PlayFabMultiplayerModels { type ServerType = "Container" | "Process"; + export interface SetIntersectionRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior: string; + /** + * Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. When this + * is set, MinIntersectionSize is ignored. + */ + CustomExpansion?: CustomSetIntersectionRuleExpansion; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is UseDefault). Values must be unique. + */ + DefaultAttributeValue?: string[]; + /** Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. */ + LinearExpansion?: LinearSetIntersectionRuleExpansion; + /** The minimum number of values that must match between sets. */ + MinIntersectionSize: number; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; @@ -1595,6 +1950,110 @@ declare module PlayFabMultiplayerModels { } + export interface StatisticsVisibilityToPlayers { + /** Whether to allow players to view the current number of players in the matchmaking queue. */ + ShowNumberOfPlayersMatching: boolean; + /** Whether to allow players to view statistics representing the time it takes for tickets to find a match. */ + ShowTimeToMatch: boolean; + + } + + export interface StringEqualityRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior: string; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is false). + */ + DefaultAttributeValue?: string; + /** + * Collection of fields relating to expanding this rule at set intervals. For StringEqualityRules, this is limited to + * turning the rule off or on during different intervals. + */ + Expansion?: StringEqualityRuleExpansion; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface StringEqualityRuleExpansion { + /** List of bools specifying whether the rule is applied during this expansion. */ + EnabledOverrides: boolean[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface TeamDifferenceRule { + /** Description of the attribute used by this rule to match teams. */ + Attribute: QueueRuleAttribute; + /** + * Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. When this + * is set, Difference is ignored. + */ + CustomExpansion?: CustomTeamDifferenceRuleExpansion; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is false). + */ + DefaultAttributeValue: number; + /** The allowed difference between any two teams at the start of matchmaking. */ + Difference: number; + /** Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. */ + LinearExpansion?: LinearTeamDifferenceRuleExpansion; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + + } + + export interface TeamSizeBalanceRule { + /** + * Controls how the Difference parameter expands over time. Only one expansion can be set per rule. When this is set, + * Difference is ignored. + */ + CustomExpansion?: CustomTeamSizeBalanceRuleExpansion; + /** The allowed difference in team size between any two teams. */ + Difference: number; + /** Controls how the Difference parameter expands over time. Only one expansion can be set per rule. */ + LinearExpansion?: LinearTeamSizeBalanceRuleExpansion; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + + } + + export interface TeamTicketSizeSimilarityRule { + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + + } + type TitleMultiplayerServerEnabledStatus = "Initializing" | "Enabled" | "Disabled"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 5c3a7fe9..946d482b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2227,6 +2227,8 @@ declare module PlayFabServerModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" + | "TitleDataInstanceNotFound" + | "DuplicateTitleDataOverrideInstanceName" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2307,6 +2309,7 @@ declare module PlayFabServerModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; @@ -2472,7 +2475,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** Statistic used to rank friends for this leaderboard. */ @@ -2496,7 +2499,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ XboxToken?: string; @@ -2538,7 +2541,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; /** The version of the leaderboard to get. */ @@ -2580,7 +2583,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** First entry in the leaderboard to be retrieved. */ StartPosition: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2632,7 +2635,7 @@ declare module PlayFabServerModels { /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ @@ -2694,7 +2697,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; } @@ -2840,7 +2843,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ - Data?: number[]; + Data?: NintendoSwitchPlayFabIdPair[]; } @@ -4708,9 +4711,9 @@ declare module PlayFabServerModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ - NintendoSwitchAccountInfo?: number; + NintendoSwitchAccountInfo?: UserNintendoSwitchAccountIdInfo; /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ - NintendoSwitchDeviceIdInfo?: number; + NintendoSwitchDeviceIdInfo?: UserNintendoSwitchDeviceIdInfo; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index af2f1b3b..cf9e4a78 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 31d91a77..7724d78c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ca0e7c36..0d7ba542 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ab627515..07dd485f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 22e9712c..5d4e4434 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index cd6d04ad..efae9e81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index cb1b64fe..d3b2277a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index da0b71fd..b695cddf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 49fc3b71..dcb3b812 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 10b0d942..0e45a412 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 6bc2c92a..0507ec19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 546affe9..64b81cd2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -345,6 +345,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -413,6 +417,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListContainerImageTags", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListMatchmakingQueues: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingQueues", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListMatchmakingTicketsForPlayer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListMatchmakingTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -444,6 +452,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, + RemoveMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -452,6 +464,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, + SetMatchmakingQueue: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SetMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ShutdownMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index d12fee16..14d102d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index e523d0e8..049d85b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.64.200421", + sdkVersion: "1.65.200518", requestGetParams: { - sdk: "JavaScriptSDK-1.64.200421" + sdk: "JavaScriptSDK-1.65.200518" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.64.200421"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.65.200518"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3d45e4de..56d9703b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2208,6 +2208,8 @@ declare module PlayFabAdminModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" + | "TitleDataInstanceNotFound" + | "DuplicateTitleDataOverrideInstanceName" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2288,6 +2290,7 @@ declare module PlayFabAdminModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; @@ -2499,7 +2502,7 @@ declare module PlayFabAdminModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; } @@ -4247,9 +4250,9 @@ declare module PlayFabAdminModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ - NintendoSwitchAccountInfo?: number; + NintendoSwitchAccountInfo?: UserNintendoSwitchAccountIdInfo; /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ - NintendoSwitchDeviceIdInfo?: number; + NintendoSwitchDeviceIdInfo?: UserNintendoSwitchDeviceIdInfo; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index a6a32c65..800307ba 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2212,7 +2212,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Statistic used to rank players for this leaderboard. */ StatisticName: string; /** The version of the leaderboard to get. */ @@ -2244,7 +2244,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** Statistic used to rank friends for this leaderboard. */ @@ -2266,7 +2266,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ XboxToken?: string; @@ -2306,7 +2306,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Statistic used to rank players for this leaderboard. */ StatisticName: string; /** The version of the leaderboard to get. */ @@ -2346,7 +2346,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** Statistic used to rank players for this leaderboard. */ @@ -2424,7 +2424,7 @@ declare module PlayFabClientModels { /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ @@ -2486,7 +2486,7 @@ declare module PlayFabClientModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; } @@ -2651,7 +2651,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ - Data?: number[]; + Data?: NintendoSwitchPlayFabIdPair[]; } @@ -4763,6 +4763,11 @@ declare module PlayFabClientModels { } export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Valid token issued by Twitch. Used to specify which twitch account to unlink from the profile. By default it uses the + * one that is present on the profile. + */ + AccessToken?: string; } @@ -4972,9 +4977,9 @@ declare module PlayFabClientModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ - NintendoSwitchAccountInfo?: number; + NintendoSwitchAccountInfo?: UserNintendoSwitchAccountIdInfo; /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ - NintendoSwitchDeviceIdInfo?: number; + NintendoSwitchDeviceIdInfo?: UserNintendoSwitchDeviceIdInfo; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts index c0a6cb92..e2df1bee 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -297,6 +297,8 @@ declare module PlayFabExperimentationModels { IsControl: boolean; /** Name of the variant. */ Name: string; + /** Id of the TitleDataOverrideGroup to use with this variant. */ + TitleDataOverrideId?: string; /** Percentage of target audience traffic that will see this variant. */ TrafficPercentage: number; /** Variables returned by this variant. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 32c3d061..8017a84e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -127,6 +127,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch */ GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. Get a matchmaking queue configuration. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/getmatchmakingqueue + */ + GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a matchmaking ticket by ticket Id. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket @@ -214,6 +219,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimagetags */ ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. List all matchmaking queue configs. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/listmatchmakingqueues + */ + ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * List all matchmaking ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listmatchmakingticketsforplayer @@ -249,6 +259,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries */ ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. Remove a matchmaking queue config. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/removematchmakingqueue + */ + RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. @@ -260,6 +275,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials */ RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * SDK support is limited to C# and Java for this API. Create or update a matchmaking queue configuration. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/setmatchmakingqueue + */ + SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Shuts down a multiplayer server session. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver @@ -319,6 +339,16 @@ declare module PlayFabMultiplayerModels { } + type AttributeMergeFunction = "Min" + | "Max" + | "Average"; + + type AttributeNotSpecifiedBehavior = "UseDefault" + | "MatchAny"; + + type AttributeSource = "User" + | "PlayerEntity"; + type AzureRegion = "AustraliaEast" | "AustraliaSoutheast" | "BrazilSouth" @@ -344,15 +374,23 @@ declare module PlayFabMultiplayerModels { | "F" | "Fsv2"; - type AzureVmSize = "Standard_D1_v2" - | "Standard_D2_v2" - | "Standard_D3_v2" - | "Standard_D4_v2" - | "Standard_D5_v2" + type AzureVmSize = "Standard_A1" + | "Standard_A2" + | "Standard_A3" + | "Standard_A4" | "Standard_A1_v2" | "Standard_A2_v2" | "Standard_A4_v2" | "Standard_A8_v2" + | "Standard_D1_v2" + | "Standard_D2_v2" + | "Standard_D3_v2" + | "Standard_D4_v2" + | "Standard_D5_v2" + | "Standard_D2_v3" + | "Standard_D4_v3" + | "Standard_D8_v3" + | "Standard_D16_v3" | "Standard_F1" | "Standard_F2" | "Standard_F4" @@ -361,11 +399,7 @@ declare module PlayFabMultiplayerModels { | "Standard_F2s_v2" | "Standard_F4s_v2" | "Standard_F8s_v2" - | "Standard_F16s_v2" - | "Standard_A1" - | "Standard_A2" - | "Standard_A3" - | "Standard_A4"; + | "Standard_F16s_v2"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -768,6 +802,46 @@ declare module PlayFabMultiplayerModels { } + export interface CustomDifferenceRuleExpansion { + /** Manually specify the values to use for each expansion interval (this overrides Difference, Delta, and MaxDifference). */ + DifferenceOverrides: OverrideDouble[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomRegionSelectionRuleExpansion { + /** Manually specify the maximum latency to use for each expansion interval. */ + MaxLatencyOverrides: OverrideUnsignedInt[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomSetIntersectionRuleExpansion { + /** Manually specify the values to use for each expansion interval. */ + MinIntersectionSizeOverrides: OverrideUnsignedInt[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomTeamDifferenceRuleExpansion { + /** Manually specify the team difference value to use for each expansion interval. */ + DifferenceOverrides: OverrideDouble[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface CustomTeamSizeBalanceRuleExpansion { + /** Manually specify the team size difference to use for each expansion interval. */ + DifferenceOverrides: OverrideUnsignedInt[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + export interface DeleteAssetRequest extends PlayFabModule.IPlayFabRequestCommon { /** The filename of the asset to delete. */ FileName: string; @@ -818,6 +892,42 @@ declare module PlayFabMultiplayerModels { } + export interface DifferenceRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior: string; + /** + * Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. When this + * is set, Difference is ignored. + */ + CustomExpansion?: CustomDifferenceRuleExpansion; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is false). Optional. + */ + DefaultAttributeValue?: number; + /** The allowed difference between any two tickets at the start of matchmaking. */ + Difference: number; + /** Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. */ + LinearExpansion?: LinearDifferenceRuleExpansion; + /** How values are treated when there are multiple players in a single ticket. */ + MergeFunction: string; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + export interface DynamicStandbySettings { /** * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, @@ -980,6 +1090,18 @@ declare module PlayFabMultiplayerModels { } + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to retrieve. */ + QueueName?: string; + + } + + export interface GetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON @@ -1216,6 +1338,54 @@ declare module PlayFabMultiplayerModels { } + export interface LinearDifferenceRuleExpansion { + /** This value gets added to Difference at every expansion interval. */ + Delta: number; + /** Once the total difference reaches this value, expansion stops. Optional. */ + Limit?: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearRegionSelectionRuleExpansion { + /** This value gets added to MaxLatency at every expansion interval. */ + Delta: number; + /** Once the max Latency reaches this value, expansion stops. */ + Limit: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearSetIntersectionRuleExpansion { + /** This value gets added to MinIntersectionSize at every expansion interval. */ + Delta: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearTeamDifferenceRuleExpansion { + /** This value gets added to Difference at every expansion interval. */ + Delta: number; + /** Once the total difference reaches this value, expansion stops. Optional. */ + Limit?: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface LinearTeamSizeBalanceRuleExpansion { + /** This value gets added to Difference at every expansion interval. */ + Delta: number; + /** Once the total difference reaches this value, expansion stops. Optional. */ + Limit?: number; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The page size for the request. */ PageSize?: number; @@ -1306,6 +1476,16 @@ declare module PlayFabMultiplayerModels { } + export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface ListMatchmakingQueuesResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of matchmaking queue configs for this title. */ + MatchMakingQueues?: MatchmakingQueueConfig[]; + + } + export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; @@ -1451,6 +1631,83 @@ declare module PlayFabMultiplayerModels { } + export interface MatchmakingQueueConfig { + /** This is the buildId that will be used to allocate the multiplayer server for the match. */ + BuildId?: string; + /** List of difference rules used to find an optimal match. */ + DifferenceRules?: DifferenceRule[]; + /** List of match total rules used to find an optimal match. */ + MatchTotalRules?: MatchTotalRule[]; + /** Maximum number of players in a match. */ + MaxMatchSize: number; + /** Maximum number of players in a ticket. Optional. */ + MaxTicketSize?: number; + /** Minimum number of players in a match. */ + MinMatchSize: number; + /** Unique identifier for a Queue. Chosen by the developer. */ + Name: string; + /** Region selection rule used to find an optimal match. */ + RegionSelectionRule?: RegionSelectionRule; + /** Boolean flag to enable server allocation for the queue. */ + ServerAllocationEnabled: boolean; + /** List of set intersection rules used to find an optimal match. */ + SetIntersectionRules?: SetIntersectionRule[]; + /** Controls which statistics are visible to players. */ + StatisticsVisibilityToPlayers?: StatisticsVisibilityToPlayers; + /** List of string equality rules used to find an optimal match. */ + StringEqualityRules?: StringEqualityRule[]; + /** List of team difference rules used to find an optimal match. */ + TeamDifferenceRules?: TeamDifferenceRule[]; + /** The team configuration for a match. This may be null if there are no teams. */ + Teams?: MatchmakingQueueTeam[]; + /** Team size balance rule used to find an optimal match. */ + TeamSizeBalanceRule?: TeamSizeBalanceRule; + /** Team ticket size similarity rule used to find an optimal match. */ + TeamTicketSizeSimilarityRule?: TeamTicketSizeSimilarityRule; + + } + + export interface MatchmakingQueueTeam { + /** The maximum number of players required for the team. */ + MaxTeamSize: number; + /** The minimum number of players required for the team. */ + MinTeamSize: number; + /** A name to identify the team. This is case insensitive. */ + Name: string; + + } + + export interface MatchTotalRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** Collection of fields relating to expanding this rule at set intervals. */ + Expansion?: MatchTotalRuleExpansion; + /** The maximum total value for a group. Must be >= Min. */ + Max: number; + /** The minimum total value for a group. Must be >=2. */ + Min: number; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface MatchTotalRuleExpansion { + /** Manually specify the values to use for each expansion interval. When this is set, Max is ignored. */ + MaxOverrides?: OverrideDouble[]; + /** Manually specify the values to use for each expansion interval. When this is set, Min is ignored. */ + MinOverrides?: OverrideDouble[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -1476,6 +1733,18 @@ declare module PlayFabMultiplayerModels { type OsPlatform = "Windows" | "Linux"; + export interface OverrideDouble { + /** The custom expansion value. */ + Value: number; + + } + + export interface OverrideUnsignedInt { + /** The custom expansion value. */ + Value: number; + + } + export interface Port { /** The name for the port. */ Name: string; @@ -1497,6 +1766,48 @@ declare module PlayFabMultiplayerModels { } + export interface QueueRuleAttribute { + /** Specifies which attribute in a ticket to use. */ + Path: string; + /** Specifies which source the attribute comes from. */ + Source: string; + + } + + export interface RegionSelectionRule { + /** + * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, + * MaxLatency is ignored. + */ + CustomExpansion?: CustomRegionSelectionRuleExpansion; + /** Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. */ + LinearExpansion?: LinearRegionSelectionRuleExpansion; + /** Specifies the maximum latency that is allowed between the client and the selected server. The value is in milliseconds. */ + MaxLatency: number; + /** Friendly name chosen by developer. */ + Name: string; + /** Specifies which attribute in a ticket to use. */ + Path: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface RemoveMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the matchmaking queue to remove. */ + QueueName?: string; + + } + + export interface RemoveMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifiers of the build alias to use for the request. */ BuildAliasParams?: BuildAliasParams; @@ -1573,6 +1884,50 @@ declare module PlayFabMultiplayerModels { type ServerType = "Container" | "Process"; + export interface SetIntersectionRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior: string; + /** + * Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. When this + * is set, MinIntersectionSize is ignored. + */ + CustomExpansion?: CustomSetIntersectionRuleExpansion; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is UseDefault). Values must be unique. + */ + DefaultAttributeValue?: string[]; + /** Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. */ + LinearExpansion?: LinearSetIntersectionRuleExpansion; + /** The minimum number of values that must match between sets. */ + MinIntersectionSize: number; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface SetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The matchmaking queue config. */ + MatchmakingQueue?: MatchmakingQueueConfig; + + } + + export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; @@ -1595,6 +1950,110 @@ declare module PlayFabMultiplayerModels { } + export interface StatisticsVisibilityToPlayers { + /** Whether to allow players to view the current number of players in the matchmaking queue. */ + ShowNumberOfPlayersMatching: boolean; + /** Whether to allow players to view statistics representing the time it takes for tickets to find a match. */ + ShowTimeToMatch: boolean; + + } + + export interface StringEqualityRule { + /** Description of the attribute used by this rule to match tickets. */ + Attribute: QueueRuleAttribute; + /** + * Describes the behavior when an attribute is not specified in the ticket creation request or in the user's entity + * profile. + */ + AttributeNotSpecifiedBehavior: string; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is false). + */ + DefaultAttributeValue?: string; + /** + * Collection of fields relating to expanding this rule at set intervals. For StringEqualityRules, this is limited to + * turning the rule off or on during different intervals. + */ + Expansion?: StringEqualityRuleExpansion; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + /** The relative weight of this rule compared to others. */ + Weight: number; + + } + + export interface StringEqualityRuleExpansion { + /** List of bools specifying whether the rule is applied during this expansion. */ + EnabledOverrides: boolean[]; + /** How many seconds before this rule is expanded. */ + SecondsBetweenExpansions: number; + + } + + export interface TeamDifferenceRule { + /** Description of the attribute used by this rule to match teams. */ + Attribute: QueueRuleAttribute; + /** + * Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. When this + * is set, Difference is ignored. + */ + CustomExpansion?: CustomTeamDifferenceRuleExpansion; + /** + * The default value assigned to tickets that are missing the attribute specified by AttributePath (assuming that + * AttributeNotSpecifiedBehavior is false). + */ + DefaultAttributeValue: number; + /** The allowed difference between any two teams at the start of matchmaking. */ + Difference: number; + /** Collection of fields relating to expanding this rule at set intervals. Only one expansion can be set per rule. */ + LinearExpansion?: LinearTeamDifferenceRuleExpansion; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + + } + + export interface TeamSizeBalanceRule { + /** + * Controls how the Difference parameter expands over time. Only one expansion can be set per rule. When this is set, + * Difference is ignored. + */ + CustomExpansion?: CustomTeamSizeBalanceRuleExpansion; + /** The allowed difference in team size between any two teams. */ + Difference: number; + /** Controls how the Difference parameter expands over time. Only one expansion can be set per rule. */ + LinearExpansion?: LinearTeamSizeBalanceRuleExpansion; + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + + } + + export interface TeamTicketSizeSimilarityRule { + /** Friendly name chosen by developer. */ + Name: string; + /** + * How many seconds before this rule is no longer enforced (but tickets that comply with this rule will still be + * prioritized over those that don't). Leave blank if this rule is always enforced. + */ + SecondsUntilOptional?: number; + + } + type TitleMultiplayerServerEnabledStatus = "Initializing" | "Enabled" | "Disabled"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 5c3a7fe9..946d482b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2227,6 +2227,8 @@ declare module PlayFabServerModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" + | "TitleDataInstanceNotFound" + | "DuplicateTitleDataOverrideInstanceName" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2307,6 +2309,7 @@ declare module PlayFabServerModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; @@ -2472,7 +2475,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Position in the leaderboard to start this listing (defaults to the first entry). */ StartPosition: number; /** Statistic used to rank friends for this leaderboard. */ @@ -2496,7 +2499,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ XboxToken?: string; @@ -2538,7 +2541,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; /** The version of the leaderboard to get. */ @@ -2580,7 +2583,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** First entry in the leaderboard to be retrieved. */ StartPosition: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2632,7 +2635,7 @@ declare module PlayFabServerModels { /** Specific statistics to retrieve. Leave null to get all keys. Has no effect if GetPlayerStatistics is false */ PlayerStatisticNames?: string[]; /** Specifies the properties to return from the player profile. Defaults to returning the player's display name. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetTitleData is false */ TitleDataKeys?: string[]; /** Specific keys to search for in the custom data. Leave null to get all keys. Has no effect if GetUserData is false */ @@ -2694,7 +2697,7 @@ declare module PlayFabServerModels { * only the allowed client profile properties for the title may be requested. These allowed properties are configured in * the Game Manager "Client Profile Options" tab in the "Settings" section. */ - ProfileConstraints?: number; + ProfileConstraints?: PlayerProfileViewConstraints; } @@ -2840,7 +2843,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsResult extends PlayFabModule.IPlayFabResultCommon { /** Mapping of Nintendo Switch Device identifiers to PlayFab identifiers. */ - Data?: number[]; + Data?: NintendoSwitchPlayFabIdPair[]; } @@ -4708,9 +4711,9 @@ declare module PlayFabServerModels { /** User Kongregate account information, if a Kongregate account has been linked */ KongregateInfo?: UserKongregateInfo; /** Nintendo Switch account information, if a Nintendo Switch account has been linked */ - NintendoSwitchAccountInfo?: number; + NintendoSwitchAccountInfo?: UserNintendoSwitchAccountIdInfo; /** Nintendo Switch device information, if a Nintendo Switch device has been linked */ - NintendoSwitchDeviceIdInfo?: number; + NintendoSwitchDeviceIdInfo?: UserNintendoSwitchDeviceIdInfo; /** OpenID Connect information, if any OpenID Connect accounts have been linked */ OpenIdInfo?: UserOpenIdInfo[]; /** Unique identifier for the user account */ From ec3a48deb73f50a10244001ae4660526d31aa67a Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 2 Jun 2020 19:02:11 +0000 Subject: [PATCH 105/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200602 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 20 ++++++------- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 10 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 28 ++++++++----------- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 +++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- .../src/PlayFab/PlayFabClientApi.js | 20 ++++++------- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- .../src/PlayFab/PlayFabDataApi.js | 8 +++--- .../src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 10 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 28 ++++++++----------- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 +++++-- 35 files changed, 169 insertions(+), 165 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 046175d2..9c8b830b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.65.200518", + "version": "1.66.200602", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index cf9e4a78..f3fde6e4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 7724d78c..2d87014c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 0d7ba542..40d65375 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -580,8 +580,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + LinkNintendoAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { @@ -862,7 +862,7 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - LoginWithNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { + LoginWithNintendoAccount: 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 @@ -882,7 +882,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchAccount", request, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoAccount", 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);}); }, @@ -1252,8 +1252,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + UnlinkNintendoAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 07dd485f..f72e4457 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5d4e4434..469c9e31 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index efae9e81..a8ba7a4c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index d3b2277a..f687a890 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index b695cddf..d3f7034b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index dcb3b812..c4e70c18 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0e45a412..fbefa4fb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 0507ec19..595489a1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 64b81cd2..cfa7bf08 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -430,7 +430,7 @@ PlayFab.MultiplayerApi = { }, ListPartyQosServers: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, null, callback, customData, extraHeaders); }, /** diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 14d102d1..609d48ff 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 049d85b5..9d6f8131 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 800307ba..16eeca67 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -450,10 +450,10 @@ declare module PlayFabClientModule { */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Nintendo Switch account associated with the token to the user's PlayFab account. - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchaccount + * Links the Nintendo account associated with the token to the user's PlayFab account. (Open ID) + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoaccount */ - LinkNintendoSwitchAccount(request: PlayFabClientModels.LinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoAccount(request: PlayFabClientModels.LinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid @@ -550,10 +550,10 @@ declare module PlayFabClientModule { */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Signs in the user with a Nintendo Switch Account identity token. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchaccount + * Signs in the user with a Nintendo account identity token. (Open ID) + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoaccount */ - LoginWithNintendoSwitchAccount(request: PlayFabClientModels.LoginWithNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoAccount(request: PlayFabClientModels.LoginWithNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -790,10 +790,10 @@ declare module PlayFabClientModule { */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related Nintendo Switch account from the user's PlayFab account. - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchaccount + * Unlinks the related Nintendo account from the user's PlayFab account. (Open ID) + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoaccount */ - UnlinkNintendoSwitchAccount(request: PlayFabClientModels.UnlinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoAccount(request: PlayFabClientModels.UnlinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid @@ -3149,9 +3149,7 @@ declare module PlayFabClientModels { } - export interface LinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ - EnvironmentId?: string; + export interface LinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3542,13 +3540,11 @@ declare module PlayFabClientModels { } - export interface LoginWithNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LoginWithNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ - EnvironmentId?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ @@ -4726,7 +4722,7 @@ declare module PlayFabClientModels { } - export interface UnlinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UnlinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index ec02baa7..3ebad116 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabEventsModule { ForgetAllCredentials(): void; /** - * Write batches of entity based events to PlayStream. The namespace of the Event must start with 'com.playfab.events.' + * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8017a84e..2a258cc6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -371,8 +371,10 @@ declare module PlayFabMultiplayerModels { type AzureVmFamily = "A" | "Av2" | "Dv2" + | "Dv3" | "F" - | "Fsv2"; + | "Fsv2" + | "Dasv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -399,7 +401,11 @@ declare module PlayFabMultiplayerModels { | "Standard_F2s_v2" | "Standard_F4s_v2" | "Standard_F8s_v2" - | "Standard_F16s_v2"; + | "Standard_F16s_v2" + | "Standard_D2as_v4" + | "Standard_D4as_v4" + | "Standard_D8as_v4" + | "Standard_D16as_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index cf9e4a78..f3fde6e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 7724d78c..2d87014c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 0d7ba542..40d65375 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -580,8 +580,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + LinkNintendoAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { @@ -862,7 +862,7 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - LoginWithNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { + LoginWithNintendoAccount: 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 @@ -882,7 +882,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoSwitchAccount", request, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoAccount", 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);}); }, @@ -1252,8 +1252,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkNintendoSwitchAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoSwitchAccount", request, "X-Authorization", callback, customData, extraHeaders); + UnlinkNintendoAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 07dd485f..f72e4457 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5d4e4434..469c9e31 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index efae9e81..a8ba7a4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index d3b2277a..f687a890 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index b695cddf..d3f7034b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index dcb3b812..c4e70c18 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0e45a412..fbefa4fb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 0507ec19..595489a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 64b81cd2..cfa7bf08 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -430,7 +430,7 @@ PlayFab.MultiplayerApi = { }, ListPartyQosServers: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, null, callback, customData, extraHeaders); }, /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 14d102d1..609d48ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 049d85b5..9d6f8131 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.65.200518", + sdkVersion: "1.66.200602", requestGetParams: { - sdk: "JavaScriptSDK-1.65.200518" + sdk: "JavaScriptSDK-1.66.200602" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.65.200518"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.66.200602"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 800307ba..16eeca67 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -450,10 +450,10 @@ declare module PlayFabClientModule { */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Nintendo Switch account associated with the token to the user's PlayFab account. - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchaccount + * Links the Nintendo account associated with the token to the user's PlayFab account. (Open ID) + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoaccount */ - LinkNintendoSwitchAccount(request: PlayFabClientModels.LinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoAccount(request: PlayFabClientModels.LinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid @@ -550,10 +550,10 @@ declare module PlayFabClientModule { */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Signs in the user with a Nintendo Switch Account identity token. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchaccount + * Signs in the user with a Nintendo account identity token. (Open ID) + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoaccount */ - LoginWithNintendoSwitchAccount(request: PlayFabClientModels.LoginWithNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoAccount(request: PlayFabClientModels.LoginWithNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -790,10 +790,10 @@ declare module PlayFabClientModule { */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related Nintendo Switch account from the user's PlayFab account. - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchaccount + * Unlinks the related Nintendo account from the user's PlayFab account. (Open ID) + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoaccount */ - UnlinkNintendoSwitchAccount(request: PlayFabClientModels.UnlinkNintendoSwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoAccount(request: PlayFabClientModels.UnlinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid @@ -3149,9 +3149,7 @@ declare module PlayFabClientModels { } - export interface LinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ - EnvironmentId?: string; + export interface LinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3542,13 +3540,11 @@ declare module PlayFabClientModels { } - export interface LoginWithNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LoginWithNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; - /** ID of the Nintendo Switch environment. If null, defaults to the production environment. */ - EnvironmentId?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ @@ -4726,7 +4722,7 @@ declare module PlayFabClientModels { } - export interface UnlinkNintendoSwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UnlinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index ec02baa7..3ebad116 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabEventsModule { ForgetAllCredentials(): void; /** - * Write batches of entity based events to PlayStream. The namespace of the Event must start with 'com.playfab.events.' + * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents */ WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8017a84e..2a258cc6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -371,8 +371,10 @@ declare module PlayFabMultiplayerModels { type AzureVmFamily = "A" | "Av2" | "Dv2" + | "Dv3" | "F" - | "Fsv2"; + | "Fsv2" + | "Dasv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -399,7 +401,11 @@ declare module PlayFabMultiplayerModels { | "Standard_F2s_v2" | "Standard_F4s_v2" | "Standard_F8s_v2" - | "Standard_F16s_v2"; + | "Standard_F16s_v2" + | "Standard_D2as_v4" + | "Standard_D4as_v4" + | "Standard_D8as_v4" + | "Standard_D16as_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ From 385bea1aa8232b17d824615d587ece26a69eaec4 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 15 Jun 2020 18:08:54 +0000 Subject: [PATCH 106/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200615 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 6 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 50 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 ++- .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 6 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 50 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 ++- 37 files changed, 233 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9c8b830b..cf0dcbcb 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.66.200602", + "version": "1.67.200615", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f3fde6e4..89f224ed 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2d87014c..0cc67d8d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 40d65375..58e78c7d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index f72e4457..c6310627 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 469c9e31..0ee98af5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a8ba7a4c..8f7c24b5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f687a890..a62ab60a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d3f7034b..72c8eced 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c4e70c18..f19537fb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index fbefa4fb..b61e0684 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 595489a1..7593fadf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index cfa7bf08..f93fa9e1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 609d48ff..14e5fac7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 9d6f8131..83f5db29 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 56d9703b..a7681fda 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2208,8 +2208,8 @@ declare module PlayFabAdminModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" - | "TitleDataInstanceNotFound" - | "DuplicateTitleDataOverrideInstanceName" + | "TitleDataOverrideNotFound" + | "DuplicateKeys" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2762,6 +2762,8 @@ declare module PlayFabAdminModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; + /** Name of the override. */ + OverrideLabel?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 16eeca67..65a3bbf1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2805,6 +2805,8 @@ declare module PlayFabClientModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; + /** Name of the override. */ + OverrideLabel?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 2a258cc6..49d5604d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -591,6 +591,11 @@ declare module PlayFabMultiplayerModels { } export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The build name. */ BuildName: string; /** The flavor of container to create a build from. */ @@ -614,12 +619,22 @@ declare module PlayFabMultiplayerModels { Ports: Port[]; /** The region configurations for the build. */ RegionConfigurations: BuildRegionParams[]; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; } export interface CreateBuildWithCustomContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The guid string build ID. Must be unique for every build. */ BuildId?: string; /** The build name. */ @@ -648,12 +663,22 @@ declare module PlayFabMultiplayerModels { RegionConfigurations?: BuildRegion[]; /** The type of game server being hosted. */ ServerType?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; } export interface CreateBuildWithManagedContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The build name. */ BuildName: string; /** The flavor of container to create a build from. */ @@ -682,12 +707,22 @@ declare module PlayFabMultiplayerModels { RegionConfigurations: BuildRegionParams[]; /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; } export interface CreateBuildWithManagedContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The guid string build ID. Must be unique for every build. */ BuildId?: string; /** The build name. */ @@ -721,6 +756,11 @@ declare module PlayFabMultiplayerModels { ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; @@ -1034,6 +1074,11 @@ declare module PlayFabMultiplayerModels { } export interface GetBuildResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The guid string build ID of the build. */ BuildId?: string; /** The build name. */ @@ -1077,6 +1122,11 @@ declare module PlayFabMultiplayerModels { * builds. If the build is a custom build, this field will be null. */ StartMultiplayerServerCommand?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 946d482b..da15533e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2227,8 +2227,8 @@ declare module PlayFabServerModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" - | "TitleDataInstanceNotFound" - | "DuplicateTitleDataOverrideInstanceName" + | "TitleDataOverrideNotFound" + | "DuplicateKeys" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3002,6 +3002,8 @@ declare module PlayFabServerModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; + /** Name of the override. */ + OverrideLabel?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f3fde6e4..89f224ed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2d87014c..0cc67d8d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 40d65375..58e78c7d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index f72e4457..c6310627 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 469c9e31..0ee98af5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a8ba7a4c..8f7c24b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f687a890..a62ab60a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d3f7034b..72c8eced 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c4e70c18..f19537fb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index fbefa4fb..b61e0684 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 595489a1..7593fadf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index cfa7bf08..f93fa9e1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 609d48ff..14e5fac7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 9d6f8131..83f5db29 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.66.200602", + sdkVersion: "1.67.200615", requestGetParams: { - sdk: "JavaScriptSDK-1.66.200602" + sdk: "JavaScriptSDK-1.67.200615" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.66.200602"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.67.200615"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 56d9703b..a7681fda 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2208,8 +2208,8 @@ declare module PlayFabAdminModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" - | "TitleDataInstanceNotFound" - | "DuplicateTitleDataOverrideInstanceName" + | "TitleDataOverrideNotFound" + | "DuplicateKeys" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2762,6 +2762,8 @@ declare module PlayFabAdminModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; + /** Name of the override. */ + OverrideLabel?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 16eeca67..65a3bbf1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2805,6 +2805,8 @@ declare module PlayFabClientModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; + /** Name of the override. */ + OverrideLabel?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 2a258cc6..49d5604d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -591,6 +591,11 @@ declare module PlayFabMultiplayerModels { } export interface CreateBuildWithCustomContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The build name. */ BuildName: string; /** The flavor of container to create a build from. */ @@ -614,12 +619,22 @@ declare module PlayFabMultiplayerModels { Ports: Port[]; /** The region configurations for the build. */ RegionConfigurations: BuildRegionParams[]; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; } export interface CreateBuildWithCustomContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The guid string build ID. Must be unique for every build. */ BuildId?: string; /** The build name. */ @@ -648,12 +663,22 @@ declare module PlayFabMultiplayerModels { RegionConfigurations?: BuildRegion[]; /** The type of game server being hosted. */ ServerType?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; } export interface CreateBuildWithManagedContainerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The build name. */ BuildName: string; /** The flavor of container to create a build from. */ @@ -682,12 +707,22 @@ declare module PlayFabMultiplayerModels { RegionConfigurations: BuildRegionParams[]; /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; } export interface CreateBuildWithManagedContainerResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The guid string build ID. Must be unique for every build. */ BuildId?: string; /** The build name. */ @@ -721,6 +756,11 @@ declare module PlayFabMultiplayerModels { ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; @@ -1034,6 +1074,11 @@ declare module PlayFabMultiplayerModels { } export interface GetBuildResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; /** The guid string build ID of the build. */ BuildId?: string; /** The build name. */ @@ -1077,6 +1122,11 @@ declare module PlayFabMultiplayerModels { * builds. If the build is a custom build, this field will be null. */ StartMultiplayerServerCommand?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 946d482b..da15533e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2227,8 +2227,8 @@ declare module PlayFabServerModels { | "XboxServiceTooManyRequests" | "NintendoSwitchNotEnabledForTitle" | "RequestMultiplayerServersThrottledFromRateLimiter" - | "TitleDataInstanceNotFound" - | "DuplicateTitleDataOverrideInstanceName" + | "TitleDataOverrideNotFound" + | "DuplicateKeys" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3002,6 +3002,8 @@ declare module PlayFabServerModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; + /** Name of the override. */ + OverrideLabel?: string; } From aea3971b1478c4b6e6524a2c01ad4b77f09608d2 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 29 Jun 2020 19:27:13 +0000 Subject: [PATCH 107/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200629 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 18 ++++++------- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 26 +++++++++---------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 -- .../src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- .../src/PlayFab/PlayFabClientApi.js | 18 ++++++------- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- .../src/PlayFab/PlayFabDataApi.js | 6 ++--- .../src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 ++--- .../src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 26 +++++++++---------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 -- 33 files changed, 121 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index cf0dcbcb..d8799b38 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.67.200615", + "version": "1.68.200629", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 89f224ed..50ffde35 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0cc67d8d..5278bf8e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 58e78c7d..2a7131e2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -580,8 +580,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkNintendoAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); + LinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoServiceAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { @@ -862,7 +862,7 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - LoginWithNintendoAccount: function (request, callback, customData, extraHeaders) { + LoginWithNintendoServiceAccount: 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 @@ -882,7 +882,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoAccount", request, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoServiceAccount", 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);}); }, @@ -1252,8 +1252,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkNintendoAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoServiceAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index c6310627..167ed82c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 0ee98af5..0c27e2dd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 8f7c24b5..cc7fa240 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index a62ab60a..5945a782 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 72c8eced..554341cb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index f19537fb..73f5af53 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index b61e0684..394a3137 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7593fadf..881d95ec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index f93fa9e1..faee7e08 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 14e5fac7..87d25612 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 83f5db29..49fdcec4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 65a3bbf1..ef7cc9d0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -450,10 +450,10 @@ declare module PlayFabClientModule { */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Nintendo account associated with the token to the user's PlayFab account. (Open ID) - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoaccount + * Links the Nintendo account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoserviceaccount */ - LinkNintendoAccount(request: PlayFabClientModels.LinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoServiceAccount(request: PlayFabClientModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid @@ -550,10 +550,10 @@ declare module PlayFabClientModule { */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Signs in the user with a Nintendo account identity token. (Open ID) - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoaccount + * Signs in the user with a Nintendo service account token. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoserviceaccount */ - LoginWithNintendoAccount(request: PlayFabClientModels.LoginWithNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoServiceAccount(request: PlayFabClientModels.LoginWithNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -790,10 +790,10 @@ declare module PlayFabClientModule { */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related Nintendo account from the user's PlayFab account. (Open ID) - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoaccount + * Unlinks the related Nintendo account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoserviceaccount */ - UnlinkNintendoAccount(request: PlayFabClientModels.UnlinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoServiceAccount(request: PlayFabClientModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid @@ -3151,7 +3151,7 @@ declare module PlayFabClientModels { } - export interface LinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3542,7 +3542,7 @@ declare module PlayFabClientModels { } - export interface LoginWithNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LoginWithNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ @@ -4724,7 +4724,7 @@ declare module PlayFabClientModels { } - export interface UnlinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -4784,8 +4784,6 @@ declare module PlayFabClientModels { } export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index da15533e..91317c14 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -4452,8 +4452,6 @@ declare module PlayFabServerModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 89f224ed..50ffde35 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0cc67d8d..5278bf8e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 58e78c7d..2a7131e2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -580,8 +580,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkNintendoAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); + LinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkNintendoServiceAccount", request, "X-Authorization", callback, customData, extraHeaders); }, LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { @@ -862,7 +862,7 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - LoginWithNintendoAccount: function (request, callback, customData, extraHeaders) { + LoginWithNintendoServiceAccount: 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 @@ -882,7 +882,7 @@ PlayFab.ClientApi = { if (callback != null && typeof (callback) === "function") callback(result, error); }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoAccount", request, null, overloadCallback, customData, extraHeaders); + PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithNintendoServiceAccount", 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);}); }, @@ -1252,8 +1252,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkKongregate", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkNintendoAccount: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoAccount", request, "X-Authorization", callback, customData, extraHeaders); + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkNintendoServiceAccount", request, "X-Authorization", callback, customData, extraHeaders); }, UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index c6310627..167ed82c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 0ee98af5..0c27e2dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 8f7c24b5..cc7fa240 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index a62ab60a..5945a782 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 72c8eced..554341cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index f19537fb..73f5af53 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index b61e0684..394a3137 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7593fadf..881d95ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index f93fa9e1..faee7e08 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 14e5fac7..87d25612 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 83f5db29..49fdcec4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.67.200615", + sdkVersion: "1.68.200629", requestGetParams: { - sdk: "JavaScriptSDK-1.67.200615" + sdk: "JavaScriptSDK-1.68.200629" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.67.200615"; +PlayFab.sdkVersion = "1.68.200629"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 65a3bbf1..ef7cc9d0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -450,10 +450,10 @@ declare module PlayFabClientModule { */ LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Nintendo account associated with the token to the user's PlayFab account. (Open ID) - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoaccount + * Links the Nintendo account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoserviceaccount */ - LinkNintendoAccount(request: PlayFabClientModels.LinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoServiceAccount(request: PlayFabClientModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid @@ -550,10 +550,10 @@ declare module PlayFabClientModule { */ LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Signs in the user with a Nintendo account identity token. (Open ID) - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoaccount + * Signs in the user with a Nintendo service account token. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoserviceaccount */ - LoginWithNintendoAccount(request: PlayFabClientModels.LoginWithNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoServiceAccount(request: PlayFabClientModels.LoginWithNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -790,10 +790,10 @@ declare module PlayFabClientModule { */ UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related Nintendo account from the user's PlayFab account. (Open ID) - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoaccount + * Unlinks the related Nintendo account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoserviceaccount */ - UnlinkNintendoAccount(request: PlayFabClientModels.UnlinkNintendoAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoServiceAccount(request: PlayFabClientModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid @@ -3151,7 +3151,7 @@ declare module PlayFabClientModels { } - export interface LinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3542,7 +3542,7 @@ declare module PlayFabClientModels { } - export interface LoginWithNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LoginWithNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ @@ -4724,7 +4724,7 @@ declare module PlayFabClientModels { } - export interface UnlinkNintendoAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -4784,8 +4784,6 @@ declare module PlayFabClientModels { } export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index da15533e..91317c14 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -4452,8 +4452,6 @@ declare module PlayFabServerModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; - /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ - XboxToken?: string; } From 18db7186892eb257cbe9c469fbe13ed2f4620eb7 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 13 Jul 2020 23:57:25 +0000 Subject: [PATCH 108/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200713 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 77 ++++++ .../PlayFab/PlayFabAuthenticationApi.d.ts | 4 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 208 +++++++++++++++++ .../PlayFab/PlayFabCloudScriptApi.d.ts | 20 ++ .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 14 ++ .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 8 + .../PlayFab/PlayFabExperimentationApi.d.ts | 20 +- .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 50 ++++ .../Typings/PlayFab/PlayFabInsightsApi.d.ts | 10 + .../PlayFab/PlayFabLocalizationApi.d.ts | 2 + .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 8 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 220 ++++++++++++++++++ .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 14 ++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 121 ++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 77 ++++++ .../PlayFab/PlayFabAuthenticationApi.d.ts | 4 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 208 +++++++++++++++++ .../PlayFab/PlayFabCloudScriptApi.d.ts | 20 ++ .../src/typings/PlayFab/PlayFabDataApi.d.ts | 14 ++ .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 8 + .../PlayFab/PlayFabExperimentationApi.d.ts | 20 +- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 50 ++++ .../typings/PlayFab/PlayFabInsightsApi.d.ts | 10 + .../PlayFab/PlayFabLocalizationApi.d.ts | 2 + .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 8 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 220 ++++++++++++++++++ .../typings/PlayFab/PlayFabProfilesApi.d.ts | 14 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 121 ++++++++++ 57 files changed, 1669 insertions(+), 117 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index d8799b38..fceec499 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.68.200629", + "version": "1.69.200713", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 50ffde35..626dbc2a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 5278bf8e..4290bf36 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 2a7131e2..c32bc867 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 167ed82c..2eba1cd3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 0c27e2dd..2271172d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index cc7fa240..63b169c8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 5945a782..5da8d4a4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 554341cb..a9a90c9f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 73f5af53..b6b139e9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 394a3137..e0ea7670 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 881d95ec..2bd5ddce 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index faee7e08..7ae07169 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -277,6 +277,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateBuildWithProcessBasedServer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithProcessBasedServer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 87d25612..2b505c30 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 49fdcec4..b72c89b1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index a7681fda..1d7b88e6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -587,6 +587,8 @@ declare module PlayFabAdminModule { declare module PlayFabAdminModels { export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** ID of a task instance that is being aborted. */ TaskInstanceId: string; @@ -651,6 +653,8 @@ declare module PlayFabAdminModels { export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Localized body text of the news. */ Body: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Language of the news item. */ Language: string; /** Unique id of the updated news item. */ @@ -667,6 +671,8 @@ declare module PlayFabAdminModels { export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Default body text of the news. */ Body: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; /** Default title (headline) of the news item. */ @@ -681,6 +687,8 @@ declare module PlayFabAdminModels { } export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -701,6 +709,8 @@ declare module PlayFabAdminModels { 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 */ @@ -749,6 +759,8 @@ declare module PlayFabAdminModels { * Any increase over this value will be discarded. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; /** Name of the virtual currency which is to be incremented. */ @@ -810,6 +822,8 @@ declare module PlayFabAdminModels { export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1287,6 +1301,8 @@ declare module PlayFabAdminModels { | "ZW"; export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ @@ -1301,6 +1317,8 @@ declare module PlayFabAdminModels { } export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ @@ -1315,6 +1333,8 @@ declare module PlayFabAdminModels { } export interface CreateInsightsScheduledScalingTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ @@ -1362,6 +1382,8 @@ declare module PlayFabAdminModels { export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName: string; /** interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) */ @@ -1598,6 +1620,8 @@ declare module PlayFabAdminModels { export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unqiue identifier for the store which is to be deleted */ StoreId: string; @@ -2210,6 +2234,7 @@ declare module PlayFabAdminModels { | "RequestMultiplayerServersThrottledFromRateLimiter" | "TitleDataOverrideNotFound" | "DuplicateKeys" + | "WasNotCreatedWithCloudRoot" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2495,6 +2520,8 @@ declare module PlayFabAdminModels { } export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** @@ -2534,6 +2561,8 @@ 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 }; /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** @@ -2557,6 +2586,8 @@ declare module PlayFabAdminModels { } 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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2573,6 +2604,8 @@ declare module PlayFabAdminModels { } export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -2585,6 +2618,8 @@ declare module PlayFabAdminModels { } export interface GetPlayerTagsRequest 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 namespace to filter results by */ Namespace?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2812,6 +2847,8 @@ declare module PlayFabAdminModels { } export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2878,6 +2915,8 @@ declare module PlayFabAdminModels { export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; @@ -2894,6 +2933,8 @@ declare module PlayFabAdminModels { Amount: number; /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The item which needs more availability. */ ItemId: string; @@ -2904,6 +2945,8 @@ declare module PlayFabAdminModels { } export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -3126,6 +3169,8 @@ declare module PlayFabAdminModels { 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 */ @@ -3509,6 +3554,8 @@ declare module PlayFabAdminModels { | "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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -3539,6 +3586,8 @@ declare module PlayFabAdminModels { export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3549,6 +3598,8 @@ declare module PlayFabAdminModels { } export interface ResetPasswordRequest 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 new password for the player. */ Password: string; /** The token of the player requesting the password reset. */ @@ -3561,6 +3612,8 @@ declare module PlayFabAdminModels { } export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3681,6 +3734,8 @@ declare module PlayFabAdminModels { } export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; @@ -3739,6 +3794,8 @@ declare module PlayFabAdminModels { } export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email: string; /** The email template id of the account recovery email template to send. */ @@ -3763,6 +3820,8 @@ declare module PlayFabAdminModels { } export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Revision to make the current published revision */ Revision: number; /** Version number */ @@ -3941,6 +4000,8 @@ declare module PlayFabAdminModels { export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; /** Name of the virtual currency which is to be decremented. */ @@ -4029,6 +4090,8 @@ declare module PlayFabAdminModels { Catalog?: CatalogItem[]; /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will * always set it. @@ -4042,6 +4105,8 @@ declare module PlayFabAdminModels { } export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; /** List of Cloud Script files to upload to create the new revision. Must have at least one file. */ @@ -4127,6 +4192,8 @@ declare module PlayFabAdminModels { export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that * table, while any others will be added to the available set) @@ -4142,6 +4209,8 @@ declare module PlayFabAdminModels { export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Additional data about the store */ MarketingData?: StoreMarketingModel; /** Array of store items - references to catalog items, with specific pricing - to be added */ @@ -4156,6 +4225,8 @@ declare module PlayFabAdminModels { } export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Specify either the task ID or the name of the task to be updated. */ @@ -4174,6 +4245,8 @@ declare module PlayFabAdminModels { } export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4201,6 +4274,8 @@ declare module PlayFabAdminModels { } export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4217,6 +4292,8 @@ declare module PlayFabAdminModels { } export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; /** PlayFab unique identifier of the user whose title specific display name is to be changed */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index cffbf571..bac6429f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -45,6 +45,8 @@ declare module PlayFabAuthenticationModels { } export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -83,6 +85,8 @@ declare module PlayFabAuthenticationModels { | "NintendoSwitchAccount"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Client EntityToken */ EntityToken: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index ef7cc9d0..5e9e701b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -996,6 +996,8 @@ declare module PlayFabClientModels { } export interface AddOrUpdateContactEmailRequest 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 new contact email to associate with the player. */ EmailAddress: string; @@ -1018,6 +1020,8 @@ declare module PlayFabClientModels { } export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email: string; /** Password for the PlayFab account (6-100 characters) */ @@ -1036,6 +1040,8 @@ declare module PlayFabClientModels { export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; @@ -1302,6 +1308,8 @@ declare module PlayFabClientModels { } export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Purchase order identifier returned from StartPurchase. */ OrderId: string; @@ -1322,6 +1330,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** Number of uses to consume from the item. */ ConsumeCount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; @@ -1338,6 +1348,8 @@ declare module PlayFabClientModels { export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Id of the PSN service label to consume entitlements from */ ServiceLabel: number; @@ -1352,6 +1364,8 @@ declare module PlayFabClientModels { export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; @@ -1873,6 +1887,8 @@ declare module PlayFabClientModels { } export interface ExecuteCloudScriptRequest 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 name of the CloudScript function to execute */ FunctionName: string; /** Object that is passed in to the function as the first argument */ @@ -2134,6 +2150,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2199,6 +2217,8 @@ declare module PlayFabClientModels { } export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2233,6 +2253,8 @@ declare module PlayFabClientModels { } export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2257,6 +2279,8 @@ declare module PlayFabClientModels { } export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2297,6 +2321,8 @@ declare module PlayFabClientModels { } export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ @@ -2339,6 +2365,8 @@ declare module PlayFabClientModels { } export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** @@ -2393,6 +2421,8 @@ declare module PlayFabClientModels { } export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; /** PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. */ @@ -2479,6 +2509,8 @@ declare module PlayFabClientModels { } export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** @@ -2510,6 +2542,8 @@ declare module PlayFabClientModels { } export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; /** @@ -2527,6 +2561,8 @@ declare module PlayFabClientModels { } export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -2539,6 +2575,8 @@ declare module PlayFabClientModels { } export interface GetPlayerTagsRequest 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 namespace to filter results by */ Namespace?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2887,6 +2925,8 @@ declare module PlayFabClientModels { } export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2930,6 +2970,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be * created. @@ -3013,6 +3055,8 @@ declare module PlayFabClientModels { AndroidDevice?: string; /** Android device identifier for the user's device. */ AndroidDeviceId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; /** Specific Operating System version for the user's device. */ @@ -3025,6 +3069,8 @@ declare module PlayFabClientModels { } export interface LinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific Apple account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3038,6 +3084,8 @@ declare module PlayFabClientModels { export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3062,6 +3110,8 @@ declare module PlayFabClientModels { export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3072,6 +3122,8 @@ declare module PlayFabClientModels { } export interface LinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; /** If another user is already linked to the Facebook Instant Games ID, unlink the other user and re-link. */ @@ -3084,6 +3136,8 @@ declare module PlayFabClientModels { } export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Game Center identifier for the player account to be linked. */ @@ -3107,6 +3161,8 @@ declare module PlayFabClientModels { } export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3122,6 +3178,8 @@ declare module PlayFabClientModels { } export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; /** Specific model of the user's device. */ @@ -3140,6 +3198,8 @@ declare module PlayFabClientModels { export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Numeric user ID assigned by Kongregate */ @@ -3152,6 +3212,8 @@ declare module PlayFabClientModels { } export interface LinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3163,6 +3225,8 @@ declare module PlayFabClientModels { } export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ ForceLink?: boolean; /** Nintendo Switch unique identifier for the user's device. */ @@ -3177,6 +3241,8 @@ declare module PlayFabClientModels { export interface LinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific OpenId Connect user, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3190,6 +3256,8 @@ declare module PlayFabClientModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation Network. */ AuthCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ @@ -3204,6 +3272,8 @@ declare module PlayFabClientModels { } export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3221,6 +3291,8 @@ declare module PlayFabClientModels { export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3231,6 +3303,8 @@ declare module PlayFabClientModels { } export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Device name. */ DeviceName?: string; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3247,6 +3321,8 @@ declare module PlayFabClientModels { } export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ @@ -3336,6 +3412,8 @@ declare module PlayFabClientModels { AndroidDeviceId?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3355,6 +3433,8 @@ declare module PlayFabClientModels { export interface LoginWithAppleRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** @@ -3379,6 +3459,8 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** Custom unique identifier for the user, generated by the title. */ CustomId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3394,6 +3476,8 @@ declare module PlayFabClientModels { } export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Email address for the account. */ Email: string; /** Flags for which pieces of info to return for the user. */ @@ -3411,6 +3495,8 @@ declare module PlayFabClientModels { export interface LoginWithFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Facebook Instant Games signature for the user. */ @@ -3432,6 +3518,8 @@ declare module PlayFabClientModels { AccessToken: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3449,6 +3537,8 @@ declare module PlayFabClientModels { export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3479,6 +3569,8 @@ declare module PlayFabClientModels { export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3501,6 +3593,8 @@ declare module PlayFabClientModels { export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Vendor-specific iOS identifier for the user's device. */ DeviceId?: string; /** Specific model of the user's device. */ @@ -3526,6 +3620,8 @@ declare module PlayFabClientModels { AuthTicket?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3545,6 +3641,8 @@ declare module PlayFabClientModels { export interface LoginWithNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ @@ -3564,6 +3662,8 @@ declare module PlayFabClientModels { export interface LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3585,6 +3685,8 @@ declare module PlayFabClientModels { ConnectionId: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** @@ -3605,6 +3707,8 @@ declare module PlayFabClientModels { } export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Password for the PlayFab account (6-100 characters) */ @@ -3624,6 +3728,8 @@ declare module PlayFabClientModels { AuthCode?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3645,6 +3751,8 @@ declare module PlayFabClientModels { export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3669,6 +3777,8 @@ declare module PlayFabClientModels { AccessToken?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3686,6 +3796,8 @@ declare module PlayFabClientModels { export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** SHA256 hash of the PublicKey generated by Windows Hello. */ @@ -3701,6 +3813,8 @@ declare module PlayFabClientModels { export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3731,6 +3845,8 @@ declare module PlayFabClientModels { BuildVersion?: string; /** Character to use for stats based matching. Leave null to use account stats. */ CharacterId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Game mode to match make against. [Note: Required if LobbyId is not specified] */ GameMode?: string; /** Lobby identifier to match make against. This is used to select a specific Game Server Instance. */ @@ -3844,6 +3960,8 @@ declare module PlayFabClientModels { export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Purchase order identifier returned from StartPurchase. */ OrderId: string; /** Payment provider to use to fund the purchase. */ @@ -4017,6 +4135,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier of the item to purchase. */ ItemId: string; /** Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). */ @@ -4069,6 +4189,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** Generated coupon code to redeem. */ CouponCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4123,6 +4245,8 @@ declare module PlayFabClientModels { } export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; /** User email address attached to their account */ @@ -4169,6 +4293,8 @@ declare module PlayFabClientModels { } export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Device name. */ DeviceName?: string; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ @@ -4190,6 +4316,8 @@ declare module PlayFabClientModels { } export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4232,6 +4360,8 @@ declare module PlayFabClientModels { export interface ReportAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Type of activity, may be Opened, Closed, Start or End */ Activity: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique ID of the placement to report for */ PlacementId: string; /** Unique ID of the reward the player was offered */ @@ -4246,6 +4376,8 @@ declare module PlayFabClientModels { export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; @@ -4260,6 +4392,8 @@ declare module PlayFabClientModels { export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the restored items. If null, defaults to primary catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; @@ -4272,6 +4406,8 @@ declare module PlayFabClientModels { } export interface RewardAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Placement unique ID */ PlacementId: string; /** Reward unique ID */ @@ -4311,6 +4447,8 @@ declare module PlayFabClientModels { } export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email: string; /** The email template id of the account recovery email template to send. */ @@ -4378,6 +4516,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** custom command line argument when starting game server process */ CustomCommandLineData?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ GameMode: string; /** the region to associate this server with for match filtering */ @@ -4410,6 +4550,8 @@ declare module PlayFabClientModels { export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of items to purchase. */ Items: ItemPurchaseRequest[]; /** Store through which to purchase items. If not set, prices will be pulled from the catalog itself. */ @@ -4535,6 +4677,8 @@ declare module PlayFabClientModels { export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; @@ -4645,6 +4789,8 @@ declare module PlayFabClientModels { * used. */ AndroidDeviceId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4653,6 +4799,8 @@ declare module PlayFabClientModels { } export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4662,6 +4810,8 @@ declare module PlayFabClientModels { * will be used. */ CustomId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4670,6 +4820,8 @@ declare module PlayFabClientModels { } export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4678,6 +4830,8 @@ declare module PlayFabClientModels { } export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Facebook Instant Games identifier for the user. If not specified, the most recently signed in ID will be used. */ FacebookInstantGamesId?: string; @@ -4688,6 +4842,8 @@ declare module PlayFabClientModels { } export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4696,6 +4852,8 @@ declare module PlayFabClientModels { } export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4704,6 +4862,8 @@ declare module PlayFabClientModels { } export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will * be used. @@ -4717,6 +4877,8 @@ declare module PlayFabClientModels { } export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4725,10 +4887,14 @@ declare module PlayFabClientModels { } export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ NintendoSwitchDeviceId?: string; @@ -4741,10 +4907,14 @@ declare module PlayFabClientModels { export interface UnlinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4753,6 +4923,8 @@ declare module PlayFabClientModels { } export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4766,6 +4938,8 @@ declare module PlayFabClientModels { * one that is present on the profile. */ AccessToken?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4774,6 +4948,8 @@ declare module PlayFabClientModels { } export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -4784,6 +4960,8 @@ declare module PlayFabClientModels { } export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4801,6 +4979,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. @@ -4819,6 +4999,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4843,6 +5025,8 @@ declare module PlayFabClientModels { export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4872,6 +5056,8 @@ declare module PlayFabClientModels { CharacterId: string; /** Statistics to be updated with the provided values, in the Key(string), Value(int) pattern. */ CharacterStatistics?: { [key: string]: number }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4880,6 +5066,8 @@ declare module PlayFabClientModels { } export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; @@ -4890,6 +5078,8 @@ declare module PlayFabClientModels { } export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4912,6 +5102,8 @@ declare module PlayFabClientModels { } export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4940,6 +5132,8 @@ declare module PlayFabClientModels { } export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; @@ -5219,6 +5413,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** ReceiptId returned by the Amazon App Store in-app purchase API */ @@ -5239,6 +5435,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice?: number; /** Original JSON string returned by the Google Play IAB API. */ @@ -5259,6 +5457,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ @@ -5277,6 +5477,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** XML Receipt returned by the Windows App Store in-app purchase API */ @@ -5333,6 +5535,8 @@ declare module PlayFabClientModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5346,6 +5550,8 @@ declare module PlayFabClientModels { export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5368,6 +5574,8 @@ declare module PlayFabClientModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 0c7d298b..5eeab994 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -408,6 +408,8 @@ declare module PlayFabCloudScriptModels { } export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ @@ -431,6 +433,8 @@ declare module PlayFabCloudScriptModels { } export interface ExecuteFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ @@ -503,6 +507,8 @@ declare module PlayFabCloudScriptModels { } export interface ListFunctionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -658,6 +664,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForEntityTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The result of the function execution. */ @@ -666,6 +674,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForFunctionExecutionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The result of the function execution. */ @@ -674,6 +684,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForPlayerTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The result of the function execution. */ @@ -686,6 +698,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForScheduledTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The result of the function execution */ @@ -717,6 +731,8 @@ declare module PlayFabCloudScriptModels { } export interface RegisterHttpFunctionRequest 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 name of the function to register */ FunctionName: string; /** Full URL for Azure Function that implements the function. */ @@ -727,6 +743,8 @@ declare module PlayFabCloudScriptModels { export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { /** A connection string for the storage account that hosts the queue for the Azure Function. */ ConnectionString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; /** The name of the queue for the Azure Function. */ @@ -794,6 +812,8 @@ declare module PlayFabCloudScriptModels { | "Queue"; export interface UnregisterFunctionRequest 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 name of the function to unregister */ FunctionName: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index c6a4b27a..b541cd16 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -45,6 +45,8 @@ declare module PlayFabDataModule { declare module PlayFabDataModels { export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to have their pending uploads aborted. */ @@ -66,6 +68,8 @@ declare module PlayFabDataModels { } export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to be deleted. */ @@ -95,6 +99,8 @@ declare module PlayFabDataModels { } export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ @@ -127,6 +133,8 @@ declare module PlayFabDataModels { } export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; @@ -143,6 +151,8 @@ declare module PlayFabDataModels { } export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** @@ -172,6 +182,8 @@ declare module PlayFabDataModels { } export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ @@ -238,6 +250,8 @@ declare module PlayFabDataModels { } export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 3ebad116..2d9b9edf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -29,6 +29,12 @@ declare module PlayFabEventsModels { } export interface EventContents { + /** + * The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). Before an + * event is written, this collection and the base request custom tags will be merged, but not overriden. This enables the + * caller to specify static tags and per event tags. + */ + CustomTags?: { [key: string]: string | null }; /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; /** The namespace in which the event is defined. Allowed namespaces can vary by API. */ @@ -56,6 +62,8 @@ declare module PlayFabEventsModels { } export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Collection of events to write to PlayStream. */ Events: EventContents[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts index e2df1bee..e167b7b3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -58,6 +58,8 @@ declare module PlayFabExperimentationModels { | "Canceled"; export interface CreateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ @@ -87,6 +89,8 @@ declare module PlayFabExperimentationModels { } export interface DeleteExperimentRequest 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 ID of the experiment to delete. */ ExperimentId: string; @@ -140,6 +144,8 @@ declare module PlayFabExperimentationModels { | "Snapshot"; export interface GetExperimentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -150,6 +156,8 @@ declare module PlayFabExperimentationModels { } export interface GetLatestScorecardRequest 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 ID of the experiment. */ ExperimentId?: string; @@ -162,6 +170,8 @@ declare module PlayFabExperimentationModels { } export interface GetTreatmentAssignmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -236,12 +246,16 @@ declare module PlayFabExperimentationModels { } export interface StartExperimentRequest 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 ID of the experiment to start. */ ExperimentId: string; } export interface StopExperimentRequest 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 ID of the experiment to stop. */ ExperimentId: string; @@ -256,6 +270,8 @@ declare module PlayFabExperimentationModels { } export interface UpdateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ @@ -297,8 +313,8 @@ declare module PlayFabExperimentationModels { IsControl: boolean; /** Name of the variant. */ Name: string; - /** Id of the TitleDataOverrideGroup to use with this variant. */ - TitleDataOverrideId?: string; + /** Id of the TitleDataOverride to use with this variant. */ + TitleDataOverrideLabel?: string; /** Percentage of target audience traffic that will see this variant. */ TrafficPercentage: number; /** Variables returned by this variant. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 2080b915..cca5d55b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -135,6 +135,8 @@ declare module PlayFabGroupsModule { declare module PlayFabGroupsModels { export interface AcceptGroupApplicationRequest 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. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a * child of the claimant entity. Defaults to the claimant entity. @@ -146,6 +148,8 @@ declare module PlayFabGroupsModels { } export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The identifier of the group */ @@ -154,6 +158,8 @@ declare module PlayFabGroupsModels { } export interface AddMembersRequest 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 identifier of the group */ Group: EntityKey; /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ @@ -169,6 +175,8 @@ declare module PlayFabGroupsModels { export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ AutoAcceptOutstandingInvite?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The identifier of the group */ @@ -187,6 +195,8 @@ declare module PlayFabGroupsModels { } export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -195,6 +205,8 @@ declare module PlayFabGroupsModels { } export interface ChangeMemberRoleRequest 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 ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 * and 64 characters long. @@ -213,6 +225,8 @@ declare module PlayFabGroupsModels { } export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The name of the group. This is unique at the title level by default. */ @@ -239,6 +253,8 @@ declare module PlayFabGroupsModels { } export interface CreateGroupRoleRequest 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 identifier of the group */ Group: EntityKey; /** @@ -265,12 +281,16 @@ declare module PlayFabGroupsModels { } export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** ID of the group or role to remove */ Group: EntityKey; } export interface DeleteRoleRequest 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 identifier of the group */ Group: EntityKey; /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ @@ -309,6 +329,8 @@ declare module PlayFabGroupsModels { } export interface GetGroupRequest 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 identifier of the group */ Group?: EntityKey; /** The full name of the group */ @@ -389,6 +411,8 @@ declare module PlayFabGroupsModels { export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ AutoAcceptOutstandingApplication?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -416,6 +440,8 @@ declare module PlayFabGroupsModels { } export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -435,6 +461,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupApplicationsRequest 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 identifier of the group */ Group: EntityKey; @@ -447,6 +475,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupBlocksRequest 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 identifier of the group */ Group: EntityKey; @@ -459,6 +489,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupInvitationsRequest 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 identifier of the group */ Group: EntityKey; @@ -471,6 +503,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** ID of the group to list the members and roles for */ Group: EntityKey; @@ -483,6 +517,8 @@ declare module PlayFabGroupsModels { } export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -497,6 +533,8 @@ declare module PlayFabGroupsModels { } export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -514,6 +552,8 @@ declare module PlayFabGroupsModels { | "None"; export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -522,6 +562,8 @@ declare module PlayFabGroupsModels { } export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -530,6 +572,8 @@ declare module PlayFabGroupsModels { } export interface RemoveMembersRequest 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 identifier of the group */ Group: EntityKey; /** List of entities to remove */ @@ -540,6 +584,8 @@ declare module PlayFabGroupsModels { } export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -550,6 +596,8 @@ declare module PlayFabGroupsModels { export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional: the ID of an existing role to set as the new administrator role for the group */ AdminRoleId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any @@ -576,6 +624,8 @@ declare module PlayFabGroupsModels { } export interface UpdateGroupRoleRequest 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. By specifying the previously returned value of ProfileVersion from the * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts index 4ee29610..b3dedede 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts @@ -42,6 +42,8 @@ declare module PlayFabInsightsModule { declare module PlayFabInsightsModels { export interface InsightsEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -76,6 +78,8 @@ declare module PlayFabInsightsModels { } export interface InsightsGetOperationStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Id of the Insights operation. */ OperationId?: string; @@ -102,6 +106,8 @@ declare module PlayFabInsightsModels { } export interface InsightsGetPendingOperationsRequest 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 type of pending operations requested, or blank for all operation types. */ OperationType?: string; @@ -144,12 +150,16 @@ declare module PlayFabInsightsModels { } export interface InsightsSetPerformanceRequest 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 Insights performance level to apply to the title. */ PerformanceLevel: number; } export interface InsightsSetStorageRetentionRequest 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 Insights data storage retention value (in days) to apply to the title. */ RetentionDays: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts index 1bca30d8..4f46491e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -15,6 +15,8 @@ declare module PlayFabLocalizationModule { declare module PlayFabLocalizationModels { export interface GetLanguageListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 0f07b438..7f388f21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -90,6 +90,8 @@ declare module PlayFabMatchmakerModels { } export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the * Matchmaker/StartGame API. @@ -105,6 +107,8 @@ declare module PlayFabMatchmakerModels { } export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the * Matchmaker/StartGame API. @@ -132,6 +136,8 @@ declare module PlayFabMatchmakerModels { Build: string; /** Custom command line argument when starting game server process. */ CustomCommandLineData?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will * make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an @@ -160,6 +166,8 @@ declare module PlayFabMatchmakerModels { } export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a * catalog version of this or higher). diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 49d5604d..bb2458d7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -39,6 +39,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithmanagedcontainer */ CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build with the server running as a process. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithprocessbasedserver + */ + CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a client. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket @@ -479,6 +484,8 @@ declare module PlayFabMultiplayerModels { } export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key of the player whose tickets should be canceled. */ Entity?: EntityKey; /** The name of the queue from which a player's tickets should be canceled. */ @@ -491,6 +498,8 @@ declare module PlayFabMultiplayerModels { } export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key of the player whose backfill tickets should be canceled. */ Entity: EntityKey; /** The name of the queue from which a player's backfill tickets should be canceled. */ @@ -507,6 +516,8 @@ declare module PlayFabMultiplayerModels { | "Timeout"; export interface CancelMatchmakingTicketRequest 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 name of the queue the ticket is in. */ QueueName: string; /** The Id of the ticket to find a match for. */ @@ -519,6 +530,8 @@ declare module PlayFabMultiplayerModels { } export interface CancelServerBackfillTicketRequest 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 name of the queue the ticket is in. */ QueueName: string; /** The Id of the ticket to find a match for. */ @@ -587,6 +600,8 @@ declare module PlayFabMultiplayerModels { AliasName: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -604,6 +619,8 @@ declare module PlayFabMultiplayerModels { ContainerImageReference?: ContainerImageReference; /** The container command to run when the multiplayer server has been allocated, including any arguments. */ ContainerRunCommand?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The list of game assets related to the build. */ GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ @@ -683,6 +700,8 @@ declare module PlayFabMultiplayerModels { BuildName: string; /** The flavor of container to create a build from. */ ContainerFlavor?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The list of game assets related to the build. */ GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ @@ -766,9 +785,108 @@ declare module PlayFabMultiplayerModels { } + export interface CreateBuildWithProcessBasedServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The list of game assets related to the build. */ + GameAssetReferences: AssetReferenceParams[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReferenceParams[]; + /** + * The working directory for the game process. If this is not provided, the working directory will be set based on the + * mount path of the game server executable. + */ + GameWorkingDirectory?: string; + /** + * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through + * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 + */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM. */ + MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; + /** The ports to map the build on. */ + Ports: Port[]; + /** The region configurations for the build. */ + RegionConfigurations: BuildRegionParams[]; + /** + * The command to run when the multiplayer server is started, including any arguments. The path to any executable should be + * relative to the root asset folder when unzipped. + */ + StartMultiplayerServerCommand: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; + /** The VM size to create the build on. */ + VmSize?: string; + + } + + export interface CreateBuildWithProcessBasedServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; + /** The guid string build ID. Must be unique for every build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of the build. */ + ContainerFlavor?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** + * The working directory for the game process. If this is not provided, the working directory will be set based on the + * mount path of the game server executable. + */ + GameWorkingDirectory?: string; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; + /** + * The command to run when the multiplayer server is started, including any arguments. The path to any executable is + * relative to the root asset folder when unzipped. + */ + StartMultiplayerServerCommand?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; + /** The VM size the build was created on. */ + VmSize?: string; + + } + export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who created this ticket. */ Creator: MatchmakingPlayer; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; /** A list of Entity Keys of other users to match with. */ @@ -787,6 +905,8 @@ declare module PlayFabMultiplayerModels { export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of to create the remote user for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The expiration time for the remote user created. Defaults to expiring in one day if not specified. */ ExpirationTime?: string; /** The region of virtual machine to create the remote user for. */ @@ -809,6 +929,8 @@ declare module PlayFabMultiplayerModels { } export interface CreateServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; /** The users who will be part of this ticket, along with their team assignments. */ @@ -827,6 +949,8 @@ declare module PlayFabMultiplayerModels { } export interface CreateServerMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; /** The users who will be part of this ticket. */ @@ -889,6 +1013,8 @@ declare module PlayFabMultiplayerModels { } export interface DeleteAssetRequest 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 filename of the asset to delete. */ FileName: string; @@ -897,12 +1023,16 @@ declare module PlayFabMultiplayerModels { export interface DeleteBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface DeleteBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The build region to delete. */ Region: string; @@ -911,16 +1041,22 @@ declare module PlayFabMultiplayerModels { export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface DeleteCertificateRequest 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 name of the certificate. */ Name: string; } export interface DeleteContainerImageRequest 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 container image repository we want to delete. */ ImageName?: string; @@ -929,6 +1065,8 @@ declare module PlayFabMultiplayerModels { export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server where the remote user is to delete. */ Region: string; /** The username of the remote user to delete. */ @@ -1000,6 +1138,8 @@ declare module PlayFabMultiplayerModels { } export interface EnableMultiplayerServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1048,6 +1188,8 @@ declare module PlayFabMultiplayerModels { } export interface GetAssetUploadUrlRequest 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 asset's file name to get the upload URL for. */ FileName: string; @@ -1064,12 +1206,16 @@ declare module PlayFabMultiplayerModels { export interface GetBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to get. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1133,6 +1279,8 @@ declare module PlayFabMultiplayerModels { } export interface GetContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1147,6 +1295,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchmakingQueueRequest 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 Id of the matchmaking queue to retrieve. */ QueueName?: string; @@ -1159,6 +1309,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON * object. @@ -1199,6 +1351,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON * object. @@ -1231,6 +1385,8 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region the multiplayer server is located in to get details for. */ Region: string; /** @@ -1266,6 +1422,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerLogsRequest 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 server ID of multiplayer server to get logs for. */ ServerId: string; @@ -1278,12 +1436,16 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerSessionLogsBySessionIdRequest 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 server ID of multiplayer server to get logs for. */ SessionId: string; } export interface GetQueueStatisticsRequest 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 name of the queue. */ QueueName: string; @@ -1300,6 +1462,8 @@ declare module PlayFabMultiplayerModels { export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get remote login information for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server to get remote login information for. */ Region: string; /** The virtual machine ID the multiplayer server is located on. */ @@ -1316,6 +1480,8 @@ declare module PlayFabMultiplayerModels { } export interface GetServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON * object. @@ -1351,6 +1517,8 @@ declare module PlayFabMultiplayerModels { } export interface GetTitleEnabledForMultiplayerServersStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1361,6 +1529,8 @@ declare module PlayFabMultiplayerModels { } export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1381,6 +1551,8 @@ declare module PlayFabMultiplayerModels { } export interface JoinMatchmakingTicketRequest 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 User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ Member: MatchmakingPlayer; /** The name of the queue to join. */ @@ -1443,6 +1615,8 @@ declare module PlayFabMultiplayerModels { } export interface ListAssetSummariesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1467,6 +1641,8 @@ declare module PlayFabMultiplayerModels { } export interface ListBuildSummariesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1485,6 +1661,8 @@ declare module PlayFabMultiplayerModels { } export interface ListCertificateSummariesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1503,6 +1681,8 @@ declare module PlayFabMultiplayerModels { } export interface ListContainerImagesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1521,6 +1701,8 @@ declare module PlayFabMultiplayerModels { } export interface ListContainerImageTagsRequest 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 container images we want to list tags for. */ ImageName?: string; @@ -1533,6 +1715,8 @@ declare module PlayFabMultiplayerModels { } export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1543,6 +1727,8 @@ declare module PlayFabMultiplayerModels { } export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; /** The name of the queue to find a match for. */ @@ -1559,6 +1745,8 @@ declare module PlayFabMultiplayerModels { export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer servers to list. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The page size for the request. */ PageSize?: number; /** The region the multiplayer servers to list. */ @@ -1579,6 +1767,8 @@ declare module PlayFabMultiplayerModels { } export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Qos servers version */ Version: string; @@ -1595,6 +1785,8 @@ declare module PlayFabMultiplayerModels { } export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1609,6 +1801,8 @@ declare module PlayFabMultiplayerModels { } export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1623,6 +1817,8 @@ declare module PlayFabMultiplayerModels { } export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key for which to find the ticket Ids. */ Entity: EntityKey; /** The name of the queue the tickets are in. */ @@ -1639,6 +1835,8 @@ declare module PlayFabMultiplayerModels { export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The page size for the request. */ PageSize?: number; /** The region of the virtual machines to list. */ @@ -1765,6 +1963,8 @@ declare module PlayFabMultiplayerModels { } export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1855,6 +2055,8 @@ declare module PlayFabMultiplayerModels { } export interface RemoveMatchmakingQueueRequest 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 Id of the matchmaking queue to remove. */ QueueName?: string; @@ -1869,6 +2071,8 @@ declare module PlayFabMultiplayerModels { BuildAliasParams?: BuildAliasParams; /** The guid string build ID of the multiplayer server to request. */ BuildId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server * when requested (via GSDK) and can be used to validate players connecting to it. @@ -1914,6 +2118,8 @@ declare module PlayFabMultiplayerModels { } export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1975,6 +2181,8 @@ declare module PlayFabMultiplayerModels { } export interface SetMatchmakingQueueRequest 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 matchmaking queue config. */ MatchmakingQueue?: MatchmakingQueueConfig; @@ -1987,6 +2195,8 @@ declare module PlayFabMultiplayerModels { export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server to shut down. */ Region: string; /** A guid string session ID of the multiplayer server to shut down. */ @@ -2121,6 +2331,8 @@ declare module PlayFabMultiplayerModels { } export interface UntagContainerImageRequest 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 container image which tag we want to remove. */ ImageName?: string; /** The tag we want to remove. */ @@ -2135,6 +2347,8 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2143,6 +2357,8 @@ declare module PlayFabMultiplayerModels { BuildId: string; /** The updated region configuration that should be applied to the specified build. */ BuildRegion: BuildRegionParams; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2151,10 +2367,14 @@ declare module PlayFabMultiplayerModels { BuildId: string; /** The updated region configuration that should be applied to the specified build. */ BuildRegions: BuildRegionParams[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface UploadCertificateRequest 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 game certificate to upload. */ GameCertificate: Certificate; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 76c8dd07..0b61b637 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -176,6 +176,8 @@ declare module PlayFabProfilesModels { } export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is * JSON string. @@ -193,6 +195,8 @@ declare module PlayFabProfilesModels { } export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is * JSON string. @@ -210,6 +214,8 @@ declare module PlayFabProfilesModels { } export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -220,6 +226,8 @@ declare module PlayFabProfilesModels { } export interface GetTitlePlayersFromMasterPlayerAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Master player account ids. */ MasterPlayerAccountIds: string[]; /** Id of title to get players from. */ @@ -241,6 +249,8 @@ declare module PlayFabProfilesModels { | "None"; export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The statements to include in the access policy. */ @@ -258,6 +268,8 @@ declare module PlayFabProfilesModels { } export interface SetGlobalPolicyRequest 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 permissions that govern access to all entities under this title or namespace. */ Permissions?: EntityPermissionStatement[]; @@ -268,6 +280,8 @@ declare module PlayFabProfilesModels { } export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The expected version of a profile to perform this update on */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 91317c14..6492b6af 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -753,6 +753,8 @@ declare module PlayFabServerModels { Amount: number; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be incremented. */ PlayFabId: string; /** Name of the virtual currency which is to be incremented. */ @@ -783,6 +785,8 @@ declare module PlayFabServerModels { } export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -812,6 +816,8 @@ declare module PlayFabServerModels { * Any increase over this value will be discarded. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; /** Name of the virtual currency which is to be incremented. */ @@ -898,6 +904,8 @@ declare module PlayFabServerModels { export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1058,6 +1066,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** Number of uses to consume from the item. */ ConsumeCount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -1529,6 +1539,8 @@ declare module PlayFabServerModels { export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** @@ -1570,6 +1582,8 @@ declare module PlayFabServerModels { } export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; @@ -1665,6 +1679,8 @@ declare module PlayFabServerModels { } export interface ExecuteCloudScriptServerRequest 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 name of the CloudScript function to execute */ FunctionName: string; /** Object that is passed in to the function as the first argument */ @@ -2229,6 +2245,7 @@ declare module PlayFabServerModels { | "RequestMultiplayerServersThrottledFromRateLimiter" | "TitleDataOverrideNotFound" | "DuplicateKeys" + | "WasNotCreatedWithCloudRoot" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2387,6 +2404,8 @@ declare module PlayFabServerModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2462,6 +2481,8 @@ declare module PlayFabServerModels { } export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2488,6 +2509,8 @@ declare module PlayFabServerModels { } export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2532,6 +2555,8 @@ declare module PlayFabServerModels { } export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2576,6 +2601,8 @@ declare module PlayFabServerModels { } export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** @@ -2604,6 +2631,8 @@ declare module PlayFabServerModels { } export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; /** PlayFabId of the user whose data will be returned */ @@ -2690,6 +2719,8 @@ declare module PlayFabServerModels { } export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** @@ -2719,6 +2750,8 @@ declare module PlayFabServerModels { export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** @@ -2742,12 +2775,16 @@ declare module PlayFabServerModels { } 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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** user for whom statistics are being requested */ PlayFabId: string; /** statistics to return */ @@ -2769,6 +2806,8 @@ declare module PlayFabServerModels { } export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -2781,6 +2820,8 @@ declare module PlayFabServerModels { } export interface GetPlayerTagsRequest 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 namespace to filter results by */ Namespace?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2979,6 +3020,8 @@ declare module PlayFabServerModels { export interface GetStoreItemsServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Optional identifier for the player to use in requesting the store information - if used, segment overrides will be * applied @@ -3076,6 +3119,8 @@ declare module PlayFabServerModels { } export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3098,6 +3143,8 @@ declare module PlayFabServerModels { CharacterName: string; /** Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3162,6 +3209,8 @@ declare module PlayFabServerModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of itemIds to grant to the user. */ ItemIds?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3180,6 +3229,8 @@ declare module PlayFabServerModels { Annotation?: string; /** Catalog version from which items are to be granted. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of itemIds to grant to the user. */ ItemIds: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3196,6 +3247,8 @@ declare module PlayFabServerModels { export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; @@ -3284,6 +3337,8 @@ declare module PlayFabServerModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation Network. */ AuthCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ @@ -3300,6 +3355,8 @@ declare module PlayFabServerModels { } export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; /** Unique PlayFab identifier. */ @@ -3314,6 +3371,8 @@ declare module PlayFabServerModels { } export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ @@ -3386,6 +3445,8 @@ declare module PlayFabServerModels { export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3398,6 +3459,8 @@ declare module PlayFabServerModels { export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** The id of Xbox Live sandbox. */ @@ -3410,6 +3473,8 @@ declare module PlayFabServerModels { export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ @@ -3452,6 +3517,8 @@ declare module PlayFabServerModels { } export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; /** PlayFab unique identifier of the user whose item is being modified. */ @@ -3537,6 +3604,8 @@ declare module PlayFabServerModels { } export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3814,6 +3883,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** Generated coupon code to redeem. */ CouponCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3826,6 +3897,8 @@ declare module PlayFabServerModels { } export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; /** Server authorization ticket passed back from a call to Matchmake or StartGame. */ @@ -3864,6 +3937,8 @@ declare module PlayFabServerModels { export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). @@ -3915,6 +3990,8 @@ declare module PlayFabServerModels { } 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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -3941,6 +4018,8 @@ declare module PlayFabServerModels { export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; /** PlayFabId of the reporting player. */ @@ -4069,6 +4148,8 @@ declare module PlayFabServerModels { } export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email?: string; /** The email template id of the account recovery email template to send. */ @@ -4083,6 +4164,8 @@ declare module PlayFabServerModels { } export interface SendEmailFromTemplateRequest 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 email template id of the email template to send. */ EmailTemplateId: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -4095,6 +4178,8 @@ declare module PlayFabServerModels { } export interface SendPushNotificationFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Id of the push notification template. */ PushNotificationTemplateId: string; /** PlayFabId of the push notification recipient. */ @@ -4108,6 +4193,8 @@ declare module PlayFabServerModels { * to custom plugin logic, fields, or functionality not natively supported by PlayFab. */ AdvancedPlatformDelivery?: AdvancedPushPlatformMsg[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Text of message to send. */ Message?: string; /** @@ -4378,6 +4465,8 @@ declare module PlayFabServerModels { Amount: number; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Name of the virtual currency which is to be decremented. */ @@ -4388,6 +4477,8 @@ declare module PlayFabServerModels { export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; /** Name of the virtual currency which is to be decremented. */ @@ -4428,6 +4519,8 @@ declare module PlayFabServerModels { } export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4438,6 +4531,8 @@ declare module PlayFabServerModels { } export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier. */ PlayFabId: string; /** Unique server custom identifier for this player. */ @@ -4450,6 +4545,8 @@ declare module PlayFabServerModels { } export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; @@ -4469,6 +4566,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. @@ -4489,6 +4588,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4547,6 +4648,8 @@ declare module PlayFabServerModels { export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4578,6 +4681,8 @@ declare module PlayFabServerModels { CharacterId: string; /** Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4588,6 +4693,8 @@ declare module PlayFabServerModels { } export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. * Default is false. @@ -4605,6 +4712,8 @@ declare module PlayFabServerModels { } export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4627,6 +4736,8 @@ declare module PlayFabServerModels { } export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4654,6 +4765,8 @@ declare module PlayFabServerModels { } export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4672,6 +4785,8 @@ declare module PlayFabServerModels { export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -5004,6 +5119,8 @@ declare module PlayFabServerModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5019,6 +5136,8 @@ declare module PlayFabServerModels { export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5034,6 +5153,8 @@ declare module PlayFabServerModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 50ffde35..626dbc2a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 5278bf8e..4290bf36 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 2a7131e2..c32bc867 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 167ed82c..2eba1cd3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 0c27e2dd..2271172d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index cc7fa240..63b169c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 5945a782..5da8d4a4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 554341cb..a9a90c9f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 73f5af53..b6b139e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 394a3137..e0ea7670 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 881d95ec..2bd5ddce 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index faee7e08..7ae07169 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -277,6 +277,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithManagedContainer", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateBuildWithProcessBasedServer: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithProcessBasedServer", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 87d25612..2b505c30 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 49fdcec4..b72c89b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -21,9 +21,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.68.200629", + sdkVersion: "1.69.200713", requestGetParams: { - sdk: "JavaScriptSDK-1.68.200629" + sdk: "JavaScriptSDK-1.69.200713" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.68.200629"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.69.200713"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index a7681fda..1d7b88e6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -587,6 +587,8 @@ declare module PlayFabAdminModule { declare module PlayFabAdminModels { export interface AbortTaskInstanceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** ID of a task instance that is being aborted. */ TaskInstanceId: string; @@ -651,6 +653,8 @@ declare module PlayFabAdminModels { export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Localized body text of the news. */ Body: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Language of the news item. */ Language: string; /** Unique id of the updated news item. */ @@ -667,6 +671,8 @@ declare module PlayFabAdminModels { export interface AddNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Default body text of the news. */ Body: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; /** Default title (headline) of the news item. */ @@ -681,6 +687,8 @@ declare module PlayFabAdminModels { } export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -701,6 +709,8 @@ declare module PlayFabAdminModels { 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 */ @@ -749,6 +759,8 @@ declare module PlayFabAdminModels { * Any increase over this value will be discarded. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; /** Name of the virtual currency which is to be incremented. */ @@ -810,6 +822,8 @@ declare module PlayFabAdminModels { export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1287,6 +1301,8 @@ declare module PlayFabAdminModels { | "ZW"; export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ @@ -1301,6 +1317,8 @@ declare module PlayFabAdminModels { } export interface CreateCloudScriptTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ @@ -1315,6 +1333,8 @@ declare module PlayFabAdminModels { } export interface CreateInsightsScheduledScalingTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Whether the schedule is active. Inactive schedule will not trigger task execution. */ @@ -1362,6 +1382,8 @@ declare module PlayFabAdminModels { export interface CreatePlayerStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName: string; /** interval at which the values of the statistic for all players are reset (resets begin at the next interval boundary) */ @@ -1598,6 +1620,8 @@ declare module PlayFabAdminModels { export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unqiue identifier for the store which is to be deleted */ StoreId: string; @@ -2210,6 +2234,7 @@ declare module PlayFabAdminModels { | "RequestMultiplayerServersThrottledFromRateLimiter" | "TitleDataOverrideNotFound" | "DuplicateKeys" + | "WasNotCreatedWithCloudRoot" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2495,6 +2520,8 @@ declare module PlayFabAdminModels { } export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** @@ -2534,6 +2561,8 @@ 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 }; /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** @@ -2557,6 +2586,8 @@ declare module PlayFabAdminModels { } 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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2573,6 +2604,8 @@ declare module PlayFabAdminModels { } export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -2585,6 +2618,8 @@ declare module PlayFabAdminModels { } export interface GetPlayerTagsRequest 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 namespace to filter results by */ Namespace?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2812,6 +2847,8 @@ declare module PlayFabAdminModels { } export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2878,6 +2915,8 @@ declare module PlayFabAdminModels { export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; @@ -2894,6 +2933,8 @@ declare module PlayFabAdminModels { Amount: number; /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The item which needs more availability. */ ItemId: string; @@ -2904,6 +2945,8 @@ declare module PlayFabAdminModels { } export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -3126,6 +3169,8 @@ declare module PlayFabAdminModels { 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 */ @@ -3509,6 +3554,8 @@ declare module PlayFabAdminModels { | "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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -3539,6 +3586,8 @@ declare module PlayFabAdminModels { export interface ResetCharacterStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3549,6 +3598,8 @@ declare module PlayFabAdminModels { } export interface ResetPasswordRequest 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 new password for the player. */ Password: string; /** The token of the player requesting the password reset. */ @@ -3561,6 +3612,8 @@ declare module PlayFabAdminModels { } export interface ResetUserStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3681,6 +3734,8 @@ declare module PlayFabAdminModels { } export interface RunTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Provide either the task ID or the task name to run a task. */ Identifier?: NameIdentifier; @@ -3739,6 +3794,8 @@ declare module PlayFabAdminModels { } export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email: string; /** The email template id of the account recovery email template to send. */ @@ -3763,6 +3820,8 @@ declare module PlayFabAdminModels { } export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Revision to make the current published revision */ Revision: number; /** Version number */ @@ -3941,6 +4000,8 @@ declare module PlayFabAdminModels { export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; /** Name of the virtual currency which is to be decremented. */ @@ -4029,6 +4090,8 @@ declare module PlayFabAdminModels { Catalog?: CatalogItem[]; /** Which catalog is being updated. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Should this catalog be set as the default catalog. Defaults to true. If there is currently no default catalog, this will * always set it. @@ -4042,6 +4105,8 @@ declare module PlayFabAdminModels { } export interface UpdateCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab user ID of the developer initiating the request. */ DeveloperPlayFabId?: string; /** List of Cloud Script files to upload to create the new revision. Must have at least one file. */ @@ -4127,6 +4192,8 @@ declare module PlayFabAdminModels { export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * array of random result tables to make available (Note: specifying an existing TableId will result in overwriting that * table, while any others will be added to the available set) @@ -4142,6 +4209,8 @@ declare module PlayFabAdminModels { export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Additional data about the store */ MarketingData?: StoreMarketingModel; /** Array of store items - references to catalog items, with specific pricing - to be added */ @@ -4156,6 +4225,8 @@ declare module PlayFabAdminModels { } export interface UpdateTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description the task */ Description?: string; /** Specify either the task ID or the name of the task to be updated. */ @@ -4174,6 +4245,8 @@ declare module PlayFabAdminModels { } export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4201,6 +4274,8 @@ declare module PlayFabAdminModels { } export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4217,6 +4292,8 @@ declare module PlayFabAdminModels { } export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** New title display name for the user - must be between 3 and 25 characters */ DisplayName: string; /** PlayFab unique identifier of the user whose title specific display name is to be changed */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index cffbf571..bac6429f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -45,6 +45,8 @@ declare module PlayFabAuthenticationModels { } export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -83,6 +85,8 @@ declare module PlayFabAuthenticationModels { | "NintendoSwitchAccount"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Client EntityToken */ EntityToken: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index ef7cc9d0..5e9e701b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -996,6 +996,8 @@ declare module PlayFabClientModels { } export interface AddOrUpdateContactEmailRequest 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 new contact email to associate with the player. */ EmailAddress: string; @@ -1018,6 +1020,8 @@ declare module PlayFabClientModels { } export interface AddUsernamePasswordRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email: string; /** Password for the PlayFab account (6-100 characters) */ @@ -1036,6 +1040,8 @@ declare module PlayFabClientModels { export interface AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be added to the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Name of the virtual currency which is to be incremented. */ VirtualCurrency: string; @@ -1302,6 +1308,8 @@ declare module PlayFabClientModels { } export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Purchase order identifier returned from StartPurchase. */ OrderId: string; @@ -1322,6 +1330,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** Number of uses to consume from the item. */ ConsumeCount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; @@ -1338,6 +1348,8 @@ declare module PlayFabClientModels { export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Id of the PSN service label to consume entitlements from */ ServiceLabel: number; @@ -1352,6 +1364,8 @@ declare module PlayFabClientModels { export interface ConsumeXboxEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to use */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; @@ -1873,6 +1887,8 @@ declare module PlayFabClientModels { } export interface ExecuteCloudScriptRequest 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 name of the CloudScript function to execute */ FunctionName: string; /** Object that is passed in to the function as the first argument */ @@ -2134,6 +2150,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2199,6 +2217,8 @@ declare module PlayFabClientModels { } export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2233,6 +2253,8 @@ declare module PlayFabClientModels { } export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2257,6 +2279,8 @@ declare module PlayFabClientModels { } export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2297,6 +2321,8 @@ declare module PlayFabClientModels { } export interface GetLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ @@ -2339,6 +2365,8 @@ declare module PlayFabClientModels { } export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** @@ -2393,6 +2421,8 @@ declare module PlayFabClientModels { } export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; /** PlayFabId of the user whose data will be returned. If not filled included, we return the data for the calling player. */ @@ -2479,6 +2509,8 @@ declare module PlayFabClientModels { } export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** @@ -2510,6 +2542,8 @@ declare module PlayFabClientModels { } export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** statistics to return (current version will be returned for each) */ StatisticNames?: string[]; /** @@ -2527,6 +2561,8 @@ declare module PlayFabClientModels { } export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -2539,6 +2575,8 @@ declare module PlayFabClientModels { } export interface GetPlayerTagsRequest 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 namespace to filter results by */ Namespace?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2887,6 +2925,8 @@ declare module PlayFabClientModels { } export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2930,6 +2970,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Non-unique display name of the character being granted (1-40 characters in length). */ CharacterName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be * created. @@ -3013,6 +3055,8 @@ declare module PlayFabClientModels { AndroidDevice?: string; /** Android device identifier for the user's device. */ AndroidDeviceId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the device, unlink the other user and re-link. */ ForceLink?: boolean; /** Specific Operating System version for the user's device. */ @@ -3025,6 +3069,8 @@ declare module PlayFabClientModels { } export interface LinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific Apple account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3038,6 +3084,8 @@ declare module PlayFabClientModels { export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3062,6 +3110,8 @@ declare module PlayFabClientModels { export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ AccessToken: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3072,6 +3122,8 @@ declare module PlayFabClientModels { } export interface LinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; /** If another user is already linked to the Facebook Instant Games ID, unlink the other user and re-link. */ @@ -3084,6 +3136,8 @@ declare module PlayFabClientModels { } export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Game Center identifier for the player account to be linked. */ @@ -3107,6 +3161,8 @@ declare module PlayFabClientModels { } export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3122,6 +3178,8 @@ declare module PlayFabClientModels { } export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Vendor-specific iOS identifier for the user's device. */ DeviceId: string; /** Specific model of the user's device. */ @@ -3140,6 +3198,8 @@ declare module PlayFabClientModels { export interface LinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid session auth ticket issued by Kongregate */ AuthTicket: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Numeric user ID assigned by Kongregate */ @@ -3152,6 +3212,8 @@ declare module PlayFabClientModels { } export interface LinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3163,6 +3225,8 @@ declare module PlayFabClientModels { } export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ ForceLink?: boolean; /** Nintendo Switch unique identifier for the user's device. */ @@ -3177,6 +3241,8 @@ declare module PlayFabClientModels { export interface LinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific OpenId Connect user, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3190,6 +3256,8 @@ declare module PlayFabClientModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation Network. */ AuthCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ @@ -3204,6 +3272,8 @@ declare module PlayFabClientModels { } export interface LinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** @@ -3221,6 +3291,8 @@ declare module PlayFabClientModels { export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Valid token issued by Twitch */ AccessToken: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; @@ -3231,6 +3303,8 @@ declare module PlayFabClientModels { } export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Device name. */ DeviceName?: string; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -3247,6 +3321,8 @@ declare module PlayFabClientModels { } export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ @@ -3336,6 +3412,8 @@ declare module PlayFabClientModels { AndroidDeviceId?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3355,6 +3433,8 @@ declare module PlayFabClientModels { export interface LoginWithAppleRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** @@ -3379,6 +3459,8 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** Custom unique identifier for the user, generated by the title. */ CustomId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3394,6 +3476,8 @@ declare module PlayFabClientModels { } export interface LoginWithEmailAddressRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Email address for the account. */ Email: string; /** Flags for which pieces of info to return for the user. */ @@ -3411,6 +3495,8 @@ declare module PlayFabClientModels { export interface LoginWithFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Facebook Instant Games signature for the user. */ @@ -3432,6 +3518,8 @@ declare module PlayFabClientModels { AccessToken: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3449,6 +3537,8 @@ declare module PlayFabClientModels { export interface LoginWithGameCenterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3479,6 +3569,8 @@ declare module PlayFabClientModels { export interface LoginWithGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3501,6 +3593,8 @@ declare module PlayFabClientModels { export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Vendor-specific iOS identifier for the user's device. */ DeviceId?: string; /** Specific model of the user's device. */ @@ -3526,6 +3620,8 @@ declare module PlayFabClientModels { AuthTicket?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3545,6 +3641,8 @@ declare module PlayFabClientModels { export interface LoginWithNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ @@ -3564,6 +3662,8 @@ declare module PlayFabClientModels { export interface LoginWithNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3585,6 +3685,8 @@ declare module PlayFabClientModels { ConnectionId: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** @@ -3605,6 +3707,8 @@ declare module PlayFabClientModels { } export interface LoginWithPlayFabRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Password for the PlayFab account (6-100 characters) */ @@ -3624,6 +3728,8 @@ declare module PlayFabClientModels { AuthCode?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3645,6 +3751,8 @@ declare module PlayFabClientModels { export interface LoginWithSteamRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3669,6 +3777,8 @@ declare module PlayFabClientModels { AccessToken?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3686,6 +3796,8 @@ declare module PlayFabClientModels { export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { /** The signed response from the user for the Challenge. */ ChallengeSignature: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** SHA256 hash of the PublicKey generated by Windows Hello. */ @@ -3701,6 +3813,8 @@ declare module PlayFabClientModels { export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ @@ -3731,6 +3845,8 @@ declare module PlayFabClientModels { BuildVersion?: string; /** Character to use for stats based matching. Leave null to use account stats. */ CharacterId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Game mode to match make against. [Note: Required if LobbyId is not specified] */ GameMode?: string; /** Lobby identifier to match make against. This is used to select a specific Game Server Instance. */ @@ -3844,6 +3960,8 @@ declare module PlayFabClientModels { export interface PayForPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Currency to use to fund the purchase. */ Currency: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Purchase order identifier returned from StartPurchase. */ OrderId: string; /** Payment provider to use to fund the purchase. */ @@ -4017,6 +4135,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier of the item to purchase. */ ItemId: string; /** Price the client expects to pay for the item (in case a new catalog or store was uploaded, with new prices). */ @@ -4069,6 +4189,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** Generated coupon code to redeem. */ CouponCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4123,6 +4245,8 @@ declare module PlayFabClientModels { } export interface RegisterPlayFabUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** An optional parameter for setting the display name for this title (3-25 characters). */ DisplayName?: string; /** User email address attached to their account */ @@ -4169,6 +4293,8 @@ declare module PlayFabClientModels { } export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Device name. */ DeviceName?: string; /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ @@ -4190,6 +4316,8 @@ declare module PlayFabClientModels { } export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4232,6 +4360,8 @@ declare module PlayFabClientModels { export interface ReportAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Type of activity, may be Opened, Closed, Start or End */ Activity: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique ID of the placement to report for */ PlacementId: string; /** Unique ID of the reward the player was offered */ @@ -4246,6 +4376,8 @@ declare module PlayFabClientModels { export interface ReportPlayerClientRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; @@ -4260,6 +4392,8 @@ declare module PlayFabClientModels { export interface RestoreIOSPurchasesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the restored items. If null, defaults to primary catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ ReceiptData: string; @@ -4272,6 +4406,8 @@ declare module PlayFabClientModels { } export interface RewardAdActivityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Placement unique ID */ PlacementId: string; /** Reward unique ID */ @@ -4311,6 +4447,8 @@ declare module PlayFabClientModels { } export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email: string; /** The email template id of the account recovery email template to send. */ @@ -4378,6 +4516,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** custom command line argument when starting game server process */ CustomCommandLineData?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ GameMode: string; /** the region to associate this server with for match filtering */ @@ -4410,6 +4550,8 @@ declare module PlayFabClientModels { export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of items to purchase. */ Items: ItemPurchaseRequest[]; /** Store through which to purchase items. If not set, prices will be pulled from the catalog itself. */ @@ -4535,6 +4677,8 @@ declare module PlayFabClientModels { export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Name of the virtual currency which is to be decremented. */ VirtualCurrency: string; @@ -4645,6 +4789,8 @@ declare module PlayFabClientModels { * used. */ AndroidDeviceId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4653,6 +4799,8 @@ declare module PlayFabClientModels { } export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4662,6 +4810,8 @@ declare module PlayFabClientModels { * will be used. */ CustomId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4670,6 +4820,8 @@ declare module PlayFabClientModels { } export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4678,6 +4830,8 @@ declare module PlayFabClientModels { } export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Facebook Instant Games identifier for the user. If not specified, the most recently signed in ID will be used. */ FacebookInstantGamesId?: string; @@ -4688,6 +4842,8 @@ declare module PlayFabClientModels { } export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4696,6 +4852,8 @@ declare module PlayFabClientModels { } export interface UnlinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4704,6 +4862,8 @@ declare module PlayFabClientModels { } export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Vendor-specific iOS identifier for the user's device. If not specified, the most recently signed in iOS Device ID will * be used. @@ -4717,6 +4877,8 @@ declare module PlayFabClientModels { } export interface UnlinkKongregateAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4725,10 +4887,14 @@ declare module PlayFabClientModels { } export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ NintendoSwitchDeviceId?: string; @@ -4741,10 +4907,14 @@ declare module PlayFabClientModels { export interface UnlinkOpenIdConnectRequest extends PlayFabModule.IPlayFabRequestCommon { /** A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters. */ ConnectionId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4753,6 +4923,8 @@ declare module PlayFabClientModels { } export interface UnlinkSteamAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4766,6 +4938,8 @@ declare module PlayFabClientModels { * one that is present on the profile. */ AccessToken?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4774,6 +4948,8 @@ declare module PlayFabClientModels { } export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** SHA256 hash of the PublicKey generated by Windows Hello. */ PublicKeyHint: string; @@ -4784,6 +4960,8 @@ declare module PlayFabClientModels { } export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4801,6 +4979,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. @@ -4819,6 +4999,8 @@ declare module PlayFabClientModels { CharacterId?: string; /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4843,6 +5025,8 @@ declare module PlayFabClientModels { export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4872,6 +5056,8 @@ declare module PlayFabClientModels { CharacterId: string; /** Statistics to be updated with the provided values, in the Key(string), Value(int) pattern. */ CharacterStatistics?: { [key: string]: number }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -4880,6 +5066,8 @@ declare module PlayFabClientModels { } export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Statistics to be updated with the provided values */ Statistics: StatisticUpdate[]; @@ -4890,6 +5078,8 @@ declare module PlayFabClientModels { } export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4912,6 +5102,8 @@ declare module PlayFabClientModels { } export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4940,6 +5132,8 @@ declare module PlayFabClientModels { } export interface UpdateUserTitleDisplayNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** New title display name for the user - must be between 3 and 25 characters. */ DisplayName: string; @@ -5219,6 +5413,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** ReceiptId returned by the Amazon App Store in-app purchase API */ @@ -5239,6 +5435,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice?: number; /** Original JSON string returned by the Google Play IAB API. */ @@ -5259,6 +5457,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ @@ -5277,6 +5477,8 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** Currency used to pay for the purchase (ISO 4217 currency code). */ CurrencyCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** XML Receipt returned by the Windows App Store in-app purchase API */ @@ -5333,6 +5535,8 @@ declare module PlayFabClientModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5346,6 +5550,8 @@ declare module PlayFabClientModels { export interface WriteClientPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5368,6 +5574,8 @@ declare module PlayFabClientModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 0c7d298b..5eeab994 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -408,6 +408,8 @@ declare module PlayFabCloudScriptModels { } export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ @@ -431,6 +433,8 @@ declare module PlayFabCloudScriptModels { } export interface ExecuteFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ @@ -503,6 +507,8 @@ declare module PlayFabCloudScriptModels { } export interface ListFunctionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -658,6 +664,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForEntityTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The result of the function execution. */ @@ -666,6 +674,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForFunctionExecutionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The result of the function execution. */ @@ -674,6 +684,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForPlayerTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The result of the function execution. */ @@ -686,6 +698,8 @@ declare module PlayFabCloudScriptModels { } export interface PostFunctionResultForScheduledTaskRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The result of the function execution */ @@ -717,6 +731,8 @@ declare module PlayFabCloudScriptModels { } export interface RegisterHttpFunctionRequest 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 name of the function to register */ FunctionName: string; /** Full URL for Azure Function that implements the function. */ @@ -727,6 +743,8 @@ declare module PlayFabCloudScriptModels { export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { /** A connection string for the storage account that hosts the queue for the Azure Function. */ ConnectionString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; /** The name of the queue for the Azure Function. */ @@ -794,6 +812,8 @@ declare module PlayFabCloudScriptModels { | "Queue"; export interface UnregisterFunctionRequest 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 name of the function to unregister */ FunctionName: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index c6a4b27a..b541cd16 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -45,6 +45,8 @@ declare module PlayFabDataModule { declare module PlayFabDataModels { export interface AbortFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to have their pending uploads aborted. */ @@ -66,6 +68,8 @@ declare module PlayFabDataModels { } export interface DeleteFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to be deleted. */ @@ -95,6 +99,8 @@ declare module PlayFabDataModels { } export interface FinalizeFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ @@ -127,6 +133,8 @@ declare module PlayFabDataModels { } export interface GetFilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; @@ -143,6 +151,8 @@ declare module PlayFabDataModels { } export interface GetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** @@ -172,6 +182,8 @@ declare module PlayFabDataModels { } export interface InitiateFileUploadsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ @@ -238,6 +250,8 @@ declare module PlayFabDataModels { } export interface SetObjectsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 3ebad116..2d9b9edf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -29,6 +29,12 @@ declare module PlayFabEventsModels { } export interface EventContents { + /** + * The optional custom tags associated with the event (e.g. build number, external trace identifiers, etc.). Before an + * event is written, this collection and the base request custom tags will be merged, but not overriden. This enables the + * caller to specify static tags and per event tags. + */ + CustomTags?: { [key: string]: string | null }; /** Entity associated with the event. If null, the event will apply to the calling entity. */ Entity?: EntityKey; /** The namespace in which the event is defined. Allowed namespaces can vary by API. */ @@ -56,6 +62,8 @@ declare module PlayFabEventsModels { } export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Collection of events to write to PlayStream. */ Events: EventContents[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts index e2df1bee..e167b7b3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -58,6 +58,8 @@ declare module PlayFabExperimentationModels { | "Canceled"; export interface CreateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ @@ -87,6 +89,8 @@ declare module PlayFabExperimentationModels { } export interface DeleteExperimentRequest 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 ID of the experiment to delete. */ ExperimentId: string; @@ -140,6 +144,8 @@ declare module PlayFabExperimentationModels { | "Snapshot"; export interface GetExperimentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -150,6 +156,8 @@ declare module PlayFabExperimentationModels { } export interface GetLatestScorecardRequest 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 ID of the experiment. */ ExperimentId?: string; @@ -162,6 +170,8 @@ declare module PlayFabExperimentationModels { } export interface GetTreatmentAssignmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -236,12 +246,16 @@ declare module PlayFabExperimentationModels { } export interface StartExperimentRequest 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 ID of the experiment to start. */ ExperimentId: string; } export interface StopExperimentRequest 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 ID of the experiment to stop. */ ExperimentId: string; @@ -256,6 +270,8 @@ declare module PlayFabExperimentationModels { } export interface UpdateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ @@ -297,8 +313,8 @@ declare module PlayFabExperimentationModels { IsControl: boolean; /** Name of the variant. */ Name: string; - /** Id of the TitleDataOverrideGroup to use with this variant. */ - TitleDataOverrideId?: string; + /** Id of the TitleDataOverride to use with this variant. */ + TitleDataOverrideLabel?: string; /** Percentage of target audience traffic that will see this variant. */ TrafficPercentage: number; /** Variables returned by this variant. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 2080b915..cca5d55b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -135,6 +135,8 @@ declare module PlayFabGroupsModule { declare module PlayFabGroupsModels { export interface AcceptGroupApplicationRequest 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. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a * child of the claimant entity. Defaults to the claimant entity. @@ -146,6 +148,8 @@ declare module PlayFabGroupsModels { } export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The identifier of the group */ @@ -154,6 +158,8 @@ declare module PlayFabGroupsModels { } export interface AddMembersRequest 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 identifier of the group */ Group: EntityKey; /** List of entities to add to the group. Only entities of type title_player_account and character may be added to groups. */ @@ -169,6 +175,8 @@ declare module PlayFabGroupsModels { export interface ApplyToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application */ AutoAcceptOutstandingInvite?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The identifier of the group */ @@ -187,6 +195,8 @@ declare module PlayFabGroupsModels { } export interface BlockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -195,6 +205,8 @@ declare module PlayFabGroupsModels { } export interface ChangeMemberRoleRequest 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 ID of the role that the entities will become a member of. This must be an existing role. Role IDs must be between 1 * and 64 characters long. @@ -213,6 +225,8 @@ declare module PlayFabGroupsModels { } export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The name of the group. This is unique at the title level by default. */ @@ -239,6 +253,8 @@ declare module PlayFabGroupsModels { } export interface CreateGroupRoleRequest 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 identifier of the group */ Group: EntityKey; /** @@ -265,12 +281,16 @@ declare module PlayFabGroupsModels { } export interface DeleteGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** ID of the group or role to remove */ Group: EntityKey; } export interface DeleteRoleRequest 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 identifier of the group */ Group: EntityKey; /** The ID of the role to delete. Role IDs must be between 1 and 64 characters long. */ @@ -309,6 +329,8 @@ declare module PlayFabGroupsModels { } export interface GetGroupRequest 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 identifier of the group */ Group?: EntityKey; /** The full name of the group */ @@ -389,6 +411,8 @@ declare module PlayFabGroupsModels { export interface InviteToGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional, default true. Automatically accept an application if one exists instead of creating an invitation */ AutoAcceptOutstandingApplication?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -416,6 +440,8 @@ declare module PlayFabGroupsModels { } export interface IsMemberRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -435,6 +461,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupApplicationsRequest 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 identifier of the group */ Group: EntityKey; @@ -447,6 +475,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupBlocksRequest 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 identifier of the group */ Group: EntityKey; @@ -459,6 +489,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupInvitationsRequest 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 identifier of the group */ Group: EntityKey; @@ -471,6 +503,8 @@ declare module PlayFabGroupsModels { } export interface ListGroupMembersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** ID of the group to list the members and roles for */ Group: EntityKey; @@ -483,6 +517,8 @@ declare module PlayFabGroupsModels { } export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -497,6 +533,8 @@ declare module PlayFabGroupsModels { } export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; @@ -514,6 +552,8 @@ declare module PlayFabGroupsModels { | "None"; export interface RemoveGroupApplicationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -522,6 +562,8 @@ declare module PlayFabGroupsModels { } export interface RemoveGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -530,6 +572,8 @@ declare module PlayFabGroupsModels { } export interface RemoveMembersRequest 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 identifier of the group */ Group: EntityKey; /** List of entities to remove */ @@ -540,6 +584,8 @@ declare module PlayFabGroupsModels { } export interface UnblockEntityRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The identifier of the group */ @@ -550,6 +596,8 @@ declare module PlayFabGroupsModels { export interface UpdateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional: the ID of an existing role to set as the new administrator role for the group */ AdminRoleId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any @@ -576,6 +624,8 @@ declare module PlayFabGroupsModels { } export interface UpdateGroupRoleRequest 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. By specifying the previously returned value of ProfileVersion from the * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts index 4ee29610..b3dedede 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts @@ -42,6 +42,8 @@ declare module PlayFabInsightsModule { declare module PlayFabInsightsModels { export interface InsightsEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -76,6 +78,8 @@ declare module PlayFabInsightsModels { } export interface InsightsGetOperationStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Id of the Insights operation. */ OperationId?: string; @@ -102,6 +106,8 @@ declare module PlayFabInsightsModels { } export interface InsightsGetPendingOperationsRequest 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 type of pending operations requested, or blank for all operation types. */ OperationType?: string; @@ -144,12 +150,16 @@ declare module PlayFabInsightsModels { } export interface InsightsSetPerformanceRequest 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 Insights performance level to apply to the title. */ PerformanceLevel: number; } export interface InsightsSetStorageRetentionRequest 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 Insights data storage retention value (in days) to apply to the title. */ RetentionDays: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts index 1bca30d8..4f46491e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -15,6 +15,8 @@ declare module PlayFabLocalizationModule { declare module PlayFabLocalizationModels { export interface GetLanguageListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 0f07b438..7f388f21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -90,6 +90,8 @@ declare module PlayFabMatchmakerModels { } export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the * Matchmaker/StartGame API. @@ -105,6 +107,8 @@ declare module PlayFabMatchmakerModels { } export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the * Matchmaker/StartGame API. @@ -132,6 +136,8 @@ declare module PlayFabMatchmakerModels { Build: string; /** Custom command line argument when starting game server process. */ CustomCommandLineData?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will * make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an @@ -160,6 +166,8 @@ declare module PlayFabMatchmakerModels { } export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a * catalog version of this or higher). diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 49d5604d..bb2458d7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -39,6 +39,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithmanagedcontainer */ CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a multiplayer server build with the server running as a process. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithprocessbasedserver + */ + CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a client. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket @@ -479,6 +484,8 @@ declare module PlayFabMultiplayerModels { } export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key of the player whose tickets should be canceled. */ Entity?: EntityKey; /** The name of the queue from which a player's tickets should be canceled. */ @@ -491,6 +498,8 @@ declare module PlayFabMultiplayerModels { } export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key of the player whose backfill tickets should be canceled. */ Entity: EntityKey; /** The name of the queue from which a player's backfill tickets should be canceled. */ @@ -507,6 +516,8 @@ declare module PlayFabMultiplayerModels { | "Timeout"; export interface CancelMatchmakingTicketRequest 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 name of the queue the ticket is in. */ QueueName: string; /** The Id of the ticket to find a match for. */ @@ -519,6 +530,8 @@ declare module PlayFabMultiplayerModels { } export interface CancelServerBackfillTicketRequest 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 name of the queue the ticket is in. */ QueueName: string; /** The Id of the ticket to find a match for. */ @@ -587,6 +600,8 @@ declare module PlayFabMultiplayerModels { AliasName: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -604,6 +619,8 @@ declare module PlayFabMultiplayerModels { ContainerImageReference?: ContainerImageReference; /** The container command to run when the multiplayer server has been allocated, including any arguments. */ ContainerRunCommand?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The list of game assets related to the build. */ GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ @@ -683,6 +700,8 @@ declare module PlayFabMultiplayerModels { BuildName: string; /** The flavor of container to create a build from. */ ContainerFlavor?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The list of game assets related to the build. */ GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ @@ -766,9 +785,108 @@ declare module PlayFabMultiplayerModels { } + export interface CreateBuildWithProcessBasedServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The list of game assets related to the build. */ + GameAssetReferences: AssetReferenceParams[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReferenceParams[]; + /** + * The working directory for the game process. If this is not provided, the working directory will be set based on the + * mount path of the game server executable. + */ + GameWorkingDirectory?: string; + /** + * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through + * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 + */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM. */ + MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; + /** The ports to map the build on. */ + Ports: Port[]; + /** The region configurations for the build. */ + RegionConfigurations: BuildRegionParams[]; + /** + * The command to run when the multiplayer server is started, including any arguments. The path to any executable should be + * relative to the root asset folder when unzipped. + */ + StartMultiplayerServerCommand: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; + /** The VM size to create the build on. */ + VmSize?: string; + + } + + export interface CreateBuildWithProcessBasedServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * When true, assets will not be copied for each server inside the VM. All serverswill run from the same set of assets, or + * will have the same assets mounted in the container. + */ + AreAssetsReadonly?: boolean; + /** The guid string build ID. Must be unique for every build. */ + BuildId?: string; + /** The build name. */ + BuildName?: string; + /** The flavor of container of the build. */ + ContainerFlavor?: string; + /** The time the build was created in UTC. */ + CreationTime?: string; + /** The game assets for the build. */ + GameAssetReferences?: AssetReference[]; + /** The game certificates for the build. */ + GameCertificateReferences?: GameCertificateReference[]; + /** + * The working directory for the game process. If this is not provided, the working directory will be set based on the + * mount path of the game server executable. + */ + GameWorkingDirectory?: string; + /** The metadata of the build. */ + Metadata?: { [key: string]: string | null }; + /** The number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm: number; + /** The OS platform used for running the game process. */ + OsPlatform?: string; + /** The ports the build is mapped on. */ + Ports?: Port[]; + /** The region configuration for the build. */ + RegionConfigurations?: BuildRegion[]; + /** The type of game server being hosted. */ + ServerType?: string; + /** + * The command to run when the multiplayer server is started, including any arguments. The path to any executable is + * relative to the root asset folder when unzipped. + */ + StartMultiplayerServerCommand?: string; + /** + * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to + * disc. + */ + UseStreamingForAssetDownloads?: boolean; + /** The VM size the build was created on. */ + VmSize?: string; + + } + export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who created this ticket. */ Creator: MatchmakingPlayer; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; /** A list of Entity Keys of other users to match with. */ @@ -787,6 +905,8 @@ declare module PlayFabMultiplayerModels { export interface CreateRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of to create the remote user for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The expiration time for the remote user created. Defaults to expiring in one day if not specified. */ ExpirationTime?: string; /** The region of virtual machine to create the remote user for. */ @@ -809,6 +929,8 @@ declare module PlayFabMultiplayerModels { } export interface CreateServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; /** The users who will be part of this ticket, along with their team assignments. */ @@ -827,6 +949,8 @@ declare module PlayFabMultiplayerModels { } export interface CreateServerMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** How long to attempt matching this ticket in seconds. */ GiveUpAfterSeconds: number; /** The users who will be part of this ticket. */ @@ -889,6 +1013,8 @@ declare module PlayFabMultiplayerModels { } export interface DeleteAssetRequest 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 filename of the asset to delete. */ FileName: string; @@ -897,12 +1023,16 @@ declare module PlayFabMultiplayerModels { export interface DeleteBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface DeleteBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The build region to delete. */ Region: string; @@ -911,16 +1041,22 @@ declare module PlayFabMultiplayerModels { export interface DeleteBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to delete. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface DeleteCertificateRequest 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 name of the certificate. */ Name: string; } export interface DeleteContainerImageRequest 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 container image repository we want to delete. */ ImageName?: string; @@ -929,6 +1065,8 @@ declare module PlayFabMultiplayerModels { export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server where the remote user is to delete. */ Region: string; /** The username of the remote user to delete. */ @@ -1000,6 +1138,8 @@ declare module PlayFabMultiplayerModels { } export interface EnableMultiplayerServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1048,6 +1188,8 @@ declare module PlayFabMultiplayerModels { } export interface GetAssetUploadUrlRequest 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 asset's file name to get the upload URL for. */ FileName: string; @@ -1064,12 +1206,16 @@ declare module PlayFabMultiplayerModels { export interface GetBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string alias ID of the alias to perform the action on. */ AliasId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface GetBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the build to get. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1133,6 +1279,8 @@ declare module PlayFabMultiplayerModels { } export interface GetContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1147,6 +1295,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchmakingQueueRequest 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 Id of the matchmaking queue to retrieve. */ QueueName?: string; @@ -1159,6 +1309,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON * object. @@ -1199,6 +1351,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON * object. @@ -1231,6 +1385,8 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region the multiplayer server is located in to get details for. */ Region: string; /** @@ -1266,6 +1422,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerLogsRequest 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 server ID of multiplayer server to get logs for. */ ServerId: string; @@ -1278,12 +1436,16 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerSessionLogsBySessionIdRequest 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 server ID of multiplayer server to get logs for. */ SessionId: string; } export interface GetQueueStatisticsRequest 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 name of the queue. */ QueueName: string; @@ -1300,6 +1462,8 @@ declare module PlayFabMultiplayerModels { export interface GetRemoteLoginEndpointRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get remote login information for. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server to get remote login information for. */ Region: string; /** The virtual machine ID the multiplayer server is located on. */ @@ -1316,6 +1480,8 @@ declare module PlayFabMultiplayerModels { } export interface GetServerBackfillTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the matchmaking attributes will be returned as an escaped JSON string or as an un-escaped JSON * object. @@ -1351,6 +1517,8 @@ declare module PlayFabMultiplayerModels { } export interface GetTitleEnabledForMultiplayerServersStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1361,6 +1529,8 @@ declare module PlayFabMultiplayerModels { } export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1381,6 +1551,8 @@ declare module PlayFabMultiplayerModels { } export interface JoinMatchmakingTicketRequest 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 User who wants to join the ticket. Their Id must be listed in PlayFabIdsToMatchWith. */ Member: MatchmakingPlayer; /** The name of the queue to join. */ @@ -1443,6 +1615,8 @@ declare module PlayFabMultiplayerModels { } export interface ListAssetSummariesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1467,6 +1641,8 @@ declare module PlayFabMultiplayerModels { } export interface ListBuildSummariesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1485,6 +1661,8 @@ declare module PlayFabMultiplayerModels { } export interface ListCertificateSummariesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1503,6 +1681,8 @@ declare module PlayFabMultiplayerModels { } export interface ListContainerImagesRequest 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 page size for the request. */ PageSize?: number; /** The skip token for the paged request. */ @@ -1521,6 +1701,8 @@ declare module PlayFabMultiplayerModels { } export interface ListContainerImageTagsRequest 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 container images we want to list tags for. */ ImageName?: string; @@ -1533,6 +1715,8 @@ declare module PlayFabMultiplayerModels { } export interface ListMatchmakingQueuesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1543,6 +1727,8 @@ declare module PlayFabMultiplayerModels { } export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key for which to find the ticket Ids. */ Entity?: EntityKey; /** The name of the queue to find a match for. */ @@ -1559,6 +1745,8 @@ declare module PlayFabMultiplayerModels { export interface ListMultiplayerServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer servers to list. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The page size for the request. */ PageSize?: number; /** The region the multiplayer servers to list. */ @@ -1579,6 +1767,8 @@ declare module PlayFabMultiplayerModels { } export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Qos servers version */ Version: string; @@ -1595,6 +1785,8 @@ declare module PlayFabMultiplayerModels { } export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1609,6 +1801,8 @@ declare module PlayFabMultiplayerModels { } export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1623,6 +1817,8 @@ declare module PlayFabMultiplayerModels { } export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity key for which to find the ticket Ids. */ Entity: EntityKey; /** The name of the queue the tickets are in. */ @@ -1639,6 +1835,8 @@ declare module PlayFabMultiplayerModels { export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The page size for the request. */ PageSize?: number; /** The region of the virtual machines to list. */ @@ -1765,6 +1963,8 @@ declare module PlayFabMultiplayerModels { } export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1855,6 +2055,8 @@ declare module PlayFabMultiplayerModels { } export interface RemoveMatchmakingQueueRequest 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 Id of the matchmaking queue to remove. */ QueueName?: string; @@ -1869,6 +2071,8 @@ declare module PlayFabMultiplayerModels { BuildAliasParams?: BuildAliasParams; /** The guid string build ID of the multiplayer server to request. */ BuildId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server * when requested (via GSDK) and can be used to validate players connecting to it. @@ -1914,6 +2118,8 @@ declare module PlayFabMultiplayerModels { } export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1975,6 +2181,8 @@ declare module PlayFabMultiplayerModels { } export interface SetMatchmakingQueueRequest 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 matchmaking queue config. */ MatchmakingQueue?: MatchmakingQueueConfig; @@ -1987,6 +2195,8 @@ declare module PlayFabMultiplayerModels { export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ BuildId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server to shut down. */ Region: string; /** A guid string session ID of the multiplayer server to shut down. */ @@ -2121,6 +2331,8 @@ declare module PlayFabMultiplayerModels { } export interface UntagContainerImageRequest 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 container image which tag we want to remove. */ ImageName?: string; /** The tag we want to remove. */ @@ -2135,6 +2347,8 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2143,6 +2357,8 @@ declare module PlayFabMultiplayerModels { BuildId: string; /** The updated region configuration that should be applied to the specified build. */ BuildRegion: BuildRegionParams; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -2151,10 +2367,14 @@ declare module PlayFabMultiplayerModels { BuildId: string; /** The updated region configuration that should be applied to the specified build. */ BuildRegions: BuildRegionParams[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } export interface UploadCertificateRequest 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 game certificate to upload. */ GameCertificate: Certificate; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 76c8dd07..0b61b637 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -176,6 +176,8 @@ declare module PlayFabProfilesModels { } export interface GetEntityProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is * JSON string. @@ -193,6 +195,8 @@ declare module PlayFabProfilesModels { } export interface GetEntityProfilesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Determines whether the objects will be returned as an escaped JSON string or as a un-escaped JSON object. Default is * JSON string. @@ -210,6 +214,8 @@ declare module PlayFabProfilesModels { } export interface GetGlobalPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -220,6 +226,8 @@ declare module PlayFabProfilesModels { } export interface GetTitlePlayersFromMasterPlayerAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Master player account ids. */ MasterPlayerAccountIds: string[]; /** Id of title to get players from. */ @@ -241,6 +249,8 @@ declare module PlayFabProfilesModels { | "None"; export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity: EntityKey; /** The statements to include in the access policy. */ @@ -258,6 +268,8 @@ declare module PlayFabProfilesModels { } export interface SetGlobalPolicyRequest 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 permissions that govern access to all entities under this title or namespace. */ Permissions?: EntityPermissionStatement[]; @@ -268,6 +280,8 @@ declare module PlayFabProfilesModels { } export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; /** The expected version of a profile to perform this update on */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 91317c14..6492b6af 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -753,6 +753,8 @@ declare module PlayFabServerModels { Amount: number; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be incremented. */ PlayFabId: string; /** Name of the virtual currency which is to be incremented. */ @@ -783,6 +785,8 @@ declare module PlayFabServerModels { } export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -812,6 +816,8 @@ declare module PlayFabServerModels { * Any increase over this value will be discarded. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be increased. */ PlayFabId: string; /** Name of the virtual currency which is to be incremented. */ @@ -898,6 +904,8 @@ declare module PlayFabServerModels { export interface BanUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of ban requests to be applied. Maximum 100. */ Bans: BanRequest[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; } @@ -1058,6 +1066,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** Number of uses to consume from the item. */ ConsumeCount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique instance identifier of the item to be consumed. */ ItemInstanceId: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -1529,6 +1539,8 @@ declare module PlayFabServerModels { export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** @@ -1570,6 +1582,8 @@ declare module PlayFabServerModels { } export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier for the Game Server Instance that is being deregistered. */ LobbyId: string; @@ -1665,6 +1679,8 @@ declare module PlayFabServerModels { } export interface ExecuteCloudScriptServerRequest 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 name of the CloudScript function to execute */ FunctionName: string; /** Object that is passed in to the function as the first argument */ @@ -2229,6 +2245,7 @@ declare module PlayFabServerModels { | "RequestMultiplayerServersThrottledFromRateLimiter" | "TitleDataOverrideNotFound" | "DuplicateKeys" + | "WasNotCreatedWithCloudRoot" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2387,6 +2404,8 @@ declare module PlayFabServerModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -2462,6 +2481,8 @@ declare module PlayFabServerModels { } export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2488,6 +2509,8 @@ declare module PlayFabServerModels { } export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2532,6 +2555,8 @@ declare module PlayFabServerModels { } export interface GetLeaderboardAroundUserRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2576,6 +2601,8 @@ declare module PlayFabServerModels { } export interface GetLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** @@ -2604,6 +2631,8 @@ declare module PlayFabServerModels { } export interface GetPlayerCombinedInfoRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters: GetPlayerCombinedInfoRequestParams; /** PlayFabId of the user whose data will be returned */ @@ -2690,6 +2719,8 @@ declare module PlayFabServerModels { } export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** @@ -2719,6 +2750,8 @@ declare module PlayFabServerModels { export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ MaxBatchSize?: number; /** @@ -2742,12 +2775,16 @@ declare module PlayFabServerModels { } 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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; } export interface GetPlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** user for whom statistics are being requested */ PlayFabId: string; /** statistics to return */ @@ -2769,6 +2806,8 @@ declare module PlayFabServerModels { } export interface GetPlayerStatisticVersionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** unique name of the statistic */ StatisticName?: string; @@ -2781,6 +2820,8 @@ declare module PlayFabServerModels { } export interface GetPlayerTagsRequest 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 namespace to filter results by */ Namespace?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2979,6 +3020,8 @@ declare module PlayFabServerModels { export interface GetStoreItemsServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Optional identifier for the player to use in requesting the store information - if used, segment overrides will be * applied @@ -3076,6 +3119,8 @@ declare module PlayFabServerModels { } export interface GetUserInventoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3098,6 +3143,8 @@ declare module PlayFabServerModels { CharacterName: string; /** Type of the character being granted; statistics can be sliced based on this value. */ CharacterType: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3162,6 +3209,8 @@ declare module PlayFabServerModels { CatalogVersion?: string; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of itemIds to grant to the user. */ ItemIds?: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3180,6 +3229,8 @@ declare module PlayFabServerModels { Annotation?: string; /** Catalog version from which items are to be granted. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of itemIds to grant to the user. */ ItemIds: string[]; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3196,6 +3247,8 @@ declare module PlayFabServerModels { export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Array of items to grant and the users to whom the items are to be granted. */ ItemGrants: ItemGrant[]; @@ -3284,6 +3337,8 @@ declare module PlayFabServerModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation Network. */ AuthCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ @@ -3300,6 +3355,8 @@ declare module PlayFabServerModels { } export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the custom ID, unlink the other user and re-link. */ ForceLink?: boolean; /** Unique PlayFab identifier. */ @@ -3314,6 +3371,8 @@ declare module PlayFabServerModels { } export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ @@ -3386,6 +3445,8 @@ declare module PlayFabServerModels { export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Player secret that is used to verify API request signatures (Enterprise Only). */ @@ -3398,6 +3459,8 @@ declare module PlayFabServerModels { export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** The id of Xbox Live sandbox. */ @@ -3410,6 +3473,8 @@ declare module PlayFabServerModels { export interface LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ @@ -3452,6 +3517,8 @@ declare module PlayFabServerModels { } export interface ModifyItemUsesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique instance identifier of the item to be modified. */ ItemInstanceId: string; /** PlayFab unique identifier of the user whose item is being modified. */ @@ -3537,6 +3604,8 @@ declare module PlayFabServerModels { } export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier of the Game Instance the user is leaving. */ LobbyId: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3814,6 +3883,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** Generated coupon code to redeem. */ CouponCode: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3826,6 +3897,8 @@ declare module PlayFabServerModels { } export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ LobbyId: string; /** Server authorization ticket passed back from a call to Matchmake or StartGame. */ @@ -3864,6 +3937,8 @@ declare module PlayFabServerModels { export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier of the build running on the Game Server Instance. */ Build: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). @@ -3915,6 +3990,8 @@ declare module PlayFabServerModels { } 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 }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique tag for player profile. */ @@ -3941,6 +4018,8 @@ declare module PlayFabServerModels { export interface ReportPlayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Optional additional comment by reporting player. */ Comment?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier of the reported player. */ ReporteeId: string; /** PlayFabId of the reporting player. */ @@ -4069,6 +4148,8 @@ declare module PlayFabServerModels { } export interface SendCustomAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** User email address attached to their account */ Email?: string; /** The email template id of the account recovery email template to send. */ @@ -4083,6 +4164,8 @@ declare module PlayFabServerModels { } export interface SendEmailFromTemplateRequest 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 email template id of the email template to send. */ EmailTemplateId: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -4095,6 +4178,8 @@ declare module PlayFabServerModels { } export interface SendPushNotificationFromTemplateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Id of the push notification template. */ PushNotificationTemplateId: string; /** PlayFabId of the push notification recipient. */ @@ -4108,6 +4193,8 @@ declare module PlayFabServerModels { * to custom plugin logic, fields, or functionality not natively supported by PlayFab. */ AdvancedPlatformDelivery?: AdvancedPushPlatformMsg[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Text of message to send. */ Message?: string; /** @@ -4378,6 +4465,8 @@ declare module PlayFabServerModels { Amount: number; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Name of the virtual currency which is to be decremented. */ @@ -4388,6 +4477,8 @@ declare module PlayFabServerModels { export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to be subtracted from the user balance of the specified virtual currency. */ Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** PlayFab unique identifier of the user whose virtual currency balance is to be decreased. */ PlayFabId: string; /** Name of the virtual currency which is to be decremented. */ @@ -4428,6 +4519,8 @@ declare module PlayFabServerModels { } export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4438,6 +4531,8 @@ declare module PlayFabServerModels { } export interface UnlinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier. */ PlayFabId: string; /** Unique server custom identifier for this player. */ @@ -4450,6 +4545,8 @@ declare module PlayFabServerModels { } export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ PlayFabId: string; @@ -4469,6 +4566,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** ItemInstanceId of the container to unlock. */ ContainerItemInstanceId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * ItemInstanceId of the key that will be consumed by unlocking this container. If the container requires a key, this * parameter is required. @@ -4489,6 +4588,8 @@ declare module PlayFabServerModels { CharacterId?: string; /** Catalog ItemId of the container type to unlock. */ ContainerItemId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4547,6 +4648,8 @@ declare module PlayFabServerModels { export interface UpdateCharacterDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4578,6 +4681,8 @@ declare module PlayFabServerModels { CharacterId: string; /** Statistics to be updated with the provided values. */ CharacterStatistics?: { [key: string]: number }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4588,6 +4693,8 @@ declare module PlayFabServerModels { } export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Indicates whether the statistics provided should be set, regardless of the aggregation method set on the statistic. * Default is false. @@ -4605,6 +4712,8 @@ declare module PlayFabServerModels { } export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4627,6 +4736,8 @@ declare module PlayFabServerModels { } export interface UpdateUserDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4654,6 +4765,8 @@ declare module PlayFabServerModels { } export interface UpdateUserInternalDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -4672,6 +4785,8 @@ declare module PlayFabServerModels { export interface UpdateUserInventoryItemDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may * not begin with a '!' character or be null. @@ -5004,6 +5119,8 @@ declare module PlayFabServerModels { Body?: { [key: string]: any }; /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5019,6 +5136,8 @@ declare module PlayFabServerModels { export interface WriteServerPlayerEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom data properties associated with the event. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). @@ -5034,6 +5153,8 @@ declare module PlayFabServerModels { export interface WriteTitleEventRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom event properties. Each property consists of a name (string) and a value (JSON object). */ Body?: { [key: string]: any }; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it * commonly follows the subject_verb_object pattern (e.g. player_logged_in). From 17c801264a92d1e31c1c694edd552d50aaccd91f Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 30 Jul 2020 21:25:56 +0000 Subject: [PATCH 109/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200730 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabAuthenticationApi.js | 20 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabCloudScriptApi.js | 20 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 20 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabExperimentationApi.js | 20 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 20 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabLocalizationApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabMatchmakerApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabMultiplayerApi.js | 20 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 20 +++++++++---------- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 20 +++++++++---------- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 5 ++++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 19 ++++++++++++++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabAuthenticationApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabClientApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabCloudScriptApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabDataApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabEventsApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabExperimentationApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabGroupsApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabInsightsApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabLocalizationApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabMatchmakerApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabMultiplayerApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabProfilesApi.js | 20 +++++++++---------- .../src/PlayFab/PlayFabServerApi.js | 20 +++++++++---------- .../src/typings/PlayFab/PlayFab.d.ts | 1 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 5 ++++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 19 ++++++++++++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++- 39 files changed, 341 insertions(+), 291 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index fceec499..5f3e6cf2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.69.200713", + "version": "1.70.200730", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 626dbc2a..fdb5689c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 4290bf36..d9bd26d5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c32bc867..f43d321a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 2eba1cd3..29535de0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 2271172d..9c55afb1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 63b169c8..a55b38d1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 5da8d4a4..d8afdad9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a9a90c9f..6ad1e4d3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b6b139e9..f0d2496f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e0ea7670..83cdd374 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 2bd5ddce..48229a1c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7ae07169..954d5e77 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2b505c30..6d4388ee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b72c89b1..fde5164f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 1d7b88e6..79375651 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2797,7 +2797,10 @@ declare module PlayFabAdminModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; - /** Name of the override. */ + /** + * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied + * automatically to the title data. + */ OverrideLabel?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 5e9e701b..ff80992c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2843,7 +2843,10 @@ declare module PlayFabClientModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; - /** Name of the override. */ + /** + * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied + * automatically to the title data. + */ OverrideLabel?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index bb2458d7..0de39fbc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -371,7 +371,8 @@ declare module PlayFabMultiplayerModels { | "WestUs" | "ChinaEast2" | "ChinaNorth2" - | "SouthAfricaNorth"; + | "SouthAfricaNorth" + | "CentralUsEuap"; type AzureVmFamily = "A" | "Av2" @@ -625,6 +626,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The Linux instrumentation configuration for the build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -668,6 +671,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The Linux instrumentation configuration for this build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ @@ -804,6 +809,8 @@ declare module PlayFabMultiplayerModels { * mount path of the game server executable. */ GameWorkingDirectory?: string; + /** The instrumentation configuration for the build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -855,6 +862,8 @@ declare module PlayFabMultiplayerModels { * mount path of the game server executable. */ GameWorkingDirectory?: string; + /** The instrumentation configuration for this build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ @@ -1614,6 +1623,12 @@ declare module PlayFabMultiplayerModels { } + export interface LinuxInstrumentationConfiguration { + /** Designates whether Linux instrumentation configuration will be enabled for this Build */ + IsEnabled: boolean; + + } + export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1770,7 +1785,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Qos servers version */ - Version: string; + Version?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 6492b6af..79f97ddf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3045,7 +3045,10 @@ declare module PlayFabServerModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; - /** Name of the override. */ + /** + * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied + * automatically to the title data. + */ OverrideLabel?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index f3d91fe6..16df5f6f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -23,6 +23,7 @@ declare module PlayFabModule { disableAdvertising: boolean; AD_TYPE_IDFA: string; AD_TYPE_ANDROID_ID: string; + productionServerUrl: string; } export interface IPlayFabRequestCommon { } export interface IPlayFabError { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 626dbc2a..fdb5689c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 4290bf36..d9bd26d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c32bc867..f43d321a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 2eba1cd3..29535de0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 2271172d..9c55afb1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 63b169c8..a55b38d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 5da8d4a4..d8afdad9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a9a90c9f..6ad1e4d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b6b139e9..f0d2496f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e0ea7670..83cdd374 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 2bd5ddce..48229a1c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7ae07169..954d5e77 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2b505c30..6d4388ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b72c89b1..fde5164f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,34 +14,34 @@ if(!PlayFab.settings) { // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly disableAdvertising: false, AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid" + AD_TYPE_ANDROID_ID: "Adid", + productionServerUrl: ".playfabapi.com" } } if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.69.200713", + sdkVersion: "1.70.200730", requestGetParams: { - sdk: "JavaScriptSDK-1.69.200713" + sdk: "JavaScriptSDK-1.70.200730" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this - productionServerUrl: ".playfabapi.com", 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._internalSettings.productionServerUrl.substring(0, 4) === "http")) { + if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) { if (PlayFab._internalSettings.verticalName) { - return "https://" + PlayFab._internalSettings.verticalName + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl; } else { - return "https://" + PlayFab.settings.titleId + PlayFab._internalSettings.productionServerUrl; + return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl; } } else { - return PlayFab._internalSettings.productionServerUrl; + return PlayFab.settings.productionServerUrl; } }, @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.69.200713"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; +PlayFab.sdkVersion = "1.70.200730"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index f3d91fe6..16df5f6f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -23,6 +23,7 @@ declare module PlayFabModule { disableAdvertising: boolean; AD_TYPE_IDFA: string; AD_TYPE_ANDROID_ID: string; + productionServerUrl: string; } export interface IPlayFabRequestCommon { } export interface IPlayFabError { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 1d7b88e6..79375651 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2797,7 +2797,10 @@ declare module PlayFabAdminModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; - /** Name of the override. */ + /** + * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied + * automatically to the title data. + */ OverrideLabel?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 5e9e701b..ff80992c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2843,7 +2843,10 @@ declare module PlayFabClientModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; - /** Name of the override. */ + /** + * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied + * automatically to the title data. + */ OverrideLabel?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index bb2458d7..0de39fbc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -371,7 +371,8 @@ declare module PlayFabMultiplayerModels { | "WestUs" | "ChinaEast2" | "ChinaNorth2" - | "SouthAfricaNorth"; + | "SouthAfricaNorth" + | "CentralUsEuap"; type AzureVmFamily = "A" | "Av2" @@ -625,6 +626,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The Linux instrumentation configuration for the build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -668,6 +671,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The Linux instrumentation configuration for this build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ @@ -804,6 +809,8 @@ declare module PlayFabMultiplayerModels { * mount path of the game server executable. */ GameWorkingDirectory?: string; + /** The instrumentation configuration for the build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -855,6 +862,8 @@ declare module PlayFabMultiplayerModels { * mount path of the game server executable. */ GameWorkingDirectory?: string; + /** The instrumentation configuration for this build. */ + InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ @@ -1614,6 +1623,12 @@ declare module PlayFabMultiplayerModels { } + export interface LinuxInstrumentationConfiguration { + /** Designates whether Linux instrumentation configuration will be enabled for this Build */ + IsEnabled: boolean; + + } + export interface ListAssetSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1770,7 +1785,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Qos servers version */ - Version: string; + Version?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 6492b6af..79f97ddf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3045,7 +3045,10 @@ declare module PlayFabServerModels { export interface GetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; - /** Name of the override. */ + /** + * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied + * automatically to the title data. + */ OverrideLabel?: string; } From a47cbd2147bf5b7cd96452f6ee41c7fc810149a1 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 5 Aug 2020 23:41:41 +0000 Subject: [PATCH 110/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200805 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 14 ++++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 47 ++++++++++++++++++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 6 +++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 - .../src/PlayFab/PlayFabAdminApi.js | 14 ++++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- .../src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- .../src/PlayFab/PlayFabDataApi.js | 6 +-- .../src/PlayFab/PlayFabEventsApi.js | 6 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +-- .../src/PlayFab/PlayFabGroupsApi.js | 6 +-- .../src/PlayFab/PlayFabInsightsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- .../src/PlayFab/PlayFabProfilesApi.js | 6 +-- .../src/PlayFab/PlayFabServerApi.js | 6 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 47 ++++++++++++++++++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 6 +++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 - 35 files changed, 205 insertions(+), 89 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 5f3e6cf2..c7211dda 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.70.200730", + "version": "1.71.200805", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fdb5689c..34b43a1a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -341,6 +341,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTitle", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeleteTitleDataOverride: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTitleDataOverride", request, "X-SecretKey", callback, customData, extraHeaders); + }, + ExportMasterPlayerData: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportMasterPlayerData", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -613,6 +617,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, + SetTitleDataAndOverrides: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleDataAndOverrides", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SetTitleInternalData: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d9bd26d5..0c54b399 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f43d321a..bfaf7297 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 29535de0..cc363a4f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9c55afb1..8d9f238a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a55b38d1..fed4a768 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index d8afdad9..858e1a84 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 6ad1e4d3..487228a1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index f0d2496f..08215a86 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 83cdd374..a26fc15c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 48229a1c..47c2c13c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 954d5e77..e3025181 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 6d4388ee..2883ff93 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fde5164f..904bd6c1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 79375651..4ed5fb6f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -124,6 +124,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletetitle */ DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a specified set of title data overrides. + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletetitledataoverride + */ + DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Exports all associated data of a master player account * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata @@ -477,6 +482,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Set and delete key-value pairs in a title data override instance. + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledataandoverrides + */ + SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings which cannot be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata @@ -1637,6 +1647,16 @@ declare module PlayFabAdminModels { } + export interface DeleteTitleDataOverrideRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Name of the override. */ + OverrideLabel: string; + + } + + export interface DeleteTitleDataOverrideResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -2315,7 +2335,6 @@ declare module PlayFabAdminModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" - | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; @@ -3851,6 +3870,21 @@ declare module PlayFabAdminModels { } + export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to + * create/update a key. + */ + KeyValues: TitleDataKeyValue[]; + /** Name of the override. */ + OverrideLabel?: string; + + } + + export interface SetTitleDataAndOverridesResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -4055,6 +4089,17 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; + export interface TitleDataKeyValue { + /** + * Key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key?: string; + /** New value to set. Set to null to remove a value */ + Value?: string; + + } + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index bac6429f..163bf7f2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -62,6 +62,10 @@ declare module PlayFabAuthenticationModels { } + type IdentifiedDeviceType = "Unknown" + | "XboxOne" + | "Scarlett"; + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -95,6 +99,8 @@ declare module PlayFabAuthenticationModels { export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; + /** The authenticated device for this entity, for the given login */ + IdentifiedDeviceType?: string; /** The identity provider for this entity, for the given login */ IdentityProvider?: string; /** The lineage of this profile. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 79f97ddf..9d9604fd 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2326,7 +2326,6 @@ declare module PlayFabServerModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" - | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fdb5689c..34b43a1a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -341,6 +341,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTitle", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeleteTitleDataOverride: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteTitleDataOverride", request, "X-SecretKey", callback, customData, extraHeaders); + }, + ExportMasterPlayerData: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportMasterPlayerData", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -613,6 +617,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleData", request, "X-SecretKey", callback, customData, extraHeaders); }, + SetTitleDataAndOverrides: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleDataAndOverrides", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SetTitleInternalData: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d9bd26d5..0c54b399 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f43d321a..bfaf7297 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 29535de0..cc363a4f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9c55afb1..8d9f238a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a55b38d1..fed4a768 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index d8afdad9..858e1a84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 6ad1e4d3..487228a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index f0d2496f..08215a86 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 83cdd374..a26fc15c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 48229a1c..47c2c13c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 954d5e77..e3025181 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 6d4388ee..2883ff93 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fde5164f..904bd6c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.70.200730", + sdkVersion: "1.71.200805", requestGetParams: { - sdk: "JavaScriptSDK-1.70.200730" + sdk: "JavaScriptSDK-1.71.200805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.70.200730"; +PlayFab.sdkVersion = "1.71.200805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 79375651..4ed5fb6f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -124,6 +124,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletetitle */ DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes a specified set of title data overrides. + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletetitledataoverride + */ + DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Exports all associated data of a master player account * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata @@ -477,6 +482,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Set and delete key-value pairs in a title data override instance. + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledataandoverrides + */ + SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the key-value store of custom title settings which cannot be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata @@ -1637,6 +1647,16 @@ declare module PlayFabAdminModels { } + export interface DeleteTitleDataOverrideRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Name of the override. */ + OverrideLabel: string; + + } + + export interface DeleteTitleDataOverrideResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface DeleteTitleRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -2315,7 +2335,6 @@ declare module PlayFabAdminModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" - | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; @@ -3851,6 +3870,21 @@ declare module PlayFabAdminModels { } + export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to + * create/update a key. + */ + KeyValues: TitleDataKeyValue[]; + /** Name of the override. */ + OverrideLabel?: string; + + } + + export interface SetTitleDataAndOverridesResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same @@ -4055,6 +4089,17 @@ declare module PlayFabAdminModels { | "ActivatedSteam" | "RevokedSteam"; + export interface TitleDataKeyValue { + /** + * Key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key?: string; + /** New value to set. Set to null to remove a value */ + Value?: string; + + } + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index bac6429f..163bf7f2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -62,6 +62,10 @@ declare module PlayFabAuthenticationModels { } + type IdentifiedDeviceType = "Unknown" + | "XboxOne" + | "Scarlett"; + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -95,6 +99,8 @@ declare module PlayFabAuthenticationModels { export interface ValidateEntityTokenResponse extends PlayFabModule.IPlayFabResultCommon { /** The entity id and type. */ Entity?: EntityKey; + /** The authenticated device for this entity, for the given login */ + IdentifiedDeviceType?: string; /** The identity provider for this entity, for the given login */ IdentityProvider?: string; /** The lineage of this profile. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 79f97ddf..9d9604fd 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2326,7 +2326,6 @@ declare module PlayFabServerModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" - | "ExperimentationExistingCodelessScheduled" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SnapshotNotFound"; From 6fc476f4f8d0a56855c331d4c0488d4affb61706 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 18 Aug 2020 00:31:57 +0000 Subject: [PATCH 111/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200817 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 15 +++----- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 34 +++++-------------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 3 ++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 15 +++----- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 34 +++++-------------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 3 ++ 35 files changed, 139 insertions(+), 177 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c7211dda..7df0ce32 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.71.200805", + "version": "1.72.200817", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 34b43a1a..26ea4186 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0c54b399..dd358629 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index bfaf7297..964ef6ef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index cc363a4f..59912d9c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 8d9f238a..d31bb837 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index fed4a768..5dd800f7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 858e1a84..054b4708 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 487228a1..60e2666a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 08215a86..9633a4dd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a26fc15c..bee89cfe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 47c2c13c..d2b89a00 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e3025181..bfcf0e8c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -437,13 +437,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, null, callback, customData, extraHeaders); }, - /** - * @deprecated Please use ListQosServersForTitle instead. - */ - ListQosServers: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); - }, - ListQosServersForTitle: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2883ff93..46ce3db6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 904bd6c1..a59d71f8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 4ed5fb6f..134fbf60 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2255,6 +2255,7 @@ declare module PlayFabAdminModels { | "TitleDataOverrideNotFound" | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" + | "LegacyMultiplayerServersDeprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0de39fbc..0478498a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -245,12 +245,8 @@ declare module PlayFabMultiplayerModule { */ ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Lists quality of service servers. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosservers - */ - ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists quality of service servers. + * Lists quality of service servers for the title. By default, servers are only returned for regions where a Multiplayer + * Servers build has been deployed. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -372,7 +368,8 @@ declare module PlayFabMultiplayerModels { | "ChinaEast2" | "ChinaNorth2" | "SouthAfricaNorth" - | "CentralUsEuap"; + | "CentralUsEuap" + | "WestCentralUs"; type AzureVmFamily = "A" | "Av2" @@ -1784,8 +1781,6 @@ declare module PlayFabMultiplayerModels { export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Qos servers version */ - Version?: string; } @@ -1802,6 +1797,11 @@ declare module PlayFabMultiplayerModels { export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** + * Indicates that the response should contain Qos servers for all regions, including those where there are no builds + * deployed for the title. + */ + IncludeAllRegions: boolean; } @@ -1815,22 +1815,6 @@ declare module PlayFabMultiplayerModels { } - export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface ListQosServersResponse extends PlayFabModule.IPlayFabResultCommon { - /** The page size on the response. */ - PageSize: number; - /** The list of QoS servers. */ - QosServers?: QosServer[]; - /** The skip token for the paged response. */ - SkipToken?: string; - - } - export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 9d9604fd..b75f9f6f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -840,6 +840,8 @@ declare module PlayFabServerModels { } export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** Indicates if token was expired at request time. */ + IsSessionTicketExpired?: boolean; /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; @@ -2246,6 +2248,7 @@ declare module PlayFabServerModels { | "TitleDataOverrideNotFound" | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" + | "LegacyMultiplayerServersDeprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 34b43a1a..26ea4186 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0c54b399..dd358629 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index bfaf7297..964ef6ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index cc363a4f..59912d9c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 8d9f238a..d31bb837 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index fed4a768..5dd800f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 858e1a84..054b4708 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 487228a1..60e2666a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 08215a86..9633a4dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a26fc15c..bee89cfe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 47c2c13c..d2b89a00 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e3025181..bfcf0e8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -437,13 +437,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListPartyQosServers", request, null, callback, customData, extraHeaders); }, - /** - * @deprecated Please use ListQosServersForTitle instead. - */ - ListQosServers: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServers", request, null, callback, customData, extraHeaders); - }, - ListQosServersForTitle: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2883ff93..46ce3db6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 904bd6c1..a59d71f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.71.200805", + sdkVersion: "1.72.200817", requestGetParams: { - sdk: "JavaScriptSDK-1.71.200805" + sdk: "JavaScriptSDK-1.72.200817" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.71.200805"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.72.200817"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 4ed5fb6f..134fbf60 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2255,6 +2255,7 @@ declare module PlayFabAdminModels { | "TitleDataOverrideNotFound" | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" + | "LegacyMultiplayerServersDeprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0de39fbc..0478498a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -245,12 +245,8 @@ declare module PlayFabMultiplayerModule { */ ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Lists quality of service servers. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosservers - */ - ListQosServers(request: PlayFabMultiplayerModels.ListQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists quality of service servers. + * Lists quality of service servers for the title. By default, servers are only returned for regions where a Multiplayer + * Servers build has been deployed. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -372,7 +368,8 @@ declare module PlayFabMultiplayerModels { | "ChinaEast2" | "ChinaNorth2" | "SouthAfricaNorth" - | "CentralUsEuap"; + | "CentralUsEuap" + | "WestCentralUs"; type AzureVmFamily = "A" | "Av2" @@ -1784,8 +1781,6 @@ declare module PlayFabMultiplayerModels { export interface ListPartyQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Qos servers version */ - Version?: string; } @@ -1802,6 +1797,11 @@ declare module PlayFabMultiplayerModels { export interface ListQosServersForTitleRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** + * Indicates that the response should contain Qos servers for all regions, including those where there are no builds + * deployed for the title. + */ + IncludeAllRegions: boolean; } @@ -1815,22 +1815,6 @@ declare module PlayFabMultiplayerModels { } - export interface ListQosServersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface ListQosServersResponse extends PlayFabModule.IPlayFabResultCommon { - /** The page size on the response. */ - PageSize: number; - /** The list of QoS servers. */ - QosServers?: QosServer[]; - /** The skip token for the paged response. */ - SkipToken?: string; - - } - export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 9d9604fd..b75f9f6f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -840,6 +840,8 @@ declare module PlayFabServerModels { } export interface AuthenticateSessionTicketResult extends PlayFabModule.IPlayFabResultCommon { + /** Indicates if token was expired at request time. */ + IsSessionTicketExpired?: boolean; /** Account info for the user whose session ticket was supplied. */ UserInfo?: UserAccountInfo; @@ -2246,6 +2248,7 @@ declare module PlayFabServerModels { | "TitleDataOverrideNotFound" | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" + | "LegacyMultiplayerServersDeprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 8544a5861dcb79c5fd2c54f555facc34899d911c Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 2 Sep 2020 02:46:32 +0000 Subject: [PATCH 112/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200901 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 33 ++++++++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 +++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 33 ++++++++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 +++ 35 files changed, 193 insertions(+), 115 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 7df0ce32..94a82625 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.72.200817", + "version": "1.73.200901", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 26ea4186..fedb7d42 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index dd358629..345e3567 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 964ef6ef..5cb399f7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 59912d9c..9179529b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index d31bb837..0274a788 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 5dd800f7..90c4458f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 054b4708..ddd64f40 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 60e2666a..ee010559 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 9633a4dd..0582cb4e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index bee89cfe..420550c2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index d2b89a00..ca19df16 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index bfcf0e8c..c262ee56 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 46ce3db6..93a169ec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index a59d71f8..31eab8ec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 134fbf60..83e85aca 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2338,6 +2338,10 @@ declare module PlayFabAdminModels { | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" + | "SegmentManagementTitleNotInFlight" + | "SegmentManagementNoExpressionTree" + | "SegmentManagementTriggerActionCountOverLimit" + | "SegmentManagementSegmentCountOverLimit" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0478498a..2ca6cf55 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -439,6 +439,8 @@ declare module PlayFabMultiplayerModels { MaxServers: number; /** The build region. */ Region?: string; + /** Optional settings to set the standby target to specified values during the supplied schedules */ + ScheduledStandbySettings?: ScheduledStandbySettings; /** The target number of standby multiplayer servers for the region. */ StandbyServers: number; /** @@ -456,6 +458,8 @@ declare module PlayFabMultiplayerModels { MaxServers: number; /** The build region. */ Region: string; + /** Optional settings to set the standby target to specified values during the supplied schedules */ + ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; @@ -1801,7 +1805,7 @@ declare module PlayFabMultiplayerModels { * Indicates that the response should contain Qos servers for all regions, including those where there are no builds * deployed for the title. */ - IncludeAllRegions: boolean; + IncludeAllRegions?: boolean; } @@ -2132,6 +2136,33 @@ declare module PlayFabMultiplayerModels { } + export interface Schedule { + /** A short description about this schedule. For example, "Game launch on July 15th". */ + Description?: string; + /** + * The date and time in UTC at which the schedule ends. If IsRecurringWeekly is true, this schedule will keep renewing for + * future weeks until disabled or removed. + */ + EndTime: string; + /** Disables the schedule. */ + IsDisabled: boolean; + /** If true, the StartTime and EndTime will get renewed every week. */ + IsRecurringWeekly: boolean; + /** The date and time in UTC at which the schedule starts. */ + StartTime: string; + /** The standby target to maintain for the duration of the schedule. */ + TargetStandby: number; + + } + + export interface ScheduledStandbySettings { + /** When true, scheduled standby will be enabled */ + IsEnabled: boolean; + /** A list of non-overlapping schedules */ + ScheduleList?: Schedule[]; + + } + export interface ServerDetails { /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index b75f9f6f..3766f3a3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2331,6 +2331,10 @@ declare module PlayFabServerModels { | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" + | "SegmentManagementTitleNotInFlight" + | "SegmentManagementNoExpressionTree" + | "SegmentManagementTriggerActionCountOverLimit" + | "SegmentManagementSegmentCountOverLimit" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 26ea4186..fedb7d42 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index dd358629..345e3567 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 964ef6ef..5cb399f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 59912d9c..9179529b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index d31bb837..0274a788 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 5dd800f7..90c4458f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 054b4708..ddd64f40 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 60e2666a..ee010559 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 9633a4dd..0582cb4e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index bee89cfe..420550c2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index d2b89a00..ca19df16 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index bfcf0e8c..c262ee56 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 46ce3db6..93a169ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index a59d71f8..31eab8ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.72.200817", + sdkVersion: "1.73.200901", requestGetParams: { - sdk: "JavaScriptSDK-1.72.200817" + sdk: "JavaScriptSDK-1.73.200901" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.72.200817"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.73.200901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 134fbf60..83e85aca 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2338,6 +2338,10 @@ declare module PlayFabAdminModels { | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" + | "SegmentManagementTitleNotInFlight" + | "SegmentManagementNoExpressionTree" + | "SegmentManagementTriggerActionCountOverLimit" + | "SegmentManagementSegmentCountOverLimit" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0478498a..2ca6cf55 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -439,6 +439,8 @@ declare module PlayFabMultiplayerModels { MaxServers: number; /** The build region. */ Region?: string; + /** Optional settings to set the standby target to specified values during the supplied schedules */ + ScheduledStandbySettings?: ScheduledStandbySettings; /** The target number of standby multiplayer servers for the region. */ StandbyServers: number; /** @@ -456,6 +458,8 @@ declare module PlayFabMultiplayerModels { MaxServers: number; /** The build region. */ Region: string; + /** Optional settings to set the standby target to specified values during the supplied schedules */ + ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; @@ -1801,7 +1805,7 @@ declare module PlayFabMultiplayerModels { * Indicates that the response should contain Qos servers for all regions, including those where there are no builds * deployed for the title. */ - IncludeAllRegions: boolean; + IncludeAllRegions?: boolean; } @@ -2132,6 +2136,33 @@ declare module PlayFabMultiplayerModels { } + export interface Schedule { + /** A short description about this schedule. For example, "Game launch on July 15th". */ + Description?: string; + /** + * The date and time in UTC at which the schedule ends. If IsRecurringWeekly is true, this schedule will keep renewing for + * future weeks until disabled or removed. + */ + EndTime: string; + /** Disables the schedule. */ + IsDisabled: boolean; + /** If true, the StartTime and EndTime will get renewed every week. */ + IsRecurringWeekly: boolean; + /** The date and time in UTC at which the schedule starts. */ + StartTime: string; + /** The standby target to maintain for the duration of the schedule. */ + TargetStandby: number; + + } + + export interface ScheduledStandbySettings { + /** When true, scheduled standby will be enabled */ + IsEnabled: boolean; + /** A list of non-overlapping schedules */ + ScheduleList?: Schedule[]; + + } + export interface ServerDetails { /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index b75f9f6f..3766f3a3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2331,6 +2331,10 @@ declare module PlayFabServerModels { | "ExperimentationExperimentSchedulingInProgress" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" + | "SegmentManagementTitleNotInFlight" + | "SegmentManagementNoExpressionTree" + | "SegmentManagementTriggerActionCountOverLimit" + | "SegmentManagementSegmentCountOverLimit" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { From 3622afad9ecde5c3359a853212d7b399befe75f3 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 15 Sep 2020 02:36:44 +0000 Subject: [PATCH 113/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#200914 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 33 files changed, 117 insertions(+), 113 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 94a82625..3e771076 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.73.200901", + "version": "1.74.200914", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fedb7d42..b3d62a9f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 345e3567..3b0b9d41 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 5cb399f7..9401c4ed 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 9179529b..3dcca690 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 0274a788..2bdb9448 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 90c4458f..4ba7e770 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ddd64f40..047f2456 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index ee010559..46c175d3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 0582cb4e..bf75f9e9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 420550c2..cc3ea577 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ca19df16..3a0eb017 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index c262ee56..a5433574 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 93a169ec..db7fafc2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 31eab8ec..968334b0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 83e85aca..4e0862da 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2342,6 +2342,7 @@ declare module PlayFabAdminModels { | "SegmentManagementNoExpressionTree" | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" + | "SegmentManagementInvalidSegmentId" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 3766f3a3..9cea35ca 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2335,6 +2335,7 @@ declare module PlayFabServerModels { | "SegmentManagementNoExpressionTree" | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" + | "SegmentManagementInvalidSegmentId" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fedb7d42..b3d62a9f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 345e3567..3b0b9d41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 5cb399f7..9401c4ed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 9179529b..3dcca690 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 0274a788..2bdb9448 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 90c4458f..4ba7e770 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ddd64f40..047f2456 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index ee010559..46c175d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 0582cb4e..bf75f9e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 420550c2..cc3ea577 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ca19df16..3a0eb017 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index c262ee56..a5433574 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 93a169ec..db7fafc2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 31eab8ec..968334b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.73.200901", + sdkVersion: "1.74.200914", requestGetParams: { - sdk: "JavaScriptSDK-1.73.200901" + sdk: "JavaScriptSDK-1.74.200914" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.73.200901"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.74.200914"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 83e85aca..4e0862da 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2342,6 +2342,7 @@ declare module PlayFabAdminModels { | "SegmentManagementNoExpressionTree" | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" + | "SegmentManagementInvalidSegmentId" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 3766f3a3..9cea35ca 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2335,6 +2335,7 @@ declare module PlayFabServerModels { | "SegmentManagementNoExpressionTree" | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" + | "SegmentManagementInvalidSegmentId" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { From 627b9d562567d8c0eecc206f732c82f3f59687c9 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 14 Oct 2020 23:29:49 +0000 Subject: [PATCH 114/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201014 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 28 +++- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 18 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 4 +- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 2 + .../PlayFab/PlayFabExperimentationApi.d.ts | 129 +++++++++++++++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 ++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 18 ++- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 28 +++- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 18 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 4 +- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 2 + .../PlayFab/PlayFabExperimentationApi.d.ts | 129 +++++++++++++++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 18 ++- 41 files changed, 495 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 3e771076..51a0421c 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.74.200914", + "version": "1.76.201014", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index b3d62a9f..e69db4e5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 3b0b9d41..d0415c75 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 9401c4ed..aac4b042 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 3dcca690..7a198cb3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 2bdb9448..7a402efb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 4ba7e770..8c9286f0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 047f2456..d22f2ccd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -249,14 +249,30 @@ PlayFab.ExperimentationApi = { PlayFab._internalSettings.entityToken = null; }, + CreateExclusionGroup: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/CreateExclusionGroup", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/CreateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteExclusionGroup: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/DeleteExclusionGroup", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/DeleteExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetExclusionGroups: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExclusionGroups", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetExclusionGroupTraffic: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExclusionGroupTraffic", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetExperiments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExperiments", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,6 +293,10 @@ PlayFab.ExperimentationApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/StopExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateExclusionGroup: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExclusionGroup", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 46c175d3..c42e907a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index bf75f9e9..283ec1cf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index cc3ea577..532580ff 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 3a0eb017..68b3623b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a5433574..ad2cb473 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index db7fafc2..9961055a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 968334b0..1018a900 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 4e0862da..8381d2e6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2336,6 +2336,13 @@ declare module PlayFabAdminModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationInvalidEndDate" + | "ExperimentationInvalidStartDate" + | "ExperimentationMaxDurationExceeded" + | "ExperimentationExclusionGroupNotFound" + | "ExperimentationExclusionGroupInsufficientCapacity" + | "ExperimentationExclusionGroupCannotDelete" + | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2343,6 +2350,8 @@ declare module PlayFabAdminModels { | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" | "SegmentManagementInvalidSegmentId" + | "SegmentManagementInvalidInput" + | "SegmentManagementInvalidSegmentName" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2446,7 +2455,10 @@ declare module PlayFabAdminModels { } export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ + /** + * URL for uploading content via HTTP PUT method. The URL requires the 'x-ms-blob-type' header to have the value + * 'BlockBlob'. The URL will expire in approximately one hour. + */ URL?: string; } @@ -2823,8 +2835,8 @@ declare module PlayFabAdminModels { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; /** - * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied - * automatically to the title data. + * Optional field that specifies the name of an override. This value is ignored when used by the game client; otherwise, + * the overrides are applied automatically to the title data. */ OverrideLabel?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index ff80992c..252b1572 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2844,8 +2844,8 @@ declare module PlayFabClientModels { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; /** - * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied - * automatically to the title data. + * Optional field that specifies the name of an override. This value is ignored when used by the game client; otherwise, + * the overrides are applied automatically to the title data. */ OverrideLabel?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index b541cd16..186762f6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -105,6 +105,8 @@ declare module PlayFabDataModels { Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts index e167b7b3..32a6041d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -4,16 +4,36 @@ declare module PlayFabExperimentationModule { export interface IPlayFabExperimentation { ForgetAllCredentials(): void; + /** + * Creates a new experiment exclusion group for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup + */ + CreateExclusionGroup(request: PlayFabExperimentationModels.CreateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment */ CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing exclusion group for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup + */ + DeleteExclusionGroup(request: PlayFabExperimentationModels.DeleteExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment */ DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the details of all exclusion groups for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups + */ + GetExclusionGroups(request: PlayFabExperimentationModels.GetExclusionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the details of all exclusion groups for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic + */ + GetExclusionGroupTraffic(request: PlayFabExperimentationModels.GetExclusionGroupTrafficRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the details of all experiments for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments @@ -39,6 +59,11 @@ declare module PlayFabExperimentationModule { * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/stopexperiment */ StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates an existing exclusion group for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup + */ + UpdateExclusionGroup(request: PlayFabExperimentationModels.UpdateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment @@ -57,13 +82,35 @@ declare module PlayFabExperimentationModels { | "Failed" | "Canceled"; + export interface CreateExclusionGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Description of the exclusion group. */ + Description?: string; + /** Friendly name of the exclusion group. */ + Name: string; + + } + + export interface CreateExclusionGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** Identifier of the exclusion group. */ + ExclusionGroupId?: string; + + } + export interface CreateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ - Duration: number; + Duration?: number; + /** When experiment should end. */ + EndDate?: string; + /** Id of the exclusion group. */ + ExclusionGroupId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + ExclusionGroupTrafficAllocation?: number; /** Type of experiment. */ ExperimentType?: string; /** Friendly name of the experiment. */ @@ -88,6 +135,14 @@ declare module PlayFabExperimentationModels { } + export interface DeleteExclusionGroupRequest 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 ID of the exclusion group to delete. */ + ExclusionGroupId: string; + + } + export interface DeleteExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -108,11 +163,25 @@ declare module PlayFabExperimentationModels { } + export interface ExclusionGroupTrafficAllocation { + /** Id of the experiment. */ + ExperimentId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + TrafficAllocation: number; + + } + export interface Experiment { /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ - Duration: number; + Duration?: number; + /** When experiment should end/was ended. */ + EndDate?: string; + /** Id of the exclusion group for this experiment. */ + ExclusionGroupId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + ExclusionGroupTrafficAllocation?: number; /** Type of experiment. */ ExperimentType?: string; /** Id of the experiment. */ @@ -135,6 +204,16 @@ declare module PlayFabExperimentationModels { } + export interface ExperimentExclusionGroup { + /** Description of the exclusion group. */ + Description?: string; + /** Id of the exclusion group. */ + ExclusionGroupId?: string; + /** Friendly name of the exclusion group. */ + Name?: string; + + } + type ExperimentState = "New" | "Started" | "Stopped" @@ -143,6 +222,32 @@ declare module PlayFabExperimentationModels { type ExperimentType = "Active" | "Snapshot"; + export interface GetExclusionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetExclusionGroupsResult extends PlayFabModule.IPlayFabResultCommon { + /** List of exclusion groups for the title. */ + ExclusionGroups?: ExperimentExclusionGroup[]; + + } + + export interface GetExclusionGroupTrafficRequest 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 ID of the exclusion group. */ + ExclusionGroupId: string; + + } + + export interface GetExclusionGroupTrafficResult extends PlayFabModule.IPlayFabResultCommon { + /** List of traffic allocations for the exclusion group. */ + TrafficAllocations?: ExclusionGroupTrafficAllocation[]; + + } + export interface GetExperimentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -269,13 +374,31 @@ declare module PlayFabExperimentationModels { } + export interface UpdateExclusionGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Description of the exclusion group. */ + Description?: string; + /** The ID of the exclusion group to update. */ + ExclusionGroupId: string; + /** Friendly name of the exclusion group. */ + Name: string; + + } + export interface UpdateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ - Duration: number; + Duration?: number; + /** When experiment should end. */ + EndDate?: string; + /** Id of the exclusion group. */ + ExclusionGroupId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + ExclusionGroupTrafficAllocation?: number; /** Type of experiment. */ ExperimentType?: string; /** Id of the experiment. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 2ca6cf55..a36dac09 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -812,6 +812,11 @@ declare module PlayFabMultiplayerModels { GameWorkingDirectory?: string; /** The instrumentation configuration for the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; + /** + * Indicates whether this build will be created using the OS Preview versionPreview OS is recommended for dev builds to + * detect any breaking changes before they are released to retail. Retail builds should set this value to false. + */ + IsOSPreview?: boolean; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -865,6 +870,11 @@ declare module PlayFabMultiplayerModels { GameWorkingDirectory?: string; /** The instrumentation configuration for this build. */ InstrumentationConfiguration?: InstrumentationConfiguration; + /** + * Indicates whether this build will be created using the OS Preview versionPreview OS is recommended for dev builds to + * detect any breaking changes before they are released to retail. Retail builds should set this value to false. + */ + IsOSPreview?: boolean; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 9cea35ca..4bfaec3f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -826,6 +826,11 @@ declare module PlayFabServerModels { } export interface AdvancedPushPlatformMsg { + /** + * Stops GoogleCloudMessaging notifications from including both notification and data properties and instead only sends the + * data property. + */ + GCMDataOnly?: boolean; /** The Json the platform should receive. */ Json: string; /** The platform that should receive the Json. */ @@ -2329,6 +2334,13 @@ declare module PlayFabServerModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationInvalidEndDate" + | "ExperimentationInvalidStartDate" + | "ExperimentationMaxDurationExceeded" + | "ExperimentationExclusionGroupNotFound" + | "ExperimentationExclusionGroupInsufficientCapacity" + | "ExperimentationExclusionGroupCannotDelete" + | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2336,6 +2348,8 @@ declare module PlayFabServerModels { | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" | "SegmentManagementInvalidSegmentId" + | "SegmentManagementInvalidInput" + | "SegmentManagementInvalidSegmentName" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { @@ -3053,8 +3067,8 @@ declare module PlayFabServerModels { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; /** - * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied - * automatically to the title data. + * Optional field that specifies the name of an override. This value is ignored when used by the game client; otherwise, + * the overrides are applied automatically to the title data. */ OverrideLabel?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index b3d62a9f..e69db4e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 3b0b9d41..d0415c75 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 9401c4ed..aac4b042 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 3dcca690..7a198cb3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 2bdb9448..7a402efb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4ba7e770..8c9286f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 047f2456..d22f2ccd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -249,14 +249,30 @@ PlayFab.ExperimentationApi = { PlayFab._internalSettings.entityToken = null; }, + CreateExclusionGroup: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/CreateExclusionGroup", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/CreateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteExclusionGroup: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/DeleteExclusionGroup", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/DeleteExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetExclusionGroups: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExclusionGroups", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetExclusionGroupTraffic: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExclusionGroupTraffic", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetExperiments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/GetExperiments", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,6 +293,10 @@ PlayFab.ExperimentationApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/StopExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateExclusionGroup: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExclusionGroup", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 46c175d3..c42e907a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index bf75f9e9..283ec1cf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index cc3ea577..532580ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 3a0eb017..68b3623b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a5433574..ad2cb473 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index db7fafc2..9961055a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 968334b0..1018a900 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.74.200914", + sdkVersion: "1.76.201014", requestGetParams: { - sdk: "JavaScriptSDK-1.74.200914" + sdk: "JavaScriptSDK-1.76.201014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.74.200914"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.sdkVersion = "1.76.201014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 4e0862da..8381d2e6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2336,6 +2336,13 @@ declare module PlayFabAdminModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationInvalidEndDate" + | "ExperimentationInvalidStartDate" + | "ExperimentationMaxDurationExceeded" + | "ExperimentationExclusionGroupNotFound" + | "ExperimentationExclusionGroupInsufficientCapacity" + | "ExperimentationExclusionGroupCannotDelete" + | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2343,6 +2350,8 @@ declare module PlayFabAdminModels { | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" | "SegmentManagementInvalidSegmentId" + | "SegmentManagementInvalidInput" + | "SegmentManagementInvalidSegmentName" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { @@ -2446,7 +2455,10 @@ declare module PlayFabAdminModels { } export interface GetContentUploadUrlResult extends PlayFabModule.IPlayFabResultCommon { - /** URL for uploading content via HTTP PUT method. The URL will expire in approximately one hour. */ + /** + * URL for uploading content via HTTP PUT method. The URL requires the 'x-ms-blob-type' header to have the value + * 'BlockBlob'. The URL will expire in approximately one hour. + */ URL?: string; } @@ -2823,8 +2835,8 @@ declare module PlayFabAdminModels { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; /** - * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied - * automatically to the title data. + * Optional field that specifies the name of an override. This value is ignored when used by the game client; otherwise, + * the overrides are applied automatically to the title data. */ OverrideLabel?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index ff80992c..252b1572 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2844,8 +2844,8 @@ declare module PlayFabClientModels { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; /** - * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied - * automatically to the title data. + * Optional field that specifies the name of an override. This value is ignored when used by the game client; otherwise, + * the overrides are applied automatically to the title data. */ OverrideLabel?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index b541cd16..186762f6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -105,6 +105,8 @@ declare module PlayFabDataModels { Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; + /** The current version of the profile, can be used for concurrency control during updates. */ + ProfileVersion: number; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts index e167b7b3..32a6041d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -4,16 +4,36 @@ declare module PlayFabExperimentationModule { export interface IPlayFabExperimentation { ForgetAllCredentials(): void; + /** + * Creates a new experiment exclusion group for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup + */ + CreateExclusionGroup(request: PlayFabExperimentationModels.CreateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment */ CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing exclusion group for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup + */ + DeleteExclusionGroup(request: PlayFabExperimentationModels.DeleteExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment */ DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the details of all exclusion groups for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups + */ + GetExclusionGroups(request: PlayFabExperimentationModels.GetExclusionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the details of all exclusion groups for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic + */ + GetExclusionGroupTraffic(request: PlayFabExperimentationModels.GetExclusionGroupTrafficRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the details of all experiments for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments @@ -39,6 +59,11 @@ declare module PlayFabExperimentationModule { * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/stopexperiment */ StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates an existing exclusion group for a title. + * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup + */ + UpdateExclusionGroup(request: PlayFabExperimentationModels.UpdateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment @@ -57,13 +82,35 @@ declare module PlayFabExperimentationModels { | "Failed" | "Canceled"; + export interface CreateExclusionGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Description of the exclusion group. */ + Description?: string; + /** Friendly name of the exclusion group. */ + Name: string; + + } + + export interface CreateExclusionGroupResult extends PlayFabModule.IPlayFabResultCommon { + /** Identifier of the exclusion group. */ + ExclusionGroupId?: string; + + } + export interface CreateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ - Duration: number; + Duration?: number; + /** When experiment should end. */ + EndDate?: string; + /** Id of the exclusion group. */ + ExclusionGroupId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + ExclusionGroupTrafficAllocation?: number; /** Type of experiment. */ ExperimentType?: string; /** Friendly name of the experiment. */ @@ -88,6 +135,14 @@ declare module PlayFabExperimentationModels { } + export interface DeleteExclusionGroupRequest 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 ID of the exclusion group to delete. */ + ExclusionGroupId: string; + + } + export interface DeleteExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -108,11 +163,25 @@ declare module PlayFabExperimentationModels { } + export interface ExclusionGroupTrafficAllocation { + /** Id of the experiment. */ + ExperimentId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + TrafficAllocation: number; + + } + export interface Experiment { /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ - Duration: number; + Duration?: number; + /** When experiment should end/was ended. */ + EndDate?: string; + /** Id of the exclusion group for this experiment. */ + ExclusionGroupId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + ExclusionGroupTrafficAllocation?: number; /** Type of experiment. */ ExperimentType?: string; /** Id of the experiment. */ @@ -135,6 +204,16 @@ declare module PlayFabExperimentationModels { } + export interface ExperimentExclusionGroup { + /** Description of the exclusion group. */ + Description?: string; + /** Id of the exclusion group. */ + ExclusionGroupId?: string; + /** Friendly name of the exclusion group. */ + Name?: string; + + } + type ExperimentState = "New" | "Started" | "Stopped" @@ -143,6 +222,32 @@ declare module PlayFabExperimentationModels { type ExperimentType = "Active" | "Snapshot"; + export interface GetExclusionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetExclusionGroupsResult extends PlayFabModule.IPlayFabResultCommon { + /** List of exclusion groups for the title. */ + ExclusionGroups?: ExperimentExclusionGroup[]; + + } + + export interface GetExclusionGroupTrafficRequest 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 ID of the exclusion group. */ + ExclusionGroupId: string; + + } + + export interface GetExclusionGroupTrafficResult extends PlayFabModule.IPlayFabResultCommon { + /** List of traffic allocations for the exclusion group. */ + TrafficAllocations?: ExclusionGroupTrafficAllocation[]; + + } + export interface GetExperimentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -269,13 +374,31 @@ declare module PlayFabExperimentationModels { } + export interface UpdateExclusionGroupRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Description of the exclusion group. */ + Description?: string; + /** The ID of the exclusion group to update. */ + ExclusionGroupId: string; + /** Friendly name of the exclusion group. */ + Name: string; + + } + export interface UpdateExperimentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; /** The duration of the experiment, in days. */ - Duration: number; + Duration?: number; + /** When experiment should end. */ + EndDate?: string; + /** Id of the exclusion group. */ + ExclusionGroupId?: string; + /** Percentage of exclusion group traffic that will see this experiment. */ + ExclusionGroupTrafficAllocation?: number; /** Type of experiment. */ ExperimentType?: string; /** Id of the experiment. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 2ca6cf55..a36dac09 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -812,6 +812,11 @@ declare module PlayFabMultiplayerModels { GameWorkingDirectory?: string; /** The instrumentation configuration for the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; + /** + * Indicates whether this build will be created using the OS Preview versionPreview OS is recommended for dev builds to + * detect any breaking changes before they are released to retail. Retail builds should set this value to false. + */ + IsOSPreview?: boolean; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -865,6 +870,11 @@ declare module PlayFabMultiplayerModels { GameWorkingDirectory?: string; /** The instrumentation configuration for this build. */ InstrumentationConfiguration?: InstrumentationConfiguration; + /** + * Indicates whether this build will be created using the OS Preview versionPreview OS is recommended for dev builds to + * detect any breaking changes before they are released to retail. Retail builds should set this value to false. + */ + IsOSPreview?: boolean; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The number of multiplayer servers to host on a single VM of the build. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 9cea35ca..4bfaec3f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -826,6 +826,11 @@ declare module PlayFabServerModels { } export interface AdvancedPushPlatformMsg { + /** + * Stops GoogleCloudMessaging notifications from including both notification and data properties and instead only sends the + * data property. + */ + GCMDataOnly?: boolean; /** The Json the platform should receive. */ Json: string; /** The platform that should receive the Json. */ @@ -2329,6 +2334,13 @@ declare module PlayFabServerModels { | "ExperimentationInvalidDuration" | "ExperimentationMaxExperimentsReached" | "ExperimentationExperimentSchedulingInProgress" + | "ExperimentationInvalidEndDate" + | "ExperimentationInvalidStartDate" + | "ExperimentationMaxDurationExceeded" + | "ExperimentationExclusionGroupNotFound" + | "ExperimentationExclusionGroupInsufficientCapacity" + | "ExperimentationExclusionGroupCannotDelete" + | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2336,6 +2348,8 @@ declare module PlayFabServerModels { | "SegmentManagementTriggerActionCountOverLimit" | "SegmentManagementSegmentCountOverLimit" | "SegmentManagementInvalidSegmentId" + | "SegmentManagementInvalidInput" + | "SegmentManagementInvalidSegmentName" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { @@ -3053,8 +3067,8 @@ declare module PlayFabServerModels { /** Specific keys to search for in the title data (leave null to get all keys) */ Keys?: string[]; /** - * Name of the override. This value is ignored when used by the game client; otherwise, the overrides are applied - * automatically to the title data. + * Optional field that specifies the name of an override. This value is ignored when used by the game client; otherwise, + * the overrides are applied automatically to the title data. */ OverrideLabel?: string; From e5f31f8f82a3f558c2d893f76a4174a12818562b Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 4 Nov 2020 19:59:45 +0000 Subject: [PATCH 115/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201027 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 10 ++++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 5 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 34 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 13 +++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 ++- .../src/PlayFab/PlayFabAdminApi.js | 6 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++-- .../src/PlayFab/PlayFabClientApi.js | 10 ++++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++-- .../src/PlayFab/PlayFabDataApi.js | 6 ++-- .../src/PlayFab/PlayFabEventsApi.js | 6 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 6 ++-- .../src/PlayFab/PlayFabServerApi.js | 6 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 5 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 34 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 13 +++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 ++- 37 files changed, 199 insertions(+), 93 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 51a0421c..ebc09179 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.76.201014", + "version": "1.77.201027", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e69db4e5..ddaecdcd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d0415c75..0a759e97 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index aac4b042..9d69d150 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -308,6 +308,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeItem", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumeMicrosoftStoreEntitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 7a198cb3..0afa1f29 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7a402efb..76708b6e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 8c9286f0..f6f97300 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index d22f2ccd..33fc0431 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index c42e907a..33072f5b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 283ec1cf..911c1dd2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 532580ff..3368cb53 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 68b3623b..864825fb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index ad2cb473..a028f36e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 9961055a..55868264 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1018a900..bf03ca27 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 8381d2e6..9e4c42df 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2290,7 +2290,6 @@ declare module PlayFabAdminModels { | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" - | "CatalogUnauthorized" | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" @@ -2352,6 +2351,10 @@ declare module PlayFabAdminModels { | "SegmentManagementInvalidSegmentId" | "SegmentManagementInvalidInput" | "SegmentManagementInvalidSegmentName" + | "DeleteSegmentRateLimitExceeded" + | "CreateSegmentRateLimitExceeded" + | "UpdateSegmentRateLimitExceeded" + | "GetSegmentsRateLimitExceeded" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 252b1572..b1b70ba7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -77,6 +77,11 @@ declare module PlayFabClientModule { * 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 }): void; + /** + * Grants the player's current entitlements from Microsoft Store's Collection API + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements + */ + ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -1345,6 +1350,22 @@ declare module PlayFabClientModels { } + export interface ConsumeMicrosoftStoreEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: MicrosoftStorePayload; + + } + + export interface ConsumeMicrosoftStoreEntitlementsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -3910,6 +3931,19 @@ declare module PlayFabClientModels { } + export interface MicrosoftStorePayload { + /** Microsoft store ID key. This is optional. Alternatively you can use XboxToken */ + CollectionsMsIdKey?: string; + /** If collectionsMsIdKey is provided, this will verify the user id in the collectionsMsIdKey is the same. */ + UserId?: string; + /** + * Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). This is + * optional. Alternatively can use CollectionsMsIdKey + */ + XboxToken?: string; + + } + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index a36dac09..6703c9ba 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -377,7 +377,12 @@ declare module PlayFabMultiplayerModels { | "Dv3" | "F" | "Fsv2" - | "Dasv4"; + | "Dasv4" + | "Dav4" + | "Eav4" + | "Easv4" + | "Ev4" + | "Esv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -408,7 +413,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D2as_v4" | "Standard_D4as_v4" | "Standard_D8as_v4" - | "Standard_D16as_v4"; + | "Standard_D16as_v4" + | "Standard_D2a_v4" + | "Standard_D4a_v4" + | "Standard_D8a_v4" + | "Standard_D16a_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 4bfaec3f..7e7eb174 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2288,7 +2288,6 @@ declare module PlayFabServerModels { | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" - | "CatalogUnauthorized" | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" @@ -2350,6 +2349,10 @@ declare module PlayFabServerModels { | "SegmentManagementInvalidSegmentId" | "SegmentManagementInvalidInput" | "SegmentManagementInvalidSegmentName" + | "DeleteSegmentRateLimitExceeded" + | "CreateSegmentRateLimitExceeded" + | "UpdateSegmentRateLimitExceeded" + | "GetSegmentsRateLimitExceeded" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e69db4e5..ddaecdcd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d0415c75..0a759e97 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index aac4b042..9d69d150 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -308,6 +308,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeItem", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumeMicrosoftStoreEntitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 7a198cb3..0afa1f29 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7a402efb..76708b6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 8c9286f0..f6f97300 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index d22f2ccd..33fc0431 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index c42e907a..33072f5b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 283ec1cf..911c1dd2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 532580ff..3368cb53 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 68b3623b..864825fb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index ad2cb473..a028f36e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 9961055a..55868264 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1018a900..bf03ca27 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.76.201014", + sdkVersion: "1.77.201027", requestGetParams: { - sdk: "JavaScriptSDK-1.76.201014" + sdk: "JavaScriptSDK-1.77.201027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; -PlayFab.sdkVersion = "1.76.201014"; +PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 8381d2e6..9e4c42df 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2290,7 +2290,6 @@ declare module PlayFabAdminModels { | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" - | "CatalogUnauthorized" | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" @@ -2352,6 +2351,10 @@ declare module PlayFabAdminModels { | "SegmentManagementInvalidSegmentId" | "SegmentManagementInvalidInput" | "SegmentManagementInvalidSegmentName" + | "DeleteSegmentRateLimitExceeded" + | "CreateSegmentRateLimitExceeded" + | "UpdateSegmentRateLimitExceeded" + | "GetSegmentsRateLimitExceeded" | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 252b1572..b1b70ba7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -77,6 +77,11 @@ declare module PlayFabClientModule { * 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 }): void; + /** + * Grants the player's current entitlements from Microsoft Store's Collection API + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements + */ + ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -1345,6 +1350,22 @@ declare module PlayFabClientModels { } + export interface ConsumeMicrosoftStoreEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: MicrosoftStorePayload; + + } + + export interface ConsumeMicrosoftStoreEntitlementsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -3910,6 +3931,19 @@ declare module PlayFabClientModels { } + export interface MicrosoftStorePayload { + /** Microsoft store ID key. This is optional. Alternatively you can use XboxToken */ + CollectionsMsIdKey?: string; + /** If collectionsMsIdKey is provided, this will verify the user id in the collectionsMsIdKey is the same. */ + UserId?: string; + /** + * Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). This is + * optional. Alternatively can use CollectionsMsIdKey + */ + XboxToken?: string; + + } + export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon { /** Balance of the virtual currency after modification. */ Balance: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index a36dac09..6703c9ba 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -377,7 +377,12 @@ declare module PlayFabMultiplayerModels { | "Dv3" | "F" | "Fsv2" - | "Dasv4"; + | "Dasv4" + | "Dav4" + | "Eav4" + | "Easv4" + | "Ev4" + | "Esv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -408,7 +413,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D2as_v4" | "Standard_D4as_v4" | "Standard_D8as_v4" - | "Standard_D16as_v4"; + | "Standard_D16as_v4" + | "Standard_D2a_v4" + | "Standard_D4a_v4" + | "Standard_D8a_v4" + | "Standard_D16a_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 4bfaec3f..7e7eb174 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2288,7 +2288,6 @@ declare module PlayFabServerModels { | "CatalogSearchParameterInvalid" | "CatalogFeatureDisabled" | "CatalogConfigInvalid" - | "CatalogUnauthorized" | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" @@ -2350,6 +2349,10 @@ declare module PlayFabServerModels { | "SegmentManagementInvalidSegmentId" | "SegmentManagementInvalidInput" | "SegmentManagementInvalidSegmentName" + | "DeleteSegmentRateLimitExceeded" + | "CreateSegmentRateLimitExceeded" + | "UpdateSegmentRateLimitExceeded" + | "GetSegmentsRateLimitExceeded" | "SnapshotNotFound"; export interface GenericPlayFabIdPair { From 87a971be303f96ec064f7d77fe4ed7e6372ee921 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 8 Dec 2020 22:12:18 +0000 Subject: [PATCH 116/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201207 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ddaecdcd..be137035 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0a759e97..a2f27683 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 9d69d150..3111e477 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0afa1f29..294d40c0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 76708b6e..53bbb66e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index f6f97300..78b0c995 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 33fc0431..a233a914 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 33072f5b..ac5ea4a2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 911c1dd2..27f924bb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 3368cb53..97824561 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 864825fb..47f548c8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a028f36e..9031398a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 55868264..544545ee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index bf03ca27..8ffed4b1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ddaecdcd..be137035 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0a759e97..a2f27683 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 9d69d150..3111e477 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0afa1f29..294d40c0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 76708b6e..53bbb66e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index f6f97300..78b0c995 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 33fc0431..a233a914 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 33072f5b..ac5ea4a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 911c1dd2..27f924bb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 3368cb53..97824561 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 864825fb..47f548c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a028f36e..9031398a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 55868264..544545ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index bf03ca27..8ffed4b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -231,7 +231,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk__sdk-genericslave-3_0"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; PlayFab.sdkVersion = "1.77.201027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 11a5eb81a51dd1ede263538efd3acee79620c79e Mon Sep 17 00:00:00 2001 From: Todd Bello Date: Wed, 16 Dec 2020 19:16:17 -0800 Subject: [PATCH 117/253] Add ADO Pipeline (#91) --- JavaScriptJobTemplate.yml | 58 ++++++++++++++++++++ JavaScriptResourceTemplate.yml | 30 +++++++++++ JavaScriptStepTemplate.yml | 96 ++++++++++++++++++++++++++++++++++ azure-pipelines.yml | 8 +++ 4 files changed, 192 insertions(+) create mode 100644 JavaScriptJobTemplate.yml create mode 100644 JavaScriptResourceTemplate.yml create mode 100644 JavaScriptStepTemplate.yml create mode 100644 azure-pipelines.yml diff --git a/JavaScriptJobTemplate.yml b/JavaScriptJobTemplate.yml new file mode 100644 index 00000000..731e03c9 --- /dev/null +++ b/JavaScriptJobTemplate.yml @@ -0,0 +1,58 @@ +# JOB LEVEL TEMPLATE: +# Used to build JavaScript +# Reusable +# Meant to be run from the single JavaScriptTemplate pipeline (default), or +# from a multi-pipeline such as publishing (should specify alternate params) + +parameters: +- name: ApiSpecSource + displayName: ApiSpecSource + type: string + default: -apiSpecGitUrl https://raw.githubusercontent.com/PlayFab/API_Specs/master/ +- name: CommitMessage + displayName: CommitMessage + type: string + default: Automated build from ADO Pipeline +- name: GitDestBranch + displayName: GitDestBranch + type: string + default: doNotCommit +- name: GitJSetupBranch + displayName: GitJSetupBranch + type: string + default: master +- name: GitSdkGenBranch + displayName: GitSdkGenBranch + type: string + default: master +- name: isVersioned + displayName: isVersioned + type: boolean + default: false +- name: expectedNumApiGroups + displayName: expectedNumApiGroups + type: number + default: 14 +- name: SelfTemplateResource + displayName: SelfTemplateResource + type: string + default: self + +jobs: +- job: JavaScriptJobTemplate + steps: + - bash: echo JavaScriptJobTemplate +- job: JavaScriptTemplate + pool: + vmImage: 'windows-latest' + steps: + - template: JavaScriptStepTemplate.yml + parameters: + ApiSpecSource: ${{ parameters.ApiSpecSource }} + CommitMessage: ${{ parameters.CommitMessage }} + GitDestBranch: ${{ parameters.GitDestBranch }} + GitJSetupBranch: ${{ parameters.GitJSetupBranch }} + GitSdkGenBranch: ${{ parameters.GitSdkGenBranch }} + isVersioned: ${{ parameters.isVersioned }} + expectedNumApiGroups: ${{ parameters.expectedNumApiGroups }} + SelfTemplateResource: ${{ parameters.SelfTemplateResource }} diff --git a/JavaScriptResourceTemplate.yml b/JavaScriptResourceTemplate.yml new file mode 100644 index 00000000..0c0328c6 --- /dev/null +++ b/JavaScriptResourceTemplate.yml @@ -0,0 +1,30 @@ +# TOP LEVEL TEMPLATE: +# Can only be used to run the single JavaScriptTemplate pipeline. +# Why: Resources can only be defined once. +# This determines the resources available to all "jobs" and "steps" no matter which templates are loaded after this +# If resources is ever defined again, it'll break so badly that the pipeline won't even parse + +resources: + repositories: + - repository: JenkinsSdkSetupScripts + type: github + endpoint: GitHub_PlayFab + name: PlayFab/JenkinsSdkSetupScripts + - repository: API_Specs + type: github + endpoint: GitHub_PlayFab + name: PlayFab/API_Specs + - repository: SdkGenerator + type: github + endpoint: GitHub_PlayFab + name: PlayFab/SdkGenerator + - repository: JavaScriptSDK + endpoint: GitHub_PlayFab + type: github + name: PlayFab/JavaScriptSDK + +jobs: +- job: JavaScriptResourceTemplate + steps: + - bash: echo JavaScriptResourceTemplate +- template: JavaScriptJobTemplate.yml diff --git a/JavaScriptStepTemplate.yml b/JavaScriptStepTemplate.yml new file mode 100644 index 00000000..72dbaa6d --- /dev/null +++ b/JavaScriptStepTemplate.yml @@ -0,0 +1,96 @@ +# STEPS LEVEL TEMPLATE: +# Used to build JavaScript +# Reusable +# Used to "hide" the additional variables specific to this SDK which shouldn't be set from a higher level, or +# shared from a multi-build pipeline like a publish + +parameters: +- name: ApiSpecSource + displayName: ApiSpecSource + type: string + default: -apiSpecGitUrl https://raw.githubusercontent.com/PlayFab/API_Specs/master/ +- name: CommitMessage + displayName: CommitMessage + type: string + default: Automated build from ADO Pipeline +- name: GitDestBranch + displayName: GitDestBranch + type: string + default: doNotCommit +- name: SdkName + displayName: SdkName + type: string + default: JavaScriptSDK +- name: GitJSetupBranch + displayName: GitJSetupBranch + type: string + default: master +- name: GitSdkGenBranch + displayName: GitSdkGenBranch + type: string + default: master +- name: isVersioned + displayName: isVersioned + type: boolean + default: false +- name: expectedNumApiGroups + displayName: expectedNumApiGroups + type: number + default: 14 +- name: SelfTemplateResource + displayName: SelfTemplateResource + type: string + default: self + +steps: +- checkout: JenkinsSdkSetupScripts + clean: true + path: s +- checkout: API_Specs + clean: true + path: s/API_Specs +- checkout: SdkGenerator + clean: true + path: s/SdkGenerator +- checkout: ${{ parameters.SelfTemplateResource }} + clean: true + submodules: true + path: s/sdks/JavaScriptSDK + persistCredentials: true +- bash: | + set -e + + echo alias the ADO variables into local variables + ApiSpecSource="${{ parameters.ApiSpecSource }}" + CommitMessage="${{ parameters.CommitMessage }}" + GitDestBranch="${{ parameters.GitDestBranch }}" + SdkName="${{ parameters.SdkName }}" + WORKSPACE=$(pwd -W) + # Hack attempt to get WORKSPACE into a sub-environment + export WORKSPACE="$WORKSPACE" + + echo === load util.sh to find msbuild === + . "$WORKSPACE/JenkinsSdkSetupScripts/JenkinsScripts/Pipeline/util.sh" + + . "$WORKSPACE/JenkinsSdkSetupScripts/JenkinsScripts/Pipeline/testInit.sh" + + cd "$WORKSPACE/SDKGenerator/SDKBuildScripts" + export PF_TEST_TITLE_DATA_JSON="$WORKSPACE\JenkinsSdkSetupScripts\Creds\testTitleData.json" + . ./shared_build.sh + + echo === Build the JavaScript Project === + Find2019MsBuild || Find2017MsBuild + "$MSBUILD_EXE" "$WORKSPACE\\sdks\\$SdkName\\PlayFabTestingExample\\PlayFabApiTest.sln" //restore //t:Rebuild + + if [ $isVersioned = true ] ; + then + echo === publish if necessary === + cd "$WORKSPACE/sdks/$SdkName/PlayFabSdk" + npm publish + fi + displayName: 'Build/Test/Report' +- task: PublishTestResults@2 + inputs: + testResultsFormat: 'JUnit' + testResultsFiles: '*.xml' + testRunTitle: JavaScriptTemplate diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..3a2af765 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,8 @@ +pool: + vmImage: 'ubuntu-latest' + +trigger: +- master + +extends: + template: JavaScriptResourceTemplate.yml From 816db1cc90ce08b2139cc9440be21b46efbbeffb Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 21 Dec 2020 19:02:33 +0000 Subject: [PATCH 118/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#201218 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 24 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 15 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1153 ++++++++++++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 6 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 16 + .../src/PlayFab/PlayFabAdminApi.js | 24 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 15 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1153 ++++++++++++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 6 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 16 + 35 files changed, 2191 insertions(+), 431 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index ebc09179..1474ff2d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.77.201027", + "version": "1.79.201218", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index be137035..f3a1404b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -309,6 +309,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteContent: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteContent", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -329,6 +333,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeleteSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteStore: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteStore", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -441,6 +449,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegments: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerBuildInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -665,6 +677,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + UpdateSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UpdateStoreItems: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index a2f27683..ff50ae2d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 3111e477..247abf6c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 294d40c0..4c08dd77 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 53bbb66e..16fa70a2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 78b0c995..3982a03f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index a233a914..efec4a24 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index ac5ea4a2..8d039024 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 27f924bb..7665267f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 97824561..f49bf176 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 47f548c8..7f8cf5d3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9031398a..b345f391 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -405,10 +405,17 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildAliases", request, "X-EntityToken", callback, customData, extraHeaders); }, + /** + * @deprecated Please use ListBuildSummariesV2 instead. + */ ListBuildSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListBuildSummariesV2: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummariesV2", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListCertificateSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 544545ee..034b4fb5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 8ffed4b1..eff00ce9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9e4c42df..d6b6c6a1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -83,6 +83,12 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/createplayerstatisticdefinition */ CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new player segment by defining the conditions on player properties. Also, create actions to target the player + * segments for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment + */ + CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete a content file from the title. When deleting a file that does not exist, it returns success. * https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent @@ -109,6 +115,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteplayersharedsecret */ DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing player segment and its associated action(s) for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment + */ + DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing virtual item store * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore @@ -258,6 +269,11 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * 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 }): void; /** * Retrieves the build details for the specified game server executable * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo @@ -546,6 +562,11 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * Updates an existing player segment and its associated definition(s) and action(s) for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment + */ + UpdateSegment(request: PlayFabAdminModels.UpdateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates an existing virtual item store with new or modified items * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatestoreitems @@ -660,6 +681,16 @@ declare module PlayFabAdminModels { } + export interface AdCampaignSegmentFilter { + /** Campaign id. */ + CampaignId?: string; + /** Campaign source. */ + CampaignSource?: string; + /** Campaign comparison. */ + Comparison?: string; + + } + export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Localized body text of the news. */ Body: string; @@ -787,6 +818,10 @@ declare module PlayFabAdminModels { } + export interface AllPlayersSegmentFilter { + + } + export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -815,6 +850,14 @@ declare module PlayFabAdminModels { } + export interface BanPlayerSegmentAction { + /** Ban hours duration. */ + BanHours?: number; + /** Reason for ban. */ + ReasonForBan?: string; + + } + export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -1365,6 +1408,8 @@ 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 discovery document URL to read issuer information from. This must be the absolute URL to the JSON OpenId * Configuration document and must be accessible from the internet. If you don't know it, try your issuer URL followed by @@ -1407,6 +1452,20 @@ declare module PlayFabAdminModels { } + export interface CreateSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment model with all of the segment properties data. */ + SegmentModel: SegmentModel; + + } + + export interface CreateSegmentResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + /** Segment id. */ + SegmentId?: string; + + } + export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1617,6 +1676,10 @@ declare module PlayFabAdminModels { } + export interface DeletePlayerSegmentAction { + + } + export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; @@ -1627,6 +1690,24 @@ declare module PlayFabAdminModels { } + export interface DeletePlayerStatisticSegmentAction { + /** Statistic name. */ + StatisticName?: string; + + } + + export interface DeleteSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment id. */ + SegmentId: string; + + } + + export interface DeleteSegmentsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + + } + export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1668,6 +1749,14 @@ declare module PlayFabAdminModels { type EffectType = "Allow" | "Deny"; + export interface EmailNotificationSegmentAction { + /** Email template id. */ + EmailTemplateId?: string; + /** Email template name. */ + EmailTemplateName?: string; + + } + type EmailVerificationStatus = "Unverified" | "Pending" | "Confirmed"; @@ -1684,6 +1773,16 @@ declare module PlayFabAdminModels { } + export interface ExecuteAzureFunctionSegmentAction { + /** Azure function. */ + AzureFunction?: string; + /** Azure function parameter. */ + FunctionParameter?: any; + /** Generate play stream event. */ + GenerateFunctionExecutedEvents: boolean; + + } + export interface ExecuteCloudScriptResult { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1722,6 +1821,18 @@ declare module PlayFabAdminModels { } + export interface ExecuteCloudScriptSegmentAction { + /** Cloud script function. */ + CloudScriptFunction?: string; + /** Generate play stream event. */ + CloudScriptPublishResultsToPlayStream: boolean; + /** Cloud script function parameter. */ + FunctionParameter?: any; + /** Cloud script function parameter json text. */ + FunctionParameterJson?: string; + + } + export interface ExportMasterPlayerDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1737,6 +1848,22 @@ declare module PlayFabAdminModels { } + export interface FirstLoginDateSegmentFilter { + /** First player login date comparison. */ + Comparison?: string; + /** First player login date. */ + LogInDate: string; + + } + + export interface FirstLoginTimespanSegmentFilter { + /** First player login duration comparison. */ + Comparison?: string; + /** First player login duration. */ + DurationInMinutes: number; + + } + type GameBuildStatus = "Available" | "Validating" | "InvalidBuildPackage" @@ -2256,6 +2383,7 @@ declare module PlayFabAdminModels { | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" + | "VirtualCurrencyCurrentlyUnavailable" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2317,6 +2445,21 @@ declare module PlayFabAdminModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExplorerBasicInvalidQueryName" + | "ExplorerBasicInvalidQueryDescription" + | "ExplorerBasicInvalidQueryConditions" + | "ExplorerBasicInvalidQueryStartDate" + | "ExplorerBasicInvalidQueryEndDate" + | "ExplorerBasicInvalidQueryGroupBy" + | "ExplorerBasicInvalidQueryAggregateType" + | "ExplorerBasicInvalidQueryAggregateProperty" + | "ExplorerBasicLoadQueriesError" + | "ExplorerBasicLoadQueryError" + | "ExplorerBasicCreateQueryError" + | "ExplorerBasicDeleteQueryError" + | "ExplorerBasicUpdateQueryError" + | "ExplorerBasicSavedQueriesLimit" + | "ExplorerBasicSavedQueryNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2723,6 +2866,20 @@ declare module PlayFabAdminModels { } + export interface GetSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment ids to filter title segments. */ + SegmentIds: string[]; + + } + + export interface GetSegmentsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + /** List of title segments. */ + Segments?: SegmentModel[]; + + } + export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; @@ -2955,6 +3112,16 @@ declare module PlayFabAdminModels { } + export interface GrantItemSegmentAction { + /** Item catalog id. */ + CatelogId?: string; + /** Item id. */ + ItemId?: string; + /** Item quantity. */ + Quantity: number; + + } + export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2971,6 +3138,14 @@ declare module PlayFabAdminModels { } + export interface GrantVirtualCurrencySegmentAction { + /** Virtual currency amount. */ + Amount: number; + /** Virtual currency code. */ + CurrencyCode?: string; + + } + export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2987,6 +3162,14 @@ declare module PlayFabAdminModels { } + export interface IncrementPlayerStatisticSegmentAction { + /** Increment value. */ + IncrementValue: number; + /** Statistic name. */ + StatisticName?: string; + + } + export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3069,6 +3252,22 @@ declare module PlayFabAdminModels { } + export interface LastLoginDateSegmentFilter { + /** Last player login date comparison. */ + Comparison?: string; + /** Last player login date. */ + LogInDate: string; + + } + + export interface LastLoginTimespanSegmentFilter { + /** Last player login duration comparison. */ + Comparison?: string; + /** Last player login duration. */ + DurationInMinutes: number; + + } + export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3081,6 +3280,22 @@ declare module PlayFabAdminModels { } + export interface LinkedUserAccountHasEmailSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; + /** Login provider. */ + LoginProvider?: string; + + } + + export interface LinkedUserAccountSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; + /** Login provider. */ + LoginProvider?: string; + + } + export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3125,6 +3340,12 @@ declare module PlayFabAdminModels { } + export interface LocationSegmentFilter { + /** Segment country code. */ + CountryCode?: string; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -3546,6 +3767,18 @@ declare module PlayFabAdminModels { } + export interface PushNotificationSegmentAction { + /** Push notification template id. */ + PushNotificationTemplateId?: string; + + } + + export interface PushNotificationSegmentFilter { + /** Push notification device platform. */ + PushNotificationDevicePlatform?: string; + + } + type PushSetupPlatform = "GCM" | "APNS" | "APNS_SANDBOX"; @@ -3836,165 +4069,711 @@ declare module PlayFabAdminModels { } - export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** User email address attached to their account */ - Email: string; - /** The email template id of the account recovery email template to send. */ - EmailTemplateId?: string; - - } - - export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret?: string; - /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabId: string; - - } - - export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Revision to make the current published revision */ - Revision: number; - /** Version number */ - Version: number; - - } - - export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same - * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. - */ - Key: string; - /** new value to set. Set to null to remove a value */ - Value?: string; - - } - - export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to - * create/update a key. - */ - KeyValues: TitleDataKeyValue[]; - /** Name of the override. */ - OverrideLabel?: string; - - } - - export interface SetTitleDataAndOverridesResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same - * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. - */ - Key: string; - /** new value to set. Set to null to remove a value */ - Value?: string; - - } - - export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ - Credential: string; - /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ - Key?: string; - /** - * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII - * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; - /** - * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if - * notifications have already setup for this platform. - */ - OverwriteOldARN: boolean; - /** - * supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud - * Messaging (GCM) for Android - */ - Platform: string; - - } - - export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { - /** Amazon Resource Name for the created notification topic. */ - ARN?: string; - - } - - export interface SharedSecret { - /** Flag to indicate if this key is disabled */ - Disabled: boolean; - /** Friendly name for this key */ - FriendlyName?: string; - /** The player shared secret to use when calling Client/GetTitlePublicKey */ - SecretKey?: string; - - } - - type SourceType = "Admin" - | "BackEnd" - | "GameClient" - | "GameServer" - | "Partner" - | "Custom" - | "API"; - - type StatisticAggregationMethod = "Last" - | "Min" - | "Max" - | "Sum"; - - export interface StatisticModel { - /** Statistic name */ - Name?: string; - /** Statistic value */ - Value: number; - /** Statistic version (0 if not a versioned statistic) */ - Version: number; - - } - - type StatisticResetIntervalOption = "Never" - | "Hour" - | "Day" - | "Week" - | "Month"; - - type StatisticVersionArchivalStatus = "NotScheduled" - | "Scheduled" - | "Queued" - | "InProgress" - | "Complete"; - + export interface SegmentAndDefinition { + /** Filter property for ad campaign filter. */ + AdCampaignFilter?: AdCampaignSegmentFilter; + /** property for all player filter. */ + AllPlayersFilter?: AllPlayersSegmentFilter; + /** Filter property for first login date. */ + FirstLoginDateFilter?: FirstLoginDateSegmentFilter; + /** Filter property for first login timespan. */ + FirstLoginFilter?: FirstLoginTimespanSegmentFilter; + /** Filter property for last login date. */ + LastLoginDateFilter?: LastLoginDateSegmentFilter; + /** Filter property for last login timespan. */ + LastLoginFilter?: LastLoginTimespanSegmentFilter; + /** Filter property for linked in user account. */ + LinkedUserAccountFilter?: LinkedUserAccountSegmentFilter; + /** Filter property for linked in user account has email. */ + LinkedUserAccountHasEmailFilter?: LinkedUserAccountHasEmailSegmentFilter; + /** Filter property for location. */ + LocationFilter?: LocationSegmentFilter; + /** Filter property for push notification. */ + PushNotificationFilter?: PushNotificationSegmentFilter; + /** Filter property for statistics. */ + StatisticFilter?: StatisticSegmentFilter; + /** Filter property for tags. */ + TagFilter?: TagSegmentFilter; + /** Filter property for total value to date in USD. */ + TotalValueToDateInUSDFilter?: TotalValueToDateInUSDSegmentFilter; + /** Filter property for user origination. */ + UserOriginationFilter?: UserOriginationSegmentFilter; + /** Filter property for value to date. */ + ValueToDateFilter?: ValueToDateSegmentFilter; + /** Filter property for virtual currency. */ + VirtualCurrencyBalanceFilter?: VirtualCurrencyBalanceSegmentFilter; + + } + + type SegmentCountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + type SegmentCurrency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + type SegmentFilterComparison = "GreaterThan" + | "LessThan" + | "EqualTo" + | "NotEqualTo" + | "GreaterThanOrEqual" + | "LessThanOrEqual" + | "Exists" + | "Contains" + | "NotContains"; + + type SegmentLoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames" + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; + + export interface SegmentModel { + /** Segment description. */ + Description?: string; + /** Segment actions for current entered segment players. */ + EnteredSegmentActions?: SegmentTrigger[]; + /** Segment last updated date time. */ + LastUpdateTime: string; + /** Segment actions for current left segment players. */ + LeftSegmentActions?: SegmentTrigger[]; + /** Segment name. */ + Name?: string; + /** Segment id in hex. */ + SegmentId?: string; + /** Segment or definitions. This includes segment and definitions and filters. */ + SegmentOrDefinitions?: SegmentOrDefinition[]; + + } + + export interface SegmentOrDefinition { + /** List of segment and definitions. */ + SegmentAndDefinitions?: SegmentAndDefinition[]; + + } + + type SegmentPushNotificationDevicePlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + export interface SegmentTrigger { + /** Ban player segment trigger action. */ + BanPlayerAction?: BanPlayerSegmentAction; + /** Delete player segment trigger action. */ + DeletePlayerAction?: DeletePlayerSegmentAction; + /** Delete player statistic segment trigger action. */ + DeletePlayerStatisticAction?: DeletePlayerStatisticSegmentAction; + /** Email notification segment trigger action. */ + EmailNotificationAction?: EmailNotificationSegmentAction; + /** Execute azure function segment trigger action. */ + ExecuteAzureFunctionAction?: ExecuteAzureFunctionSegmentAction; + /** Execute cloud script segment trigger action. */ + ExecuteCloudScriptAction?: ExecuteCloudScriptSegmentAction; + /** Grant item segment trigger action. */ + GrantItemAction?: GrantItemSegmentAction; + /** Grant virtual currency segment trigger action. */ + GrantVirtualCurrencyAction?: GrantVirtualCurrencySegmentAction; + /** Increment player statistic segment trigger action. */ + IncrementPlayerStatisticAction?: IncrementPlayerStatisticSegmentAction; + /** Push notification segment trigger action. */ + PushNotificationAction?: PushNotificationSegmentAction; + + } + + export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** User email address attached to their account */ + Email: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId?: string; + + } + + export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Revision to make the current published revision */ + Revision: number; + /** Version number */ + Version: number; + + } + + export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** new value to set. Set to null to remove a value */ + Value?: string; + + } + + export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to + * create/update a key. + */ + KeyValues: TitleDataKeyValue[]; + /** Name of the override. */ + OverrideLabel?: string; + + } + + export interface SetTitleDataAndOverridesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** new value to set. Set to null to remove a value */ + Value?: string; + + } + + export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ + Credential: string; + /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ + Key?: string; + /** + * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII + * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + */ + Name: string; + /** + * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if + * notifications have already setup for this platform. + */ + OverwriteOldARN: boolean; + /** + * supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud + * Messaging (GCM) for Android + */ + Platform: string; + + } + + export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + /** Amazon Resource Name for the created notification topic. */ + ARN?: string; + + } + + export interface SharedSecret { + /** Flag to indicate if this key is disabled */ + Disabled: boolean; + /** Friendly name for this key */ + FriendlyName?: string; + /** The player shared secret to use when calling Client/GetTitlePublicKey */ + SecretKey?: string; + + } + + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner" + | "Custom" + | "API"; + + type StatisticAggregationMethod = "Last" + | "Min" + | "Max" + | "Sum"; + + export interface StatisticModel { + /** Statistic name */ + Name?: string; + /** Statistic value */ + Value: number; + /** Statistic version (0 if not a versioned statistic) */ + Version: number; + + } + + type StatisticResetIntervalOption = "Never" + | "Hour" + | "Day" + | "Week" + | "Month"; + + export interface StatisticSegmentFilter { + /** Statistic filter comparison. */ + Comparison?: string; + /** Statistic filter value. */ + FilterValue?: string; + /** Statistic name. */ + Name?: string; + /** Use current version of statistic? */ + UseCurrentVersion?: boolean; + /** Statistic version. */ + Version?: number; + + } + + type StatisticVersionArchivalStatus = "NotScheduled" + | "Scheduled" + | "Queued" + | "InProgress" + | "Complete"; + type StatisticVersionStatus = "Active" | "SnapshotPending" | "Snapshot" @@ -4073,6 +4852,14 @@ declare module PlayFabAdminModels { } + export interface TagSegmentFilter { + /** Tag comparison. */ + Comparison?: string; + /** Tag value. */ + TagValue?: string; + + } + export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -4121,6 +4908,14 @@ declare module PlayFabAdminModels { } + export interface TotalValueToDateInUSDSegmentFilter { + /** Total value to date USD amount. */ + Amount?: string; + /** Total value to date USD comparison. */ + Comparison?: string; + + } + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -4275,6 +5070,20 @@ declare module PlayFabAdminModels { } + export interface UpdateSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment model with all of the segment properties data. */ + SegmentModel: SegmentModel; + + } + + export interface UpdateSegmentResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + /** Segment id. */ + SegmentId?: string; + + } + export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -4553,6 +5362,12 @@ declare module PlayFabAdminModels { | "Apple" | "NintendoSwitchAccount"; + export interface UserOriginationSegmentFilter { + /** User login provider. */ + LoginProvider?: string; + + } + export interface UserPrivateAccountInfo { /** user email address */ Email?: string; @@ -4645,6 +5460,26 @@ declare module PlayFabAdminModels { } + export interface ValueToDateSegmentFilter { + /** Value to date amount. */ + Amount?: string; + /** Value to date comparison. */ + Comparison?: string; + /** Currency using for filter. */ + Currency?: string; + + } + + export interface VirtualCurrencyBalanceSegmentFilter { + /** Total amount. */ + Amount: number; + /** Amount comparison. */ + Comparison?: string; + /** Currency code. */ + CurrencyCode?: string; + + } + export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 6703c9ba..81d133a1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -209,6 +209,12 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummaries */ ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client + * access is enabled, allows game client to request list of builds with player entity token. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummariesv2 + */ + ListBuildSummariesV2(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game certificates for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcertificatesummaries diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 7e7eb174..02f2bf12 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2254,6 +2254,7 @@ declare module PlayFabServerModels { | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" + | "VirtualCurrencyCurrentlyUnavailable" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2315,6 +2316,21 @@ declare module PlayFabServerModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExplorerBasicInvalidQueryName" + | "ExplorerBasicInvalidQueryDescription" + | "ExplorerBasicInvalidQueryConditions" + | "ExplorerBasicInvalidQueryStartDate" + | "ExplorerBasicInvalidQueryEndDate" + | "ExplorerBasicInvalidQueryGroupBy" + | "ExplorerBasicInvalidQueryAggregateType" + | "ExplorerBasicInvalidQueryAggregateProperty" + | "ExplorerBasicLoadQueriesError" + | "ExplorerBasicLoadQueryError" + | "ExplorerBasicCreateQueryError" + | "ExplorerBasicDeleteQueryError" + | "ExplorerBasicUpdateQueryError" + | "ExplorerBasicSavedQueriesLimit" + | "ExplorerBasicSavedQueryNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index be137035..f3a1404b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -309,6 +309,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreatePlayerStatisticDefinition", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteContent: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteContent", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -329,6 +333,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeleteSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteStore: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteStore", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -441,6 +449,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegments: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerBuildInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -665,6 +677,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + UpdateSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UpdateStoreItems: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index a2f27683..ff50ae2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 3111e477..247abf6c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 294d40c0..4c08dd77 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 53bbb66e..16fa70a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 78b0c995..3982a03f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index a233a914..efec4a24 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index ac5ea4a2..8d039024 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 27f924bb..7665267f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 97824561..f49bf176 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 47f548c8..7f8cf5d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9031398a..b345f391 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -405,10 +405,17 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildAliases", request, "X-EntityToken", callback, customData, extraHeaders); }, + /** + * @deprecated Please use ListBuildSummariesV2 instead. + */ ListBuildSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListBuildSummariesV2: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummariesV2", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListCertificateSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListCertificateSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 544545ee..034b4fb5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 8ffed4b1..eff00ce9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.77.201027", + sdkVersion: "1.79.201218", requestGetParams: { - sdk: "JavaScriptSDK-1.77.201027" + sdk: "JavaScriptSDK-1.79.201218" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_2"; -PlayFab.sdkVersion = "1.77.201027"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; +PlayFab.sdkVersion = "1.79.201218"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9e4c42df..d6b6c6a1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -83,6 +83,12 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/createplayerstatisticdefinition */ CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a new player segment by defining the conditions on player properties. Also, create actions to target the player + * segments for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment + */ + CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete a content file from the title. When deleting a file that does not exist, it returns success. * https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent @@ -109,6 +115,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteplayersharedsecret */ DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes an existing player segment and its associated action(s) for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment + */ + DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes an existing virtual item store * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore @@ -258,6 +269,11 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * 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 }): void; /** * Retrieves the build details for the specified game server executable * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo @@ -546,6 +562,11 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * Updates an existing player segment and its associated definition(s) and action(s) for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment + */ + UpdateSegment(request: PlayFabAdminModels.UpdateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates an existing virtual item store with new or modified items * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatestoreitems @@ -660,6 +681,16 @@ declare module PlayFabAdminModels { } + export interface AdCampaignSegmentFilter { + /** Campaign id. */ + CampaignId?: string; + /** Campaign source. */ + CampaignSource?: string; + /** Campaign comparison. */ + Comparison?: string; + + } + export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Localized body text of the news. */ Body: string; @@ -787,6 +818,10 @@ declare module PlayFabAdminModels { } + export interface AllPlayersSegmentFilter { + + } + export interface ApiCondition { /** Require that API calls contain an RSA encrypted payload or signed headers. */ HasSignatureOrEncryption?: string; @@ -815,6 +850,14 @@ declare module PlayFabAdminModels { } + export interface BanPlayerSegmentAction { + /** Ban hours duration. */ + BanHours?: number; + /** Reason for ban. */ + ReasonForBan?: string; + + } + export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; @@ -1365,6 +1408,8 @@ 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 discovery document URL to read issuer information from. This must be the absolute URL to the JSON OpenId * Configuration document and must be accessible from the internet. If you don't know it, try your issuer URL followed by @@ -1407,6 +1452,20 @@ declare module PlayFabAdminModels { } + export interface CreateSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment model with all of the segment properties data. */ + SegmentModel: SegmentModel; + + } + + export interface CreateSegmentResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + /** Segment id. */ + SegmentId?: string; + + } + export interface CreateTaskResult extends PlayFabModule.IPlayFabResultCommon { /** ID of the task */ TaskId?: string; @@ -1617,6 +1676,10 @@ declare module PlayFabAdminModels { } + export interface DeletePlayerSegmentAction { + + } + export interface DeletePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** The shared secret key to delete */ SecretKey?: string; @@ -1627,6 +1690,24 @@ declare module PlayFabAdminModels { } + export interface DeletePlayerStatisticSegmentAction { + /** Statistic name. */ + StatisticName?: string; + + } + + export interface DeleteSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment id. */ + SegmentId: string; + + } + + export interface DeleteSegmentsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + + } + export interface DeleteStoreRequest extends PlayFabModule.IPlayFabRequestCommon { /** catalog version of the store to delete. If null, uses the default catalog. */ CatalogVersion?: string; @@ -1668,6 +1749,14 @@ declare module PlayFabAdminModels { type EffectType = "Allow" | "Deny"; + export interface EmailNotificationSegmentAction { + /** Email template id. */ + EmailTemplateId?: string; + /** Email template name. */ + EmailTemplateName?: string; + + } + type EmailVerificationStatus = "Unverified" | "Pending" | "Confirmed"; @@ -1684,6 +1773,16 @@ declare module PlayFabAdminModels { } + export interface ExecuteAzureFunctionSegmentAction { + /** Azure function. */ + AzureFunction?: string; + /** Azure function parameter. */ + FunctionParameter?: any; + /** Generate play stream event. */ + GenerateFunctionExecutedEvents: boolean; + + } + export interface ExecuteCloudScriptResult { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -1722,6 +1821,18 @@ declare module PlayFabAdminModels { } + export interface ExecuteCloudScriptSegmentAction { + /** Cloud script function. */ + CloudScriptFunction?: string; + /** Generate play stream event. */ + CloudScriptPublishResultsToPlayStream: boolean; + /** Cloud script function parameter. */ + FunctionParameter?: any; + /** Cloud script function parameter json text. */ + FunctionParameterJson?: string; + + } + export interface ExportMasterPlayerDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1737,6 +1848,22 @@ declare module PlayFabAdminModels { } + export interface FirstLoginDateSegmentFilter { + /** First player login date comparison. */ + Comparison?: string; + /** First player login date. */ + LogInDate: string; + + } + + export interface FirstLoginTimespanSegmentFilter { + /** First player login duration comparison. */ + Comparison?: string; + /** First player login duration. */ + DurationInMinutes: number; + + } + type GameBuildStatus = "Available" | "Validating" | "InvalidBuildPackage" @@ -2256,6 +2383,7 @@ declare module PlayFabAdminModels { | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" + | "VirtualCurrencyCurrentlyUnavailable" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2317,6 +2445,21 @@ declare module PlayFabAdminModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExplorerBasicInvalidQueryName" + | "ExplorerBasicInvalidQueryDescription" + | "ExplorerBasicInvalidQueryConditions" + | "ExplorerBasicInvalidQueryStartDate" + | "ExplorerBasicInvalidQueryEndDate" + | "ExplorerBasicInvalidQueryGroupBy" + | "ExplorerBasicInvalidQueryAggregateType" + | "ExplorerBasicInvalidQueryAggregateProperty" + | "ExplorerBasicLoadQueriesError" + | "ExplorerBasicLoadQueryError" + | "ExplorerBasicCreateQueryError" + | "ExplorerBasicDeleteQueryError" + | "ExplorerBasicUpdateQueryError" + | "ExplorerBasicSavedQueriesLimit" + | "ExplorerBasicSavedQueryNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -2723,6 +2866,20 @@ declare module PlayFabAdminModels { } + export interface GetSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment ids to filter title segments. */ + SegmentIds: string[]; + + } + + export interface GetSegmentsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + /** List of title segments. */ + Segments?: SegmentModel[]; + + } + export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique identifier of the previously uploaded build executable for which information is being requested */ BuildId: string; @@ -2955,6 +3112,16 @@ declare module PlayFabAdminModels { } + export interface GrantItemSegmentAction { + /** Item catalog id. */ + CatelogId?: string; + /** Item id. */ + ItemId?: string; + /** Item quantity. */ + Quantity: number; + + } + export interface GrantItemsToUsersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -2971,6 +3138,14 @@ declare module PlayFabAdminModels { } + export interface GrantVirtualCurrencySegmentAction { + /** Virtual currency amount. */ + Amount: number; + /** Virtual currency code. */ + CurrencyCode?: string; + + } + export interface IncrementLimitedEditionItemAvailabilityRequest extends PlayFabModule.IPlayFabRequestCommon { /** Amount to increase availability by. */ Amount: number; @@ -2987,6 +3162,14 @@ declare module PlayFabAdminModels { } + export interface IncrementPlayerStatisticSegmentAction { + /** Increment value. */ + IncrementValue: number; + /** Statistic name. */ + StatisticName?: string; + + } + export interface IncrementPlayerStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3069,6 +3252,22 @@ declare module PlayFabAdminModels { } + export interface LastLoginDateSegmentFilter { + /** Last player login date comparison. */ + Comparison?: string; + /** Last player login date. */ + LogInDate: string; + + } + + export interface LastLoginTimespanSegmentFilter { + /** Last player login duration comparison. */ + Comparison?: string; + /** Last player login duration. */ + DurationInMinutes: number; + + } + export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -3081,6 +3280,22 @@ declare module PlayFabAdminModels { } + export interface LinkedUserAccountHasEmailSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; + /** Login provider. */ + LoginProvider?: string; + + } + + export interface LinkedUserAccountSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; + /** Login provider. */ + LoginProvider?: string; + + } + export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3125,6 +3340,12 @@ declare module PlayFabAdminModels { } + export interface LocationSegmentFilter { + /** Segment country code. */ + CountryCode?: string; + + } + type LoginIdentityProvider = "Unknown" | "PlayFab" | "Custom" @@ -3546,6 +3767,18 @@ declare module PlayFabAdminModels { } + export interface PushNotificationSegmentAction { + /** Push notification template id. */ + PushNotificationTemplateId?: string; + + } + + export interface PushNotificationSegmentFilter { + /** Push notification device platform. */ + PushNotificationDevicePlatform?: string; + + } + type PushSetupPlatform = "GCM" | "APNS" | "APNS_SANDBOX"; @@ -3836,165 +4069,711 @@ declare module PlayFabAdminModels { } - export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** User email address attached to their account */ - Email: string; - /** The email template id of the account recovery email template to send. */ - EmailTemplateId?: string; - - } - - export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret?: string; - /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabId: string; - - } - - export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Revision to make the current published revision */ - Revision: number; - /** Version number */ - Version: number; - - } - - export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same - * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. - */ - Key: string; - /** new value to set. Set to null to remove a value */ - Value?: string; - - } - - export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to - * create/update a key. - */ - KeyValues: TitleDataKeyValue[]; - /** Name of the override. */ - OverrideLabel?: string; - - } - - export interface SetTitleDataAndOverridesResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** - * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same - * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. - */ - Key: string; - /** new value to set. Set to null to remove a value */ - Value?: string; - - } - - export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ - Credential: string; - /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ - Key?: string; - /** - * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII - * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; - /** - * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if - * notifications have already setup for this platform. - */ - OverwriteOldARN: boolean; - /** - * supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud - * Messaging (GCM) for Android - */ - Platform: string; - - } - - export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { - /** Amazon Resource Name for the created notification topic. */ - ARN?: string; - - } - - export interface SharedSecret { - /** Flag to indicate if this key is disabled */ - Disabled: boolean; - /** Friendly name for this key */ - FriendlyName?: string; - /** The player shared secret to use when calling Client/GetTitlePublicKey */ - SecretKey?: string; - - } - - type SourceType = "Admin" - | "BackEnd" - | "GameClient" - | "GameServer" - | "Partner" - | "Custom" - | "API"; - - type StatisticAggregationMethod = "Last" - | "Min" - | "Max" - | "Sum"; - - export interface StatisticModel { - /** Statistic name */ - Name?: string; - /** Statistic value */ - Value: number; - /** Statistic version (0 if not a versioned statistic) */ - Version: number; - - } - - type StatisticResetIntervalOption = "Never" - | "Hour" - | "Day" - | "Week" - | "Month"; - - type StatisticVersionArchivalStatus = "NotScheduled" - | "Scheduled" - | "Queued" - | "InProgress" - | "Complete"; - + export interface SegmentAndDefinition { + /** Filter property for ad campaign filter. */ + AdCampaignFilter?: AdCampaignSegmentFilter; + /** property for all player filter. */ + AllPlayersFilter?: AllPlayersSegmentFilter; + /** Filter property for first login date. */ + FirstLoginDateFilter?: FirstLoginDateSegmentFilter; + /** Filter property for first login timespan. */ + FirstLoginFilter?: FirstLoginTimespanSegmentFilter; + /** Filter property for last login date. */ + LastLoginDateFilter?: LastLoginDateSegmentFilter; + /** Filter property for last login timespan. */ + LastLoginFilter?: LastLoginTimespanSegmentFilter; + /** Filter property for linked in user account. */ + LinkedUserAccountFilter?: LinkedUserAccountSegmentFilter; + /** Filter property for linked in user account has email. */ + LinkedUserAccountHasEmailFilter?: LinkedUserAccountHasEmailSegmentFilter; + /** Filter property for location. */ + LocationFilter?: LocationSegmentFilter; + /** Filter property for push notification. */ + PushNotificationFilter?: PushNotificationSegmentFilter; + /** Filter property for statistics. */ + StatisticFilter?: StatisticSegmentFilter; + /** Filter property for tags. */ + TagFilter?: TagSegmentFilter; + /** Filter property for total value to date in USD. */ + TotalValueToDateInUSDFilter?: TotalValueToDateInUSDSegmentFilter; + /** Filter property for user origination. */ + UserOriginationFilter?: UserOriginationSegmentFilter; + /** Filter property for value to date. */ + ValueToDateFilter?: ValueToDateSegmentFilter; + /** Filter property for virtual currency. */ + VirtualCurrencyBalanceFilter?: VirtualCurrencyBalanceSegmentFilter; + + } + + type SegmentCountryCode = "AF" + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + + type SegmentCurrency = "AED" + | "AFN" + | "ALL" + | "AMD" + | "ANG" + | "AOA" + | "ARS" + | "AUD" + | "AWG" + | "AZN" + | "BAM" + | "BBD" + | "BDT" + | "BGN" + | "BHD" + | "BIF" + | "BMD" + | "BND" + | "BOB" + | "BRL" + | "BSD" + | "BTN" + | "BWP" + | "BYR" + | "BZD" + | "CAD" + | "CDF" + | "CHF" + | "CLP" + | "CNY" + | "COP" + | "CRC" + | "CUC" + | "CUP" + | "CVE" + | "CZK" + | "DJF" + | "DKK" + | "DOP" + | "DZD" + | "EGP" + | "ERN" + | "ETB" + | "EUR" + | "FJD" + | "FKP" + | "GBP" + | "GEL" + | "GGP" + | "GHS" + | "GIP" + | "GMD" + | "GNF" + | "GTQ" + | "GYD" + | "HKD" + | "HNL" + | "HRK" + | "HTG" + | "HUF" + | "IDR" + | "ILS" + | "IMP" + | "INR" + | "IQD" + | "IRR" + | "ISK" + | "JEP" + | "JMD" + | "JOD" + | "JPY" + | "KES" + | "KGS" + | "KHR" + | "KMF" + | "KPW" + | "KRW" + | "KWD" + | "KYD" + | "KZT" + | "LAK" + | "LBP" + | "LKR" + | "LRD" + | "LSL" + | "LYD" + | "MAD" + | "MDL" + | "MGA" + | "MKD" + | "MMK" + | "MNT" + | "MOP" + | "MRO" + | "MUR" + | "MVR" + | "MWK" + | "MXN" + | "MYR" + | "MZN" + | "NAD" + | "NGN" + | "NIO" + | "NOK" + | "NPR" + | "NZD" + | "OMR" + | "PAB" + | "PEN" + | "PGK" + | "PHP" + | "PKR" + | "PLN" + | "PYG" + | "QAR" + | "RON" + | "RSD" + | "RUB" + | "RWF" + | "SAR" + | "SBD" + | "SCR" + | "SDG" + | "SEK" + | "SGD" + | "SHP" + | "SLL" + | "SOS" + | "SPL" + | "SRD" + | "STD" + | "SVC" + | "SYP" + | "SZL" + | "THB" + | "TJS" + | "TMT" + | "TND" + | "TOP" + | "TRY" + | "TTD" + | "TVD" + | "TWD" + | "TZS" + | "UAH" + | "UGX" + | "USD" + | "UYU" + | "UZS" + | "VEF" + | "VND" + | "VUV" + | "WST" + | "XAF" + | "XCD" + | "XDR" + | "XOF" + | "XPF" + | "YER" + | "ZAR" + | "ZMW" + | "ZWD"; + + type SegmentFilterComparison = "GreaterThan" + | "LessThan" + | "EqualTo" + | "NotEqualTo" + | "GreaterThanOrEqual" + | "LessThanOrEqual" + | "Exists" + | "Contains" + | "NotContains"; + + type SegmentLoginIdentityProvider = "Unknown" + | "PlayFab" + | "Custom" + | "GameCenter" + | "GooglePlay" + | "Steam" + | "XBoxLive" + | "PSN" + | "Kongregate" + | "Facebook" + | "IOSDevice" + | "AndroidDevice" + | "Twitch" + | "WindowsHello" + | "GameServer" + | "CustomServer" + | "NintendoSwitch" + | "FacebookInstantGames" + | "OpenIdConnect" + | "Apple" + | "NintendoSwitchAccount"; + + export interface SegmentModel { + /** Segment description. */ + Description?: string; + /** Segment actions for current entered segment players. */ + EnteredSegmentActions?: SegmentTrigger[]; + /** Segment last updated date time. */ + LastUpdateTime: string; + /** Segment actions for current left segment players. */ + LeftSegmentActions?: SegmentTrigger[]; + /** Segment name. */ + Name?: string; + /** Segment id in hex. */ + SegmentId?: string; + /** Segment or definitions. This includes segment and definitions and filters. */ + SegmentOrDefinitions?: SegmentOrDefinition[]; + + } + + export interface SegmentOrDefinition { + /** List of segment and definitions. */ + SegmentAndDefinitions?: SegmentAndDefinition[]; + + } + + type SegmentPushNotificationDevicePlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; + + export interface SegmentTrigger { + /** Ban player segment trigger action. */ + BanPlayerAction?: BanPlayerSegmentAction; + /** Delete player segment trigger action. */ + DeletePlayerAction?: DeletePlayerSegmentAction; + /** Delete player statistic segment trigger action. */ + DeletePlayerStatisticAction?: DeletePlayerStatisticSegmentAction; + /** Email notification segment trigger action. */ + EmailNotificationAction?: EmailNotificationSegmentAction; + /** Execute azure function segment trigger action. */ + ExecuteAzureFunctionAction?: ExecuteAzureFunctionSegmentAction; + /** Execute cloud script segment trigger action. */ + ExecuteCloudScriptAction?: ExecuteCloudScriptSegmentAction; + /** Grant item segment trigger action. */ + GrantItemAction?: GrantItemSegmentAction; + /** Grant virtual currency segment trigger action. */ + GrantVirtualCurrencyAction?: GrantVirtualCurrencySegmentAction; + /** Increment player statistic segment trigger action. */ + IncrementPlayerStatisticAction?: IncrementPlayerStatisticSegmentAction; + /** Push notification segment trigger action. */ + PushNotificationAction?: PushNotificationSegmentAction; + + } + + export interface SendAccountRecoveryEmailRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** User email address attached to their account */ + Email: string; + /** The email template id of the account recovery email template to send. */ + EmailTemplateId?: string; + + } + + export interface SendAccountRecoveryEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface SetPlayerSecretResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetPublishedRevisionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Revision to make the current published revision */ + Revision: number; + /** Version number */ + Version: number; + + } + + export interface SetPublishedRevisionResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetPublisherDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** new value to set. Set to null to remove a value */ + Value?: string; + + } + + export interface SetPublisherDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to + * create/update a key. + */ + KeyValues: TitleDataKeyValue[]; + /** Name of the override. */ + OverrideLabel?: string; + + } + + export interface SetTitleDataAndOverridesResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same + * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. + */ + Key: string; + /** new value to set. Set to null to remove a value */ + Value?: string; + + } + + export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SetupPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Credential is the Private Key for APNS/APNS_SANDBOX, and the API Key for GCM */ + Credential: string; + /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ + Key?: string; + /** + * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII + * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + */ + Name: string; + /** + * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if + * notifications have already setup for this platform. + */ + OverwriteOldARN: boolean; + /** + * supported notification platforms are Apple Push Notification Service (APNS and APNS_SANDBOX) for iOS and Google Cloud + * Messaging (GCM) for Android + */ + Platform: string; + + } + + export interface SetupPushNotificationResult extends PlayFabModule.IPlayFabResultCommon { + /** Amazon Resource Name for the created notification topic. */ + ARN?: string; + + } + + export interface SharedSecret { + /** Flag to indicate if this key is disabled */ + Disabled: boolean; + /** Friendly name for this key */ + FriendlyName?: string; + /** The player shared secret to use when calling Client/GetTitlePublicKey */ + SecretKey?: string; + + } + + type SourceType = "Admin" + | "BackEnd" + | "GameClient" + | "GameServer" + | "Partner" + | "Custom" + | "API"; + + type StatisticAggregationMethod = "Last" + | "Min" + | "Max" + | "Sum"; + + export interface StatisticModel { + /** Statistic name */ + Name?: string; + /** Statistic value */ + Value: number; + /** Statistic version (0 if not a versioned statistic) */ + Version: number; + + } + + type StatisticResetIntervalOption = "Never" + | "Hour" + | "Day" + | "Week" + | "Month"; + + export interface StatisticSegmentFilter { + /** Statistic filter comparison. */ + Comparison?: string; + /** Statistic filter value. */ + FilterValue?: string; + /** Statistic name. */ + Name?: string; + /** Use current version of statistic? */ + UseCurrentVersion?: boolean; + /** Statistic version. */ + Version?: number; + + } + + type StatisticVersionArchivalStatus = "NotScheduled" + | "Scheduled" + | "Queued" + | "InProgress" + | "Complete"; + type StatisticVersionStatus = "Active" | "SnapshotPending" | "Snapshot" @@ -4073,6 +4852,14 @@ declare module PlayFabAdminModels { } + export interface TagSegmentFilter { + /** Tag comparison. */ + Comparison?: string; + /** Tag value. */ + TagValue?: string; + + } + export interface TaskInstanceBasicSummary { /** UTC timestamp when the task completed. */ CompletedAt?: string; @@ -4121,6 +4908,14 @@ declare module PlayFabAdminModels { } + export interface TotalValueToDateInUSDSegmentFilter { + /** Total value to date USD amount. */ + Amount?: string; + /** Total value to date USD comparison. */ + Comparison?: string; + + } + export interface UpdateBanRequest { /** The updated active state for the ban. Null for no change. */ Active?: boolean; @@ -4275,6 +5070,20 @@ declare module PlayFabAdminModels { } + export interface UpdateSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Segment model with all of the segment properties data. */ + SegmentModel: SegmentModel; + + } + + export interface UpdateSegmentResponse extends PlayFabModule.IPlayFabResultCommon { + /** Error message. */ + ErrorMessage?: string; + /** Segment id. */ + SegmentId?: string; + + } + export interface UpdateStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version of the store to update. If null, uses the default catalog. */ CatalogVersion?: string; @@ -4553,6 +5362,12 @@ declare module PlayFabAdminModels { | "Apple" | "NintendoSwitchAccount"; + export interface UserOriginationSegmentFilter { + /** User login provider. */ + LoginProvider?: string; + + } + export interface UserPrivateAccountInfo { /** user email address */ Email?: string; @@ -4645,6 +5460,26 @@ declare module PlayFabAdminModels { } + export interface ValueToDateSegmentFilter { + /** Value to date amount. */ + Amount?: string; + /** Value to date comparison. */ + Comparison?: string; + /** Currency using for filter. */ + Currency?: string; + + } + + export interface VirtualCurrencyBalanceSegmentFilter { + /** Total amount. */ + Amount: number; + /** Amount comparison. */ + Comparison?: string; + /** Currency code. */ + CurrencyCode?: string; + + } + export interface VirtualCurrencyData { /** unique two-character identifier for this currency type (e.g.: "CC") */ CurrencyCode: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 6703c9ba..81d133a1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -209,6 +209,12 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummaries */ ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client + * access is enabled, allows game client to request list of builds with player entity token. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummariesv2 + */ + ListBuildSummariesV2(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists multiplayer server game certificates for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcertificatesummaries diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 7e7eb174..02f2bf12 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2254,6 +2254,7 @@ declare module PlayFabServerModels { | "DuplicateKeys" | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" + | "VirtualCurrencyCurrentlyUnavailable" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2315,6 +2316,21 @@ declare module PlayFabServerModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExplorerBasicInvalidQueryName" + | "ExplorerBasicInvalidQueryDescription" + | "ExplorerBasicInvalidQueryConditions" + | "ExplorerBasicInvalidQueryStartDate" + | "ExplorerBasicInvalidQueryEndDate" + | "ExplorerBasicInvalidQueryGroupBy" + | "ExplorerBasicInvalidQueryAggregateType" + | "ExplorerBasicInvalidQueryAggregateProperty" + | "ExplorerBasicLoadQueriesError" + | "ExplorerBasicLoadQueryError" + | "ExplorerBasicCreateQueryError" + | "ExplorerBasicDeleteQueryError" + | "ExplorerBasicUpdateQueryError" + | "ExplorerBasicSavedQueriesLimit" + | "ExplorerBasicSavedQueryNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" From 5e7c12c42e584aecb395b2b0cdad6254906c7c9e Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 11 Jan 2021 22:27:40 +0000 Subject: [PATCH 119/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210111 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 12 +++++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +++++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 30 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 15 ++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 12 +++++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +++++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 30 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 15 ++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 37 files changed, 223 insertions(+), 117 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1474ff2d..98afa52d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.79.201218", + "version": "1.80.210111", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f3a1404b..1110ef7b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ff50ae2d..a5d00aeb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 247abf6c..9f66a5ba 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -312,6 +312,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 4c08dd77..6c4ff839 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 16fa70a2..14478db9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3982a03f..1568c836 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index efec4a24..f24e46f1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 8d039024..08c59a4d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 7665267f..eac735c0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index f49bf176..4ac4ca87 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7f8cf5d3..433241c6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index b345f391..7dd2791a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -484,6 +484,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildName: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 034b4fb5..3fc03676 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index eff00ce9..3380760d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index d6b6c6a1..aa989f3c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2485,6 +2485,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -3289,8 +3290,6 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { - /** Login provider comparison. */ - Comparison?: string; /** Login provider. */ LoginProvider?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index b1b70ba7..e8108ee0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -82,6 +82,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab + * items + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements + */ + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -1366,6 +1372,22 @@ declare module PlayFabClientModels { } + export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: PlayStation5Payload; + + } + + export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -4159,6 +4181,14 @@ declare module PlayFabClientModels { } + export interface PlayStation5Payload { + /** An optional list of entitlement ids to query against PSN */ + Ids?: string[]; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel?: string; + + } + export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 81d133a1..9ca7808a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -302,6 +302,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's name. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname + */ + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -2407,6 +2412,16 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update the name of. */ + BuildId: string; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 02f2bf12..cf8e6b39 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2356,6 +2356,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f3a1404b..1110ef7b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ff50ae2d..a5d00aeb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 247abf6c..9f66a5ba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -312,6 +312,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 4c08dd77..6c4ff839 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 16fa70a2..14478db9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3982a03f..1568c836 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index efec4a24..f24e46f1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 8d039024..08c59a4d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 7665267f..eac735c0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index f49bf176..4ac4ca87 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7f8cf5d3..433241c6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index b345f391..7dd2791a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -484,6 +484,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildName: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 034b4fb5..3fc03676 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index eff00ce9..3380760d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201218", + sdkVersion: "1.80.210111", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201218" + sdk: "JavaScriptSDK-1.80.210111" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-3_1"; -PlayFab.sdkVersion = "1.79.201218"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; +PlayFab.sdkVersion = "1.80.210111"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index d6b6c6a1..aa989f3c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2485,6 +2485,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -3289,8 +3290,6 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { - /** Login provider comparison. */ - Comparison?: string; /** Login provider. */ LoginProvider?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index b1b70ba7..e8108ee0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -82,6 +82,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab + * items + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements + */ + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -1366,6 +1372,22 @@ declare module PlayFabClientModels { } + export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: PlayStation5Payload; + + } + + export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -4159,6 +4181,14 @@ declare module PlayFabClientModels { } + export interface PlayStation5Payload { + /** An optional list of entitlement ids to query against PSN */ + Ids?: string[]; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel?: string; + + } + export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 81d133a1..9ca7808a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -302,6 +302,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's name. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname + */ + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -2407,6 +2412,16 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update the name of. */ + BuildId: string; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 02f2bf12..cf8e6b39 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2356,6 +2356,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" From c13ae1ea013f75d1f0b43c5a6a5528758e741416 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 25 Jan 2021 22:14:55 +0000 Subject: [PATCH 120/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210125 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 25 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 8 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 129 ++++++++++++++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 +- .../src/PlayFab/PlayFabAdminApi.js | 6 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 25 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 6 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 8 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 129 ++++++++++++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 +- 35 files changed, 361 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 98afa52d..4bd97017 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.80.210111", + "version": "1.81.210125", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 1110ef7b..df59c452 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index a5d00aeb..70abc9f8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 9f66a5ba..b69345cb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 6c4ff839..134f70a7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 14478db9..d1a8d861 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1568c836..9b38e624 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f24e46f1..948d875a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 08c59a4d..5733c889 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index eac735c0..41b4a338 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4ac4ca87..6199687f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 433241c6..0a96fdd9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7dd2791a..19a48e81 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,6 +389,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -405,13 +413,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildAliases", request, "X-EntityToken", callback, customData, extraHeaders); }, - /** - * @deprecated Please use ListBuildSummariesV2 instead. - */ - ListBuildSummaries: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListBuildSummariesV2: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummariesV2", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -452,6 +453,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3fc03676..3b76e7ec 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 3380760d..348f8c7c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index e8108ee0..054f60da 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2737,7 +2737,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3306,7 +3306,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3780,7 +3780,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4270,7 +4270,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 9ca7808a..ed684d0a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,6 +67,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a request to change a title's multiplayer server quotas. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange + */ + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -177,6 +182,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a title's server quota change request. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange + */ + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -203,12 +213,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client - * access is enabled, allows game client to request list of builds with player entity token. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummaries - */ - ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -261,6 +265,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server quota change requests for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges + */ + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -380,7 +389,12 @@ declare module PlayFabMultiplayerModels { | "ChinaNorth2" | "SouthAfricaNorth" | "CentralUsEuap" - | "WestCentralUs"; + | "WestCentralUs" + | "KoreaCentral" + | "FranceCentral" + | "WestUs2" + | "CentralIndia" + | "UaeNorth"; type AzureVmFamily = "A" | "Av2" @@ -393,7 +407,9 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4"; + | "Esv4" + | "Dsv3" + | "Dsv2"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -428,7 +444,24 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4"; + | "Standard_D16a_v4" + | "Standard_E2a_v4" + | "Standard_E4a_v4" + | "Standard_E8a_v4" + | "Standard_E16a_v4" + | "Standard_E2as_v4" + | "Standard_E4as_v4" + | "Standard_E8as_v4" + | "Standard_E16as_v4" + | "Standard_D2s_v3" + | "Standard_D4s_v3" + | "Standard_D8s_v3" + | "Standard_D16s_v3" + | "Standard_DS1_v2" + | "Standard_DS2_v2" + | "Standard_DS3_v2" + | "Standard_DS4_v2" + | "Standard_DS5_v2"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -617,6 +650,16 @@ declare module PlayFabMultiplayerModels { } + export interface CoreCapacityChange { + /** New quota core limit for the given vm family/region. */ + NewCoreLimit: number; + /** Region to change. */ + Region: string; + /** Virtual machine family to change. */ + VmFamily: string; + + } + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -1000,6 +1043,30 @@ declare module PlayFabMultiplayerModels { } + export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Changes to make to the titles cores quota. */ + Changes: CoreCapacityChange[]; + /** Email to be contacted by our team about this request. Only required when a request is not approved. */ + ContactEmail?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** When these changes would need to be in effect. Only required when a request is not approved. */ + StartDate?: string; + + } + + export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Id of the change request that was created. */ + RequestId?: string; + /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ + WasApproved: boolean; + + } + export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1568,6 +1635,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Id of the change request to get. */ + RequestId: string; + + } + + export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** The change request for this title. */ + Change?: QuotaChange; + + } + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1865,6 +1946,18 @@ declare module PlayFabMultiplayerModels { } + export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { + /** All change requests for this title. */ + Changes?: QuotaChange[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -2063,6 +2156,24 @@ declare module PlayFabMultiplayerModels { } + export interface QuotaChange { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Requested changes to make to the titles cores quota. */ + Changes?: CoreCapacityChange[]; + /** Whether or not this request is pending a review. */ + IsPendingReview: boolean; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** Id of the change request. */ + RequestId?: string; + /** Comments by our team when a request is reviewed. */ + ReviewComments?: string; + /** Whether or not this request was approved. */ + WasApproved: boolean; + + } + export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index cf8e6b39..3b7664f3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2930,7 +2930,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3385,7 +3385,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 1110ef7b..df59c452 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index a5d00aeb..70abc9f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 9f66a5ba..b69345cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 6c4ff839..134f70a7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 14478db9..d1a8d861 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1568c836..9b38e624 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f24e46f1..948d875a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 08c59a4d..5733c889 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index eac735c0..41b4a338 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4ac4ca87..6199687f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 433241c6..0a96fdd9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7dd2791a..19a48e81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,6 +389,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -405,13 +413,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildAliases", request, "X-EntityToken", callback, customData, extraHeaders); }, - /** - * @deprecated Please use ListBuildSummariesV2 instead. - */ - ListBuildSummaries: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummaries", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListBuildSummariesV2: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListBuildSummariesV2", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -452,6 +453,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3fc03676..3b76e7ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 3380760d..348f8c7c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.80.210111", + sdkVersion: "1.81.210125", requestGetParams: { - sdk: "JavaScriptSDK-1.80.210111" + sdk: "JavaScriptSDK-1.81.210125" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.80.210111"; +PlayFab.sdkVersion = "1.81.210125"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index e8108ee0..054f60da 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2737,7 +2737,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3306,7 +3306,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3780,7 +3780,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4270,7 +4270,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 9ca7808a..ed684d0a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,6 +67,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a request to change a title's multiplayer server quotas. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange + */ + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -177,6 +182,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a title's server quota change request. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange + */ + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -203,12 +213,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client - * access is enabled, allows game client to request list of builds with player entity token. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummaries - */ - ListBuildSummaries(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -261,6 +265,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server quota change requests for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges + */ + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -380,7 +389,12 @@ declare module PlayFabMultiplayerModels { | "ChinaNorth2" | "SouthAfricaNorth" | "CentralUsEuap" - | "WestCentralUs"; + | "WestCentralUs" + | "KoreaCentral" + | "FranceCentral" + | "WestUs2" + | "CentralIndia" + | "UaeNorth"; type AzureVmFamily = "A" | "Av2" @@ -393,7 +407,9 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4"; + | "Esv4" + | "Dsv3" + | "Dsv2"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -428,7 +444,24 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4"; + | "Standard_D16a_v4" + | "Standard_E2a_v4" + | "Standard_E4a_v4" + | "Standard_E8a_v4" + | "Standard_E16a_v4" + | "Standard_E2as_v4" + | "Standard_E4as_v4" + | "Standard_E8as_v4" + | "Standard_E16as_v4" + | "Standard_D2s_v3" + | "Standard_D4s_v3" + | "Standard_D8s_v3" + | "Standard_D16s_v3" + | "Standard_DS1_v2" + | "Standard_DS2_v2" + | "Standard_DS3_v2" + | "Standard_DS4_v2" + | "Standard_DS5_v2"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -617,6 +650,16 @@ declare module PlayFabMultiplayerModels { } + export interface CoreCapacityChange { + /** New quota core limit for the given vm family/region. */ + NewCoreLimit: number; + /** Region to change. */ + Region: string; + /** Virtual machine family to change. */ + VmFamily: string; + + } + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -1000,6 +1043,30 @@ declare module PlayFabMultiplayerModels { } + export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Changes to make to the titles cores quota. */ + Changes: CoreCapacityChange[]; + /** Email to be contacted by our team about this request. Only required when a request is not approved. */ + ContactEmail?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** When these changes would need to be in effect. Only required when a request is not approved. */ + StartDate?: string; + + } + + export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Id of the change request that was created. */ + RequestId?: string; + /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ + WasApproved: boolean; + + } + export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1568,6 +1635,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Id of the change request to get. */ + RequestId: string; + + } + + export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** The change request for this title. */ + Change?: QuotaChange; + + } + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1865,6 +1946,18 @@ declare module PlayFabMultiplayerModels { } + export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { + /** All change requests for this title. */ + Changes?: QuotaChange[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -2063,6 +2156,24 @@ declare module PlayFabMultiplayerModels { } + export interface QuotaChange { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Requested changes to make to the titles cores quota. */ + Changes?: CoreCapacityChange[]; + /** Whether or not this request is pending a review. */ + IsPendingReview: boolean; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** Id of the change request. */ + RequestId?: string; + /** Comments by our team when a request is reviewed. */ + ReviewComments?: string; + /** Whether or not this request was approved. */ + WasApproved: boolean; + + } + export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index cf8e6b39..3b7664f3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2930,7 +2930,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3385,7 +3385,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; From 698bf9d6da3661404a99f228a75a3ce026c90d49 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 8 Feb 2021 20:44:59 +0000 Subject: [PATCH 121/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210208 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 6 ++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 24 ++++++++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 12 ++++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 6 ++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 24 ++++++++++++++++++- 33 files changed, 177 insertions(+), 117 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 4bd97017..e28732d0 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.81.210125", + "version": "1.82.210208", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index df59c452..539a5621 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 70abc9f8..acaceff4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b69345cb..d25ae174 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 134f70a7..063352a2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index d1a8d861..ff2277e2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 9b38e624..b6125b1a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 948d875a..95ea3aa5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 5733c889..e3509219 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 41b4a338..e1148c8d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 6199687f..f0c35d2a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 0a96fdd9..14da8c3e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 19a48e81..06e626e9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3b76e7ec..fb56b2a1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 348f8c7c..57e12501 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,6 +545,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithSteamId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index aa989f3c..8532ebfc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2384,6 +2384,8 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2408,6 +2410,7 @@ declare module PlayFabAdminModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2499,7 +2502,8 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 3b7664f3..99f3f144 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -408,6 +408,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid + */ + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2255,6 +2261,8 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2279,6 +2287,7 @@ declare module PlayFabServerModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2370,7 +2379,8 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -3500,6 +3510,18 @@ declare module PlayFabServerModels { } + export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Unique Steam identifier for a user */ + SteamId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index df59c452..539a5621 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 70abc9f8..acaceff4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b69345cb..d25ae174 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 134f70a7..063352a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index d1a8d861..ff2277e2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 9b38e624..b6125b1a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 948d875a..95ea3aa5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 5733c889..e3509219 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 41b4a338..e1148c8d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 6199687f..f0c35d2a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 0a96fdd9..14da8c3e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 19a48e81..06e626e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3b76e7ec..fb56b2a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 348f8c7c..57e12501 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.81.210125", + sdkVersion: "1.82.210208", requestGetParams: { - sdk: "JavaScriptSDK-1.81.210125" + sdk: "JavaScriptSDK-1.82.210208" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_2"; -PlayFab.sdkVersion = "1.81.210125"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; +PlayFab.sdkVersion = "1.82.210208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,6 +545,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithSteamId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index aa989f3c..8532ebfc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2384,6 +2384,8 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2408,6 +2410,7 @@ declare module PlayFabAdminModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2499,7 +2502,8 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 3b7664f3..99f3f144 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -408,6 +408,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid + */ + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2255,6 +2261,8 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2279,6 +2287,7 @@ declare module PlayFabServerModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2370,7 +2379,8 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -3500,6 +3510,18 @@ declare module PlayFabServerModels { } + export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Unique Steam identifier for a user */ + SteamId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; From 442cb6b72ba19f621f16bfed7bcd05cbb024b945 Mon Sep 17 00:00:00 2001 From: Todd Bello Date: Tue, 23 Feb 2021 14:03:47 -0800 Subject: [PATCH 122/253] Delete azure-pipelines.yml (#92) --- azure-pipelines.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 3a2af765..00000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,8 +0,0 @@ -pool: - vmImage: 'ubuntu-latest' - -trigger: -- master - -extends: - template: JavaScriptResourceTemplate.yml From 3aa9c36f1a48a5db94c9e326a464cc5c9bd930c4 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 16 Mar 2021 01:20:33 +0000 Subject: [PATCH 123/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210315 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 12 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 24 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 38 +---- .../PlayFab/PlayFabExperimentationApi.d.ts | 6 - .../PlayFab/PlayFabMultiplayerApi.d.ts | 138 +----------------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 29 +--- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 12 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 12 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 24 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 12 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 38 +---- .../PlayFab/PlayFabExperimentationApi.d.ts | 6 - .../PlayFab/PlayFabMultiplayerApi.d.ts | 138 +----------------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 29 +--- 39 files changed, 143 insertions(+), 579 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e28732d0..b20d725d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.82.210208", + "version": "1.79.201217", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 539a5621..0af2d84e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index acaceff4..2a5e58fb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d25ae174..15e8d67c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -312,10 +312,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, - ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); - }, - ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 063352a2..b4611f41 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -250,11 +250,11 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index ff2277e2..b52f7d08 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index b6125b1a..1f1fb236 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 95ea3aa5..d03a04a6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e3509219..f82136e5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index e1148c8d..2731fd5e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index f0c35d2a..3a72f79d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 14da8c3e..bcf61a50 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 06e626e9..db81866f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,10 +297,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, - CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -389,10 +385,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -453,10 +445,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, - ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -489,10 +477,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, - UpdateBuildName: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); - }, - UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index fb56b2a1..b425c8f3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 57e12501..ba134c88 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,10 +545,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, - LoginWithSteamId: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); - }, - LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 8532ebfc..d6b6c6a1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2384,8 +2384,6 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2410,7 +2408,6 @@ declare module PlayFabAdminModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2488,7 +2485,6 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2502,8 +2498,7 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3294,6 +3289,8 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; /** Login provider. */ LoginProvider?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 054f60da..b1b70ba7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -82,12 +82,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab - * items - * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements - */ - ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -1372,22 +1366,6 @@ declare module PlayFabClientModels { } - export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use */ - CatalogVersion?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Marketplace specific payload containing details to fetch in app purchase transactions */ - MarketplaceSpecificData: PlayStation5Payload; - - } - - export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { - /** Details for the items purchased. */ - Items?: ItemInstance[]; - - } - export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2737,7 +2715,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3306,7 +3284,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3780,7 +3758,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4181,14 +4159,6 @@ declare module PlayFabClientModels { } - export interface PlayStation5Payload { - /** An optional list of entitlement ids to query against PSN */ - Ids?: string[]; - /** Id of the PSN service label to consume entitlements from */ - ServiceLabel?: string; - - } - export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4270,7 +4240,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts index 32a6041d..1c557cf1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -103,8 +103,6 @@ declare module PlayFabExperimentationModels { CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; - /** The duration of the experiment, in days. */ - Duration?: number; /** When experiment should end. */ EndDate?: string; /** Id of the exclusion group. */ @@ -174,8 +172,6 @@ declare module PlayFabExperimentationModels { export interface Experiment { /** Description of the experiment. */ Description?: string; - /** The duration of the experiment, in days. */ - Duration?: number; /** When experiment should end/was ended. */ EndDate?: string; /** Id of the exclusion group for this experiment. */ @@ -391,8 +387,6 @@ declare module PlayFabExperimentationModels { CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; - /** The duration of the experiment, in days. */ - Duration?: number; /** When experiment should end. */ EndDate?: string; /** Id of the exclusion group. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index ed684d0a..90952e21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,11 +67,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a request to change a title's multiplayer server quotas. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange - */ - CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -182,11 +177,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets a title's server quota change request. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange - */ - GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -265,11 +255,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all server quota change requests for a title. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges - */ - ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -311,11 +296,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates a multiplayer server build's name. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname - */ - UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -389,12 +369,7 @@ declare module PlayFabMultiplayerModels { | "ChinaNorth2" | "SouthAfricaNorth" | "CentralUsEuap" - | "WestCentralUs" - | "KoreaCentral" - | "FranceCentral" - | "WestUs2" - | "CentralIndia" - | "UaeNorth"; + | "WestCentralUs"; type AzureVmFamily = "A" | "Av2" @@ -407,9 +382,7 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4" - | "Dsv3" - | "Dsv2"; + | "Esv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -444,24 +417,7 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4" - | "Standard_E2a_v4" - | "Standard_E4a_v4" - | "Standard_E8a_v4" - | "Standard_E16a_v4" - | "Standard_E2as_v4" - | "Standard_E4as_v4" - | "Standard_E8as_v4" - | "Standard_E16as_v4" - | "Standard_D2s_v3" - | "Standard_D4s_v3" - | "Standard_D8s_v3" - | "Standard_D16s_v3" - | "Standard_DS1_v2" - | "Standard_DS2_v2" - | "Standard_DS3_v2" - | "Standard_DS4_v2" - | "Standard_DS5_v2"; + | "Standard_D16a_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -650,16 +606,6 @@ declare module PlayFabMultiplayerModels { } - export interface CoreCapacityChange { - /** New quota core limit for the given vm family/region. */ - NewCoreLimit: number; - /** Region to change. */ - Region: string; - /** Virtual machine family to change. */ - VmFamily: string; - - } - export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -1043,30 +989,6 @@ declare module PlayFabMultiplayerModels { } - export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Changes to make to the titles cores quota. */ - Changes: CoreCapacityChange[]; - /** Email to be contacted by our team about this request. Only required when a request is not approved. */ - ContactEmail?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** When these changes would need to be in effect. Only required when a request is not approved. */ - StartDate?: string; - - } - - export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Id of the change request that was created. */ - RequestId?: string; - /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ - WasApproved: boolean; - - } - export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1635,20 +1557,6 @@ declare module PlayFabMultiplayerModels { } - export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Id of the change request to get. */ - RequestId: string; - - } - - export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** The change request for this title. */ - Change?: QuotaChange; - - } - export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1946,18 +1854,6 @@ declare module PlayFabMultiplayerModels { } - export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { - /** All change requests for this title. */ - Changes?: QuotaChange[]; - - } - export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -2156,24 +2052,6 @@ declare module PlayFabMultiplayerModels { } - export interface QuotaChange { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Requested changes to make to the titles cores quota. */ - Changes?: CoreCapacityChange[]; - /** Whether or not this request is pending a review. */ - IsPendingReview: boolean; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** Id of the change request. */ - RequestId?: string; - /** Comments by our team when a request is reviewed. */ - ReviewComments?: string; - /** Whether or not this request was approved. */ - WasApproved: boolean; - - } - export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2523,16 +2401,6 @@ declare module PlayFabMultiplayerModels { } - export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string ID of the build we want to update the name of. */ - BuildId: string; - /** The build name. */ - BuildName: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 99f3f144..02f2bf12 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -408,12 +408,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which - * require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid - */ - LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2261,8 +2255,6 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2287,7 +2279,6 @@ declare module PlayFabServerModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2365,7 +2356,6 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2379,8 +2369,7 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "SnapshotNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2940,7 +2929,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3395,7 +3384,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3510,18 +3499,6 @@ declare module PlayFabServerModels { } - export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Automatically create a PlayFab account if one is not currently linked to this ID. */ - CreateAccount?: boolean; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Unique Steam identifier for a user */ - SteamId: string; - - } - export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 539a5621..0af2d84e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index acaceff4..2a5e58fb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d25ae174..15e8d67c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -312,10 +312,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, - ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); - }, - ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 063352a2..b4611f41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -250,11 +250,11 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index ff2277e2..b52f7d08 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index b6125b1a..1f1fb236 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 95ea3aa5..d03a04a6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e3509219..f82136e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index e1148c8d..2731fd5e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index f0c35d2a..3a72f79d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 14da8c3e..bcf61a50 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 06e626e9..db81866f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,10 +297,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, - CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -389,10 +385,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -453,10 +445,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, - ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -489,10 +477,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, - UpdateBuildName: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); - }, - UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index fb56b2a1..b425c8f3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 57e12501..ba134c88 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.82.210208", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.82.210208" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-genericslave-1_1"; -PlayFab.sdkVersion = "1.82.210208"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,10 +545,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, - LoginWithSteamId: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); - }, - LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 8532ebfc..d6b6c6a1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2384,8 +2384,6 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2410,7 +2408,6 @@ declare module PlayFabAdminModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2488,7 +2485,6 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2502,8 +2498,7 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3294,6 +3289,8 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; /** Login provider. */ LoginProvider?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 054f60da..b1b70ba7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -82,12 +82,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab - * items - * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements - */ - ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -1372,22 +1366,6 @@ declare module PlayFabClientModels { } - export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use */ - CatalogVersion?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Marketplace specific payload containing details to fetch in app purchase transactions */ - MarketplaceSpecificData: PlayStation5Payload; - - } - - export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { - /** Details for the items purchased. */ - Items?: ItemInstance[]; - - } - export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2737,7 +2715,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3306,7 +3284,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3780,7 +3758,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4181,14 +4159,6 @@ declare module PlayFabClientModels { } - export interface PlayStation5Payload { - /** An optional list of entitlement ids to query against PSN */ - Ids?: string[]; - /** Id of the PSN service label to consume entitlements from */ - ServiceLabel?: string; - - } - export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4270,7 +4240,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts index 32a6041d..1c557cf1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -103,8 +103,6 @@ declare module PlayFabExperimentationModels { CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; - /** The duration of the experiment, in days. */ - Duration?: number; /** When experiment should end. */ EndDate?: string; /** Id of the exclusion group. */ @@ -174,8 +172,6 @@ declare module PlayFabExperimentationModels { export interface Experiment { /** Description of the experiment. */ Description?: string; - /** The duration of the experiment, in days. */ - Duration?: number; /** When experiment should end/was ended. */ EndDate?: string; /** Id of the exclusion group for this experiment. */ @@ -391,8 +387,6 @@ declare module PlayFabExperimentationModels { CustomTags?: { [key: string]: string | null }; /** Description of the experiment. */ Description?: string; - /** The duration of the experiment, in days. */ - Duration?: number; /** When experiment should end. */ EndDate?: string; /** Id of the exclusion group. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index ed684d0a..90952e21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,11 +67,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a request to change a title's multiplayer server quotas. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange - */ - CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -182,11 +177,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets a title's server quota change request. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange - */ - GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -265,11 +255,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all server quota change requests for a title. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges - */ - ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -311,11 +296,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates a multiplayer server build's name. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname - */ - UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -389,12 +369,7 @@ declare module PlayFabMultiplayerModels { | "ChinaNorth2" | "SouthAfricaNorth" | "CentralUsEuap" - | "WestCentralUs" - | "KoreaCentral" - | "FranceCentral" - | "WestUs2" - | "CentralIndia" - | "UaeNorth"; + | "WestCentralUs"; type AzureVmFamily = "A" | "Av2" @@ -407,9 +382,7 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4" - | "Dsv3" - | "Dsv2"; + | "Esv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -444,24 +417,7 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4" - | "Standard_E2a_v4" - | "Standard_E4a_v4" - | "Standard_E8a_v4" - | "Standard_E16a_v4" - | "Standard_E2as_v4" - | "Standard_E4as_v4" - | "Standard_E8as_v4" - | "Standard_E16as_v4" - | "Standard_D2s_v3" - | "Standard_D4s_v3" - | "Standard_D8s_v3" - | "Standard_D16s_v3" - | "Standard_DS1_v2" - | "Standard_DS2_v2" - | "Standard_DS3_v2" - | "Standard_DS4_v2" - | "Standard_DS5_v2"; + | "Standard_D16a_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -650,16 +606,6 @@ declare module PlayFabMultiplayerModels { } - export interface CoreCapacityChange { - /** New quota core limit for the given vm family/region. */ - NewCoreLimit: number; - /** Region to change. */ - Region: string; - /** Virtual machine family to change. */ - VmFamily: string; - - } - export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -1043,30 +989,6 @@ declare module PlayFabMultiplayerModels { } - export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Changes to make to the titles cores quota. */ - Changes: CoreCapacityChange[]; - /** Email to be contacted by our team about this request. Only required when a request is not approved. */ - ContactEmail?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** When these changes would need to be in effect. Only required when a request is not approved. */ - StartDate?: string; - - } - - export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Id of the change request that was created. */ - RequestId?: string; - /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ - WasApproved: boolean; - - } - export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1635,20 +1557,6 @@ declare module PlayFabMultiplayerModels { } - export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Id of the change request to get. */ - RequestId: string; - - } - - export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** The change request for this title. */ - Change?: QuotaChange; - - } - export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1946,18 +1854,6 @@ declare module PlayFabMultiplayerModels { } - export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { - /** All change requests for this title. */ - Changes?: QuotaChange[]; - - } - export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -2156,24 +2052,6 @@ declare module PlayFabMultiplayerModels { } - export interface QuotaChange { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Requested changes to make to the titles cores quota. */ - Changes?: CoreCapacityChange[]; - /** Whether or not this request is pending a review. */ - IsPendingReview: boolean; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** Id of the change request. */ - RequestId?: string; - /** Comments by our team when a request is reviewed. */ - ReviewComments?: string; - /** Whether or not this request was approved. */ - WasApproved: boolean; - - } - export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2523,16 +2401,6 @@ declare module PlayFabMultiplayerModels { } - export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string ID of the build we want to update the name of. */ - BuildId: string; - /** The build name. */ - BuildName: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 99f3f144..02f2bf12 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -408,12 +408,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which - * require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid - */ - LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2261,8 +2255,6 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2287,7 +2279,6 @@ declare module PlayFabServerModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2365,7 +2356,6 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2379,8 +2369,7 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "SnapshotNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2940,7 +2929,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3395,7 +3384,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3510,18 +3499,6 @@ declare module PlayFabServerModels { } - export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Automatically create a PlayFab account if one is not currently linked to this ID. */ - CreateAccount?: boolean; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Unique Steam identifier for a user */ - SteamId: string; - - } - export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; From c400b217c67e08dc02a05a7b4bb84bba5a129bc8 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 6 Apr 2021 20:43:49 +0000 Subject: [PATCH 124/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210406 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 27 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 24 ++- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 17 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 48 ++++- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 173 ++++++++++++++++-- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 33 +++- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 27 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 12 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 24 ++- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 12 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 17 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 48 ++++- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 173 ++++++++++++++++-- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 33 +++- 41 files changed, 683 insertions(+), 179 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b20d725d..e4edb0f0 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.79.201217", + "version": "1.84.210406", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 0af2d84e..46a333c4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2a5e58fb..149f53e7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 15e8d67c..1e87350b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -312,6 +312,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -540,6 +544,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); }, @@ -608,6 +615,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ LinkWindowsHello: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1041,6 +1051,9 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + /** + * @deprecated Do not use + */ LoginWithWindowsHello: 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 @@ -1135,6 +1148,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RegisterWithWindowsHello: 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 @@ -1280,6 +1296,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b4611f41..d1d95f5c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -250,11 +250,11 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index b52f7d08..d3824d28 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1f1fb236..03d7c7bb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index d03a04a6..bbea4b4f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f82136e5..6fc7429f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2731fd5e..1ba0ff40 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 3a72f79d..45d9e4d3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index bcf61a50..bec44b66 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index db81866f..0538966d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,6 +389,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -445,6 +453,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -477,6 +489,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildName: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index b425c8f3..5f4e1607 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ba134c88..2cc45f83 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,6 +545,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithSteamId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index d6b6c6a1..03ee5657 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2364,7 +2364,7 @@ declare module PlayFabAdminModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2384,6 +2384,9 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2408,6 +2411,7 @@ declare module PlayFabAdminModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2485,6 +2489,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2498,7 +2503,9 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -2827,6 +2834,8 @@ declare module PlayFabAdminModels { export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; /** The statements in the requested policy. */ Statements?: PermissionStatement[]; @@ -3289,8 +3298,6 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { - /** Login provider comparison. */ - Comparison?: string; /** Login provider. */ LoginProvider?: string; @@ -5040,6 +5047,8 @@ declare module PlayFabAdminModels { OverwritePolicy: boolean; /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ 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. */ Statements: PermissionStatement[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index b1b70ba7..a5f4b62d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -82,6 +82,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab + * items + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements + */ + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -435,7 +441,10 @@ declare module PlayFabClientModule { */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with + * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters + * in this request. It is recommended you require these parameters on all Game Center calls by going to the Apple Add-ons + * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -534,7 +543,10 @@ declare module PlayFabClientModule { LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be - * used for API calls which require an authenticated user + * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not + * include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters in this request. It is recommended you + * require these parameters on all Game Center calls by going to the Apple Add-ons page in the PlayFab Game Manager and + * enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -1366,6 +1378,22 @@ declare module PlayFabClientModels { } + export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: PlayStation5Payload; + + } + + export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2715,7 +2743,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3284,7 +3312,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3758,7 +3786,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4159,6 +4187,14 @@ declare module PlayFabClientModels { } + export interface PlayStation5Payload { + /** An optional list of entitlement ids to query against PSN */ + Ids?: string[]; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel?: string; + + } + export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4240,7 +4276,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index 186762f6..9c817922 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -121,7 +121,7 @@ declare module PlayFabDataModels { } export interface GetFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Download URL where the file can be retrieved */ DownloadUrl?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90952e21..5b20a660 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,6 +67,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a request to change a title's multiplayer server quotas. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange + */ + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -177,6 +182,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a title's server quota change request. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange + */ + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -202,7 +212,7 @@ declare module PlayFabMultiplayerModule { * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -255,6 +265,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server quota change requests for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges + */ + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -296,6 +311,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's name. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname + */ + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -369,7 +389,13 @@ declare module PlayFabMultiplayerModels { | "ChinaNorth2" | "SouthAfricaNorth" | "CentralUsEuap" - | "WestCentralUs"; + | "WestCentralUs" + | "KoreaCentral" + | "FranceCentral" + | "WestUs2" + | "CentralIndia" + | "UaeNorth" + | "UkSouth"; type AzureVmFamily = "A" | "Av2" @@ -382,7 +408,9 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4"; + | "Esv4" + | "Dsv3" + | "Dsv2"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -417,7 +445,24 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4"; + | "Standard_D16a_v4" + | "Standard_E2a_v4" + | "Standard_E4a_v4" + | "Standard_E8a_v4" + | "Standard_E16a_v4" + | "Standard_E2as_v4" + | "Standard_E4as_v4" + | "Standard_E8as_v4" + | "Standard_E16as_v4" + | "Standard_D2s_v3" + | "Standard_D4s_v3" + | "Standard_D8s_v3" + | "Standard_D16s_v3" + | "Standard_DS1_v2" + | "Standard_DS2_v2" + | "Standard_DS3_v2" + | "Standard_DS4_v2" + | "Standard_DS5_v2"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -426,10 +471,6 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; - /** The page size on the response. */ - PageSize: number; - /** The skip token for the paged response. */ - SkipToken?: string; } @@ -606,6 +647,16 @@ declare module PlayFabMultiplayerModels { } + export interface CoreCapacityChange { + /** New quota core limit for the given vm family/region. */ + NewCoreLimit: number; + /** Region to change. */ + Region: string; + /** Virtual machine family to change. */ + VmFamily: string; + + } + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -989,6 +1040,30 @@ declare module PlayFabMultiplayerModels { } + export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Changes to make to the titles cores quota. */ + Changes: CoreCapacityChange[]; + /** Email to be contacted by our team about this request. Only required when a request is not approved. */ + ContactEmail?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** When these changes would need to be in effect. Only required when a request is not approved. */ + StartDate?: string; + + } + + export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Id of the change request that was created. */ + RequestId?: string; + /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ + WasApproved: boolean; + + } + export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1427,6 +1502,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -1557,6 +1634,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Id of the change request to get. */ + RequestId: string; + + } + + export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** The change request for this title. */ + Change?: QuotaChange; + + } + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1669,9 +1760,23 @@ declare module PlayFabMultiplayerModels { } - export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + export interface ListBuildAliasesRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + export interface ListBuildAliasesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } @@ -1854,6 +1959,18 @@ declare module PlayFabMultiplayerModels { } + export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { + /** All change requests for this title. */ + Changes?: QuotaChange[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -1984,12 +2101,6 @@ declare module PlayFabMultiplayerModels { } - export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -2052,6 +2163,24 @@ declare module PlayFabMultiplayerModels { } + export interface QuotaChange { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Requested changes to make to the titles cores quota. */ + Changes?: CoreCapacityChange[]; + /** Whether or not this request is pending a review. */ + IsPendingReview: boolean; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** Id of the change request. */ + RequestId?: string; + /** Comments by our team when a request is reviewed. */ + ReviewComments?: string; + /** Whether or not this request was approved. */ + WasApproved: boolean; + + } + export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2116,6 +2245,8 @@ declare module PlayFabMultiplayerModels { } export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -2183,6 +2314,8 @@ declare module PlayFabMultiplayerModels { } export interface ServerDetails { + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + Fqdn?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The ports the multiplayer server uses. */ @@ -2401,6 +2534,16 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update the name of. */ + BuildId: string; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 0b61b637..f04680ef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,7 +140,7 @@ declare module PlayFabProfilesModels { } export interface EntityProfileFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Name of the file */ FileName?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 02f2bf12..dcf69ecb 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -408,6 +408,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid + */ + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2235,7 +2241,7 @@ declare module PlayFabServerModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2255,6 +2261,9 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2279,6 +2288,7 @@ declare module PlayFabServerModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2356,6 +2366,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2369,7 +2380,9 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2929,7 +2942,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3384,7 +3397,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3499,6 +3512,18 @@ declare module PlayFabServerModels { } + export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Unique Steam identifier for a user */ + SteamId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 0af2d84e..46a333c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2a5e58fb..149f53e7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 15e8d67c..1e87350b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -312,6 +312,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -540,6 +544,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); }, @@ -608,6 +615,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ LinkWindowsHello: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1041,6 +1051,9 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + /** + * @deprecated Do not use + */ LoginWithWindowsHello: 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 @@ -1135,6 +1148,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RegisterWithWindowsHello: 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 @@ -1280,6 +1296,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b4611f41..d1d95f5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -250,11 +250,11 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index b52f7d08..d3824d28 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1f1fb236..03d7c7bb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index d03a04a6..bbea4b4f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f82136e5..6fc7429f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2731fd5e..1ba0ff40 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 3a72f79d..45d9e4d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index bcf61a50..bec44b66 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index db81866f..0538966d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,6 +389,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -445,6 +453,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -477,6 +489,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildName: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index b425c8f3..5f4e1607 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ba134c88..2cc45f83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.84.210406", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.84.210406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.84.210406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,6 +545,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithSteamId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index d6b6c6a1..03ee5657 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2364,7 +2364,7 @@ declare module PlayFabAdminModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2384,6 +2384,9 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2408,6 +2411,7 @@ declare module PlayFabAdminModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2485,6 +2489,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2498,7 +2503,9 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -2827,6 +2834,8 @@ declare module PlayFabAdminModels { export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; /** The statements in the requested policy. */ Statements?: PermissionStatement[]; @@ -3289,8 +3298,6 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { - /** Login provider comparison. */ - Comparison?: string; /** Login provider. */ LoginProvider?: string; @@ -5040,6 +5047,8 @@ declare module PlayFabAdminModels { OverwritePolicy: boolean; /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ 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. */ Statements: PermissionStatement[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index b1b70ba7..a5f4b62d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -82,6 +82,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab + * items + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements + */ + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -435,7 +441,10 @@ declare module PlayFabClientModule { */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with + * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters + * in this request. It is recommended you require these parameters on all Game Center calls by going to the Apple Add-ons + * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -534,7 +543,10 @@ declare module PlayFabClientModule { LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be - * used for API calls which require an authenticated user + * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not + * include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters in this request. It is recommended you + * require these parameters on all Game Center calls by going to the Apple Add-ons page in the PlayFab Game Manager and + * enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -1366,6 +1378,22 @@ declare module PlayFabClientModels { } + export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: PlayStation5Payload; + + } + + export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2715,7 +2743,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3284,7 +3312,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3758,7 +3786,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4159,6 +4187,14 @@ declare module PlayFabClientModels { } + export interface PlayStation5Payload { + /** An optional list of entitlement ids to query against PSN */ + Ids?: string[]; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel?: string; + + } + export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4240,7 +4276,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index 186762f6..9c817922 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -121,7 +121,7 @@ declare module PlayFabDataModels { } export interface GetFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Download URL where the file can be retrieved */ DownloadUrl?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90952e21..5b20a660 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,6 +67,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a request to change a title's multiplayer server quotas. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange + */ + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -177,6 +182,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a title's server quota change request. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange + */ + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -202,7 +212,7 @@ declare module PlayFabMultiplayerModule { * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -255,6 +265,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server quota change requests for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges + */ + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -296,6 +311,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's name. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname + */ + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -369,7 +389,13 @@ declare module PlayFabMultiplayerModels { | "ChinaNorth2" | "SouthAfricaNorth" | "CentralUsEuap" - | "WestCentralUs"; + | "WestCentralUs" + | "KoreaCentral" + | "FranceCentral" + | "WestUs2" + | "CentralIndia" + | "UaeNorth" + | "UkSouth"; type AzureVmFamily = "A" | "Av2" @@ -382,7 +408,9 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4"; + | "Esv4" + | "Dsv3" + | "Dsv2"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -417,7 +445,24 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4"; + | "Standard_D16a_v4" + | "Standard_E2a_v4" + | "Standard_E4a_v4" + | "Standard_E8a_v4" + | "Standard_E16a_v4" + | "Standard_E2as_v4" + | "Standard_E4as_v4" + | "Standard_E8as_v4" + | "Standard_E16as_v4" + | "Standard_D2s_v3" + | "Standard_D4s_v3" + | "Standard_D8s_v3" + | "Standard_D16s_v3" + | "Standard_DS1_v2" + | "Standard_DS2_v2" + | "Standard_DS3_v2" + | "Standard_DS4_v2" + | "Standard_DS5_v2"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -426,10 +471,6 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; - /** The page size on the response. */ - PageSize: number; - /** The skip token for the paged response. */ - SkipToken?: string; } @@ -606,6 +647,16 @@ declare module PlayFabMultiplayerModels { } + export interface CoreCapacityChange { + /** New quota core limit for the given vm family/region. */ + NewCoreLimit: number; + /** Region to change. */ + Region: string; + /** Virtual machine family to change. */ + VmFamily: string; + + } + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -989,6 +1040,30 @@ declare module PlayFabMultiplayerModels { } + export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Changes to make to the titles cores quota. */ + Changes: CoreCapacityChange[]; + /** Email to be contacted by our team about this request. Only required when a request is not approved. */ + ContactEmail?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** When these changes would need to be in effect. Only required when a request is not approved. */ + StartDate?: string; + + } + + export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Id of the change request that was created. */ + RequestId?: string; + /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ + WasApproved: boolean; + + } + export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1427,6 +1502,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -1557,6 +1634,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Id of the change request to get. */ + RequestId: string; + + } + + export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** The change request for this title. */ + Change?: QuotaChange; + + } + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1669,9 +1760,23 @@ declare module PlayFabMultiplayerModels { } - export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + export interface ListBuildAliasesRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + export interface ListBuildAliasesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } @@ -1854,6 +1959,18 @@ declare module PlayFabMultiplayerModels { } + export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { + /** All change requests for this title. */ + Changes?: QuotaChange[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -1984,12 +2101,6 @@ declare module PlayFabMultiplayerModels { } - export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -2052,6 +2163,24 @@ declare module PlayFabMultiplayerModels { } + export interface QuotaChange { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Requested changes to make to the titles cores quota. */ + Changes?: CoreCapacityChange[]; + /** Whether or not this request is pending a review. */ + IsPendingReview: boolean; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** Id of the change request. */ + RequestId?: string; + /** Comments by our team when a request is reviewed. */ + ReviewComments?: string; + /** Whether or not this request was approved. */ + WasApproved: boolean; + + } + export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2116,6 +2245,8 @@ declare module PlayFabMultiplayerModels { } export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -2183,6 +2314,8 @@ declare module PlayFabMultiplayerModels { } export interface ServerDetails { + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + Fqdn?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The ports the multiplayer server uses. */ @@ -2401,6 +2534,16 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update the name of. */ + BuildId: string; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 0b61b637..f04680ef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,7 +140,7 @@ declare module PlayFabProfilesModels { } export interface EntityProfileFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Name of the file */ FileName?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 02f2bf12..dcf69ecb 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -408,6 +408,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid + */ + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2235,7 +2241,7 @@ declare module PlayFabServerModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2255,6 +2261,9 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2279,6 +2288,7 @@ declare module PlayFabServerModels { | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2356,6 +2366,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2369,7 +2380,9 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "SnapshotNotFound" + | "InventoryApiNotImplemented"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2929,7 +2942,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3384,7 +3397,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3499,6 +3512,18 @@ declare module PlayFabServerModels { } + export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Unique Steam identifier for a user */ + SteamId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; From b50796e2d536918d706f3ae83b07087a845d758b Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 27 Apr 2021 21:37:05 +0000 Subject: [PATCH 125/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210427 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 3 --- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 3 --- 31 files changed, 85 insertions(+), 91 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e4edb0f0..9fc64165 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.84.210406", + "version": "1.85.210427", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 46a333c4..141178c8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 149f53e7..e160c69a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1e87350b..93bd96f7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index d1d95f5c..e3020111 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index d3824d28..6f1bdd52 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 03d7c7bb..90cd17bc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index bbea4b4f..73c8daa8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 6fc7429f..7e231123 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 1ba0ff40..3561b080 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 45d9e4d3..50896462 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index bec44b66..91a1efc9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 0538966d..1b869a12 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5f4e1607..69515720 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 2cc45f83..c0acce37 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5b20a660..d400e5f4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -385,10 +385,7 @@ declare module PlayFabMultiplayerModels { | "SoutheastAsia" | "WestEurope" | "WestUs" - | "ChinaEast2" - | "ChinaNorth2" | "SouthAfricaNorth" - | "CentralUsEuap" | "WestCentralUs" | "KoreaCentral" | "FranceCentral" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 46a333c4..141178c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 149f53e7..e160c69a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1e87350b..93bd96f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index d1d95f5c..e3020111 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index d3824d28..6f1bdd52 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 03d7c7bb..90cd17bc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index bbea4b4f..73c8daa8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 6fc7429f..7e231123 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 1ba0ff40..3561b080 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 45d9e4d3..50896462 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index bec44b66..91a1efc9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 0538966d..1b869a12 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5f4e1607..69515720 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 2cc45f83..c0acce37 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.84.210406", + sdkVersion: "1.85.210427", requestGetParams: { - sdk: "JavaScriptSDK-1.84.210406" + sdk: "JavaScriptSDK-1.85.210427" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -232,7 +232,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.84.210406"; +PlayFab.sdkVersion = "1.85.210427"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5b20a660..d400e5f4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -385,10 +385,7 @@ declare module PlayFabMultiplayerModels { | "SoutheastAsia" | "WestEurope" | "WestUs" - | "ChinaEast2" - | "ChinaNorth2" | "SouthAfricaNorth" - | "CentralUsEuap" | "WestCentralUs" | "KoreaCentral" | "FranceCentral" From 4db041bdf5cc7cb19f6ea842a5abdb5e0fca2168 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 11 May 2021 22:46:34 +0000 Subject: [PATCH 126/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210511 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 6 ++++-- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 6 ++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 35 files changed, 125 insertions(+), 117 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9fc64165..9d073791 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.85.210427", + "version": "1.86.210511", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 141178c8..b6a79f8e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e160c69a..c6efc814 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 93bd96f7..3e4bfa7d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index e3020111..5a315761 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 6f1bdd52..20c16985 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 90cd17bc..31cb5e1e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 73c8daa8..36b6220f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 7e231123..64382364 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 3561b080..3f4a70e3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 50896462..be36aca6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 91a1efc9..7b16e38d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1b869a12..f995af77 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 69515720..36565fbe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c0acce37..4c7412b5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 03ee5657..7d66dc50 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2467,6 +2467,7 @@ declare module PlayFabAdminModels { | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index d400e5f4..81b341d8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -407,7 +407,8 @@ declare module PlayFabMultiplayerModels { | "Ev4" | "Esv4" | "Dsv3" - | "Dsv2"; + | "Dsv2" + | "NCasT4_v3"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -459,7 +460,8 @@ declare module PlayFabMultiplayerModels { | "Standard_DS2_v2" | "Standard_DS3_v2" | "Standard_DS4_v2" - | "Standard_DS5_v2"; + | "Standard_DS5_v2" + | "Standard_NC4as_T4_v3"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index dcf69ecb..622b4338 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2344,6 +2344,7 @@ declare module PlayFabServerModels { | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 141178c8..b6a79f8e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e160c69a..c6efc814 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 93bd96f7..3e4bfa7d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index e3020111..5a315761 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 6f1bdd52..20c16985 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 90cd17bc..31cb5e1e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 73c8daa8..36b6220f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 7e231123..64382364 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 3561b080..3f4a70e3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 50896462..be36aca6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 91a1efc9..7b16e38d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1b869a12..f995af77 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 69515720..36565fbe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c0acce37..4c7412b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -22,9 +22,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.85.210427", + sdkVersion: "1.86.210511", requestGetParams: { - sdk: "JavaScriptSDK-1.85.210427" + sdk: "JavaScriptSDK-1.86.210511" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +231,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.85.210427"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; +PlayFab.sdkVersion = "1.86.210511"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 03ee5657..7d66dc50 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2467,6 +2467,7 @@ declare module PlayFabAdminModels { | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index d400e5f4..81b341d8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -407,7 +407,8 @@ declare module PlayFabMultiplayerModels { | "Ev4" | "Esv4" | "Dsv3" - | "Dsv2"; + | "Dsv2" + | "NCasT4_v3"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -459,7 +460,8 @@ declare module PlayFabMultiplayerModels { | "Standard_DS2_v2" | "Standard_DS3_v2" | "Standard_DS4_v2" - | "Standard_DS5_v2"; + | "Standard_DS5_v2" + | "Standard_NC4as_T4_v3"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index dcf69ecb..622b4338 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2344,6 +2344,7 @@ declare module PlayFabServerModels { | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" From 80d6491099e2cffadeed25536f20dc1e89f2786f Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Fri, 21 May 2021 23:31:29 +0000 Subject: [PATCH 127/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210521 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 17 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 17 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 134 +----------------- .../src/PlayFab/PlayFabCloudScriptApi.js | 17 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 17 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 17 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 17 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 17 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 17 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 17 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 17 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 17 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 17 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 17 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 116 --------------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 + PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 5 - PlayFabTestingExample/PlayFabApiTest.js | 29 ---- PlayFabTestingExample/PlayFabApiTest.ts | 30 ---- .../src/PlayFab/PlayFabAdminApi.js | 17 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 17 +-- .../src/PlayFab/PlayFabClientApi.js | 134 +----------------- .../src/PlayFab/PlayFabCloudScriptApi.js | 17 +-- .../src/PlayFab/PlayFabDataApi.js | 17 +-- .../src/PlayFab/PlayFabEventsApi.js | 17 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 17 +-- .../src/PlayFab/PlayFabGroupsApi.js | 17 +-- .../src/PlayFab/PlayFabInsightsApi.js | 17 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 17 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 17 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 17 +-- .../src/PlayFab/PlayFabProfilesApi.js | 17 +-- .../src/PlayFab/PlayFabServerApi.js | 17 +-- .../src/typings/PlayFab/PlayFab.d.ts | 5 - .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 116 --------------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 + 39 files changed, 149 insertions(+), 872 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9d073791..9c74c542 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.86.210511", + "version": "1.87.210521", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index b6a79f8e..9cc88608 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -716,6 +708,7 @@ PlayFab.AdminApi = { UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", 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 c6efc814..4b190723 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -265,6 +257,7 @@ PlayFab.AuthenticationApi = { ValidateEntityToken: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/ValidateEntityToken", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 3e4bfa7d..b5779375 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -286,14 +278,7 @@ PlayFab.ClientApi = { }, AttributeInstall: function (request, callback, customData, extraHeaders) { - var overloadCallback = function (result, error) { - // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully - PlayFab.settings.advertisingIdType += "_Successful"; - - if (callback != null && typeof (callback) === "function") - callback(result, error); - }; - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", callback, customData, extraHeaders); }, CancelTrade: function (request, callback, customData, extraHeaders) { @@ -544,13 +529,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); - }, - GrantCharacterToUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -615,13 +593,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - LinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -641,7 +612,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -666,7 +636,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -691,7 +660,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -716,7 +684,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -741,7 +708,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -766,7 +732,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -791,7 +756,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -816,7 +780,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -841,7 +804,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -866,7 +828,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -891,7 +852,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -916,7 +876,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -941,7 +900,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -966,7 +924,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -991,7 +948,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1016,7 +972,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1041,7 +996,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1051,34 +1005,6 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - /** - * @deprecated Do not use - */ - LoginWithWindowsHello: 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); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) === "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithWindowsHello", 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);}); - }, - LoginWithXbox: 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 @@ -1094,7 +1020,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1140,7 +1065,6 @@ PlayFab.ClientApi = { var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1148,34 +1072,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - RegisterWithWindowsHello: 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); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) === "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterWithWindowsHello", 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);}); - }, - RemoveContactEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1296,13 +1192,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1375,19 +1264,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WriteTitleEvent", request, "X-Authorization", callback, customData, extraHeaders); }, - _MultiStepClientLogin: function (needsAttribution) { - if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { - var request = {}; - if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) { - request.Idfa = PlayFab.settings.advertisingIdValue; - } else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) { - request.Adid = PlayFab.settings.advertisingIdValue; - } else { - return; - } - PlayFab.ClientApi.AttributeInstall(request, null); - } - } }; var PlayFabClientSDK = PlayFab.ClientApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 5a315761..a0e36c85 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -296,6 +288,7 @@ PlayFab.CloudScriptApi = { UnregisterFunction: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/UnregisterFunction", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabCloudScriptSDK = PlayFab.CloudScriptApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 20c16985..e39115be 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -276,6 +268,7 @@ PlayFab.DataApi = { SetObjects: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Object/SetObjects", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabDataSDK = PlayFab.DataApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 31cb5e1e..113267c7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -256,6 +248,7 @@ PlayFab.EventsApi = { WriteTelemetryEvents: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteTelemetryEvents", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabEventsSDK = PlayFab.EventsApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 36b6220f..bdd3ac11 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -300,6 +292,7 @@ PlayFab.ExperimentationApi = { UpdateExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabExperimentationSDK = PlayFab.ExperimentationApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 64382364..91cb80f8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -348,6 +340,7 @@ PlayFab.GroupsApi = { UpdateRole: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UpdateRole", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabGroupsSDK = PlayFab.GroupsApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 3f4a70e3..29f702ef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -272,6 +264,7 @@ PlayFab.InsightsApi = { SetStorageRetention: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/SetStorageRetention", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabInsightsSDK = PlayFab.InsightsApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index be36aca6..734e83f7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -252,6 +244,7 @@ PlayFab.LocalizationApi = { GetLanguageList: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Locale/GetLanguageList", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabLocalizationSDK = PlayFab.LocalizationApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7b16e38d..a1b0129a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -268,6 +260,7 @@ PlayFab.MatchmakerApi = { UserInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, + }; var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index f995af77..a8f4ac5c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -504,6 +496,7 @@ PlayFab.MultiplayerApi = { UploadCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", 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 36565fbe..01cfeefc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -276,6 +268,7 @@ PlayFab.ProfilesApi = { SetProfilePolicy: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetProfilePolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabProfilesSDK = PlayFab.ProfilesApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 4c7412b5..7119dfab 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -780,6 +772,7 @@ PlayFab.ServerApi = { WriteTitleEvent: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, + }; var PlayFabServerSDK = PlayFab.ServerApi; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 7d66dc50..371fcec8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2505,6 +2505,8 @@ declare module PlayFabAdminModels { | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index a5f4b62d..6bbbfac3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -404,11 +404,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge - */ - GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. @@ -494,11 +489,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Link Windows Hello authentication to the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello - */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount @@ -608,14 +598,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. - * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge - * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the - * server. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello - */ - LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user @@ -670,12 +652,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can - * subsequently be used for API calls which require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello - */ - RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail @@ -837,11 +813,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Unlink Windows Hello authentication from the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello - */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount @@ -2992,23 +2963,6 @@ declare module PlayFabClientModels { } - export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Server generated challenge to be signed by the user. */ - Challenge?: string; - - } - export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -3354,24 +3308,6 @@ declare module PlayFabClientModels { } - export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** If another user is already linked to the account, unlink the other user and re-link. */ - ForceLink?: boolean; - /** PublicKey generated by Windows Hello. */ - PublicKey: string; - /** Player's user named used by Windows Hello. */ - UserName: string; - - } - - export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3845,23 +3781,6 @@ declare module PlayFabClientModels { } - export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The signed response from the user for the Challenge. */ - ChallengeSignature: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4365,29 +4284,6 @@ declare module PlayFabClientModels { } - export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - EncryptedRequest?: string; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret?: string; - /** PublicKey generated by Windows Hello. */ - PublicKey?: 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; - /** Player's user name used by Windows Hello. */ - UserName?: string; - - } - export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5020,18 +4916,6 @@ declare module PlayFabClientModels { } - export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: string; - - } - - export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 622b4338..58131d79 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2382,6 +2382,8 @@ declare module PlayFabServerModels { | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented"; diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 16df5f6f..885a0635 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -18,11 +18,6 @@ declare module PlayFabModule { titleId: string; developerSecretKey: string; GlobalHeaderInjection?: { [key: string]: string }; - advertisingIdType: string; - advertisingIdValue: string; - disableAdvertising: boolean; - AD_TYPE_IDFA: string; - AD_TYPE_ANDROID_ID: string; productionServerUrl: string; } export interface IPlayFabRequestCommon { } diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index 74c3eb4a..bf85a8d6 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -36,7 +36,6 @@ var PlayFabApiTests = { QUnit.test("InvalidLogin", PlayFabApiTests.InvalidLogin); QUnit.test("InvalidRegistration", PlayFabApiTests.InvalidRegistration); QUnit.test("LoginOrRegister", PlayFabApiTests.LoginOrRegister); - QUnit.test("LoginWithAdvertisingId", PlayFabApiTests.LoginWithAdvertisingId); setTimeout(function () { PlayFabApiTests.PostLoginTests(0); }, PlayFabApiTests.testRetryDelay); setTimeout(function () { PlayFabApiTests.PostEntityTokenTests(0); }, PlayFabApiTests.testRetryDelay); }, @@ -181,34 +180,6 @@ var PlayFabApiTests = { // By definition, a promise object should have a .then function, and Promise.resolve(promise) should equal promise assert.ok(typeof loginPromise.then === "function" && Promise.resolve(loginPromise) === loginPromise, "Testing whether the login request returned a promise object"); }, - /* CLIENT API - * Test that the login call sequence sends the AdvertisingId when set - */ - LoginWithAdvertisingId: function (assert) { - PlayFab.settings.advertisingIdType = PlayFab.settings.AD_TYPE_ANDROID_ID; - PlayFab.settings.advertisingIdValue = "PlayFabTestId"; - var loginDone = assert.async(); - var count = -1; - var finishAdvertId = function () { - count += 1; - if (count <= 10 && PlayFab.settings.advertisingIdType !== PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful") { - setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); - } - else { - assert.ok(PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful", "Testing whether advertisingId submitted properly"); - loginDone(); - } - }; - var advertLoginCallback = function (result, error) { - PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Advert-Login result"); - setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); - }; - var loginRequest = { - CustomId: PlayFab.buildIdentifier, - CreateAccount: true - }; - Promise.resolve(PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert))); - }, /* CLIENT API * Test a sequence of calls that modifies saved data, * and verifies that the next sequential API call contains updated data. diff --git a/PlayFabTestingExample/PlayFabApiTest.ts b/PlayFabTestingExample/PlayFabApiTest.ts index c78f04e6..336ffa7f 100644 --- a/PlayFabTestingExample/PlayFabApiTest.ts +++ b/PlayFabTestingExample/PlayFabApiTest.ts @@ -43,7 +43,6 @@ var PlayFabApiTests = { QUnit.test("InvalidLogin", PlayFabApiTests.InvalidLogin); QUnit.test("InvalidRegistration", PlayFabApiTests.InvalidRegistration); QUnit.test("LoginOrRegister", PlayFabApiTests.LoginOrRegister); - QUnit.test("LoginWithAdvertisingId", PlayFabApiTests.LoginWithAdvertisingId); setTimeout(function (): void { PlayFabApiTests.PostLoginTests(0); }, PlayFabApiTests.testRetryDelay); setTimeout(function (): void { PlayFabApiTests.PostEntityTokenTests(0); }, PlayFabApiTests.testRetryDelay); @@ -207,35 +206,6 @@ var PlayFabApiTests = { assert.ok(typeof loginPromise.then === "function" && Promise.resolve(loginPromise) === loginPromise, "Testing whether the login request returned a promise object"); }, - /* CLIENT API - * Test that the login call sequence sends the AdvertisingId when set - */ - LoginWithAdvertisingId: function (assert): void { - PlayFab.settings.advertisingIdType = PlayFab.settings.AD_TYPE_ANDROID_ID; - PlayFab.settings.advertisingIdValue = "PlayFabTestId"; - - var loginDone = assert.async(); - var count = -1; - var finishAdvertId = function (): void { - count += 1; - if (count <= 10 && PlayFab.settings.advertisingIdType !== PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful") { - setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); - } else { - assert.ok(PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID + "_Successful", "Testing whether advertisingId submitted properly"); - loginDone(); - } - }; - var advertLoginCallback = function (result: PlayFabModule.SuccessContainer, error: PlayFabModule.IPlayFabError): void { - PlayFabApiTests.VerifyNullError(result, error, assert, "Testing Advert-Login result"); - setTimeout(PlayFabApiTests.SimpleCallbackWrapper("finishAdvertId", finishAdvertId, assert), 200); - }; - var loginRequest = { - CustomId: PlayFab.buildIdentifier, - CreateAccount: true - }; - Promise.resolve(PlayFabClientSDK.LoginWithCustomID(loginRequest, PlayFabApiTests.CallbackWrapper("advertLoginCallback", advertLoginCallback, assert))); - }, - /* CLIENT API * Test a sequence of calls that modifies saved data, * and verifies that the next sequential API call contains updated data. diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index b6a79f8e..9cc88608 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -716,6 +708,7 @@ PlayFab.AdminApi = { UpdateUserTitleDisplayName: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders); }, + }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c6efc814..4b190723 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -265,6 +257,7 @@ PlayFab.AuthenticationApi = { ValidateEntityToken: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Authentication/ValidateEntityToken", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabAuthenticationSDK = PlayFab.AuthenticationApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 3e4bfa7d..b5779375 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -286,14 +278,7 @@ PlayFab.ClientApi = { }, AttributeInstall: function (request, callback, customData, extraHeaders) { - var overloadCallback = function (result, error) { - // Modify advertisingIdType: Prevents us from sending the id multiple times, and allows automated tests to determine id was sent successfully - PlayFab.settings.advertisingIdType += "_Successful"; - - if (callback != null && typeof (callback) === "function") - callback(result, error); - }; - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", overloadCallback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/AttributeInstall", request, "X-Authorization", callback, customData, extraHeaders); }, CancelTrade: function (request, callback, customData, extraHeaders) { @@ -544,13 +529,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); - }, - GrantCharacterToUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -615,13 +593,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - LinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -641,7 +612,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -666,7 +636,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -691,7 +660,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -716,7 +684,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -741,7 +708,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -766,7 +732,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -791,7 +756,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -816,7 +780,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -841,7 +804,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -866,7 +828,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -891,7 +852,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -916,7 +876,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -941,7 +900,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -966,7 +924,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -991,7 +948,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1016,7 +972,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1041,7 +996,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1051,34 +1005,6 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - /** - * @deprecated Do not use - */ - LoginWithWindowsHello: 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); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) === "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithWindowsHello", 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);}); - }, - LoginWithXbox: 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 @@ -1094,7 +1020,6 @@ PlayFab.ClientApi = { } // Apply the updates for the AuthenticationContext returned to the client authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1140,7 +1065,6 @@ PlayFab.ClientApi = { var overloadCallback = function (result, error) { if (result != null && result.data.SessionTicket != null) { PlayFab._internalSettings.sessionTicket = result.data.SessionTicket; - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); } if (callback != null && typeof (callback) === "function") callback(result, error); @@ -1148,34 +1072,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - RegisterWithWindowsHello: 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); - PlayFab.ClientApi._MultiStepClientLogin(result.data.SettingsForUser.NeedsAttribution); - } - if (callback != null && typeof (callback) === "function") - callback(result, error); - }; - PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterWithWindowsHello", 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);}); - }, - RemoveContactEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1296,13 +1192,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1375,19 +1264,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/WriteTitleEvent", request, "X-Authorization", callback, customData, extraHeaders); }, - _MultiStepClientLogin: function (needsAttribution) { - if (needsAttribution && !PlayFab.settings.disableAdvertising && PlayFab.settings.advertisingIdType !== null && PlayFab.settings.advertisingIdValue !== null) { - var request = {}; - if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_IDFA) { - request.Idfa = PlayFab.settings.advertisingIdValue; - } else if (PlayFab.settings.advertisingIdType === PlayFab.settings.AD_TYPE_ANDROID_ID) { - request.Adid = PlayFab.settings.advertisingIdValue; - } else { - return; - } - PlayFab.ClientApi.AttributeInstall(request, null); - } - } }; var PlayFabClientSDK = PlayFab.ClientApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 5a315761..a0e36c85 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -296,6 +288,7 @@ PlayFab.CloudScriptApi = { UnregisterFunction: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/UnregisterFunction", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabCloudScriptSDK = PlayFab.CloudScriptApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 20c16985..e39115be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -276,6 +268,7 @@ PlayFab.DataApi = { SetObjects: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Object/SetObjects", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabDataSDK = PlayFab.DataApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 31cb5e1e..113267c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -256,6 +248,7 @@ PlayFab.EventsApi = { WriteTelemetryEvents: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteTelemetryEvents", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabEventsSDK = PlayFab.EventsApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 36b6220f..bdd3ac11 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -300,6 +292,7 @@ PlayFab.ExperimentationApi = { UpdateExperiment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Experimentation/UpdateExperiment", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabExperimentationSDK = PlayFab.ExperimentationApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 64382364..91cb80f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -348,6 +340,7 @@ PlayFab.GroupsApi = { UpdateRole: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Group/UpdateRole", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabGroupsSDK = PlayFab.GroupsApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 3f4a70e3..29f702ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -272,6 +264,7 @@ PlayFab.InsightsApi = { SetStorageRetention: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Insights/SetStorageRetention", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabInsightsSDK = PlayFab.InsightsApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index be36aca6..734e83f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -252,6 +244,7 @@ PlayFab.LocalizationApi = { GetLanguageList: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Locale/GetLanguageList", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabLocalizationSDK = PlayFab.LocalizationApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7b16e38d..a1b0129a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -268,6 +260,7 @@ PlayFab.MatchmakerApi = { UserInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, + }; var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index f995af77..a8f4ac5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -504,6 +496,7 @@ PlayFab.MultiplayerApi = { UploadCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabMultiplayerSDK = PlayFab.MultiplayerApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 36565fbe..01cfeefc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -276,6 +268,7 @@ PlayFab.ProfilesApi = { SetProfilePolicy: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetProfilePolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, + }; var PlayFabProfilesSDK = PlayFab.ProfilesApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 4c7412b5..7119dfab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -6,15 +6,7 @@ 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) - advertisingIdType: null, - advertisingIdValue: null, GlobalHeaderInjection: null, - - // disableAdvertising is provided for completeness, but changing it is not suggested - // Disabling this may prevent your advertising-related PlayFab marketplace partners from working correctly - disableAdvertising: false, - AD_TYPE_IDFA: "Idfa", - AD_TYPE_ANDROID_ID: "Adid", productionServerUrl: ".playfabapi.com" } } @@ -22,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.86.210511", + sdkVersion: "1.87.210521", requestGetParams: { - sdk: "JavaScriptSDK-1.86.210511" + sdk: "JavaScriptSDK-1.87.210521" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -231,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_0"; -PlayFab.sdkVersion = "1.86.210511"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.87.210521"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -780,6 +772,7 @@ PlayFab.ServerApi = { WriteTitleEvent: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey", callback, customData, extraHeaders); }, + }; var PlayFabServerSDK = PlayFab.ServerApi; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 16df5f6f..885a0635 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -18,11 +18,6 @@ declare module PlayFabModule { titleId: string; developerSecretKey: string; GlobalHeaderInjection?: { [key: string]: string }; - advertisingIdType: string; - advertisingIdValue: string; - disableAdvertising: boolean; - AD_TYPE_IDFA: string; - AD_TYPE_ANDROID_ID: string; productionServerUrl: string; } export interface IPlayFabRequestCommon { } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 7d66dc50..371fcec8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2505,6 +2505,8 @@ declare module PlayFabAdminModels { | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index a5f4b62d..6bbbfac3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -404,11 +404,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge - */ - GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. @@ -494,11 +489,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Link Windows Hello authentication to the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello - */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount @@ -608,14 +598,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. - * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge - * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the - * server. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello - */ - LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user @@ -670,12 +652,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can - * subsequently be used for API calls which require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello - */ - RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail @@ -837,11 +813,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Unlink Windows Hello authentication from the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello - */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount @@ -2992,23 +2963,6 @@ declare module PlayFabClientModels { } - export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Server generated challenge to be signed by the user. */ - Challenge?: string; - - } - export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -3354,24 +3308,6 @@ declare module PlayFabClientModels { } - export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** If another user is already linked to the account, unlink the other user and re-link. */ - ForceLink?: boolean; - /** PublicKey generated by Windows Hello. */ - PublicKey: string; - /** Player's user named used by Windows Hello. */ - UserName: string; - - } - - export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3845,23 +3781,6 @@ declare module PlayFabClientModels { } - export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The signed response from the user for the Challenge. */ - ChallengeSignature: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4365,29 +4284,6 @@ declare module PlayFabClientModels { } - export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - EncryptedRequest?: string; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret?: string; - /** PublicKey generated by Windows Hello. */ - PublicKey?: 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; - /** Player's user name used by Windows Hello. */ - UserName?: string; - - } - export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5020,18 +4916,6 @@ declare module PlayFabClientModels { } - export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: string; - - } - - export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 622b4338..58131d79 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2382,6 +2382,8 @@ declare module PlayFabServerModels { | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented"; From 3102aea2717402cd4e1f30e27988e0f11924e9ec Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 29 Jun 2021 00:32:45 +0000 Subject: [PATCH 128/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210628 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 ++++++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 8 +++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 25 ++++++++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- .../src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- .../src/PlayFab/PlayFabDataApi.js | 8 +++--- .../src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 ++++++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/typings/PlayFab/PlayFab.d.ts | 1 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 8 +++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 25 ++++++++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 37 files changed, 179 insertions(+), 125 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9c74c542..a76664c1 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.87.210521", + "version": "1.88.210628", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 9cc88608..fe1e7e02 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 4b190723..9468c624 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b5779375..ba46e9c4 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index a0e36c85..84d6744b 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e39115be..b16d7b82 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 113267c7..d6fd9bad 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index bdd3ac11..8cb1efa6 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 91cb80f8..05649ccf 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 29f702ef..bfc6957d 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 734e83f7..0deb30f9 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index a1b0129a..210c8831 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a8f4ac5c..0c8bb4a5 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -325,6 +325,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 01cfeefc..adb3a489 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7119dfab..366953bb 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.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 371fcec8..00c0ac6c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2464,6 +2464,7 @@ declare module PlayFabAdminModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -4701,11 +4702,8 @@ declare module PlayFabAdminModels { Credential: string; /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; - /** - * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII - * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; + /** This field is deprecated and any usage of this will cause the API to fail. */ + Name?: string; /** * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if * notifications have already setup for this platform. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 81b341d8..b554a58c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -113,7 +113,14 @@ declare module PlayFabMultiplayerModule { */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Gets the URL to upload assets to. + * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl + */ + GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the URL to upload assets to. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -1290,6 +1297,22 @@ declare module PlayFabMultiplayerModels { } + export interface GetAssetDownloadUrlRequest 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 asset's file name to get the download URL for. */ + FileName: string; + + } + + export interface GetAssetDownloadUrlResponse extends PlayFabModule.IPlayFabResultCommon { + /** The asset's download URL. */ + AssetDownloadUrl?: string; + /** The asset's file name to get the download URL for. */ + FileName?: string; + + } + export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 58131d79..7e1643d1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2341,6 +2341,7 @@ declare module PlayFabServerModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 885a0635..03802d6e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -30,6 +30,7 @@ declare module PlayFabModule { errorDetails?: { [key: string]: string[] }; request?: any; customData?: any; + retryAfterSeconds?: number; } export interface SuccessContainer extends IPlayFabError { data: TResult; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 9cc88608..fe1e7e02 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 4b190723..9468c624 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b5779375..ba46e9c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index a0e36c85..84d6744b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e39115be..b16d7b82 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 113267c7..d6fd9bad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index bdd3ac11..8cb1efa6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 91cb80f8..05649ccf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 29f702ef..bfc6957d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 734e83f7..0deb30f9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index a1b0129a..210c8831 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a8f4ac5c..0c8bb4a5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -325,6 +325,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 01cfeefc..adb3a489 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7119dfab..366953bb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.87.210521", + sdkVersion: "1.88.210628", requestGetParams: { - sdk: "JavaScriptSDK-1.87.210521" + sdk: "JavaScriptSDK-1.88.210628" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.87.210521"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_2"; +PlayFab.sdkVersion = "1.88.210628"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 885a0635..03802d6e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -30,6 +30,7 @@ declare module PlayFabModule { errorDetails?: { [key: string]: string[] }; request?: any; customData?: any; + retryAfterSeconds?: number; } export interface SuccessContainer extends IPlayFabError { data: TResult; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 371fcec8..00c0ac6c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2464,6 +2464,7 @@ declare module PlayFabAdminModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" @@ -4701,11 +4702,8 @@ declare module PlayFabAdminModels { Credential: string; /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; - /** - * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII - * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; + /** This field is deprecated and any usage of this will cause the API to fail. */ + Name?: string; /** * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if * notifications have already setup for this platform. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 81b341d8..b554a58c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -113,7 +113,14 @@ declare module PlayFabMultiplayerModule { */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Gets the URL to upload assets to. + * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl + */ + GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the URL to upload assets to. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -1290,6 +1297,22 @@ declare module PlayFabMultiplayerModels { } + export interface GetAssetDownloadUrlRequest 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 asset's file name to get the download URL for. */ + FileName: string; + + } + + export interface GetAssetDownloadUrlResponse extends PlayFabModule.IPlayFabResultCommon { + /** The asset's download URL. */ + AssetDownloadUrl?: string; + /** The asset's file name to get the download URL for. */ + FileName?: string; + + } + export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 58131d79..7e1643d1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2341,6 +2341,7 @@ declare module PlayFabServerModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" From 092a4c541ec4cabe4be3e0b5700c179dd1315e03 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 2 Aug 2021 19:33:40 +0000 Subject: [PATCH 129/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210802 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 34 +++++++++++------- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 19 ++++------ .../PlayFab/PlayFabCloudScriptApi.d.ts | 6 +++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 26 ++++++++++---- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 36 +++++++++++-------- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 34 +++++++++++------- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 19 ++++------ .../PlayFab/PlayFabCloudScriptApi.d.ts | 6 +++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 26 ++++++++++---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 36 +++++++++++-------- 39 files changed, 259 insertions(+), 209 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index a76664c1..c65d0118 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.88.210628", + "version": "1.89.210802", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fe1e7e02..b15d27a2 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9468c624..5dfff776 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ba46e9c4..b14b97c7 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 84d6744b..1bee76f1 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index b16d7b82..9936dec3 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d6fd9bad..d2ee8410 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 8cb1efa6..7bece718 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 05649ccf..a26dcb27 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index bfc6957d..f9579ba1 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0deb30f9..05390b55 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 210c8831..a4e9398d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 0c8bb4a5..bc75efa8 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index adb3a489..59f757dd 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 366953bb..94f98bfe 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.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 00c0ac6c..5212ff60 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2509,7 +2509,22 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3643,7 +3658,11 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -5236,8 +5255,6 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5364,7 +5381,6 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5440,14 +5456,6 @@ declare module PlayFabAdminModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 6bbbfac3..8e92ba7e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2372,7 +2372,7 @@ declare module PlayFabClientModels { export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; + MaxResultsCount?: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; @@ -4018,7 +4018,11 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -5143,8 +5147,6 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5271,7 +5273,6 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5351,14 +5352,6 @@ declare module PlayFabClientModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 5eeab994..9ab3bf36 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -613,7 +613,11 @@ declare module PlayFabCloudScriptModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index b554a58c..ca5349bf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -415,7 +415,9 @@ declare module PlayFabMultiplayerModels { | "Esv4" | "Dsv3" | "Dsv2" - | "NCasT4_v3"; + | "NCasT4_v3" + | "Ddv4" + | "Ddsv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -468,7 +470,15 @@ declare module PlayFabMultiplayerModels { | "Standard_DS3_v2" | "Standard_DS4_v2" | "Standard_DS5_v2" - | "Standard_NC4as_T4_v3"; + | "Standard_NC4as_T4_v3" + | "Standard_D2d_v4" + | "Standard_D4d_v4" + | "Standard_D8d_v4" + | "Standard_D16d_v4" + | "Standard_D2ds_v4" + | "Standard_D4ds_v4" + | "Standard_D8ds_v4" + | "Standard_D16ds_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -1683,10 +1693,12 @@ declare module PlayFabMultiplayerModels { } export interface InstrumentationConfiguration { + /** Designates whether windows instrumentation configuration will be enabled for this Build */ + IsEnabled?: boolean; /** - * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics - * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; - * then, ProcessesToMonitor = [ GameServer ] + * This property is deprecated, use IsEnabled. The list of processes to be monitored on a VM for this build. Providing + * processes will turn on performance metrics collection for this build. Process names should not include extensions. If + * the game server process is: GameServer.exe; then, ProcessesToMonitor = [ GameServer ] */ ProcessesToMonitor?: string[]; @@ -2398,11 +2410,11 @@ declare module PlayFabMultiplayerModels { export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ - BuildId: string; + BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server to shut down. */ - Region: string; + Region?: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 7e1643d1..448a6bf4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2386,7 +2386,22 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2643,7 +2658,7 @@ declare module PlayFabServerModels { export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; + MaxResultsCount?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -3795,7 +3810,11 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4917,8 +4936,6 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5045,7 +5062,6 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5125,14 +5141,6 @@ declare module PlayFabServerModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fe1e7e02..b15d27a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9468c624..5dfff776 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ba46e9c4..b14b97c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 84d6744b..1bee76f1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index b16d7b82..9936dec3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d6fd9bad..d2ee8410 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 8cb1efa6..7bece718 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 05649ccf..a26dcb27 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index bfc6957d..f9579ba1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0deb30f9..05390b55 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 210c8831..a4e9398d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 0c8bb4a5..bc75efa8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index adb3a489..59f757dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 366953bb..94f98bfe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.88.210628", + sdkVersion: "1.89.210802", requestGetParams: { - sdk: "JavaScriptSDK-1.88.210628" + sdk: "JavaScriptSDK-1.89.210802" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_2"; -PlayFab.sdkVersion = "1.88.210628"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_1"; +PlayFab.sdkVersion = "1.89.210802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 00c0ac6c..5212ff60 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2509,7 +2509,22 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3643,7 +3658,11 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -5236,8 +5255,6 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5364,7 +5381,6 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5440,14 +5456,6 @@ declare module PlayFabAdminModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 6bbbfac3..8e92ba7e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2372,7 +2372,7 @@ declare module PlayFabClientModels { export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; + MaxResultsCount?: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; @@ -4018,7 +4018,11 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -5143,8 +5147,6 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5271,7 +5273,6 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5351,14 +5352,6 @@ declare module PlayFabClientModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 5eeab994..9ab3bf36 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -613,7 +613,11 @@ declare module PlayFabCloudScriptModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index b554a58c..ca5349bf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -415,7 +415,9 @@ declare module PlayFabMultiplayerModels { | "Esv4" | "Dsv3" | "Dsv2" - | "NCasT4_v3"; + | "NCasT4_v3" + | "Ddv4" + | "Ddsv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -468,7 +470,15 @@ declare module PlayFabMultiplayerModels { | "Standard_DS3_v2" | "Standard_DS4_v2" | "Standard_DS5_v2" - | "Standard_NC4as_T4_v3"; + | "Standard_NC4as_T4_v3" + | "Standard_D2d_v4" + | "Standard_D4d_v4" + | "Standard_D8d_v4" + | "Standard_D16d_v4" + | "Standard_D2ds_v4" + | "Standard_D4ds_v4" + | "Standard_D8ds_v4" + | "Standard_D16ds_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -1683,10 +1693,12 @@ declare module PlayFabMultiplayerModels { } export interface InstrumentationConfiguration { + /** Designates whether windows instrumentation configuration will be enabled for this Build */ + IsEnabled?: boolean; /** - * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics - * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; - * then, ProcessesToMonitor = [ GameServer ] + * This property is deprecated, use IsEnabled. The list of processes to be monitored on a VM for this build. Providing + * processes will turn on performance metrics collection for this build. Process names should not include extensions. If + * the game server process is: GameServer.exe; then, ProcessesToMonitor = [ GameServer ] */ ProcessesToMonitor?: string[]; @@ -2398,11 +2410,11 @@ declare module PlayFabMultiplayerModels { export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to delete. */ - BuildId: string; + BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The region of the multiplayer server to shut down. */ - Region: string; + Region?: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 7e1643d1..448a6bf4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2386,7 +2386,22 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "SnapshotNotFound" - | "InventoryApiNotImplemented"; + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2643,7 +2658,7 @@ declare module PlayFabServerModels { export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; + MaxResultsCount?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -3795,7 +3810,11 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4917,8 +4936,6 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5045,7 +5062,6 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5125,14 +5141,6 @@ declare module PlayFabServerModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; From eb5446f56bc6142e5bc95ad718bd2da2860ca063 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 16 Aug 2021 20:56:44 +0000 Subject: [PATCH 130/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210816 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 ++++ PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 4 ++-- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 ++++ PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 ++++ .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 4 ++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 ++++ 35 files changed, 133 insertions(+), 117 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c65d0118..8ae0c715 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.89.210802", + "version": "1.90.210816", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index b15d27a2..fe20a0d5 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 5dfff776..bb29a591 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b14b97c7..08f75744 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 1bee76f1..851fb031 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9936dec3..4d9bce82 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d2ee8410..8c1a444a 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 7bece718..6d71404f 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a26dcb27..77e625fe 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index f9579ba1..832964b1 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 05390b55..ca7ba7c4 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index a4e9398d..23209a1b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index bc75efa8..e764d80c 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 59f757dd..329222f4 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 94f98bfe..4d746ab8 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.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 5212ff60..856d3705 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2387,6 +2387,8 @@ declare module PlayFabAdminModels { | "SteamUserNotFound" | "ElasticSearchOperationFailed" | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2408,6 +2410,8 @@ declare module PlayFabAdminModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index cca5d55b..562eef85 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -138,8 +138,8 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a - * child of the claimant entity. Defaults to the claimant entity. + * Type of the entity to accept as. Must be the same entity as the claimant or an entity that is a child of the claimant + * entity. */ Entity: EntityKey; /** The identifier of the group */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 448a6bf4..e54a02ee 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2264,6 +2264,8 @@ declare module PlayFabServerModels { | "SteamUserNotFound" | "ElasticSearchOperationFailed" | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2285,6 +2287,8 @@ declare module PlayFabServerModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index b15d27a2..fe20a0d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 5dfff776..bb29a591 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b14b97c7..08f75744 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 1bee76f1..851fb031 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9936dec3..4d9bce82 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d2ee8410..8c1a444a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 7bece718..6d71404f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a26dcb27..77e625fe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index f9579ba1..832964b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 05390b55..ca7ba7c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index a4e9398d..23209a1b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index bc75efa8..e764d80c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 59f757dd..329222f4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 94f98bfe..4d746ab8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.89.210802", + sdkVersion: "1.90.210816", requestGetParams: { - sdk: "JavaScriptSDK-1.89.210802" + sdk: "JavaScriptSDK-1.90.210816" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_1"; -PlayFab.sdkVersion = "1.89.210802"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; +PlayFab.sdkVersion = "1.90.210816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 5212ff60..856d3705 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2387,6 +2387,8 @@ declare module PlayFabAdminModels { | "SteamUserNotFound" | "ElasticSearchOperationFailed" | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2408,6 +2410,8 @@ declare module PlayFabAdminModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index cca5d55b..562eef85 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -138,8 +138,8 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a - * child of the claimant entity. Defaults to the claimant entity. + * Type of the entity to accept as. Must be the same entity as the claimant or an entity that is a child of the claimant + * entity. */ Entity: EntityKey; /** The identifier of the group */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 448a6bf4..e54a02ee 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2264,6 +2264,8 @@ declare module PlayFabServerModels { | "SteamUserNotFound" | "ElasticSearchOperationFailed" | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2285,6 +2287,8 @@ declare module PlayFabServerModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" From 2f736caecdfe2ef078aefa400bc99ff8d79ccd78 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 30 Aug 2021 22:27:48 +0000 Subject: [PATCH 131/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210830 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 3 +++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 -- .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 14 ++++++++++---- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 +++-- .../src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- .../src/PlayFab/PlayFabClientApi.js | 6 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- .../src/PlayFab/PlayFabDataApi.js | 6 +++--- .../src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 +++--- .../src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 3 +++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 -- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 14 ++++++++++---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 +++-- 37 files changed, 117 insertions(+), 101 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 8ae0c715..418af544 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.90.210816", + "version": "1.91.210830", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fe20a0d5..b60c38fb 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index bb29a591..77e64556 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 08f75744..9a78d22a 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 851fb031..13735938 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 4d9bce82..f2803c95 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 8c1a444a..e4215f80 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6d71404f..3bf19cc8 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 77e625fe..33250401 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 832964b1..5a86cb48 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ca7ba7c4..32deb8be 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 23209a1b..7ea68a48 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e764d80c..3426f133 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 329222f4..26a7afd4 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 4d746ab8..c35d49bb 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.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 856d3705..d313d888 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2389,6 +2389,8 @@ declare module PlayFabAdminModels { | "NotImplemented" | "PublisherNotFound" | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2527,6 +2529,7 @@ declare module PlayFabAdminModels { | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 8e92ba7e..aa30b8e6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2371,8 +2371,6 @@ declare module PlayFabClientModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount?: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index ca5349bf..83051556 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -114,13 +114,13 @@ declare module PlayFabMultiplayerModule { EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl */ GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the URL to upload assets to. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -417,7 +417,8 @@ declare module PlayFabMultiplayerModels { | "Dsv2" | "NCasT4_v3" | "Ddv4" - | "Ddsv4"; + | "Ddsv4" + | "HBv3"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -478,7 +479,12 @@ declare module PlayFabMultiplayerModels { | "Standard_D2ds_v4" | "Standard_D4ds_v4" | "Standard_D8ds_v4" - | "Standard_D16ds_v4"; + | "Standard_D16ds_v4" + | "Standard_HB120_16rs_v3" + | "Standard_HB120_32rs_v3" + | "Standard_HB120_64rs_v3" + | "Standard_HB120_96rs_v3" + | "Standard_HB120rs_v3"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e54a02ee..5781349e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2266,6 +2266,8 @@ declare module PlayFabServerModels { | "NotImplemented" | "PublisherNotFound" | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2404,6 +2406,7 @@ declare module PlayFabServerModels { | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound"; @@ -2661,8 +2664,6 @@ declare module PlayFabServerModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fe20a0d5..b60c38fb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index bb29a591..77e64556 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 08f75744..9a78d22a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 851fb031..13735938 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 4d9bce82..f2803c95 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 8c1a444a..e4215f80 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6d71404f..3bf19cc8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 77e625fe..33250401 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 832964b1..5a86cb48 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ca7ba7c4..32deb8be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 23209a1b..7ea68a48 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e764d80c..3426f133 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 329222f4..26a7afd4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 4d746ab8..c35d49bb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.90.210816", + sdkVersion: "1.91.210830", requestGetParams: { - sdk: "JavaScriptSDK-1.90.210816" + sdk: "JavaScriptSDK-1.91.210830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.90.210816"; +PlayFab.sdkVersion = "1.91.210830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 856d3705..d313d888 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2389,6 +2389,8 @@ declare module PlayFabAdminModels { | "NotImplemented" | "PublisherNotFound" | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2527,6 +2529,7 @@ declare module PlayFabAdminModels { | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 8e92ba7e..aa30b8e6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2371,8 +2371,6 @@ declare module PlayFabClientModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount?: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index ca5349bf..83051556 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -114,13 +114,13 @@ declare module PlayFabMultiplayerModule { EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl */ GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the URL to upload assets to. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=&se=&spr=https&sig=&api-version=2017-07-29 + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -417,7 +417,8 @@ declare module PlayFabMultiplayerModels { | "Dsv2" | "NCasT4_v3" | "Ddv4" - | "Ddsv4"; + | "Ddsv4" + | "HBv3"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -478,7 +479,12 @@ declare module PlayFabMultiplayerModels { | "Standard_D2ds_v4" | "Standard_D4ds_v4" | "Standard_D8ds_v4" - | "Standard_D16ds_v4"; + | "Standard_D16ds_v4" + | "Standard_HB120_16rs_v3" + | "Standard_HB120_32rs_v3" + | "Standard_HB120_64rs_v3" + | "Standard_HB120_96rs_v3" + | "Standard_HB120rs_v3"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e54a02ee..5781349e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2266,6 +2266,8 @@ declare module PlayFabServerModels { | "NotImplemented" | "PublisherNotFound" | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2404,6 +2406,7 @@ declare module PlayFabServerModels { | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound"; @@ -2661,8 +2664,6 @@ declare module PlayFabServerModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ From 32b57a64a5d55470d14c1cff965569eb6a7baec7 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 13 Sep 2021 20:24:44 +0000 Subject: [PATCH 132/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210913 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 ++++ PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 8 ++++++++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 ++++ PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 ++++ .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 8 ++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 ++++ 35 files changed, 145 insertions(+), 113 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 418af544..474ae6ca 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.91.210830", + "version": "1.92.210913", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index b60c38fb..41054eeb 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 77e64556..1b9f17a8 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 9a78d22a..1a328f65 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 13735938..3d5db7e8 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f2803c95..c6f2ac7c 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index e4215f80..fe3672de 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 3bf19cc8..d5a78144 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 33250401..c2d9c635 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 5a86cb48..0ed9c068 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 32deb8be..7c4283b0 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7ea68a48..429d1fbe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3426f133..1555855f 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 26a7afd4..f1d61192 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c35d49bb..047fba88 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.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index d313d888..657ac9a9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2391,6 +2391,10 @@ declare module PlayFabAdminModels { | "PublisherDeleted" | "ApiDisabledForMigration" | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 83051556..6ec81cc1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -509,6 +509,8 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region?: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ @@ -520,6 +522,8 @@ declare module PlayFabMultiplayerModels { * Unhealthy, Deleting, Deleted. */ Status?: string; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } @@ -528,12 +532,16 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 5781349e..a255ec37 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2268,6 +2268,10 @@ declare module PlayFabServerModels { | "PublisherDeleted" | "ApiDisabledForMigration" | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index b60c38fb..41054eeb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 77e64556..1b9f17a8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 9a78d22a..1a328f65 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 13735938..3d5db7e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f2803c95..c6f2ac7c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index e4215f80..fe3672de 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 3bf19cc8..d5a78144 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 33250401..c2d9c635 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 5a86cb48..0ed9c068 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 32deb8be..7c4283b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7ea68a48..429d1fbe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3426f133..1555855f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 26a7afd4..f1d61192 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c35d49bb..047fba88 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.91.210830", + sdkVersion: "1.92.210913", requestGetParams: { - sdk: "JavaScriptSDK-1.91.210830" + sdk: "JavaScriptSDK-1.92.210913" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-1_1"; -PlayFab.sdkVersion = "1.91.210830"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-3_1"; +PlayFab.sdkVersion = "1.92.210913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index d313d888..657ac9a9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2391,6 +2391,10 @@ declare module PlayFabAdminModels { | "PublisherDeleted" | "ApiDisabledForMigration" | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 83051556..6ec81cc1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -509,6 +509,8 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region?: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ @@ -520,6 +522,8 @@ declare module PlayFabMultiplayerModels { * Unhealthy, Deleting, Deleted. */ Status?: string; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } @@ -528,12 +532,16 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 5781349e..a255ec37 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2268,6 +2268,10 @@ declare module PlayFabServerModels { | "PublisherDeleted" | "ApiDisabledForMigration" | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 0f1e29fb79167678c0db715b0d57674fda262d5e Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Mon, 27 Sep 2021 20:33:37 +0000 Subject: [PATCH 133/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#210927 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 4 ---- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 4 ---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 35 files changed, 117 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 474ae6ca..7c82ff57 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.92.210913", + "version": "1.93.210927", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 41054eeb..5258fdf4 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 1b9f17a8..dad62c5b 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1a328f65..2faff297 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 3d5db7e8..6110c43f 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index c6f2ac7c..e604875a 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index fe3672de..172a9bb0 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index d5a78144..e902add0 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index c2d9c635..73521e26 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 0ed9c068..2979081e 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7c4283b0..a7af2950 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 429d1fbe..1d96f7d6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1555855f..b6a4cc56 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index f1d61192..d343762a 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 047fba88..574084be 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.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 657ac9a9..4bb8d7ea 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2395,6 +2395,7 @@ declare module PlayFabAdminModels { | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" | "DuplicateAzureResourceId" + | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 6ec81cc1..11e351c8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2423,12 +2423,8 @@ declare module PlayFabMultiplayerModels { } export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string build ID of the multiplayer server to delete. */ - BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The region of the multiplayer server to shut down. */ - Region?: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index a255ec37..ab865638 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2272,6 +2272,7 @@ declare module PlayFabServerModels { | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" | "DuplicateAzureResourceId" + | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 41054eeb..5258fdf4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 1b9f17a8..dad62c5b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1a328f65..2faff297 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 3d5db7e8..6110c43f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index c6f2ac7c..e604875a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index fe3672de..172a9bb0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index d5a78144..e902add0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index c2d9c635..73521e26 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 0ed9c068..2979081e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7c4283b0..a7af2950 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 429d1fbe..1d96f7d6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1555855f..b6a4cc56 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index f1d61192..d343762a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 047fba88..574084be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.92.210913", + sdkVersion: "1.93.210927", requestGetParams: { - sdk: "JavaScriptSDK-1.92.210913" + sdk: "JavaScriptSDK-1.93.210927" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-3_1"; -PlayFab.sdkVersion = "1.92.210913"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_2"; +PlayFab.sdkVersion = "1.93.210927"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 657ac9a9..4bb8d7ea 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2395,6 +2395,7 @@ declare module PlayFabAdminModels { | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" | "DuplicateAzureResourceId" + | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 6ec81cc1..11e351c8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2423,12 +2423,8 @@ declare module PlayFabMultiplayerModels { } export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string build ID of the multiplayer server to delete. */ - BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The region of the multiplayer server to shut down. */ - Region?: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index a255ec37..ab865638 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2272,6 +2272,7 @@ declare module PlayFabServerModels { | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" | "DuplicateAzureResourceId" + | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 0b1f6a99dd42fbaf1a64a3c23ecbd245abc73670 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 12 Oct 2021 22:07:24 +0000 Subject: [PATCH 134/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#211012 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 72 +++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 72 ++---- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 183 ++++++++++---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 6 +- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 4 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 239 ++---------------- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 83 ++---- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 72 +++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 12 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 12 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 72 ++---- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 183 ++++++++++---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 6 +- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 4 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 239 ++---------------- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 83 ++---- 45 files changed, 649 insertions(+), 943 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 7c82ff57..b20d725d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.93.210927", + "version": "1.79.201217", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5258fdf4..cd3e1cbd 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index dad62c5b..0e0ea974 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 2faff297..549c9005 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,10 +297,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, - ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); - }, - ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -529,6 +525,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, + GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); + }, + GrantCharacterToUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -593,6 +593,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkWindowsHello: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1005,6 +1009,30 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithWindowsHello: 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/LoginWithWindowsHello", 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);}); + }, + LoginWithXbox: 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 @@ -1072,6 +1100,30 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, + RegisterWithWindowsHello: 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/RegisterWithWindowsHello", 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);}); + }, + RemoveContactEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1192,6 +1244,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 6110c43f..5ba44423 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -242,11 +242,11 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e604875a..42709b04 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 172a9bb0..1557b108 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index e902add0..2a36e0ae 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 73521e26..6c8afe65 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2979081e..d0da94f9 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a7af2950..0f862b1d 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 1d96f7d6..ade9d4ac 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index b6a4cc56..6f596072 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -289,10 +289,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, - CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -325,10 +321,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,10 +377,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -449,10 +437,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, - ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -485,10 +469,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, - UpdateBuildName: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); - }, - UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index d343762a..d2fcd783 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 574084be..fd23cde2 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.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -537,10 +537,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, - LoginWithSteamId: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); - }, - LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 4bb8d7ea..d6b6c6a1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2364,7 +2364,7 @@ declare module PlayFabAdminModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "PaidInsightsFeaturesNotEnabled" + | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2384,18 +2384,6 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" - | "NotImplemented" - | "PublisherNotFound" - | "PublisherDeleted" - | "ApiDisabledForMigration" - | "ResourceNameUpdateNotAllowed" - | "ApiNotEnabledForTitle" - | "DuplicateTitleNameForPublisher" - | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" - | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2417,12 +2405,9 @@ declare module PlayFabAdminModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" - | "PubSubFeatureNotEnabledForTitle" - | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2475,11 +2460,9 @@ declare module PlayFabAdminModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" - | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" - | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2502,7 +2485,6 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2516,27 +2498,7 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "AsyncExportNotInFlight" - | "AsyncExportNotFound" - | "AsyncExportRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented" - | "LobbyDoesNotExist" - | "LobbyRateLimitExceeded" - | "LobbyPlayerAlreadyJoined" - | "LobbyNotJoinable" - | "LobbyMemberCannotRejoin" - | "LobbyCurrentPlayersMoreThanMaxPlayers" - | "LobbyPlayerNotPresent" - | "LobbyBadRequest" - | "LobbyPlayerMaxLobbyLimitExceeded" - | "LobbyNewOwnerMustBeConnected" - | "LobbyCurrentOwnerStillConnected" - | "LobbyMemberIsNotOwner" - | "EventSamplingInvalidRatio" - | "EventSamplingInvalidEventNamespace" - | "EventSamplingInvalidEventName" - | "EventSamplingRatioNotFound"; + | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -2865,8 +2827,6 @@ declare module PlayFabAdminModels { export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; - /** Policy version. */ - PolicyVersion: number; /** The statements in the requested policy. */ Statements?: PermissionStatement[]; @@ -3329,6 +3289,8 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; /** Login provider. */ LoginProvider?: string; @@ -3670,11 +3632,7 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4733,8 +4691,11 @@ declare module PlayFabAdminModels { Credential: string; /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; - /** This field is deprecated and any usage of this will cause the API to fail. */ - Name?: string; + /** + * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII + * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + */ + Name: string; /** * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if * notifications have already setup for this platform. @@ -5079,8 +5040,6 @@ declare module PlayFabAdminModels { OverwritePolicy: boolean; /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ 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. */ Statements: PermissionStatement[]; @@ -5267,6 +5226,8 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5393,6 +5354,7 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" + | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5468,6 +5430,14 @@ declare module PlayFabAdminModels { } + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index aa30b8e6..b1b70ba7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -82,12 +82,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab - * items - * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements - */ - ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -404,6 +398,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge + */ + GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. @@ -436,10 +435,7 @@ declare module PlayFabClientModule { */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with - * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters - * in this request. It is recommended you require these parameters on all Game Center calls by going to the Apple Add-ons - * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -489,6 +485,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Link Windows Hello authentication to the current PlayFab Account + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello + */ + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount @@ -533,10 +534,7 @@ declare module PlayFabClientModule { LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be - * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not - * include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters in this request. It is recommended you - * require these parameters on all Game Center calls by going to the Apple Add-ons page in the PlayFab Game Manager and - * enabling the 'Require secure authentication only for this app' option. + * used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -598,6 +596,14 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. + * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge + * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the + * server. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello + */ + LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user @@ -652,6 +658,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can + * subsequently be used for API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello + */ + RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail @@ -813,6 +825,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlink Windows Hello authentication from the current PlayFab Account + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello + */ + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount @@ -1349,22 +1366,6 @@ declare module PlayFabClientModels { } - export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use */ - CatalogVersion?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Marketplace specific payload containing details to fetch in app purchase transactions */ - MarketplaceSpecificData: PlayStation5Payload; - - } - - export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { - /** Details for the items purchased. */ - Items?: ItemInstance[]; - - } - export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2371,6 +2372,8 @@ declare module PlayFabClientModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Maximum number of entries to retrieve. */ + MaxResultsCount: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; @@ -2712,7 +2715,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -2961,6 +2964,23 @@ declare module PlayFabClientModels { } + export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** SHA256 hash of the PublicKey generated by Windows Hello. */ + PublicKeyHint: 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 GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Server generated challenge to be signed by the user. */ + Challenge?: string; + + } + export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -3264,7 +3284,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3306,6 +3326,24 @@ declare module PlayFabClientModels { } + export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Device name. */ + DeviceName?: string; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** PublicKey generated by Windows Hello. */ + PublicKey: string; + /** Player's user named used by Windows Hello. */ + UserName: string; + + } + + export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3720,7 +3758,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3779,6 +3817,23 @@ declare module PlayFabClientModels { } + export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The signed response from the user for the Challenge. */ + ChallengeSignature: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** SHA256 hash of the PublicKey generated by Windows Hello. */ + PublicKeyHint: 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 LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4016,11 +4071,7 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4108,14 +4159,6 @@ declare module PlayFabClientModels { } - export interface PlayStation5Payload { - /** An optional list of entitlement ids to query against PSN */ - Ids?: string[]; - /** Id of the PSN service label to consume entitlements from */ - ServiceLabel?: string; - - } - export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4197,7 +4240,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -4286,6 +4329,29 @@ declare module PlayFabClientModels { } + export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Device name. */ + DeviceName?: string; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** PublicKey generated by Windows Hello. */ + PublicKey?: 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; + /** Player's user name used by Windows Hello. */ + UserName?: string; + + } + export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4918,6 +4984,18 @@ declare module PlayFabClientModels { } + export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** SHA256 hash of the PublicKey generated by Windows Hello. */ + PublicKeyHint: string; + + } + + export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5145,6 +5223,8 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5271,6 +5351,7 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" + | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5350,6 +5431,14 @@ declare module PlayFabClientModels { } + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 9ab3bf36..5eeab994 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -613,11 +613,7 @@ declare module PlayFabCloudScriptModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index 9c817922..186762f6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -121,7 +121,7 @@ declare module PlayFabDataModels { } export interface GetFileMetadata { - /** Checksum value for the file, can be used to check if the file on the server has changed. */ + /** Checksum value for the file */ Checksum?: string; /** Download URL where the file can be retrieved */ DownloadUrl?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 562eef85..cca5d55b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -138,8 +138,8 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Type of the entity to accept as. Must be the same entity as the claimant or an entity that is a child of the claimant - * entity. + * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a + * child of the claimant entity. Defaults to the claimant entity. */ Entity: EntityKey; /** The identifier of the group */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 11e351c8..90952e21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,11 +67,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a request to change a title's multiplayer server quotas. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange - */ - CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -113,14 +108,7 @@ declare module PlayFabMultiplayerModule { */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl - */ - GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the URL to upload assets to. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 + * Gets the URL to upload assets to. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -189,11 +177,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets a title's server quota change request. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange - */ - GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -219,7 +202,7 @@ declare module PlayFabMultiplayerModule { * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -272,11 +255,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all server quota change requests for a title. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges - */ - ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -318,11 +296,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates a multiplayer server build's name. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname - */ - UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -392,14 +365,11 @@ declare module PlayFabMultiplayerModels { | "SoutheastAsia" | "WestEurope" | "WestUs" + | "ChinaEast2" + | "ChinaNorth2" | "SouthAfricaNorth" - | "WestCentralUs" - | "KoreaCentral" - | "FranceCentral" - | "WestUs2" - | "CentralIndia" - | "UaeNorth" - | "UkSouth"; + | "CentralUsEuap" + | "WestCentralUs"; type AzureVmFamily = "A" | "Av2" @@ -412,13 +382,7 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4" - | "Dsv3" - | "Dsv2" - | "NCasT4_v3" - | "Ddv4" - | "Ddsv4" - | "HBv3"; + | "Esv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -453,38 +417,7 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4" - | "Standard_E2a_v4" - | "Standard_E4a_v4" - | "Standard_E8a_v4" - | "Standard_E16a_v4" - | "Standard_E2as_v4" - | "Standard_E4as_v4" - | "Standard_E8as_v4" - | "Standard_E16as_v4" - | "Standard_D2s_v3" - | "Standard_D4s_v3" - | "Standard_D8s_v3" - | "Standard_D16s_v3" - | "Standard_DS1_v2" - | "Standard_DS2_v2" - | "Standard_DS3_v2" - | "Standard_DS4_v2" - | "Standard_DS5_v2" - | "Standard_NC4as_T4_v3" - | "Standard_D2d_v4" - | "Standard_D4d_v4" - | "Standard_D8d_v4" - | "Standard_D16d_v4" - | "Standard_D2ds_v4" - | "Standard_D4ds_v4" - | "Standard_D8ds_v4" - | "Standard_D16ds_v4" - | "Standard_HB120_16rs_v3" - | "Standard_HB120_32rs_v3" - | "Standard_HB120_64rs_v3" - | "Standard_HB120_96rs_v3" - | "Standard_HB120rs_v3"; + | "Standard_D16a_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -493,6 +426,10 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } @@ -509,8 +446,6 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; - /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ - MultiplayerServerCountPerVm?: number; /** The build region. */ Region?: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ @@ -522,8 +457,6 @@ declare module PlayFabMultiplayerModels { * Unhealthy, Deleting, Deleted. */ Status?: string; - /** Regional override for the VM size the build was created on. */ - VmSize?: string; } @@ -532,16 +465,12 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; - /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ - MultiplayerServerCountPerVm?: number; /** The build region. */ Region: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; - /** Regional override for the VM size the build was created on. */ - VmSize?: string; } @@ -677,16 +606,6 @@ declare module PlayFabMultiplayerModels { } - export interface CoreCapacityChange { - /** New quota core limit for the given vm family/region. */ - NewCoreLimit: number; - /** Region to change. */ - Region: string; - /** Virtual machine family to change. */ - VmFamily: string; - - } - export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -1070,30 +989,6 @@ declare module PlayFabMultiplayerModels { } - export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Changes to make to the titles cores quota. */ - Changes: CoreCapacityChange[]; - /** Email to be contacted by our team about this request. Only required when a request is not approved. */ - ContactEmail?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** When these changes would need to be in effect. Only required when a request is not approved. */ - StartDate?: string; - - } - - export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Id of the change request that was created. */ - RequestId?: string; - /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ - WasApproved: boolean; - - } - export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1321,22 +1216,6 @@ declare module PlayFabMultiplayerModels { } - export interface GetAssetDownloadUrlRequest 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 asset's file name to get the download URL for. */ - FileName: string; - - } - - export interface GetAssetDownloadUrlResponse extends PlayFabModule.IPlayFabResultCommon { - /** The asset's download URL. */ - AssetDownloadUrl?: string; - /** The asset's file name to get the download URL for. */ - FileName?: string; - - } - export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1548,8 +1427,6 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The identity of the build in which the server was allocated. */ - BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -1680,20 +1557,6 @@ declare module PlayFabMultiplayerModels { } - export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Id of the change request to get. */ - RequestId: string; - - } - - export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** The change request for this title. */ - Change?: QuotaChange; - - } - export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1707,12 +1570,10 @@ declare module PlayFabMultiplayerModels { } export interface InstrumentationConfiguration { - /** Designates whether windows instrumentation configuration will be enabled for this Build */ - IsEnabled?: boolean; /** - * This property is deprecated, use IsEnabled. The list of processes to be monitored on a VM for this build. Providing - * processes will turn on performance metrics collection for this build. Process names should not include extensions. If - * the game server process is: GameServer.exe; then, ProcessesToMonitor = [ GameServer ] + * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics + * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; + * then, ProcessesToMonitor = [ GameServer ] */ ProcessesToMonitor?: string[]; @@ -1808,23 +1669,9 @@ declare module PlayFabMultiplayerModels { } - export interface ListBuildAliasesRequest 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 page size for the request. */ - PageSize?: number; - /** The skip token for the paged request. */ - SkipToken?: string; - - } - - export interface ListBuildAliasesResponse extends PlayFabModule.IPlayFabResultCommon { + export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; - /** The page size on the response. */ - PageSize: number; - /** The skip token for the paged response. */ - SkipToken?: string; } @@ -2007,18 +1854,6 @@ declare module PlayFabMultiplayerModels { } - export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { - /** All change requests for this title. */ - Changes?: QuotaChange[]; - - } - export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -2149,6 +1984,12 @@ declare module PlayFabMultiplayerModels { } + export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -2211,24 +2052,6 @@ declare module PlayFabMultiplayerModels { } - export interface QuotaChange { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Requested changes to make to the titles cores quota. */ - Changes?: CoreCapacityChange[]; - /** Whether or not this request is pending a review. */ - IsPendingReview: boolean; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** Id of the change request. */ - RequestId?: string; - /** Comments by our team when a request is reviewed. */ - ReviewComments?: string; - /** Whether or not this request was approved. */ - WasApproved: boolean; - - } - export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2293,8 +2116,6 @@ declare module PlayFabMultiplayerModels { } export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { - /** The identity of the build in which the server was allocated. */ - BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -2362,8 +2183,6 @@ declare module PlayFabMultiplayerModels { } export interface ServerDetails { - /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ - Fqdn?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The ports the multiplayer server uses. */ @@ -2423,8 +2242,12 @@ declare module PlayFabMultiplayerModels { } export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to delete. */ + BuildId: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** The region of the multiplayer server to shut down. */ + Region: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; @@ -2578,16 +2401,6 @@ declare module PlayFabMultiplayerModels { } - export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string ID of the build we want to update the name of. */ - BuildId: string; - /** The build name. */ - BuildName: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index f04680ef..0b61b637 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,7 +140,7 @@ declare module PlayFabProfilesModels { } export interface EntityProfileFileMetadata { - /** Checksum value for the file, can be used to check if the file on the server has changed. */ + /** Checksum value for the file */ Checksum?: string; /** Name of the file */ FileName?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ab865638..02f2bf12 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -408,12 +408,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which - * require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid - */ - LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2241,7 +2235,7 @@ declare module PlayFabServerModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "PaidInsightsFeaturesNotEnabled" + | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2261,18 +2255,6 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" - | "NotImplemented" - | "PublisherNotFound" - | "PublisherDeleted" - | "ApiDisabledForMigration" - | "ResourceNameUpdateNotAllowed" - | "ApiNotEnabledForTitle" - | "DuplicateTitleNameForPublisher" - | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" - | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2294,12 +2276,9 @@ declare module PlayFabServerModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" - | "PubSubFeatureNotEnabledForTitle" - | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2352,11 +2331,9 @@ declare module PlayFabServerModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" - | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" - | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2379,7 +2356,6 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2393,27 +2369,7 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "AsyncExportNotInFlight" - | "AsyncExportNotFound" - | "AsyncExportRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented" - | "LobbyDoesNotExist" - | "LobbyRateLimitExceeded" - | "LobbyPlayerAlreadyJoined" - | "LobbyNotJoinable" - | "LobbyMemberCannotRejoin" - | "LobbyCurrentPlayersMoreThanMaxPlayers" - | "LobbyPlayerNotPresent" - | "LobbyBadRequest" - | "LobbyPlayerMaxLobbyLimitExceeded" - | "LobbyNewOwnerMustBeConnected" - | "LobbyCurrentOwnerStillConnected" - | "LobbyMemberIsNotOwner" - | "EventSamplingInvalidRatio" - | "EventSamplingInvalidEventNamespace" - | "EventSamplingInvalidEventName" - | "EventSamplingRatioNotFound"; + | "SnapshotNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2669,6 +2625,8 @@ declare module PlayFabServerModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Maximum number of entries to retrieve. */ + MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2971,7 +2929,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3426,7 +3384,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3541,18 +3499,6 @@ declare module PlayFabServerModels { } - export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Automatically create a PlayFab account if one is not currently linked to this ID. */ - CreateAccount?: boolean; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Unique Steam identifier for a user */ - SteamId: string; - - } - export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3820,11 +3766,7 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4946,6 +4888,8 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5072,6 +5016,7 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" + | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5151,6 +5096,14 @@ declare module PlayFabServerModels { } + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5258fdf4..cd3e1cbd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index dad62c5b..0e0ea974 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 2faff297..549c9005 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,10 +297,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, - ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); - }, - ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -529,6 +525,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, + GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); + }, + GrantCharacterToUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -593,6 +593,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkWindowsHello: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1005,6 +1009,30 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithWindowsHello: 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/LoginWithWindowsHello", 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);}); + }, + LoginWithXbox: 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 @@ -1072,6 +1100,30 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, + RegisterWithWindowsHello: 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/RegisterWithWindowsHello", 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);}); + }, + RemoveContactEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1192,6 +1244,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 6110c43f..5ba44423 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -242,11 +242,11 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e604875a..42709b04 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 172a9bb0..1557b108 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index e902add0..2a36e0ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 73521e26..6c8afe65 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2979081e..d0da94f9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a7af2950..0f862b1d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 1d96f7d6..ade9d4ac 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index b6a4cc56..6f596072 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -289,10 +289,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, - CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -325,10 +321,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -385,10 +377,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -449,10 +437,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, - ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -485,10 +469,6 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, - UpdateBuildName: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); - }, - UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index d343762a..d2fcd783 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 574084be..fd23cde2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.93.210927", + sdkVersion: "1.79.201217", requestGetParams: { - sdk: "JavaScriptSDK-1.93.210927" + sdk: "JavaScriptSDK-1.79.201217" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_2"; -PlayFab.sdkVersion = "1.93.210927"; +PlayFab.buildIdentifier = "jbuild_javascriptsdk_sdk-generic-2_0"; +PlayFab.sdkVersion = "1.79.201217"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -537,10 +537,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, - LoginWithSteamId: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); - }, - LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 4bb8d7ea..d6b6c6a1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2364,7 +2364,7 @@ declare module PlayFabAdminModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "PaidInsightsFeaturesNotEnabled" + | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2384,18 +2384,6 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" - | "NotImplemented" - | "PublisherNotFound" - | "PublisherDeleted" - | "ApiDisabledForMigration" - | "ResourceNameUpdateNotAllowed" - | "ApiNotEnabledForTitle" - | "DuplicateTitleNameForPublisher" - | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" - | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2417,12 +2405,9 @@ declare module PlayFabAdminModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" - | "PubSubFeatureNotEnabledForTitle" - | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2475,11 +2460,9 @@ declare module PlayFabAdminModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" - | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" - | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2502,7 +2485,6 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2516,27 +2498,7 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "AsyncExportNotInFlight" - | "AsyncExportNotFound" - | "AsyncExportRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented" - | "LobbyDoesNotExist" - | "LobbyRateLimitExceeded" - | "LobbyPlayerAlreadyJoined" - | "LobbyNotJoinable" - | "LobbyMemberCannotRejoin" - | "LobbyCurrentPlayersMoreThanMaxPlayers" - | "LobbyPlayerNotPresent" - | "LobbyBadRequest" - | "LobbyPlayerMaxLobbyLimitExceeded" - | "LobbyNewOwnerMustBeConnected" - | "LobbyCurrentOwnerStillConnected" - | "LobbyMemberIsNotOwner" - | "EventSamplingInvalidRatio" - | "EventSamplingInvalidEventNamespace" - | "EventSamplingInvalidEventName" - | "EventSamplingRatioNotFound"; + | "SnapshotNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -2865,8 +2827,6 @@ declare module PlayFabAdminModels { export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; - /** Policy version. */ - PolicyVersion: number; /** The statements in the requested policy. */ Statements?: PermissionStatement[]; @@ -3329,6 +3289,8 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { + /** Login provider comparison. */ + Comparison?: string; /** Login provider. */ LoginProvider?: string; @@ -3670,11 +3632,7 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4733,8 +4691,11 @@ declare module PlayFabAdminModels { Credential: string; /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; - /** This field is deprecated and any usage of this will cause the API to fail. */ - Name?: string; + /** + * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII + * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) + */ + Name: string; /** * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if * notifications have already setup for this platform. @@ -5079,8 +5040,6 @@ declare module PlayFabAdminModels { OverwritePolicy: boolean; /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ 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. */ Statements: PermissionStatement[]; @@ -5267,6 +5226,8 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5393,6 +5354,7 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" + | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5468,6 +5430,14 @@ declare module PlayFabAdminModels { } + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index aa30b8e6..b1b70ba7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -82,12 +82,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab - * items - * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements - */ - ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -404,6 +398,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge + */ + GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. @@ -436,10 +435,7 @@ declare module PlayFabClientModule { */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with - * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters - * in this request. It is recommended you require these parameters on all Game Center calls by going to the Apple Add-ons - * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -489,6 +485,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Link Windows Hello authentication to the current PlayFab Account + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello + */ + LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount @@ -533,10 +534,7 @@ declare module PlayFabClientModule { LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be - * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not - * include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters in this request. It is recommended you - * require these parameters on all Game Center calls by going to the Apple Add-ons page in the PlayFab Game Manager and - * enabling the 'Require secure authentication only for this app' option. + * used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -598,6 +596,14 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. + * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge + * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the + * server. + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello + */ + LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user @@ -652,6 +658,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can + * subsequently be used for API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello + */ + RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail @@ -813,6 +825,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlink Windows Hello authentication from the current PlayFab Account + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello + */ + UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount @@ -1349,22 +1366,6 @@ declare module PlayFabClientModels { } - export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Catalog version to use */ - CatalogVersion?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Marketplace specific payload containing details to fetch in app purchase transactions */ - MarketplaceSpecificData: PlayStation5Payload; - - } - - export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { - /** Details for the items purchased. */ - Items?: ItemInstance[]; - - } - export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2371,6 +2372,8 @@ declare module PlayFabClientModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Maximum number of entries to retrieve. */ + MaxResultsCount: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; @@ -2712,7 +2715,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -2961,6 +2964,23 @@ declare module PlayFabClientModels { } + export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** SHA256 hash of the PublicKey generated by Windows Hello. */ + PublicKeyHint: 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 GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Server generated challenge to be signed by the user. */ + Challenge?: string; + + } + export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -3264,7 +3284,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3306,6 +3326,24 @@ declare module PlayFabClientModels { } + export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Device name. */ + DeviceName?: string; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** PublicKey generated by Windows Hello. */ + PublicKey: string; + /** Player's user named used by Windows Hello. */ + UserName: string; + + } + + export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3720,7 +3758,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3779,6 +3817,23 @@ declare module PlayFabClientModels { } + export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The signed response from the user for the Challenge. */ + ChallengeSignature: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** SHA256 hash of the PublicKey generated by Windows Hello. */ + PublicKeyHint: 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 LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4016,11 +4071,7 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4108,14 +4159,6 @@ declare module PlayFabClientModels { } - export interface PlayStation5Payload { - /** An optional list of entitlement ids to query against PSN */ - Ids?: string[]; - /** Id of the PSN service label to consume entitlements from */ - ServiceLabel?: string; - - } - export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4197,7 +4240,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -4286,6 +4329,29 @@ declare module PlayFabClientModels { } + export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Device name. */ + DeviceName?: string; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** PublicKey generated by Windows Hello. */ + PublicKey?: 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; + /** Player's user name used by Windows Hello. */ + UserName?: string; + + } + export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4918,6 +4984,18 @@ declare module PlayFabClientModels { } + export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** SHA256 hash of the PublicKey generated by Windows Hello. */ + PublicKeyHint: string; + + } + + export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5145,6 +5223,8 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5271,6 +5351,7 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" + | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5350,6 +5431,14 @@ declare module PlayFabClientModels { } + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 9ab3bf36..5eeab994 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -613,11 +613,7 @@ declare module PlayFabCloudScriptModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index 9c817922..186762f6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -121,7 +121,7 @@ declare module PlayFabDataModels { } export interface GetFileMetadata { - /** Checksum value for the file, can be used to check if the file on the server has changed. */ + /** Checksum value for the file */ Checksum?: string; /** Download URL where the file can be retrieved */ DownloadUrl?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 562eef85..cca5d55b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -138,8 +138,8 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Type of the entity to accept as. Must be the same entity as the claimant or an entity that is a child of the claimant - * entity. + * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a + * child of the claimant entity. Defaults to the claimant entity. */ Entity: EntityKey; /** The identifier of the group */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 11e351c8..90952e21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,11 +67,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Creates a request to change a title's multiplayer server quotas. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange - */ - CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -113,14 +108,7 @@ declare module PlayFabMultiplayerModule { */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl - */ - GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the URL to upload assets to. A sample pre-authenticated url - - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 + * Gets the URL to upload assets to. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -189,11 +177,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets a title's server quota change request. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange - */ - GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -219,7 +202,7 @@ declare module PlayFabMultiplayerModule { * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -272,11 +255,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * List all server quota change requests for a title. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges - */ - ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -318,11 +296,6 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates a multiplayer server build's name. - * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname - */ - UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -392,14 +365,11 @@ declare module PlayFabMultiplayerModels { | "SoutheastAsia" | "WestEurope" | "WestUs" + | "ChinaEast2" + | "ChinaNorth2" | "SouthAfricaNorth" - | "WestCentralUs" - | "KoreaCentral" - | "FranceCentral" - | "WestUs2" - | "CentralIndia" - | "UaeNorth" - | "UkSouth"; + | "CentralUsEuap" + | "WestCentralUs"; type AzureVmFamily = "A" | "Av2" @@ -412,13 +382,7 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4" - | "Dsv3" - | "Dsv2" - | "NCasT4_v3" - | "Ddv4" - | "Ddsv4" - | "HBv3"; + | "Esv4"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -453,38 +417,7 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4" - | "Standard_E2a_v4" - | "Standard_E4a_v4" - | "Standard_E8a_v4" - | "Standard_E16a_v4" - | "Standard_E2as_v4" - | "Standard_E4as_v4" - | "Standard_E8as_v4" - | "Standard_E16as_v4" - | "Standard_D2s_v3" - | "Standard_D4s_v3" - | "Standard_D8s_v3" - | "Standard_D16s_v3" - | "Standard_DS1_v2" - | "Standard_DS2_v2" - | "Standard_DS3_v2" - | "Standard_DS4_v2" - | "Standard_DS5_v2" - | "Standard_NC4as_T4_v3" - | "Standard_D2d_v4" - | "Standard_D4d_v4" - | "Standard_D8d_v4" - | "Standard_D16d_v4" - | "Standard_D2ds_v4" - | "Standard_D4ds_v4" - | "Standard_D8ds_v4" - | "Standard_D16ds_v4" - | "Standard_HB120_16rs_v3" - | "Standard_HB120_32rs_v3" - | "Standard_HB120_64rs_v3" - | "Standard_HB120_96rs_v3" - | "Standard_HB120rs_v3"; + | "Standard_D16a_v4"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -493,6 +426,10 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } @@ -509,8 +446,6 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; - /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ - MultiplayerServerCountPerVm?: number; /** The build region. */ Region?: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ @@ -522,8 +457,6 @@ declare module PlayFabMultiplayerModels { * Unhealthy, Deleting, Deleted. */ Status?: string; - /** Regional override for the VM size the build was created on. */ - VmSize?: string; } @@ -532,16 +465,12 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; - /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ - MultiplayerServerCountPerVm?: number; /** The build region. */ Region: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; - /** Regional override for the VM size the build was created on. */ - VmSize?: string; } @@ -677,16 +606,6 @@ declare module PlayFabMultiplayerModels { } - export interface CoreCapacityChange { - /** New quota core limit for the given vm family/region. */ - NewCoreLimit: number; - /** Region to change. */ - Region: string; - /** Virtual machine family to change. */ - VmFamily: string; - - } - export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -1070,30 +989,6 @@ declare module PlayFabMultiplayerModels { } - export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Changes to make to the titles cores quota. */ - Changes: CoreCapacityChange[]; - /** Email to be contacted by our team about this request. Only required when a request is not approved. */ - ContactEmail?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** When these changes would need to be in effect. Only required when a request is not approved. */ - StartDate?: string; - - } - - export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Id of the change request that was created. */ - RequestId?: string; - /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ - WasApproved: boolean; - - } - export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1321,22 +1216,6 @@ declare module PlayFabMultiplayerModels { } - export interface GetAssetDownloadUrlRequest 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 asset's file name to get the download URL for. */ - FileName: string; - - } - - export interface GetAssetDownloadUrlResponse extends PlayFabModule.IPlayFabResultCommon { - /** The asset's download URL. */ - AssetDownloadUrl?: string; - /** The asset's file name to get the download URL for. */ - FileName?: string; - - } - export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1548,8 +1427,6 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The identity of the build in which the server was allocated. */ - BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -1680,20 +1557,6 @@ declare module PlayFabMultiplayerModels { } - export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Id of the change request to get. */ - RequestId: string; - - } - - export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { - /** The change request for this title. */ - Change?: QuotaChange; - - } - export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1707,12 +1570,10 @@ declare module PlayFabMultiplayerModels { } export interface InstrumentationConfiguration { - /** Designates whether windows instrumentation configuration will be enabled for this Build */ - IsEnabled?: boolean; /** - * This property is deprecated, use IsEnabled. The list of processes to be monitored on a VM for this build. Providing - * processes will turn on performance metrics collection for this build. Process names should not include extensions. If - * the game server process is: GameServer.exe; then, ProcessesToMonitor = [ GameServer ] + * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics + * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; + * then, ProcessesToMonitor = [ GameServer ] */ ProcessesToMonitor?: string[]; @@ -1808,23 +1669,9 @@ declare module PlayFabMultiplayerModels { } - export interface ListBuildAliasesRequest 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 page size for the request. */ - PageSize?: number; - /** The skip token for the paged request. */ - SkipToken?: string; - - } - - export interface ListBuildAliasesResponse extends PlayFabModule.IPlayFabResultCommon { + export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; - /** The page size on the response. */ - PageSize: number; - /** The skip token for the paged response. */ - SkipToken?: string; } @@ -2007,18 +1854,6 @@ declare module PlayFabMultiplayerModels { } - export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { - /** All change requests for this title. */ - Changes?: QuotaChange[]; - - } - export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -2149,6 +1984,12 @@ declare module PlayFabMultiplayerModels { } + export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -2211,24 +2052,6 @@ declare module PlayFabMultiplayerModels { } - export interface QuotaChange { - /** A brief description of the requested changes. */ - ChangeDescription?: string; - /** Requested changes to make to the titles cores quota. */ - Changes?: CoreCapacityChange[]; - /** Whether or not this request is pending a review. */ - IsPendingReview: boolean; - /** Additional information about this request that our team can use to better understand the requirements. */ - Notes?: string; - /** Id of the change request. */ - RequestId?: string; - /** Comments by our team when a request is reviewed. */ - ReviewComments?: string; - /** Whether or not this request was approved. */ - WasApproved: boolean; - - } - export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2293,8 +2116,6 @@ declare module PlayFabMultiplayerModels { } export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { - /** The identity of the build in which the server was allocated. */ - BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -2362,8 +2183,6 @@ declare module PlayFabMultiplayerModels { } export interface ServerDetails { - /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ - Fqdn?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The ports the multiplayer server uses. */ @@ -2423,8 +2242,12 @@ declare module PlayFabMultiplayerModels { } export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string build ID of the multiplayer server to delete. */ + BuildId: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** The region of the multiplayer server to shut down. */ + Region: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; @@ -2578,16 +2401,6 @@ declare module PlayFabMultiplayerModels { } - export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string ID of the build we want to update the name of. */ - BuildId: string; - /** The build name. */ - BuildName: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index f04680ef..0b61b637 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,7 +140,7 @@ declare module PlayFabProfilesModels { } export interface EntityProfileFileMetadata { - /** Checksum value for the file, can be used to check if the file on the server has changed. */ + /** Checksum value for the file */ Checksum?: string; /** Name of the file */ FileName?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ab865638..02f2bf12 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -408,12 +408,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which - * require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid - */ - LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2241,7 +2235,7 @@ declare module PlayFabServerModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "PaidInsightsFeaturesNotEnabled" + | "InsightsManagementTitleInEvaluationMode" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2261,18 +2255,6 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" - | "SteamUserNotFound" - | "ElasticSearchOperationFailed" - | "NotImplemented" - | "PublisherNotFound" - | "PublisherDeleted" - | "ApiDisabledForMigration" - | "ResourceNameUpdateNotAllowed" - | "ApiNotEnabledForTitle" - | "DuplicateTitleNameForPublisher" - | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" - | "TitleContraintsPublisherDeletion" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2294,12 +2276,9 @@ declare module PlayFabServerModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" - | "PubSubFeatureNotEnabledForTitle" - | "PubSubTooManyRequests" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" - | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2352,11 +2331,9 @@ declare module PlayFabServerModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" - | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" - | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2379,7 +2356,6 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" - | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2393,27 +2369,7 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "AsyncExportNotInFlight" - | "AsyncExportNotFound" - | "AsyncExportRateLimitExceeded" - | "SnapshotNotFound" - | "InventoryApiNotImplemented" - | "LobbyDoesNotExist" - | "LobbyRateLimitExceeded" - | "LobbyPlayerAlreadyJoined" - | "LobbyNotJoinable" - | "LobbyMemberCannotRejoin" - | "LobbyCurrentPlayersMoreThanMaxPlayers" - | "LobbyPlayerNotPresent" - | "LobbyBadRequest" - | "LobbyPlayerMaxLobbyLimitExceeded" - | "LobbyNewOwnerMustBeConnected" - | "LobbyCurrentOwnerStillConnected" - | "LobbyMemberIsNotOwner" - | "EventSamplingInvalidRatio" - | "EventSamplingInvalidEventNamespace" - | "EventSamplingInvalidEventName" - | "EventSamplingRatioNotFound"; + | "SnapshotNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2669,6 +2625,8 @@ declare module PlayFabServerModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Maximum number of entries to retrieve. */ + MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2971,7 +2929,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3426,7 +3384,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3541,18 +3499,6 @@ declare module PlayFabServerModels { } - export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Automatically create a PlayFab account if one is not currently linked to this ID. */ - CreateAccount?: boolean; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Unique Steam identifier for a user */ - SteamId: string; - - } - export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3820,11 +3766,7 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; - /** - * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned - * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment - * property during login to get the correct variants and variables. - */ + /** List of experiment variants for the player. */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4946,6 +4888,8 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; + /** Windows Hello account information, if a Windows Hello account has been linked */ + WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5072,6 +5016,7 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" + | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5151,6 +5096,14 @@ declare module PlayFabServerModels { } + export interface UserWindowsHelloInfo { + /** Windows Hello Device Name */ + WindowsHelloDeviceName?: string; + /** Windows Hello Public Key Hash */ + WindowsHelloPublicKeyHash?: string; + + } + export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; From 833ce068679c884bf1acb03a63c538db000dc8a1 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 9 Nov 2021 02:17:23 +0000 Subject: [PATCH 135/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#211108 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 25 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 75 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 16 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 343 ++++++++ PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 11 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 15 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 139 ++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 193 ++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 73 +- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 824 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 4 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 239 ++++- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 106 ++- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 + PlayFabTestingExample/PlayFabApiTest.csproj | 2 + PlayFabTestingExample/PlayFabApiTest.js | 2 +- PlayFabTestingExample/index.html | 1 + .../src/PlayFab/PlayFabAdminApi.js | 25 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 75 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 16 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 343 ++++++++ .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 11 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 28 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 15 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 139 ++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 193 ++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 73 +- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 2 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 824 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 4 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 239 ++++- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 106 ++- 56 files changed, 3679 insertions(+), 656 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b20d725d..acc29a0f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.79.201217", + "version": "1.96.211108", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index cd3e1cbd..8537d89a 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ AddServerBuild: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -313,6 +316,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeleteMembershipSubscription: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMembershipSubscription", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -449,6 +456,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -533,6 +543,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -601,6 +614,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + SetMembershipOverride: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetMembershipOverride", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SetPlayerSecret: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0e0ea974..05b20a1d 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 549c9005..07fb4127 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -525,10 +529,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, - GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); - }, - GrantCharacterToUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -593,10 +593,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1009,30 +1005,6 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - LoginWithWindowsHello: 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/LoginWithWindowsHello", 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);}); - }, - LoginWithXbox: 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 @@ -1100,30 +1072,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, - RegisterWithWindowsHello: 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/RegisterWithWindowsHello", 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);}); - }, - RemoveContactEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1172,6 +1120,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ StartGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1244,10 +1195,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 5ba44423..39c5d2e7 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -242,11 +242,15 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/GetFunction", request, "X-EntityToken", callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 42709b04..5888ce68 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js new file mode 100644 index 00000000..645e7f26 --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -0,0 +1,343 @@ +/// + +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.96.211108", + requestGetParams: { + sdk: "JavaScriptSDK-1.96.211108" + }, + sessionTicket: 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_115"; +PlayFab.sdkVersion = "1.96.211108"; +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.EconomyApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateUploadUrls: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateUploadUrls", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteEntityItemReviews: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetCatalogConfig: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetDraftItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetDraftItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetEntityDraftItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityDraftItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetEntityItemReview: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemModerationState: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemPublishStatus: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemPublishStatus", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemReviews: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemReviewSummary: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviewSummary", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PublishDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ReportItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ReportItemReview: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItemReview", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ReviewItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReviewItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SearchItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SearchItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetItemModerationState: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SubmitItemReviewVote: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + TakedownItemReviews: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + +}; + +var PlayFabEconomySDK = PlayFab.EconomyApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1557b108..cf4355de 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 2a36e0ae..15585bb1 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 6c8afe65..e458c608 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index d0da94f9..e584cc9e 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0f862b1d..bd0558c9 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ade9d4ac..68188374 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -253,6 +253,9 @@ PlayFab.MatchmakerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ StartGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/StartGame", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 6f596072..f1564701 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -289,6 +289,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -321,6 +325,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -377,6 +385,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -437,6 +449,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -469,6 +485,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildName: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index d2fcd783..dfac9028 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fd23cde2..0e13f3f1 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.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -537,6 +537,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithSteamId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -577,6 +581,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RegisterGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index d6b6c6a1..981d26fc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -99,6 +99,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 }): void; + /** + * Deletes a player's subscription + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemembershipsubscription + */ + DeleteMembershipSubscription(request: PlayFabAdminModels.DeleteMembershipSubscriptionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a relationship between a title and an OpenID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteopenidconnection @@ -473,6 +478,11 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * Sets the override expiration for a membership subscription + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/setmembershipoverride + */ + SetMembershipOverride(request: PlayFabAdminModels.SetMembershipOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/setplayersecret @@ -1660,6 +1670,22 @@ declare module PlayFabAdminModels { } + 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 }; + /** Id of the membership to apply the override expiration date to. */ + MembershipId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** Id of the subscription that should be deleted from the membership. */ + SubscriptionId: string; + + } + + export interface DeleteMembershipSubscriptionResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface DeleteOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the connection */ ConnectionId: string; @@ -2364,7 +2390,7 @@ declare module PlayFabAdminModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2384,6 +2410,23 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" + | "TitleConstraintsPublisherDeletion" + | "InvalidPlayerAccountPoolId" + | "PlayerAccountPoolNotFound" + | "PlayerAccountPoolDeleted" + | "TitleCleanupInProgress" + | "AzureResourceManagerNotSupportedInStamp" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2405,9 +2448,15 @@ declare module PlayFabAdminModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" + | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionHandleInvalid" + | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2460,9 +2509,11 @@ declare module PlayFabAdminModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2485,6 +2536,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2498,7 +2550,31 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" + | "SnapshotNotFound" + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound" + | "EventSinkConnectionInvalid" + | "EventSinkConnectionUnauthorized" + | "EventSinkRegionInvalid" + | "OperationCanceled"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -2827,6 +2903,8 @@ declare module PlayFabAdminModels { export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; /** The statements in the requested policy. */ Statements?: PermissionStatement[]; @@ -3289,8 +3367,6 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { - /** Login provider comparison. */ - Comparison?: string; /** Login provider. */ LoginProvider?: string; @@ -3632,7 +3708,11 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4551,6 +4631,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount"; export interface SegmentModel { + /** ResourceId of Segment resource */ + AzureResourceId?: string; /** Segment description. */ Description?: string; /** Segment actions for current entered segment players. */ @@ -4615,6 +4697,22 @@ declare module PlayFabAdminModels { } + 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 }; + /** Expiration time for the membership in DateTime format, will override any subscription expirations. */ + ExpirationTime: string; + /** Id of the membership to apply the override expiration date to. */ + MembershipId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface SetMembershipOverrideResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4672,17 +4770,28 @@ declare module PlayFabAdminModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of azure resource */ + AzureResourceId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** Id of azure resource */ + AzureResourceId?: string; } @@ -4691,11 +4800,8 @@ declare module PlayFabAdminModels { Credential: string; /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; - /** - * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII - * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; + /** This field is deprecated and any usage of this will cause the API to fail. */ + Name?: string; /** * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if * notifications have already setup for this platform. @@ -5040,6 +5146,8 @@ declare module PlayFabAdminModels { OverwritePolicy: boolean; /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ 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. */ Statements: PermissionStatement[]; @@ -5226,8 +5334,6 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5354,7 +5460,6 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5430,14 +5535,6 @@ declare module PlayFabAdminModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 163bf7f2..e742b56e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -103,6 +103,8 @@ declare module PlayFabAuthenticationModels { IdentifiedDeviceType?: string; /** The identity provider for this entity, for the given login */ IdentityProvider?: string; + /** The ID issued by the identity provider, e.g. a XUID on Xbox Live */ + IdentityProviderIssuedId?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index b1b70ba7..c866daef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -82,6 +82,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab + * items + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements + */ + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -398,11 +404,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge - */ - GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. @@ -435,7 +436,10 @@ declare module PlayFabClientModule { */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with + * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters + * in this request. It is recommended you require these parameters on all Game Center calls by going to the Apple Add-ons + * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -485,11 +489,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Link Windows Hello authentication to the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello - */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount @@ -534,7 +533,10 @@ declare module PlayFabClientModule { LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be - * used for API calls which require an authenticated user + * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not + * include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters in this request. It is recommended you + * require these parameters on all Game Center calls by going to the Apple Add-ons page in the PlayFab Game Manager and + * enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -596,14 +598,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. - * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge - * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the - * server. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello - */ - LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user @@ -658,12 +652,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can - * subsequently be used for API calls which require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello - */ - RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail @@ -825,11 +813,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Unlink Windows Hello authentication from the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello - */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount @@ -1366,6 +1349,22 @@ declare module PlayFabClientModels { } + export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: PlayStation5Payload; + + } + + export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2372,8 +2371,6 @@ declare module PlayFabClientModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; @@ -2715,7 +2712,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -2964,23 +2961,6 @@ declare module PlayFabClientModels { } - export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Server generated challenge to be signed by the user. */ - Challenge?: string; - - } - export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -3162,7 +3142,10 @@ declare module PlayFabClientModels { export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** If another user is already linked to the account, unlink the other user and re-link. */ + /** + * If another user is already linked to the account, unlink the other user and re-link. If the current user is already + * linked, link both accounts + */ ForceLink?: boolean; /** Game Center identifier for the player account to be linked. */ GameCenterId: string; @@ -3187,7 +3170,10 @@ declare module PlayFabClientModels { export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** If another user is already linked to the account, unlink the other user and re-link. */ + /** + * If another user is already linked to the account, unlink the other user and re-link. If the current user is already + * linked, link both accounts + */ ForceLink?: boolean; /** * Server authentication code obtained on the client by calling getServerAuthCode() @@ -3284,7 +3270,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3326,24 +3312,6 @@ declare module PlayFabClientModels { } - export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** If another user is already linked to the account, unlink the other user and re-link. */ - ForceLink?: boolean; - /** PublicKey generated by Windows Hello. */ - PublicKey: string; - /** Player's user named used by Windows Hello. */ - UserName: string; - - } - - export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3758,7 +3726,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3817,23 +3785,6 @@ declare module PlayFabClientModels { } - export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The signed response from the user for the Challenge. */ - ChallengeSignature: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4071,7 +4022,11 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4159,6 +4114,14 @@ declare module PlayFabClientModels { } + export interface PlayStation5Payload { + /** An optional list of entitlement ids to query against PSN */ + Ids?: string[]; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel?: string; + + } + export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4240,7 +4203,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -4329,29 +4292,6 @@ declare module PlayFabClientModels { } - export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - EncryptedRequest?: string; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret?: string; - /** PublicKey generated by Windows Hello. */ - PublicKey?: 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; - /** Player's user name used by Windows Hello. */ - UserName?: string; - - } - export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4984,18 +4924,6 @@ declare module PlayFabClientModels { } - export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: string; - - } - - export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5223,8 +5151,6 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5351,7 +5277,6 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5431,14 +5356,6 @@ declare module PlayFabClientModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 5eeab994..ba479e6d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -16,6 +16,11 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executefunction */ ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets registered Azure Functions for a given title id and function name. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/getfunction + */ + GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all currently registered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions @@ -81,6 +86,22 @@ declare module PlayFabCloudScriptModels { } + export interface AzureResourceSystemData { + /** The timestamp of resource creation (UTC) */ + CreatedAt?: string; + /** The identity that created the resource */ + CreatedBy?: string; + /** The type of identity that created the resource */ + CreatedByType?: string; + /** The type of identity that last modified the resource */ + LastModifiedAt?: string; + /** The identity that last modified the resource */ + LastModifiedBy?: string; + /** The type of identity that last modified the resource */ + LastModifiedByType?: string; + + } + type CloudScriptRevisionOption = "Live" | "Latest" | "Specific"; @@ -486,11 +507,37 @@ declare module PlayFabCloudScriptModels { } + export interface GetFunctionRequest 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 name of the function to register */ + FunctionName: string; + /** The Id of the parent Title */ + TitleId?: string; + + } + + export interface GetFunctionResult extends PlayFabModule.IPlayFabResultCommon { + /** The connection string for the storage account containing the queue for a queue trigger Azure Function. */ + ConnectionString?: string; + /** The URL to be invoked to execute an HTTP triggered function. */ + FunctionUrl?: string; + /** The name of the queue for a queue trigger Azure Function. */ + QueueName?: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; + /** The trigger type for the function. */ + TriggerType?: string; + + } + export interface HttpFunctionModel { /** The name the function was registered under. */ FunctionName?: string; /** The URL of the function. */ FunctionUrl?: string; + /** The System data of the Azure Resource */ + SystemData?: AzureResourceSystemData; } @@ -509,6 +556,8 @@ declare module PlayFabCloudScriptModels { export interface ListFunctionsRequest 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 Id of the parent Title */ + TitleId?: string; } @@ -613,7 +662,11 @@ declare module PlayFabCloudScriptModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -727,20 +780,30 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The name of the queue that triggers the Azure Function. */ QueueName?: string; + /** The System data of the Azure Resource */ + SystemData?: AzureResourceSystemData; } export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the Azure Resource */ + AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; /** Full URL for Azure Function that implements the function. */ FunctionUrl: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; + /** The Id of the parent Title */ + TitleId?: string; } export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the Azure Resource */ + AzureResourceId?: string; /** A connection string for the storage account that hosts the queue for the Azure Function. */ ConnectionString: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -749,6 +812,10 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** The name of the queue for the Azure Function. */ QueueName: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; + /** The Id of the parent Title */ + TitleId?: string; } @@ -814,8 +881,10 @@ declare module PlayFabCloudScriptModels { export interface UnregisterFunctionRequest 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 name of the function to unregister */ + /** The name of the function to register */ FunctionName: string; + /** The Id of the parent Title */ + TitleId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index 186762f6..9c817922 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -121,7 +121,7 @@ declare module PlayFabDataModels { } export interface GetFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Download URL where the file can be retrieved */ DownloadUrl?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts new file mode 100644 index 00000000..fe84dc4b --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -0,0 +1,824 @@ +/// + +declare module PlayFabEconomyModule { + export interface IPlayFabEconomy { + ForgetAllCredentials(): void; + + /** + * Creates a new item in the working catalog using provided metadata. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem + */ + CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates one or more upload URLs which can be used by the client to upload raw file data. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls + */ + CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews + */ + DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an item from working catalog and all published versions from the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem + */ + DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the configuration for the catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig + */ + GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves an item from the working catalog. This item represents the current working state of the item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem + */ + GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves a paginated list of the items from the draft catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems + */ + GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves a paginated list of the items from the draft catalog created by the Entity. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems + */ + GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the submitted review for the specified item by the authenticated entity. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview + */ + GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves an item from the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem + */ + GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the moderation state for an item, including the concern category and string reason. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate + */ + GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the status of a publish of an item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus + */ + GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a paginated set of reviews associated with the specified item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews + */ + GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a summary of all reviews associated with the specified item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary + */ + GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Initiates a publish of an item from the working catalog to the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem + */ + PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a report for an item, indicating in what way the item is inappropriate. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem + */ + ReportItem(request: PlayFabEconomyModels.ReportItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a report for a review + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview + */ + ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates or updates a review for the specified item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem + */ + ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Executes a search against the public catalog using the provided search parameters and returns a set of paginated + * results. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems + */ + SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the moderation state for an item, including the concern category and string reason. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate + */ + SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a vote for a review, indicating whether the review was helpful or unhelpful. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote + */ + SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a request to takedown one or more reviews. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews + */ + TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates the configuration for the catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig + */ + UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update the metadata for an item in the working catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem + */ + UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabEconomyModels { + export interface CatalogAlternateId { + /** Type of the alternate ID. */ + Type?: string; + /** Value of the alternate ID. */ + Value?: string; + + } + + export interface CatalogConfig { + /** A list of player entity keys that will have admin permissions. */ + AdminEntities?: EntityKey[]; + /** A list of display properties to index. */ + DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; + /** Flag defining whether catalog is enabled. */ + IsCatalogEnabled: boolean; + /** A set of player entity keys that are allowed to review content. */ + ReviewerEntities?: EntityKey[]; + /** The set of configuration that only applies to user generated contents. */ + UserGeneratedContent?: UserGeneratedContentSpecificConfig; + + } + + export interface CatalogItem { + /** The alternate IDs associated with this item. */ + AlternateIds?: CatalogAlternateId[]; + /** The set of contents associated with this item. */ + Contents?: Content[]; + /** The client-defined type of the item. */ + ContentType?: string; + /** The date and time when this item was created. */ + CreationDate?: string; + /** The ID of the creator of this catalog item. */ + CreatorEntity?: EntityKey; + /** + * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is + * required. + */ + Description?: { [key: string]: string | null }; + /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ + DisplayProperties?: any; + /** The user provided version of the item for display purposes. */ + DisplayVersion?: string; + /** The date of when the item will cease to be available. If not provided then the product will be available indefinitely. */ + EndDate?: string; + /** The current ETag value that can be used for optimistic concurrency in the If-None-Match header. */ + ETag?: string; + /** The unique ID of the item. */ + Id?: string; + /** The images associated with this item. Images can be thumbnails or screenshots. */ + Images?: Image[]; + /** Indicates if the item is hidden. */ + IsHidden?: boolean; + /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ + Keywords?: { [key: string]: KeywordSet }; + /** The date and time this item was last updated. */ + LastModifiedDate?: string; + /** The moderation state for this item. */ + Moderation?: ModerationState; + /** Rating summary for this item. */ + Rating?: Rating; + /** The date of when the item will be available. If not provided then the product will appear immediately. */ + StartDate?: string; + /** The list of tags that are associated with this item. */ + Tags?: string[]; + /** + * A dictionary of localized titles. Key is language code and localized string is the value. The neutral locale is + * required. + */ + Title?: { [key: string]: string | null }; + /** The high-level type of the item. */ + Type?: string; + + } + + type ConcernCategory = "None" + | "OffensiveContent" + | "ChildExploitation" + | "MalwareOrVirus" + | "PrivacyConcerns" + | "MisleadingApp" + | "PoorPerformance" + | "ReviewResponse" + | "SpamAdvertising" + | "Profanity"; + + export interface Content { + /** The content unique ID. */ + Id?: string; + /** The maximum client version that this content is compatible with. */ + MaxClientVersion?: string; + /** The minimum client version that this content is compatible with. */ + MinClientVersion?: string; + /** The Azure CDN URL for retrieval of the catalog item binary content. */ + Url?: string; + + } + + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Metadata describing the new catalog item to be created. */ + Item?: CatalogItem; + /** Whether the item should be published immediately. */ + Publish: boolean; + + } + + export interface CreateDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** Updated metadata describing the catalog item just created. */ + Item?: CatalogItem; + + } + + export interface CreateUploadUrlsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Description of the files to be uploaded by the client. */ + Files?: UploadInfo[]; + + } + + export interface CreateUploadUrlsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of URLs metadata for the files to be uploaded by the client. */ + UploadUrls?: UploadUrlMetadata[]; + + } + + export interface DeleteEntityItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface DeleteEntityItemReviewsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface DeleteItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DisplayPropertyIndexInfo { + /** The property name in the 'DisplayProperties' property to be indexed. */ + Name?: string; + /** The type of the property to be indexed. */ + Type?: string; + + } + + type DisplayPropertyType = "None" + | "QueryDateTime" + | "QueryDouble" + | "QueryString" + | "SearchString"; + + 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 GetCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetCatalogConfigResponse extends PlayFabModule.IPlayFabResultCommon { + /** The catalog configuration. */ + Config?: CatalogConfig; + + } + + export interface GetDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** Full metadata of the catalog item requested. */ + Item?: CatalogItem; + + } + + export interface GetDraftItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** List of item alternate IDs. */ + AlternateIds?: CatalogAlternateId[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** List of Item Ids. */ + Ids?: string[]; + + } + + export interface GetDraftItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** A set of items created by the entity. */ + Items?: CatalogItem[]; + + } + + export interface GetEntityDraftItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * An opaque token used to retrieve the next page of items created by the caller, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 10. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface GetEntityDraftItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** A set of items created by the entity. */ + Items?: CatalogItem[]; + + } + + export interface GetEntityItemReviewRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetEntityItemReviewResponse extends PlayFabModule.IPlayFabResultCommon { + /** The review the entity submitted for the requested item. */ + Review?: Review; + + } + + export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemModerationStateResponse extends PlayFabModule.IPlayFabResultCommon { + /** The current moderation state for the requested item. */ + State?: ModerationState; + + } + + export interface GetItemPublishStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemPublishStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** Scan results for any items that failed content scans. */ + FailedScanResults?: ScanResult[]; + /** High level status of the published item. */ + Result?: string; + /** Descriptive message about the current status of the publish. */ + StatusMessage?: string; + + } + + export interface GetItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** The item result. */ + Item?: CatalogItem; + + } + + export interface GetItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 200. If not specified, defaults to 10. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + /** An OData orderBy used to order the results of the query. */ + OrderBy?: string; + + } + + export interface GetItemReviewsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The paginated set of results. */ + Reviews?: Review[]; + + } + + export interface GetItemReviewSummaryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemReviewSummaryResponse extends PlayFabModule.IPlayFabResultCommon { + /** The least favorable review for this item. */ + LeastFavorableReview?: Review; + /** The most favorable review for this item. */ + MostFavorableReview?: Review; + /** The summary of ratings associated with this item. */ + Rating?: Rating; + /** The total number of reviews associated with this item. */ + ReviewsCount: number; + + } + + type HelpfulnessVote = "None" + | "UnHelpful" + | "Helpful"; + + export interface Image { + /** The image unique ID. */ + Id?: string; + /** The client-defined type of this image. */ + Type?: string; + /** The URL for retrieval of the image. */ + Url?: string; + + } + + export interface KeywordSet { + /** A list of localized keywords. */ + Values?: string[]; + + } + + export interface ModerationState { + /** The date and time this moderation state was last updated. */ + LastModifiedDate?: string; + /** The current stated reason for the associated item being moderated. */ + Reason?: string; + /** The current moderation status for the associated item. */ + Status?: string; + + } + + type ModerationStatus = "Unknown" + | "AwaitingModeration" + | "Approved" + | "Rejected"; + + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** + * ETag of the catalog item to published from the working catalog to the public catalog. Used for optimistic concurrency. + * If the provided ETag does not match the ETag in the current working catalog, the request will be rejected. If not + * provided, the current version of the document in the working catalog will be published. + */ + ETag?: string; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface PublishDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + type PublishResult = "Unknown" + | "Pending" + | "Succeeded" + | "Failed" + | "Canceled"; + + export interface Rating { + /** The average rating for this item. */ + Average?: number; + /** The total count of 1 star ratings for this item. */ + Count1Star?: number; + /** The total count of 2 star ratings for this item. */ + Count2Star?: number; + /** The total count of 3 star ratings for this item. */ + Count3Star?: number; + /** The total count of 4 star ratings for this item. */ + Count4Star?: number; + /** The total count of 5 star ratings for this item. */ + Count5Star?: number; + /** The total count of ratings for this item. */ + TotalCount?: number; + + } + + export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** Category of concern for this report. */ + ConcernCategory?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + /** The string reason for this report. */ + Reason?: string; + + } + + export interface ReportItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface ReportItemReviewRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID of the item associated with the review. */ + AlternateId?: CatalogAlternateId; + /** The reason this review is being reported. */ + ConcernCategory?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The string ID of the item associated with the review. */ + ItemId?: string; + /** The string reason for this report. */ + Reason?: string; + /** The ID of the review to submit a report for. */ + ReviewId?: string; + + } + + export interface ReportItemReviewResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface Review { + /** The number of negative helpfulness votes for this review. */ + HelpfulNegative: number; + /** Total number of helpfulness votes for this review. */ + HelpfulnessVotes: number; + /** The number of positive helpfulness votes for this review. */ + HelpfulPositive: number; + /** Indicates whether the review author has the item installed. */ + IsInstalled: boolean; + /** The ID of the item being reviewed. */ + ItemId?: string; + /** The version of the item being reviewed. */ + ItemVersion?: string; + /** The locale for which this review was submitted in. */ + Locale?: string; + /** Star rating associated with this review. */ + Rating: number; + /** The ID of the author of the review. */ + ReviewerId?: string; + /** The ID of the review. */ + ReviewId?: string; + /** The full text of this review. */ + ReviewText?: string; + /** The date and time this review was last submitted. */ + Submitted: string; + /** The title of this review. */ + Title?: string; + + } + + export interface ReviewItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + /** The review to submit. */ + Review?: Review; + + } + + export interface ReviewItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface ReviewTakedown { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The ID of the item associated with the review to take down. */ + ItemId?: string; + /** The ID of the review to take down. */ + ReviewId?: string; + + } + + export interface ScanResult { + /** The URL of the item which failed the scan. */ + Url?: string; + + } + + export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 225. Default value is 10. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** An OData filter used to refine the search query. */ + Filter?: string; + /** An OData orderBy used to order the results of the search query. */ + OrderBy?: string; + /** The text to search for. */ + Search?: string; + /** + * An OData select query option used to augment the search results. If not defined, the default search result metadata will + * be returned. + */ + Select?: string; + + } + + export interface SearchItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The paginated set of results for the search query. */ + Items?: CatalogItem[]; + + } + + export interface SetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + /** The reason for the moderation state change for the associated item. */ + Reason?: string; + /** The status to set for the associated item. */ + Status?: string; + + } + + export interface SetItemModerationStateResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SubmitItemReviewVoteRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID of the item associated with the review. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The string ID of the item associated with the review. */ + ItemId?: string; + /** The ID of the review to submit a helpfulness vote for. */ + ReviewId?: string; + /** The helpfulness vote of the review. */ + Vote?: string; + + } + + export interface SubmitItemReviewVoteResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface TakedownItemReviewsRequest 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 set of reviews to take down. */ + Reviews?: ReviewTakedown[]; + + } + + export interface TakedownItemReviewsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The updated catalog configuration. */ + Config?: CatalogConfig; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface UpdateCatalogConfigResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface UpdateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Updated metadata describing the catalog item to be updated. */ + Item?: CatalogItem; + /** Whether the item should be published immediately. */ + Publish: boolean; + + } + + export interface UpdateDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** Updated metadata describing the catalog item just updated. */ + Item?: CatalogItem; + + } + + export interface UploadInfo { + /** Name of the file to be uploaded. */ + FileName?: string; + + } + + export interface UploadUrlMetadata { + /** Name of the file for which this upload URL was requested. */ + FileName?: string; + /** Unique ID for the binary content to be uploaded to the target URL. */ + Id?: string; + /** URL for the binary content to be uploaded to. */ + Url?: string; + + } + + export interface UserGeneratedContentSpecificConfig { + /** The set of content types that will be used for validation and if no values are provided then anything is allowed. */ + ContentTypes?: string[]; + /** The set of tags that will be used for validation and if no values are provided then anything is allowed. */ + Tags?: string[]; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index cca5d55b..562eef85 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -138,8 +138,8 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a - * child of the claimant entity. Defaults to the claimant entity. + * Type of the entity to accept as. Must be the same entity as the claimant or an entity that is a child of the claimant + * entity. */ Entity: EntityKey; /** The identifier of the group */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90952e21..11e351c8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,6 +67,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a request to change a title's multiplayer server quotas. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange + */ + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -108,7 +113,14 @@ declare module PlayFabMultiplayerModule { */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Gets the URL to upload assets to. + * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl + */ + GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the URL to upload assets to. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -177,6 +189,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a title's server quota change request. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange + */ + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -202,7 +219,7 @@ declare module PlayFabMultiplayerModule { * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -255,6 +272,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server quota change requests for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges + */ + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -296,6 +318,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's name. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname + */ + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -365,11 +392,14 @@ declare module PlayFabMultiplayerModels { | "SoutheastAsia" | "WestEurope" | "WestUs" - | "ChinaEast2" - | "ChinaNorth2" | "SouthAfricaNorth" - | "CentralUsEuap" - | "WestCentralUs"; + | "WestCentralUs" + | "KoreaCentral" + | "FranceCentral" + | "WestUs2" + | "CentralIndia" + | "UaeNorth" + | "UkSouth"; type AzureVmFamily = "A" | "Av2" @@ -382,7 +412,13 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4"; + | "Esv4" + | "Dsv3" + | "Dsv2" + | "NCasT4_v3" + | "Ddv4" + | "Ddsv4" + | "HBv3"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -417,7 +453,38 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4"; + | "Standard_D16a_v4" + | "Standard_E2a_v4" + | "Standard_E4a_v4" + | "Standard_E8a_v4" + | "Standard_E16a_v4" + | "Standard_E2as_v4" + | "Standard_E4as_v4" + | "Standard_E8as_v4" + | "Standard_E16as_v4" + | "Standard_D2s_v3" + | "Standard_D4s_v3" + | "Standard_D8s_v3" + | "Standard_D16s_v3" + | "Standard_DS1_v2" + | "Standard_DS2_v2" + | "Standard_DS3_v2" + | "Standard_DS4_v2" + | "Standard_DS5_v2" + | "Standard_NC4as_T4_v3" + | "Standard_D2d_v4" + | "Standard_D4d_v4" + | "Standard_D8d_v4" + | "Standard_D16d_v4" + | "Standard_D2ds_v4" + | "Standard_D4ds_v4" + | "Standard_D8ds_v4" + | "Standard_D16ds_v4" + | "Standard_HB120_16rs_v3" + | "Standard_HB120_32rs_v3" + | "Standard_HB120_64rs_v3" + | "Standard_HB120_96rs_v3" + | "Standard_HB120rs_v3"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -426,10 +493,6 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; - /** The page size on the response. */ - PageSize: number; - /** The skip token for the paged response. */ - SkipToken?: string; } @@ -446,6 +509,8 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region?: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ @@ -457,6 +522,8 @@ declare module PlayFabMultiplayerModels { * Unhealthy, Deleting, Deleted. */ Status?: string; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } @@ -465,12 +532,16 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } @@ -606,6 +677,16 @@ declare module PlayFabMultiplayerModels { } + export interface CoreCapacityChange { + /** New quota core limit for the given vm family/region. */ + NewCoreLimit: number; + /** Region to change. */ + Region: string; + /** Virtual machine family to change. */ + VmFamily: string; + + } + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -989,6 +1070,30 @@ declare module PlayFabMultiplayerModels { } + export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Changes to make to the titles cores quota. */ + Changes: CoreCapacityChange[]; + /** Email to be contacted by our team about this request. Only required when a request is not approved. */ + ContactEmail?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** When these changes would need to be in effect. Only required when a request is not approved. */ + StartDate?: string; + + } + + export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Id of the change request that was created. */ + RequestId?: string; + /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ + WasApproved: boolean; + + } + export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1216,6 +1321,22 @@ declare module PlayFabMultiplayerModels { } + export interface GetAssetDownloadUrlRequest 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 asset's file name to get the download URL for. */ + FileName: string; + + } + + export interface GetAssetDownloadUrlResponse extends PlayFabModule.IPlayFabResultCommon { + /** The asset's download URL. */ + AssetDownloadUrl?: string; + /** The asset's file name to get the download URL for. */ + FileName?: string; + + } + export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1427,6 +1548,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -1557,6 +1680,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Id of the change request to get. */ + RequestId: string; + + } + + export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** The change request for this title. */ + Change?: QuotaChange; + + } + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1570,10 +1707,12 @@ declare module PlayFabMultiplayerModels { } export interface InstrumentationConfiguration { + /** Designates whether windows instrumentation configuration will be enabled for this Build */ + IsEnabled?: boolean; /** - * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics - * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; - * then, ProcessesToMonitor = [ GameServer ] + * This property is deprecated, use IsEnabled. The list of processes to be monitored on a VM for this build. Providing + * processes will turn on performance metrics collection for this build. Process names should not include extensions. If + * the game server process is: GameServer.exe; then, ProcessesToMonitor = [ GameServer ] */ ProcessesToMonitor?: string[]; @@ -1669,9 +1808,23 @@ declare module PlayFabMultiplayerModels { } - export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + export interface ListBuildAliasesRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + export interface ListBuildAliasesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } @@ -1854,6 +2007,18 @@ declare module PlayFabMultiplayerModels { } + export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { + /** All change requests for this title. */ + Changes?: QuotaChange[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -1984,12 +2149,6 @@ declare module PlayFabMultiplayerModels { } - export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -2052,6 +2211,24 @@ declare module PlayFabMultiplayerModels { } + export interface QuotaChange { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Requested changes to make to the titles cores quota. */ + Changes?: CoreCapacityChange[]; + /** Whether or not this request is pending a review. */ + IsPendingReview: boolean; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** Id of the change request. */ + RequestId?: string; + /** Comments by our team when a request is reviewed. */ + ReviewComments?: string; + /** Whether or not this request was approved. */ + WasApproved: boolean; + + } + export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2116,6 +2293,8 @@ declare module PlayFabMultiplayerModels { } export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -2183,6 +2362,8 @@ declare module PlayFabMultiplayerModels { } export interface ServerDetails { + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + Fqdn?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The ports the multiplayer server uses. */ @@ -2242,12 +2423,8 @@ declare module PlayFabMultiplayerModels { } export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string build ID of the multiplayer server to delete. */ - BuildId: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The region of the multiplayer server to shut down. */ - Region: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; @@ -2401,6 +2578,16 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update the name of. */ + BuildId: string; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 0b61b637..f04680ef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,7 +140,7 @@ declare module PlayFabProfilesModels { } export interface EntityProfileFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Name of the file */ FileName?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 02f2bf12..cd7ee27f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -408,6 +408,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid + */ + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2235,7 +2241,7 @@ declare module PlayFabServerModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2255,6 +2261,23 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" + | "TitleConstraintsPublisherDeletion" + | "InvalidPlayerAccountPoolId" + | "PlayerAccountPoolNotFound" + | "PlayerAccountPoolDeleted" + | "TitleCleanupInProgress" + | "AzureResourceManagerNotSupportedInStamp" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2276,9 +2299,15 @@ declare module PlayFabServerModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" + | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionHandleInvalid" + | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2331,9 +2360,11 @@ declare module PlayFabServerModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2356,6 +2387,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2369,7 +2401,31 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" + | "SnapshotNotFound" + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound" + | "EventSinkConnectionInvalid" + | "EventSinkConnectionUnauthorized" + | "EventSinkRegionInvalid" + | "OperationCanceled"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2625,8 +2681,6 @@ declare module PlayFabServerModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2929,7 +2983,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3384,7 +3438,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3499,6 +3553,18 @@ declare module PlayFabServerModels { } + export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Unique Steam identifier for a user */ + SteamId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3766,7 +3832,11 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4366,17 +4436,28 @@ declare module PlayFabServerModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of azure resource */ + AzureResourceId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** Id of azure resource */ + AzureResourceId?: string; } @@ -4888,8 +4969,6 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5016,7 +5095,6 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5096,14 +5174,6 @@ declare module PlayFabServerModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 03802d6e..1e1ad849 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -5,6 +5,7 @@ /// /// /// +/// /// /// /// @@ -52,6 +53,7 @@ declare var PlayFab: { AuthenticationApi: PlayFabAuthenticationModule.IPlayFabAuthentication; CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; DataApi: PlayFabDataModule.IPlayFabData; + EconomyApi: PlayFabEconomyModule.IPlayFabEconomy; EventsApi: PlayFabEventsModule.IPlayFabEvents; ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; InsightsApi: PlayFabInsightsModule.IPlayFabInsights; @@ -69,6 +71,7 @@ declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthentication; declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; +declare var PlayFabEconomySDK: PlayFabEconomyModule.IPlayFabEconomy; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 22c78620..7ef721ea 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -31,6 +31,7 @@ + @@ -50,6 +51,7 @@ + diff --git a/PlayFabTestingExample/PlayFabApiTest.js b/PlayFabTestingExample/PlayFabApiTest.js index bf85a8d6..9050b163 100644 --- a/PlayFabTestingExample/PlayFabApiTest.js +++ b/PlayFabTestingExample/PlayFabApiTest.js @@ -13,7 +13,7 @@ var PlayFabApiTests = { entityId: null, entityType: null, playFabId: null, - testNumber: null, + testNumber: null, // Arbitrary counter, used by several tests }, testConstants: { TEST_DATA_KEY: "testCounter", diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 4aa18e8d..d58cc3c7 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -17,6 +17,7 @@ + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index cd3e1cbd..8537d89a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ AddServerBuild: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -313,6 +316,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, + DeleteMembershipSubscription: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMembershipSubscription", request, "X-SecretKey", callback, customData, extraHeaders); + }, + DeleteOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -449,6 +456,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -533,6 +543,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -601,6 +614,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetCatalogItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + SetMembershipOverride: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetMembershipOverride", request, "X-SecretKey", callback, customData, extraHeaders); + }, + SetPlayerSecret: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0e0ea974..05b20a1d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 549c9005..07fb4127 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumeMicrosoftStoreEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, + ConsumePS5Entitlements: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePS5Entitlements", request, "X-Authorization", callback, customData, extraHeaders); + }, + ConsumePSNEntitlements: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ConsumePSNEntitlements", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -525,10 +529,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetUserReadOnlyData", request, "X-Authorization", callback, customData, extraHeaders); }, - GetWindowsHelloChallenge: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetWindowsHelloChallenge", request, null, callback, customData, extraHeaders); - }, - GrantCharacterToUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GrantCharacterToUser", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -593,10 +593,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1009,30 +1005,6 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - LoginWithWindowsHello: 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/LoginWithWindowsHello", 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);}); - }, - LoginWithXbox: 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 @@ -1100,30 +1072,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RegisterPlayFabUser", request, null, overloadCallback, customData, extraHeaders); }, - RegisterWithWindowsHello: 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/RegisterWithWindowsHello", 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);}); - }, - RemoveContactEmail: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/RemoveContactEmail", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1172,6 +1120,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ StartGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1244,10 +1195,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkTwitch", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkWindowsHello: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkWindowsHello", request, "X-Authorization", callback, customData, extraHeaders); - }, - UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 5ba44423..39c5d2e7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -242,11 +242,15 @@ PlayFab.CloudScriptApi = { }, ExecuteEntityCloudScript: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteEntityCloudScript", request, "X-EntityToken", callback, customData, extraHeaders); }, ExecuteFunction: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, null, callback, customData, extraHeaders); + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ExecuteFunction", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetFunction: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/GetFunction", request, "X-EntityToken", callback, customData, extraHeaders); }, ListFunctions: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 42709b04..5888ce68 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js new file mode 100644 index 00000000..645e7f26 --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -0,0 +1,343 @@ +/// + +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.96.211108", + requestGetParams: { + sdk: "JavaScriptSDK-1.96.211108" + }, + sessionTicket: 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_115"; +PlayFab.sdkVersion = "1.96.211108"; +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.EconomyApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateUploadUrls: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateUploadUrls", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteEntityItemReviews: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetCatalogConfig: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetDraftItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetDraftItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetEntityDraftItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityDraftItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetEntityItemReview: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemModerationState: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemPublishStatus: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemPublishStatus", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemReviews: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetItemReviewSummary: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviewSummary", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + PublishDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ReportItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ReportItemReview: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItemReview", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ReviewItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReviewItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SearchItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SearchItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SetItemModerationState: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + SubmitItemReviewVote: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + TakedownItemReviews: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateDraftItem: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); + }, + +}; + +var PlayFabEconomySDK = PlayFab.EconomyApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1557b108..cf4355de 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 2a36e0ae..15585bb1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 6c8afe65..e458c608 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index d0da94f9..e584cc9e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0f862b1d..bd0558c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ade9d4ac..68188374 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -253,6 +253,9 @@ PlayFab.MatchmakerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ StartGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/StartGame", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 6f596072..f1564701 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -289,6 +289,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateServerMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteAsset: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteAsset", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -321,6 +325,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetAssetUploadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetUploadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -377,6 +385,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleEnabledForMultiplayerServersStatus", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetTitleMultiplayerServersQuotaChange: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotaChange", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetTitleMultiplayerServersQuotas: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -437,6 +449,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders); }, + ListTitleMultiplayerServersQuotaChanges: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListTitleMultiplayerServersQuotaChanges", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListVirtualMachineSummaries: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListVirtualMachineSummaries", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -469,6 +485,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildAlias", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateBuildName: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildName", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateBuildRegion: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegion", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index d2fcd783..dfac9028 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fd23cde2..0e13f3f1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.79.201217", + sdkVersion: "1.96.211108", requestGetParams: { - sdk: "JavaScriptSDK-1.79.201217" + sdk: "JavaScriptSDK-1.96.211108" }, sessionTicket: 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 = "jbuild_javascriptsdk_sdk-generic-2_0"; -PlayFab.sdkVersion = "1.79.201217"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.96.211108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -537,6 +537,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders); }, + LoginWithSteamId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithXbox: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -577,6 +581,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RegisterGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 03802d6e..1e1ad849 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -5,6 +5,7 @@ /// /// /// +/// /// /// /// @@ -52,6 +53,7 @@ declare var PlayFab: { AuthenticationApi: PlayFabAuthenticationModule.IPlayFabAuthentication; CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; DataApi: PlayFabDataModule.IPlayFabData; + EconomyApi: PlayFabEconomyModule.IPlayFabEconomy; EventsApi: PlayFabEventsModule.IPlayFabEvents; ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; InsightsApi: PlayFabInsightsModule.IPlayFabInsights; @@ -69,6 +71,7 @@ declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthentication; declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; declare var PlayFabDataSDK: PlayFabDataModule.IPlayFabData; +declare var PlayFabEconomySDK: PlayFabEconomyModule.IPlayFabEconomy; declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index d6b6c6a1..981d26fc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -99,6 +99,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 }): void; + /** + * Deletes a player's subscription + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemembershipsubscription + */ + DeleteMembershipSubscription(request: PlayFabAdminModels.DeleteMembershipSubscriptionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a relationship between a title and an OpenID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteopenidconnection @@ -473,6 +478,11 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * Sets the override expiration for a membership subscription + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/setmembershipoverride + */ + SetMembershipOverride(request: PlayFabAdminModels.SetMembershipOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/setplayersecret @@ -1660,6 +1670,22 @@ declare module PlayFabAdminModels { } + 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 }; + /** Id of the membership to apply the override expiration date to. */ + MembershipId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** Id of the subscription that should be deleted from the membership. */ + SubscriptionId: string; + + } + + export interface DeleteMembershipSubscriptionResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface DeleteOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** unique name of the connection */ ConnectionId: string; @@ -2364,7 +2390,7 @@ declare module PlayFabAdminModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2384,6 +2410,23 @@ declare module PlayFabAdminModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" + | "TitleConstraintsPublisherDeletion" + | "InvalidPlayerAccountPoolId" + | "PlayerAccountPoolNotFound" + | "PlayerAccountPoolDeleted" + | "TitleCleanupInProgress" + | "AzureResourceManagerNotSupportedInStamp" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2405,9 +2448,15 @@ declare module PlayFabAdminModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" + | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionHandleInvalid" + | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2460,9 +2509,11 @@ declare module PlayFabAdminModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2485,6 +2536,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2498,7 +2550,31 @@ declare module PlayFabAdminModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" + | "SnapshotNotFound" + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound" + | "EventSinkConnectionInvalid" + | "EventSinkConnectionUnauthorized" + | "EventSinkRegionInvalid" + | "OperationCanceled"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -2827,6 +2903,8 @@ declare module PlayFabAdminModels { export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { /** The name of the policy read. */ PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; /** The statements in the requested policy. */ Statements?: PermissionStatement[]; @@ -3289,8 +3367,6 @@ declare module PlayFabAdminModels { } export interface LinkedUserAccountSegmentFilter { - /** Login provider comparison. */ - Comparison?: string; /** Login provider. */ LoginProvider?: string; @@ -3632,7 +3708,11 @@ declare module PlayFabAdminModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4551,6 +4631,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount"; export interface SegmentModel { + /** ResourceId of Segment resource */ + AzureResourceId?: string; /** Segment description. */ Description?: string; /** Segment actions for current entered segment players. */ @@ -4615,6 +4697,22 @@ declare module PlayFabAdminModels { } + 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 }; + /** Expiration time for the membership in DateTime format, will override any subscription expirations. */ + ExpirationTime: string; + /** Id of the membership to apply the override expiration date to. */ + MembershipId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface SetMembershipOverrideResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -4672,17 +4770,28 @@ declare module PlayFabAdminModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of azure resource */ + AzureResourceId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** Id of azure resource */ + AzureResourceId?: string; } @@ -4691,11 +4800,8 @@ declare module PlayFabAdminModels { Credential: string; /** for APNS, this is the PlatformPrincipal (SSL Certificate) */ Key?: string; - /** - * name of the application sending the message (application names must be made up of only uppercase and lowercase ASCII - * letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long) - */ - Name: string; + /** This field is deprecated and any usage of this will cause the API to fail. */ + Name?: string; /** * replace any existing ARN with the newly generated one. If this is set to false, an error will be returned if * notifications have already setup for this platform. @@ -5040,6 +5146,8 @@ declare module PlayFabAdminModels { OverwritePolicy: boolean; /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ 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. */ Statements: PermissionStatement[]; @@ -5226,8 +5334,6 @@ declare module PlayFabAdminModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5354,7 +5460,6 @@ declare module PlayFabAdminModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5430,14 +5535,6 @@ declare module PlayFabAdminModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 163bf7f2..e742b56e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -103,6 +103,8 @@ declare module PlayFabAuthenticationModels { IdentifiedDeviceType?: string; /** The identity provider for this entity, for the given login */ IdentityProvider?: string; + /** The ID issued by the identity provider, e.g. a XUID on Xbox Live */ + IdentityProviderIssuedId?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index b1b70ba7..c866daef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -82,6 +82,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab + * items + * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements + */ + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements @@ -398,11 +404,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Requests a challenge from the server to be signed by Windows Hello Passport service to authenticate. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/getwindowshellochallenge - */ - GetWindowsHelloChallenge(request: PlayFabClientModels.GetWindowsHelloChallengeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. @@ -435,7 +436,10 @@ declare module PlayFabClientModule { */ LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account + * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with + * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters + * in this request. It is recommended you require these parameters on all Game Center calls by going to the Apple Add-ons + * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -485,11 +489,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Link Windows Hello authentication to the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkwindowshello - */ - LinkWindowsHello(request: PlayFabClientModels.LinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount @@ -534,7 +533,10 @@ declare module PlayFabClientModule { LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be - * used for API calls which require an authenticated user + * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not + * include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters in this request. It is recommended you + * require these parameters on all Game Center calls by going to the Apple Add-ons page in the PlayFab Game Manager and + * enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -596,14 +598,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Completes the Windows Hello login flow by returning the signed value of the challange from GetWindowsHelloChallenge. - * Windows Hello has a 2 step client to server authentication scheme. Step one is to request from the server a challenge - * string. Step two is to request the user sign the string via Windows Hello and then send the signed value back to the - * server. - * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithwindowshello - */ - LoginWithWindowsHello(request: PlayFabClientModels.LoginWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user @@ -658,12 +652,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Registers a new PlayFab user account using Windows Hello authentication, returning a session ticket that can - * subsequently be used for API calls which require an authenticated user - * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerwithwindowshello - */ - RegisterWithWindowsHello(request: PlayFabClientModels.RegisterWithWindowsHelloRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail @@ -825,11 +813,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Unlink Windows Hello authentication from the current PlayFab Account - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkwindowshello - */ - UnlinkWindowsHello(request: PlayFabClientModels.UnlinkWindowsHelloAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount @@ -1366,6 +1349,22 @@ declare module PlayFabClientModels { } + export interface ConsumePS5EntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Catalog version to use */ + CatalogVersion?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Marketplace specific payload containing details to fetch in app purchase transactions */ + MarketplaceSpecificData: PlayStation5Payload; + + } + + export interface ConsumePS5EntitlementsResult extends PlayFabModule.IPlayFabResultCommon { + /** Details for the items purchased. */ + Items?: ItemInstance[]; + + } + export interface ConsumePSNEntitlementsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Which catalog to match granted entitlements against. If null, defaults to title default catalog */ CatalogVersion?: string; @@ -2372,8 +2371,6 @@ declare module PlayFabClientModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ StatisticName: string; @@ -2715,7 +2712,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -2964,23 +2961,6 @@ declare module PlayFabClientModels { } - export interface GetWindowsHelloChallengeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 GetWindowsHelloChallengeResponse extends PlayFabModule.IPlayFabResultCommon { - /** Server generated challenge to be signed by the user. */ - Challenge?: string; - - } - export interface GooglePlayFabIdPair { /** Unique Google identifier for a user. */ GoogleId?: string; @@ -3162,7 +3142,10 @@ declare module PlayFabClientModels { export interface LinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** If another user is already linked to the account, unlink the other user and re-link. */ + /** + * If another user is already linked to the account, unlink the other user and re-link. If the current user is already + * linked, link both accounts + */ ForceLink?: boolean; /** Game Center identifier for the player account to be linked. */ GameCenterId: string; @@ -3187,7 +3170,10 @@ declare module PlayFabClientModels { export interface LinkGoogleAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** If another user is already linked to the account, unlink the other user and re-link. */ + /** + * If another user is already linked to the account, unlink the other user and re-link. If the current user is already + * linked, link both accounts + */ ForceLink?: boolean; /** * Server authentication code obtained on the client by calling getServerAuthCode() @@ -3284,7 +3270,7 @@ declare module PlayFabClientModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -3326,24 +3312,6 @@ declare module PlayFabClientModels { } - export interface LinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** If another user is already linked to the account, unlink the other user and re-link. */ - ForceLink?: boolean; - /** PublicKey generated by Windows Hello. */ - PublicKey: string; - /** Player's user named used by Windows Hello. */ - UserName: string; - - } - - export interface LinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3758,7 +3726,7 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; @@ -3817,23 +3785,6 @@ declare module PlayFabClientModels { } - export interface LoginWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The signed response from the user for the Challenge. */ - ChallengeSignature: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: 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 LoginWithXboxRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4071,7 +4022,11 @@ declare module PlayFabClientModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4159,6 +4114,14 @@ declare module PlayFabClientModels { } + export interface PlayStation5Payload { + /** An optional list of entitlement ids to query against PSN */ + Ids?: string[]; + /** Id of the PSN service label to consume entitlements from */ + ServiceLabel?: string; + + } + export interface PSNAccountPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ PlayFabId?: string; @@ -4240,7 +4203,7 @@ declare module PlayFabClientModels { export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code returned by PSN OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Redirect URI supplied to PSN when requesting an auth code */ RedirectUri: string; @@ -4329,29 +4292,6 @@ declare module PlayFabClientModels { } - export interface RegisterWithWindowsHelloRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Device name. */ - DeviceName?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ - EncryptedRequest?: string; - /** Flags for which pieces of info to return for the user. */ - InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ - PlayerSecret?: string; - /** PublicKey generated by Windows Hello. */ - PublicKey?: 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; - /** Player's user name used by Windows Hello. */ - UserName?: string; - - } - export interface RemoveContactEmailRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4984,18 +4924,6 @@ declare module PlayFabClientModels { } - export interface UnlinkWindowsHelloAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** SHA256 hash of the PublicKey generated by Windows Hello. */ - PublicKeyHint: string; - - } - - export interface UnlinkWindowsHelloAccountResponse extends PlayFabModule.IPlayFabResultCommon { - - } - export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5223,8 +5151,6 @@ declare module PlayFabClientModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5351,7 +5277,6 @@ declare module PlayFabClientModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5431,14 +5356,6 @@ declare module PlayFabClientModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 5eeab994..ba479e6d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -16,6 +16,11 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executefunction */ ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets registered Azure Functions for a given title id and function name. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/getfunction + */ + GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists all currently registered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions @@ -81,6 +86,22 @@ declare module PlayFabCloudScriptModels { } + export interface AzureResourceSystemData { + /** The timestamp of resource creation (UTC) */ + CreatedAt?: string; + /** The identity that created the resource */ + CreatedBy?: string; + /** The type of identity that created the resource */ + CreatedByType?: string; + /** The type of identity that last modified the resource */ + LastModifiedAt?: string; + /** The identity that last modified the resource */ + LastModifiedBy?: string; + /** The type of identity that last modified the resource */ + LastModifiedByType?: string; + + } + type CloudScriptRevisionOption = "Live" | "Latest" | "Specific"; @@ -486,11 +507,37 @@ declare module PlayFabCloudScriptModels { } + export interface GetFunctionRequest 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 name of the function to register */ + FunctionName: string; + /** The Id of the parent Title */ + TitleId?: string; + + } + + export interface GetFunctionResult extends PlayFabModule.IPlayFabResultCommon { + /** The connection string for the storage account containing the queue for a queue trigger Azure Function. */ + ConnectionString?: string; + /** The URL to be invoked to execute an HTTP triggered function. */ + FunctionUrl?: string; + /** The name of the queue for a queue trigger Azure Function. */ + QueueName?: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; + /** The trigger type for the function. */ + TriggerType?: string; + + } + export interface HttpFunctionModel { /** The name the function was registered under. */ FunctionName?: string; /** The URL of the function. */ FunctionUrl?: string; + /** The System data of the Azure Resource */ + SystemData?: AzureResourceSystemData; } @@ -509,6 +556,8 @@ declare module PlayFabCloudScriptModels { export interface ListFunctionsRequest 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 Id of the parent Title */ + TitleId?: string; } @@ -613,7 +662,11 @@ declare module PlayFabCloudScriptModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -727,20 +780,30 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The name of the queue that triggers the Azure Function. */ QueueName?: string; + /** The System data of the Azure Resource */ + SystemData?: AzureResourceSystemData; } export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the Azure Resource */ + AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; /** Full URL for Azure Function that implements the function. */ FunctionUrl: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; + /** The Id of the parent Title */ + TitleId?: string; } export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The Id of the Azure Resource */ + AzureResourceId?: string; /** A connection string for the storage account that hosts the queue for the Azure Function. */ ConnectionString: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -749,6 +812,10 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** The name of the queue for the Azure Function. */ QueueName: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; + /** The Id of the parent Title */ + TitleId?: string; } @@ -814,8 +881,10 @@ declare module PlayFabCloudScriptModels { export interface UnregisterFunctionRequest 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 name of the function to unregister */ + /** The name of the function to register */ FunctionName: string; + /** The Id of the parent Title */ + TitleId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index 186762f6..9c817922 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -121,7 +121,7 @@ declare module PlayFabDataModels { } export interface GetFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Download URL where the file can be retrieved */ DownloadUrl?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts new file mode 100644 index 00000000..fe84dc4b --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -0,0 +1,824 @@ +/// + +declare module PlayFabEconomyModule { + export interface IPlayFabEconomy { + ForgetAllCredentials(): void; + + /** + * Creates a new item in the working catalog using provided metadata. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem + */ + CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates one or more upload URLs which can be used by the client to upload raw file data. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls + */ + CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews + */ + DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Removes an item from working catalog and all published versions from the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem + */ + DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the configuration for the catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig + */ + GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves an item from the working catalog. This item represents the current working state of the item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem + */ + GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves a paginated list of the items from the draft catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems + */ + GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves a paginated list of the items from the draft catalog created by the Entity. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems + */ + GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the submitted review for the specified item by the authenticated entity. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview + */ + GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves an item from the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem + */ + GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the moderation state for an item, including the concern category and string reason. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate + */ + GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the status of a publish of an item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus + */ + GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a paginated set of reviews associated with the specified item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews + */ + GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a summary of all reviews associated with the specified item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary + */ + GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Initiates a publish of an item from the working catalog to the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem + */ + PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a report for an item, indicating in what way the item is inappropriate. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem + */ + ReportItem(request: PlayFabEconomyModels.ReportItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a report for a review + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview + */ + ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates or updates a review for the specified item. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem + */ + ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Executes a search against the public catalog using the provided search parameters and returns a set of paginated + * results. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems + */ + SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Sets the moderation state for an item, including the concern category and string reason. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate + */ + SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a vote for a review, indicating whether the review was helpful or unhelpful. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote + */ + SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Submit a request to takedown one or more reviews. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews + */ + TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates the configuration for the catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig + */ + UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update the metadata for an item in the working catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem + */ + UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + + } +} + +declare module PlayFabEconomyModels { + export interface CatalogAlternateId { + /** Type of the alternate ID. */ + Type?: string; + /** Value of the alternate ID. */ + Value?: string; + + } + + export interface CatalogConfig { + /** A list of player entity keys that will have admin permissions. */ + AdminEntities?: EntityKey[]; + /** A list of display properties to index. */ + DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; + /** Flag defining whether catalog is enabled. */ + IsCatalogEnabled: boolean; + /** A set of player entity keys that are allowed to review content. */ + ReviewerEntities?: EntityKey[]; + /** The set of configuration that only applies to user generated contents. */ + UserGeneratedContent?: UserGeneratedContentSpecificConfig; + + } + + export interface CatalogItem { + /** The alternate IDs associated with this item. */ + AlternateIds?: CatalogAlternateId[]; + /** The set of contents associated with this item. */ + Contents?: Content[]; + /** The client-defined type of the item. */ + ContentType?: string; + /** The date and time when this item was created. */ + CreationDate?: string; + /** The ID of the creator of this catalog item. */ + CreatorEntity?: EntityKey; + /** + * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is + * required. + */ + Description?: { [key: string]: string | null }; + /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ + DisplayProperties?: any; + /** The user provided version of the item for display purposes. */ + DisplayVersion?: string; + /** The date of when the item will cease to be available. If not provided then the product will be available indefinitely. */ + EndDate?: string; + /** The current ETag value that can be used for optimistic concurrency in the If-None-Match header. */ + ETag?: string; + /** The unique ID of the item. */ + Id?: string; + /** The images associated with this item. Images can be thumbnails or screenshots. */ + Images?: Image[]; + /** Indicates if the item is hidden. */ + IsHidden?: boolean; + /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ + Keywords?: { [key: string]: KeywordSet }; + /** The date and time this item was last updated. */ + LastModifiedDate?: string; + /** The moderation state for this item. */ + Moderation?: ModerationState; + /** Rating summary for this item. */ + Rating?: Rating; + /** The date of when the item will be available. If not provided then the product will appear immediately. */ + StartDate?: string; + /** The list of tags that are associated with this item. */ + Tags?: string[]; + /** + * A dictionary of localized titles. Key is language code and localized string is the value. The neutral locale is + * required. + */ + Title?: { [key: string]: string | null }; + /** The high-level type of the item. */ + Type?: string; + + } + + type ConcernCategory = "None" + | "OffensiveContent" + | "ChildExploitation" + | "MalwareOrVirus" + | "PrivacyConcerns" + | "MisleadingApp" + | "PoorPerformance" + | "ReviewResponse" + | "SpamAdvertising" + | "Profanity"; + + export interface Content { + /** The content unique ID. */ + Id?: string; + /** The maximum client version that this content is compatible with. */ + MaxClientVersion?: string; + /** The minimum client version that this content is compatible with. */ + MinClientVersion?: string; + /** The Azure CDN URL for retrieval of the catalog item binary content. */ + Url?: string; + + } + + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Metadata describing the new catalog item to be created. */ + Item?: CatalogItem; + /** Whether the item should be published immediately. */ + Publish: boolean; + + } + + export interface CreateDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** Updated metadata describing the catalog item just created. */ + Item?: CatalogItem; + + } + + export interface CreateUploadUrlsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Description of the files to be uploaded by the client. */ + Files?: UploadInfo[]; + + } + + export interface CreateUploadUrlsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of URLs metadata for the files to be uploaded by the client. */ + UploadUrls?: UploadUrlMetadata[]; + + } + + export interface DeleteEntityItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface DeleteEntityItemReviewsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface DeleteItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DisplayPropertyIndexInfo { + /** The property name in the 'DisplayProperties' property to be indexed. */ + Name?: string; + /** The type of the property to be indexed. */ + Type?: string; + + } + + type DisplayPropertyType = "None" + | "QueryDateTime" + | "QueryDouble" + | "QueryString" + | "SearchString"; + + 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 GetCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetCatalogConfigResponse extends PlayFabModule.IPlayFabResultCommon { + /** The catalog configuration. */ + Config?: CatalogConfig; + + } + + export interface GetDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** Full metadata of the catalog item requested. */ + Item?: CatalogItem; + + } + + export interface GetDraftItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** List of item alternate IDs. */ + AlternateIds?: CatalogAlternateId[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** List of Item Ids. */ + Ids?: string[]; + + } + + export interface GetDraftItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** A set of items created by the entity. */ + Items?: CatalogItem[]; + + } + + export interface GetEntityDraftItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * An opaque token used to retrieve the next page of items created by the caller, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 10. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface GetEntityDraftItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** A set of items created by the entity. */ + Items?: CatalogItem[]; + + } + + export interface GetEntityItemReviewRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetEntityItemReviewResponse extends PlayFabModule.IPlayFabResultCommon { + /** The review the entity submitted for the requested item. */ + Review?: Review; + + } + + export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemModerationStateResponse extends PlayFabModule.IPlayFabResultCommon { + /** The current moderation state for the requested item. */ + State?: ModerationState; + + } + + export interface GetItemPublishStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemPublishStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** Scan results for any items that failed content scans. */ + FailedScanResults?: ScanResult[]; + /** High level status of the published item. */ + Result?: string; + /** Descriptive message about the current status of the publish. */ + StatusMessage?: string; + + } + + export interface GetItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** The item result. */ + Item?: CatalogItem; + + } + + export interface GetItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 200. If not specified, defaults to 10. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + /** An OData orderBy used to order the results of the query. */ + OrderBy?: string; + + } + + export interface GetItemReviewsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The paginated set of results. */ + Reviews?: Review[]; + + } + + export interface GetItemReviewSummaryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemReviewSummaryResponse extends PlayFabModule.IPlayFabResultCommon { + /** The least favorable review for this item. */ + LeastFavorableReview?: Review; + /** The most favorable review for this item. */ + MostFavorableReview?: Review; + /** The summary of ratings associated with this item. */ + Rating?: Rating; + /** The total number of reviews associated with this item. */ + ReviewsCount: number; + + } + + type HelpfulnessVote = "None" + | "UnHelpful" + | "Helpful"; + + export interface Image { + /** The image unique ID. */ + Id?: string; + /** The client-defined type of this image. */ + Type?: string; + /** The URL for retrieval of the image. */ + Url?: string; + + } + + export interface KeywordSet { + /** A list of localized keywords. */ + Values?: string[]; + + } + + export interface ModerationState { + /** The date and time this moderation state was last updated. */ + LastModifiedDate?: string; + /** The current stated reason for the associated item being moderated. */ + Reason?: string; + /** The current moderation status for the associated item. */ + Status?: string; + + } + + type ModerationStatus = "Unknown" + | "AwaitingModeration" + | "Approved" + | "Rejected"; + + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** + * ETag of the catalog item to published from the working catalog to the public catalog. Used for optimistic concurrency. + * If the provided ETag does not match the ETag in the current working catalog, the request will be rejected. If not + * provided, the current version of the document in the working catalog will be published. + */ + ETag?: string; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface PublishDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + type PublishResult = "Unknown" + | "Pending" + | "Succeeded" + | "Failed" + | "Canceled"; + + export interface Rating { + /** The average rating for this item. */ + Average?: number; + /** The total count of 1 star ratings for this item. */ + Count1Star?: number; + /** The total count of 2 star ratings for this item. */ + Count2Star?: number; + /** The total count of 3 star ratings for this item. */ + Count3Star?: number; + /** The total count of 4 star ratings for this item. */ + Count4Star?: number; + /** The total count of 5 star ratings for this item. */ + Count5Star?: number; + /** The total count of ratings for this item. */ + TotalCount?: number; + + } + + export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** Category of concern for this report. */ + ConcernCategory?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + /** The string reason for this report. */ + Reason?: string; + + } + + export interface ReportItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface ReportItemReviewRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID of the item associated with the review. */ + AlternateId?: CatalogAlternateId; + /** The reason this review is being reported. */ + ConcernCategory?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The string ID of the item associated with the review. */ + ItemId?: string; + /** The string reason for this report. */ + Reason?: string; + /** The ID of the review to submit a report for. */ + ReviewId?: string; + + } + + export interface ReportItemReviewResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface Review { + /** The number of negative helpfulness votes for this review. */ + HelpfulNegative: number; + /** Total number of helpfulness votes for this review. */ + HelpfulnessVotes: number; + /** The number of positive helpfulness votes for this review. */ + HelpfulPositive: number; + /** Indicates whether the review author has the item installed. */ + IsInstalled: boolean; + /** The ID of the item being reviewed. */ + ItemId?: string; + /** The version of the item being reviewed. */ + ItemVersion?: string; + /** The locale for which this review was submitted in. */ + Locale?: string; + /** Star rating associated with this review. */ + Rating: number; + /** The ID of the author of the review. */ + ReviewerId?: string; + /** The ID of the review. */ + ReviewId?: string; + /** The full text of this review. */ + ReviewText?: string; + /** The date and time this review was last submitted. */ + Submitted: string; + /** The title of this review. */ + Title?: string; + + } + + export interface ReviewItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + /** The review to submit. */ + Review?: Review; + + } + + export interface ReviewItemResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface ReviewTakedown { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The ID of the item associated with the review to take down. */ + ItemId?: string; + /** The ID of the review to take down. */ + ReviewId?: string; + + } + + export interface ScanResult { + /** The URL of the item which failed the scan. */ + Url?: string; + + } + + export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 225. Default value is 10. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** An OData filter used to refine the search query. */ + Filter?: string; + /** An OData orderBy used to order the results of the search query. */ + OrderBy?: string; + /** The text to search for. */ + Search?: string; + /** + * An OData select query option used to augment the search results. If not defined, the default search result metadata will + * be returned. + */ + Select?: string; + + } + + export interface SearchItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The paginated set of results for the search query. */ + Items?: CatalogItem[]; + + } + + export interface SetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The unique ID of the item. */ + Id?: string; + /** The reason for the moderation state change for the associated item. */ + Reason?: string; + /** The status to set for the associated item. */ + Status?: string; + + } + + export interface SetItemModerationStateResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface SubmitItemReviewVoteRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID of the item associated with the review. */ + AlternateId?: CatalogAlternateId; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The string ID of the item associated with the review. */ + ItemId?: string; + /** The ID of the review to submit a helpfulness vote for. */ + ReviewId?: string; + /** The helpfulness vote of the review. */ + Vote?: string; + + } + + export interface SubmitItemReviewVoteResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface TakedownItemReviewsRequest 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 set of reviews to take down. */ + Reviews?: ReviewTakedown[]; + + } + + export interface TakedownItemReviewsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The updated catalog configuration. */ + Config?: CatalogConfig; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface UpdateCatalogConfigResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface UpdateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Updated metadata describing the catalog item to be updated. */ + Item?: CatalogItem; + /** Whether the item should be published immediately. */ + Publish: boolean; + + } + + export interface UpdateDraftItemResponse extends PlayFabModule.IPlayFabResultCommon { + /** Updated metadata describing the catalog item just updated. */ + Item?: CatalogItem; + + } + + export interface UploadInfo { + /** Name of the file to be uploaded. */ + FileName?: string; + + } + + export interface UploadUrlMetadata { + /** Name of the file for which this upload URL was requested. */ + FileName?: string; + /** Unique ID for the binary content to be uploaded to the target URL. */ + Id?: string; + /** URL for the binary content to be uploaded to. */ + Url?: string; + + } + + export interface UserGeneratedContentSpecificConfig { + /** The set of content types that will be used for validation and if no values are provided then anything is allowed. */ + ContentTypes?: string[]; + /** The set of tags that will be used for validation and if no values are provided then anything is allowed. */ + Tags?: string[]; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index cca5d55b..562eef85 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -138,8 +138,8 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional. Type of the entity to accept as. If specified, must be the same entity as the claimant or an entity that is a - * child of the claimant entity. Defaults to the claimant entity. + * Type of the entity to accept as. Must be the same entity as the claimant or an entity that is a child of the claimant + * entity. */ Entity: EntityKey; /** The identifier of the group */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90952e21..11e351c8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -67,6 +67,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Creates a request to change a title's multiplayer server quotas. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange + */ + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset @@ -108,7 +113,14 @@ declare module PlayFabMultiplayerModule { */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Gets the URL to upload assets to. + * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl + */ + GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the URL to upload assets to. A sample pre-authenticated url - + * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -177,6 +189,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets a title's server quota change request. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange + */ + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas @@ -202,7 +219,7 @@ declare module PlayFabMultiplayerModule { * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.MultiplayerEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. @@ -255,6 +272,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * List all server quota change requests for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges + */ + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries @@ -296,6 +318,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Updates a multiplayer server build's name. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname + */ + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion @@ -365,11 +392,14 @@ declare module PlayFabMultiplayerModels { | "SoutheastAsia" | "WestEurope" | "WestUs" - | "ChinaEast2" - | "ChinaNorth2" | "SouthAfricaNorth" - | "CentralUsEuap" - | "WestCentralUs"; + | "WestCentralUs" + | "KoreaCentral" + | "FranceCentral" + | "WestUs2" + | "CentralIndia" + | "UaeNorth" + | "UkSouth"; type AzureVmFamily = "A" | "Av2" @@ -382,7 +412,13 @@ declare module PlayFabMultiplayerModels { | "Eav4" | "Easv4" | "Ev4" - | "Esv4"; + | "Esv4" + | "Dsv3" + | "Dsv2" + | "NCasT4_v3" + | "Ddv4" + | "Ddsv4" + | "HBv3"; type AzureVmSize = "Standard_A1" | "Standard_A2" @@ -417,7 +453,38 @@ declare module PlayFabMultiplayerModels { | "Standard_D2a_v4" | "Standard_D4a_v4" | "Standard_D8a_v4" - | "Standard_D16a_v4"; + | "Standard_D16a_v4" + | "Standard_E2a_v4" + | "Standard_E4a_v4" + | "Standard_E8a_v4" + | "Standard_E16a_v4" + | "Standard_E2as_v4" + | "Standard_E4as_v4" + | "Standard_E8as_v4" + | "Standard_E16as_v4" + | "Standard_D2s_v3" + | "Standard_D4s_v3" + | "Standard_D8s_v3" + | "Standard_D16s_v3" + | "Standard_DS1_v2" + | "Standard_DS2_v2" + | "Standard_DS3_v2" + | "Standard_DS4_v2" + | "Standard_DS5_v2" + | "Standard_NC4as_T4_v3" + | "Standard_D2d_v4" + | "Standard_D4d_v4" + | "Standard_D8d_v4" + | "Standard_D16d_v4" + | "Standard_D2ds_v4" + | "Standard_D4ds_v4" + | "Standard_D8ds_v4" + | "Standard_D16ds_v4" + | "Standard_HB120_16rs_v3" + | "Standard_HB120_32rs_v3" + | "Standard_HB120_64rs_v3" + | "Standard_HB120_96rs_v3" + | "Standard_HB120rs_v3"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -426,10 +493,6 @@ declare module PlayFabMultiplayerModels { AliasName?: string; /** Array of build selection criteria. */ BuildSelectionCriteria?: BuildSelectionCriterion[]; - /** The page size on the response. */ - PageSize: number; - /** The skip token for the paged response. */ - SkipToken?: string; } @@ -446,6 +509,8 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region?: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ @@ -457,6 +522,8 @@ declare module PlayFabMultiplayerModels { * Unhealthy, Deleting, Deleted. */ Status?: string; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } @@ -465,12 +532,16 @@ declare module PlayFabMultiplayerModels { DynamicStandbySettings?: DynamicStandbySettings; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; + /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ + MultiplayerServerCountPerVm?: number; /** The build region. */ Region: string; /** Optional settings to set the standby target to specified values during the supplied schedules */ ScheduledStandbySettings?: ScheduledStandbySettings; /** The number of standby multiplayer servers for the region. */ StandbyServers: number; + /** Regional override for the VM size the build was created on. */ + VmSize?: string; } @@ -606,6 +677,16 @@ declare module PlayFabMultiplayerModels { } + export interface CoreCapacityChange { + /** New quota core limit for the given vm family/region. */ + NewCoreLimit: number; + /** Region to change. */ + Region: string; + /** Virtual machine family to change. */ + VmFamily: string; + + } + export interface CreateBuildAliasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The alias name. */ AliasName: string; @@ -989,6 +1070,30 @@ declare module PlayFabMultiplayerModels { } + export interface CreateTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Changes to make to the titles cores quota. */ + Changes: CoreCapacityChange[]; + /** Email to be contacted by our team about this request. Only required when a request is not approved. */ + ContactEmail?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** When these changes would need to be in effect. Only required when a request is not approved. */ + StartDate?: string; + + } + + export interface CreateTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** Id of the change request that was created. */ + RequestId?: string; + /** Determines if the request was approved or not. When false, our team is reviewing and may respond within 2 business days. */ + WasApproved: boolean; + + } + export interface CurrentServerStats { /** The number of active multiplayer servers. */ Active: number; @@ -1216,6 +1321,22 @@ declare module PlayFabMultiplayerModels { } + export interface GetAssetDownloadUrlRequest 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 asset's file name to get the download URL for. */ + FileName: string; + + } + + export interface GetAssetDownloadUrlResponse extends PlayFabModule.IPlayFabResultCommon { + /** The asset's download URL. */ + AssetDownloadUrl?: string; + /** The asset's file name to get the download URL for. */ + FileName?: string; + + } + export interface GetAssetUploadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1427,6 +1548,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -1557,6 +1680,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetTitleMultiplayerServersQuotaChangeRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Id of the change request to get. */ + RequestId: string; + + } + + export interface GetTitleMultiplayerServersQuotaChangeResponse extends PlayFabModule.IPlayFabResultCommon { + /** The change request for this title. */ + Change?: QuotaChange; + + } + export interface GetTitleMultiplayerServersQuotasRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1570,10 +1707,12 @@ declare module PlayFabMultiplayerModels { } export interface InstrumentationConfiguration { + /** Designates whether windows instrumentation configuration will be enabled for this Build */ + IsEnabled?: boolean; /** - * The list of processes to be monitored on a VM for this build. Providing processes will turn on performance metrics - * collection for this build. Process names should not include extensions. If the game server process is: GameServer.exe; - * then, ProcessesToMonitor = [ GameServer ] + * This property is deprecated, use IsEnabled. The list of processes to be monitored on a VM for this build. Providing + * processes will turn on performance metrics collection for this build. Process names should not include extensions. If + * the game server process is: GameServer.exe; then, ProcessesToMonitor = [ GameServer ] */ ProcessesToMonitor?: string[]; @@ -1669,9 +1808,23 @@ declare module PlayFabMultiplayerModels { } - export interface ListBuildAliasesForTitleResponse extends PlayFabModule.IPlayFabResultCommon { + export interface ListBuildAliasesRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + export interface ListBuildAliasesResponse extends PlayFabModule.IPlayFabResultCommon { /** The list of build aliases for the title */ BuildAliases?: BuildAliasDetailsResponse[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } @@ -1854,6 +2007,18 @@ declare module PlayFabMultiplayerModels { } + export interface ListTitleMultiplayerServersQuotaChangesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListTitleMultiplayerServersQuotaChangesResponse extends PlayFabModule.IPlayFabResultCommon { + /** All change requests for this title. */ + Changes?: QuotaChange[]; + + } + export interface ListVirtualMachineSummariesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the virtual machines to list. */ BuildId: string; @@ -1984,12 +2149,6 @@ declare module PlayFabMultiplayerModels { } - export interface MultiplayerEmptyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; @@ -2052,6 +2211,24 @@ declare module PlayFabMultiplayerModels { } + export interface QuotaChange { + /** A brief description of the requested changes. */ + ChangeDescription?: string; + /** Requested changes to make to the titles cores quota. */ + Changes?: CoreCapacityChange[]; + /** Whether or not this request is pending a review. */ + IsPendingReview: boolean; + /** Additional information about this request that our team can use to better understand the requirements. */ + Notes?: string; + /** Id of the change request. */ + RequestId?: string; + /** Comments by our team when a request is reviewed. */ + ReviewComments?: string; + /** Whether or not this request was approved. */ + WasApproved: boolean; + + } + export interface RegionSelectionRule { /** * Controls how the Max Latency parameter expands over time. Only one expansion can be set per rule. When this is set, @@ -2116,6 +2293,8 @@ declare module PlayFabMultiplayerModels { } export interface RequestMultiplayerServerResponse extends PlayFabModule.IPlayFabResultCommon { + /** The identity of the build in which the server was allocated. */ + BuildId?: string; /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ @@ -2183,6 +2362,8 @@ declare module PlayFabMultiplayerModels { } export interface ServerDetails { + /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ + Fqdn?: string; /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The ports the multiplayer server uses. */ @@ -2242,12 +2423,8 @@ declare module PlayFabMultiplayerModels { } export interface ShutdownMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string build ID of the multiplayer server to delete. */ - BuildId: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The region of the multiplayer server to shut down. */ - Region: string; /** A guid string session ID of the multiplayer server to shut down. */ SessionId: string; @@ -2401,6 +2578,16 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateBuildNameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The guid string ID of the build we want to update the name of. */ + BuildId: string; + /** The build name. */ + BuildName: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UpdateBuildRegionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string ID of the build we want to update regions for. */ BuildId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 0b61b637..f04680ef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,7 +140,7 @@ declare module PlayFabProfilesModels { } export interface EntityProfileFileMetadata { - /** Checksum value for the file */ + /** Checksum value for the file, can be used to check if the file on the server has changed. */ Checksum?: string; /** Name of the file */ FileName?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 02f2bf12..cd7ee27f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -408,6 +408,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which + * require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid + */ + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -2235,7 +2241,7 @@ declare module PlayFabServerModels { | "EvaluationModePlayerCountExceeded" | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" - | "InsightsManagementTitleInEvaluationMode" + | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" | "EvaluationModeTitleCountExceeded" | "InsightsManagementTitleNotInFlight" @@ -2255,6 +2261,23 @@ declare module PlayFabServerModels { | "WasNotCreatedWithCloudRoot" | "LegacyMultiplayerServersDeprecated" | "VirtualCurrencyCurrentlyUnavailable" + | "SteamUserNotFound" + | "ElasticSearchOperationFailed" + | "NotImplemented" + | "PublisherNotFound" + | "PublisherDeleted" + | "ApiDisabledForMigration" + | "ResourceNameUpdateNotAllowed" + | "ApiNotEnabledForTitle" + | "DuplicateTitleNameForPublisher" + | "AzureTitleCreationInProgress" + | "DuplicateAzureResourceId" + | "TitleConstraintsPublisherDeletion" + | "InvalidPlayerAccountPoolId" + | "PlayerAccountPoolNotFound" + | "PlayerAccountPoolDeleted" + | "TitleCleanupInProgress" + | "AzureResourceManagerNotSupportedInStamp" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2276,9 +2299,15 @@ declare module PlayFabServerModels { | "MatchmakingQueueLimitExceeded" | "MatchmakingRequestTypeMismatch" | "MatchmakingBadRequest" + | "PubSubFeatureNotEnabledForTitle" + | "PubSubTooManyRequests" + | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionHandleInvalid" + | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" | "TitleConfigUpdateConflict" | "TitleConfigSerializationError" + | "CatalogApiNotImplemented" | "CatalogEntityInvalid" | "CatalogTitleIdMissing" | "CatalogPlayerIdMissing" @@ -2331,9 +2360,11 @@ declare module PlayFabServerModels { | "ExplorerBasicUpdateQueryError" | "ExplorerBasicSavedQueriesLimit" | "ExplorerBasicSavedQueryNotFound" + | "TenantShardMapperShardNotFound" | "TitleNotEnabledForParty" | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" + | "MultiplayerServerBuildReferencedByBuildAlias" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -2356,6 +2387,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInsufficientCapacity" | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" + | "ExperimentationExclusionGroupInvalidName" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2369,7 +2401,31 @@ declare module PlayFabServerModels { | "CreateSegmentRateLimitExceeded" | "UpdateSegmentRateLimitExceeded" | "GetSegmentsRateLimitExceeded" - | "SnapshotNotFound"; + | "AsyncExportNotInFlight" + | "AsyncExportNotFound" + | "AsyncExportRateLimitExceeded" + | "SnapshotNotFound" + | "InventoryApiNotImplemented" + | "LobbyDoesNotExist" + | "LobbyRateLimitExceeded" + | "LobbyPlayerAlreadyJoined" + | "LobbyNotJoinable" + | "LobbyMemberCannotRejoin" + | "LobbyCurrentPlayersMoreThanMaxPlayers" + | "LobbyPlayerNotPresent" + | "LobbyBadRequest" + | "LobbyPlayerMaxLobbyLimitExceeded" + | "LobbyNewOwnerMustBeConnected" + | "LobbyCurrentOwnerStillConnected" + | "LobbyMemberIsNotOwner" + | "EventSamplingInvalidRatio" + | "EventSamplingInvalidEventNamespace" + | "EventSamplingInvalidEventName" + | "EventSamplingRatioNotFound" + | "EventSinkConnectionInvalid" + | "EventSinkConnectionUnauthorized" + | "EventSinkRegionInvalid" + | "OperationCanceled"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2625,8 +2681,6 @@ declare module PlayFabServerModels { } export interface GetLeaderboardForUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Maximum number of entries to retrieve. */ - MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2929,7 +2983,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; @@ -3384,7 +3438,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to 256 (production) */ + /** Id of the PSN issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3499,6 +3553,18 @@ declare module PlayFabServerModels { } + export interface LoginWithSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Unique Steam identifier for a user */ + SteamId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3766,7 +3832,11 @@ declare module PlayFabServerModels { Created?: string; /** Player display name */ DisplayName?: string; - /** List of experiment variants for the player. */ + /** + * List of experiment variants for the player. Note that these variants are not guaranteed to be up-to-date when returned + * during login because the player profile is updated only after login. Instead, use the LoginResult.TreatmentAssignment + * property during login to get the correct variants and variables. + */ ExperimentVariants?: string[]; /** UTC time when the player most recently logged in to the title */ LastLogin?: string; @@ -4366,17 +4436,28 @@ declare module PlayFabServerModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of azure resource */ + AzureResourceId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { + /** Id of azure resource */ + AzureResourceId?: string; } @@ -4888,8 +4969,6 @@ declare module PlayFabServerModels { TwitchInfo?: UserTwitchInfo; /** User account name in the PlayFab service */ Username?: string; - /** Windows Hello account information, if a Windows Hello account has been linked */ - WindowsHelloInfo?: UserWindowsHelloInfo; /** User XBox account information, if a XBox account has been linked */ XboxInfo?: UserXboxInfo; @@ -5016,7 +5095,6 @@ declare module PlayFabServerModels { | "XboxLive" | "Parse" | "Twitch" - | "WindowsHello" | "ServerCustomId" | "NintendoSwitchDeviceId" | "FacebookInstantGamesId" @@ -5096,14 +5174,6 @@ declare module PlayFabServerModels { } - export interface UserWindowsHelloInfo { - /** Windows Hello Device Name */ - WindowsHelloDeviceName?: string; - /** Windows Hello Public Key Hash */ - WindowsHelloPublicKeyHash?: string; - - } - export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; From 7d7098af884c2ad02ce50b1fd359aff17f551b03 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Thu, 9 Dec 2021 21:43:04 +0000 Subject: [PATCH 136/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#211209 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 10 ++++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 24 +++++++++++++ .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 23 ++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 36 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 6 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++-- .../src/PlayFab/PlayFabClientApi.js | 6 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++-- .../src/PlayFab/PlayFabDataApi.js | 6 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 10 ++++-- .../src/PlayFab/PlayFabEventsApi.js | 6 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 6 ++-- .../src/PlayFab/PlayFabServerApi.js | 6 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 24 +++++++++++++ .../typings/PlayFab/PlayFabEconomyApi.d.ts | 23 ++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 36 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++++++++++ 39 files changed, 313 insertions(+), 91 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index acc29a0f..88e483f6 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.96.211108", + "version": "1.98.211209", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 8537d89a..3ebeb94c 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 05b20a1d..dce316ba 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 07fb4127..91092b21 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 39c5d2e7..ff902437 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5888ce68..7f635e7a 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 645e7f26..45523cb1 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviewSummary", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index cf4355de..4e09632c 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 15585bb1..69daf9bc 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e458c608..f4391974 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index e584cc9e..c04761fd 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index bd0558c9..d1412a67 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 68188374..62c57f5c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index f1564701..9b201169 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index dfac9028..a1744929 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0e13f3f1..1db03ce0 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.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 981d26fc..bccf988f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -840,6 +840,22 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" + export interface AzureResourceSystemData { + /** The timestamp of resource creation (UTC) */ + CreatedAt?: string; + /** The identity that created the resource */ + CreatedBy?: string; + /** The type of identity that created the resource */ + CreatedByType?: string; + /** The type of identity that last modified the resource */ + LastModifiedAt?: string; + /** The identity that last modified the resource */ + LastModifiedBy?: string; + /** The type of identity that last modified the resource */ + LastModifiedByType?: string; + + } + export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2426,7 +2442,13 @@ declare module PlayFabAdminModels { | "PlayerAccountPoolNotFound" | "PlayerAccountPoolDeleted" | "TitleCleanupInProgress" + | "AzureResourceConcurrentOperationInProgress" + | "TitlePublisherUpdateNotAllowed" | "AzureResourceManagerNotSupportedInStamp" + | "ApiNotIncludedInAzurePlayFabFeatureSet" + | "GoogleServiceAccountFailedAuth" + | "GoogleAPIServiceUnavailable" + | "GoogleAPIServiceUnknownError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4779,6 +4801,8 @@ declare module PlayFabAdminModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index fe84dc4b..d8c25e22 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -74,6 +74,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary */ GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves items from the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems + */ + GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem @@ -500,6 +505,24 @@ declare module PlayFabEconomyModels { } + export interface GetItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** List of item alternate IDs. */ + AlternateIds?: CatalogAlternateId[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** List of Item Ids. */ + Ids?: string[]; + + } + + export interface GetItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Metadata of set of items. */ + Items?: CatalogItem[]; + + } + type HelpfulnessVote = "None" | "UnHelpful" | "Helpful"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 11e351c8..8e1e3235 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -724,6 +724,8 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application on the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -766,6 +768,8 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application for the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -814,6 +818,8 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application on the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -859,6 +865,8 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application for the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -912,6 +920,8 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application on the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -967,6 +977,8 @@ declare module PlayFabMultiplayerModels { IsOSPreview?: boolean; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application for the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -2149,6 +2161,30 @@ declare module PlayFabMultiplayerModels { } + export interface MonitoringApplicationConfiguration { + /** Asset which contains the monitoring application files and scripts. */ + AssetReference: AssetReference; + /** Execution script name, this will be the main executable for the monitoring application. */ + ExecutionScriptName: string; + /** Installation script name, this will be run before the ExecutionScript. */ + InstallationScriptName?: string; + /** Timespan the monitoring application will be kept alive when running from the start of the VM */ + OnStartRuntimeInMinutes?: number; + + } + + export interface MonitoringApplicationConfigurationParams { + /** Asset which contains the monitoring application files and scripts. */ + AssetReference: AssetReferenceParams; + /** Execution script name, this will be the main executable for the monitoring application. */ + ExecutionScriptName: string; + /** Installation script name, this will be run before the ExecutionScript. */ + InstallationScriptName?: string; + /** Timespan the monitoring application will be kept alive when running from the start of the VM */ + OnStartRuntimeInMinutes?: number; + + } + export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index cd7ee27f..e82612d3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -880,6 +880,22 @@ declare module PlayFabServerModels { } + export interface AzureResourceSystemData { + /** The timestamp of resource creation (UTC) */ + CreatedAt?: string; + /** The identity that created the resource */ + CreatedBy?: string; + /** The type of identity that created the resource */ + CreatedByType?: string; + /** The type of identity that last modified the resource */ + LastModifiedAt?: string; + /** The identity that last modified the resource */ + LastModifiedBy?: string; + /** The type of identity that last modified the resource */ + LastModifiedByType?: string; + + } + export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2277,7 +2293,13 @@ declare module PlayFabServerModels { | "PlayerAccountPoolNotFound" | "PlayerAccountPoolDeleted" | "TitleCleanupInProgress" + | "AzureResourceConcurrentOperationInProgress" + | "TitlePublisherUpdateNotAllowed" | "AzureResourceManagerNotSupportedInStamp" + | "ApiNotIncludedInAzurePlayFabFeatureSet" + | "GoogleServiceAccountFailedAuth" + | "GoogleAPIServiceUnavailable" + | "GoogleAPIServiceUnknownError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4445,6 +4467,8 @@ declare module PlayFabServerModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 8537d89a..3ebeb94c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 05b20a1d..dce316ba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 07fb4127..91092b21 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 39c5d2e7..ff902437 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5888ce68..7f635e7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 645e7f26..45523cb1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -297,6 +297,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemReviewSummary", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index cf4355de..4e09632c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 15585bb1..69daf9bc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e458c608..f4391974 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index e584cc9e..c04761fd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index bd0558c9..d1412a67 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 68188374..62c57f5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index f1564701..9b201169 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index dfac9028..a1744929 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0e13f3f1..1db03ce0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.96.211108", + sdkVersion: "1.98.211209", requestGetParams: { - sdk: "JavaScriptSDK-1.96.211108" + sdk: "JavaScriptSDK-1.98.211209" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.96.211108"; +PlayFab.sdkVersion = "1.98.211209"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 981d26fc..bccf988f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -840,6 +840,22 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" + export interface AzureResourceSystemData { + /** The timestamp of resource creation (UTC) */ + CreatedAt?: string; + /** The identity that created the resource */ + CreatedBy?: string; + /** The type of identity that created the resource */ + CreatedByType?: string; + /** The type of identity that last modified the resource */ + LastModifiedAt?: string; + /** The identity that last modified the resource */ + LastModifiedBy?: string; + /** The type of identity that last modified the resource */ + LastModifiedByType?: string; + + } + export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2426,7 +2442,13 @@ declare module PlayFabAdminModels { | "PlayerAccountPoolNotFound" | "PlayerAccountPoolDeleted" | "TitleCleanupInProgress" + | "AzureResourceConcurrentOperationInProgress" + | "TitlePublisherUpdateNotAllowed" | "AzureResourceManagerNotSupportedInStamp" + | "ApiNotIncludedInAzurePlayFabFeatureSet" + | "GoogleServiceAccountFailedAuth" + | "GoogleAPIServiceUnavailable" + | "GoogleAPIServiceUnknownError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4779,6 +4801,8 @@ declare module PlayFabAdminModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index fe84dc4b..d8c25e22 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -74,6 +74,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary */ GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves items from the public catalog. + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems + */ + GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem @@ -500,6 +505,24 @@ declare module PlayFabEconomyModels { } + export interface GetItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** List of item alternate IDs. */ + AlternateIds?: CatalogAlternateId[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** List of Item Ids. */ + Ids?: string[]; + + } + + export interface GetItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** Metadata of set of items. */ + Items?: CatalogItem[]; + + } + type HelpfulnessVote = "None" | "UnHelpful" | "Helpful"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 11e351c8..8e1e3235 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -724,6 +724,8 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application on the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -766,6 +768,8 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application for the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -814,6 +818,8 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application on the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -859,6 +865,8 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application for the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -912,6 +920,8 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application on the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -967,6 +977,8 @@ declare module PlayFabMultiplayerModels { IsOSPreview?: boolean; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; + /** The configuration for the monitoring application for the build */ + MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -2149,6 +2161,30 @@ declare module PlayFabMultiplayerModels { } + export interface MonitoringApplicationConfiguration { + /** Asset which contains the monitoring application files and scripts. */ + AssetReference: AssetReference; + /** Execution script name, this will be the main executable for the monitoring application. */ + ExecutionScriptName: string; + /** Installation script name, this will be run before the ExecutionScript. */ + InstallationScriptName?: string; + /** Timespan the monitoring application will be kept alive when running from the start of the VM */ + OnStartRuntimeInMinutes?: number; + + } + + export interface MonitoringApplicationConfigurationParams { + /** Asset which contains the monitoring application files and scripts. */ + AssetReference: AssetReferenceParams; + /** Execution script name, this will be the main executable for the monitoring application. */ + ExecutionScriptName: string; + /** Installation script name, this will be run before the ExecutionScript. */ + InstallationScriptName?: string; + /** Timespan the monitoring application will be kept alive when running from the start of the VM */ + OnStartRuntimeInMinutes?: number; + + } + export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index cd7ee27f..e82612d3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -880,6 +880,22 @@ declare module PlayFabServerModels { } + export interface AzureResourceSystemData { + /** The timestamp of resource creation (UTC) */ + CreatedAt?: string; + /** The identity that created the resource */ + CreatedBy?: string; + /** The type of identity that created the resource */ + CreatedByType?: string; + /** The type of identity that last modified the resource */ + LastModifiedAt?: string; + /** The identity that last modified the resource */ + LastModifiedBy?: string; + /** The type of identity that last modified the resource */ + LastModifiedByType?: string; + + } + export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2277,7 +2293,13 @@ declare module PlayFabServerModels { | "PlayerAccountPoolNotFound" | "PlayerAccountPoolDeleted" | "TitleCleanupInProgress" + | "AzureResourceConcurrentOperationInProgress" + | "TitlePublisherUpdateNotAllowed" | "AzureResourceManagerNotSupportedInStamp" + | "ApiNotIncludedInAzurePlayFabFeatureSet" + | "GoogleServiceAccountFailedAuth" + | "GoogleAPIServiceUnavailable" + | "GoogleAPIServiceUnknownError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4445,6 +4467,8 @@ declare module PlayFabServerModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; + /** System Data of the Azure Resource */ + SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. From 76d1f0c8054de1519f2c535026cc07bd5e0c3dc3 Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 19 Jan 2022 00:45:56 +0000 Subject: [PATCH 137/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220118 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++----- .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 12 ++++++++++++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 9 ++++----- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++----- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 12 ++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 9 ++++----- 37 files changed, 161 insertions(+), 141 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 88e483f6..256c61d8 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.98.211209", + "version": "1.99.220118", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 3ebeb94c..e74f20ac 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index dce316ba..2c20a51b 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 91092b21..6d4f54eb 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ff902437..a44ea94d 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7f635e7a..866451d1 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 45523cb1..826ef2ba 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 4e09632c..4ec70306 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 69daf9bc..40630bd8 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f4391974..05d8edfa 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c04761fd..ebdb6364 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index d1412a67..2cc71d6a 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 62c57f5c..eb804fb8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9b201169..3fdaffa7 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index a1744929..5896439f 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1db03ce0..c9a8dd66 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.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index bccf988f..691b7434 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -867,8 +867,6 @@ declare module PlayFabAdminModels { Expires?: string; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** The MAC address on which the ban was applied. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ @@ -2436,7 +2434,6 @@ declare module PlayFabAdminModels { | "ApiNotEnabledForTitle" | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" | "TitleConstraintsPublisherDeletion" | "InvalidPlayerAccountPoolId" | "PlayerAccountPoolNotFound" @@ -2472,7 +2469,7 @@ declare module PlayFabAdminModels { | "MatchmakingBadRequest" | "PubSubFeatureNotEnabledForTitle" | "PubSubTooManyRequests" - | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionNotFoundForEntity" | "PubSubConnectionHandleInvalid" | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" @@ -2596,7 +2593,9 @@ declare module PlayFabAdminModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" - | "OperationCanceled"; + | "OperationCanceled" + | "InvalidDisplayNameRandomSuffixLength" + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8e1e3235..b9eae19d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -835,6 +835,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The crash dump configuration for the build. */ + WindowsCrashDumpConfiguration?: WindowsCrashDumpConfiguration; } @@ -2662,5 +2664,15 @@ declare module PlayFabMultiplayerModels { } + export interface WindowsCrashDumpConfiguration { + /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ + CustomDumpFlags?: number; + /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ + DumpType?: number; + /** Designates whether automatic crash dump capturing will be enabled for this Build. */ + IsEnabled: boolean; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e82612d3..2327c6f5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -907,8 +907,6 @@ declare module PlayFabServerModels { Expires?: string; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** The MAC address on which the ban was applied. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ @@ -2287,7 +2285,6 @@ declare module PlayFabServerModels { | "ApiNotEnabledForTitle" | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" | "TitleConstraintsPublisherDeletion" | "InvalidPlayerAccountPoolId" | "PlayerAccountPoolNotFound" @@ -2323,7 +2320,7 @@ declare module PlayFabServerModels { | "MatchmakingBadRequest" | "PubSubFeatureNotEnabledForTitle" | "PubSubTooManyRequests" - | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionNotFoundForEntity" | "PubSubConnectionHandleInvalid" | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" @@ -2447,7 +2444,9 @@ declare module PlayFabServerModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" - | "OperationCanceled"; + | "OperationCanceled" + | "InvalidDisplayNameRandomSuffixLength" + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 3ebeb94c..e74f20ac 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index dce316ba..2c20a51b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 91092b21..6d4f54eb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ff902437..a44ea94d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7f635e7a..866451d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 45523cb1..826ef2ba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4e09632c..4ec70306 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 69daf9bc..40630bd8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f4391974..05d8edfa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c04761fd..ebdb6364 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index d1412a67..2cc71d6a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 62c57f5c..eb804fb8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9b201169..3fdaffa7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index a1744929..5896439f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1db03ce0..c9a8dd66 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.98.211209", + sdkVersion: "1.99.220118", requestGetParams: { - sdk: "JavaScriptSDK-1.98.211209" + sdk: "JavaScriptSDK-1.99.220118" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.98.211209"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.99.220118"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index bccf988f..691b7434 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -867,8 +867,6 @@ declare module PlayFabAdminModels { Expires?: string; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** The MAC address on which the ban was applied. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ @@ -2436,7 +2434,6 @@ declare module PlayFabAdminModels { | "ApiNotEnabledForTitle" | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" | "TitleConstraintsPublisherDeletion" | "InvalidPlayerAccountPoolId" | "PlayerAccountPoolNotFound" @@ -2472,7 +2469,7 @@ declare module PlayFabAdminModels { | "MatchmakingBadRequest" | "PubSubFeatureNotEnabledForTitle" | "PubSubTooManyRequests" - | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionNotFoundForEntity" | "PubSubConnectionHandleInvalid" | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" @@ -2596,7 +2593,9 @@ declare module PlayFabAdminModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" - | "OperationCanceled"; + | "OperationCanceled" + | "InvalidDisplayNameRandomSuffixLength" + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8e1e3235..b9eae19d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -835,6 +835,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The crash dump configuration for the build. */ + WindowsCrashDumpConfiguration?: WindowsCrashDumpConfiguration; } @@ -2662,5 +2664,15 @@ declare module PlayFabMultiplayerModels { } + export interface WindowsCrashDumpConfiguration { + /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ + CustomDumpFlags?: number; + /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ + DumpType?: number; + /** Designates whether automatic crash dump capturing will be enabled for this Build. */ + IsEnabled: boolean; + + } + } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e82612d3..2327c6f5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -907,8 +907,6 @@ declare module PlayFabServerModels { Expires?: string; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; - /** The MAC address on which the ban was applied. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ @@ -2287,7 +2285,6 @@ declare module PlayFabServerModels { | "ApiNotEnabledForTitle" | "DuplicateTitleNameForPublisher" | "AzureTitleCreationInProgress" - | "DuplicateAzureResourceId" | "TitleConstraintsPublisherDeletion" | "InvalidPlayerAccountPoolId" | "PlayerAccountPoolNotFound" @@ -2323,7 +2320,7 @@ declare module PlayFabServerModels { | "MatchmakingBadRequest" | "PubSubFeatureNotEnabledForTitle" | "PubSubTooManyRequests" - | "PubSubConnectionHandleAccessDenied" + | "PubSubConnectionNotFoundForEntity" | "PubSubConnectionHandleInvalid" | "PubSubSubscriptionLimitExceeded" | "TitleConfigNotFound" @@ -2447,7 +2444,9 @@ declare module PlayFabServerModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" - | "OperationCanceled"; + | "OperationCanceled" + | "InvalidDisplayNameRandomSuffixLength" + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ From bf6f64858aee0027d62275a7d9148d6377ea720b Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 1 Feb 2022 01:47:11 +0000 Subject: [PATCH 138/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220131 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 2 ++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ 37 files changed, 133 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 256c61d8..bf663e51 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.99.220118", + "version": "1.100.220131", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e74f20ac..bbcb0f71 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2c20a51b..99ba205a 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6d4f54eb..7752fd02 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index a44ea94d..9ea87f26 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 866451d1..8287f56a 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 826ef2ba..3ac35712 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 4ec70306..8405c50e 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 40630bd8..3ee1a726 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 05d8edfa..5e853eb8 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index ebdb6364..e860a287 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 2cc71d6a..cffe2a9f 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index eb804fb8..b4783df8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3fdaffa7..04a6be02 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5896439f..5ae9f71e 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c9a8dd66..07c6afef 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.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 691b7434..8dc54908 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2446,6 +2446,8 @@ declare module PlayFabAdminModels { | "GoogleServiceAccountFailedAuth" | "GoogleAPIServiceUnavailable" | "GoogleAPIServiceUnknownError" + | "NoValidIdentityForAad" + | "PlayerIdentityLinkNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index d8c25e22..473f9a77 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -331,6 +331,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** Whether to fetch metadata of the scan status. */ + ExpandScanningStatus?: boolean; /** The unique ID of the item. */ Id?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 2327c6f5..ee8b1407 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2297,6 +2297,8 @@ declare module PlayFabServerModels { | "GoogleServiceAccountFailedAuth" | "GoogleAPIServiceUnavailable" | "GoogleAPIServiceUnknownError" + | "NoValidIdentityForAad" + | "PlayerIdentityLinkNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e74f20ac..bbcb0f71 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2c20a51b..99ba205a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6d4f54eb..7752fd02 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index a44ea94d..9ea87f26 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 866451d1..8287f56a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 826ef2ba..3ac35712 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4ec70306..8405c50e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 40630bd8..3ee1a726 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 05d8edfa..5e853eb8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index ebdb6364..e860a287 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 2cc71d6a..cffe2a9f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index eb804fb8..b4783df8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3fdaffa7..04a6be02 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5896439f..5ae9f71e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c9a8dd66..07c6afef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.99.220118", + sdkVersion: "1.100.220131", requestGetParams: { - sdk: "JavaScriptSDK-1.99.220118" + sdk: "JavaScriptSDK-1.100.220131" }, sessionTicket: 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.99.220118"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.100.220131"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 691b7434..8dc54908 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2446,6 +2446,8 @@ declare module PlayFabAdminModels { | "GoogleServiceAccountFailedAuth" | "GoogleAPIServiceUnavailable" | "GoogleAPIServiceUnknownError" + | "NoValidIdentityForAad" + | "PlayerIdentityLinkNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index d8c25e22..473f9a77 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -331,6 +331,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** Whether to fetch metadata of the scan status. */ + ExpandScanningStatus?: boolean; /** The unique ID of the item. */ Id?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 2327c6f5..ee8b1407 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2297,6 +2297,8 @@ declare module PlayFabServerModels { | "GoogleServiceAccountFailedAuth" | "GoogleAPIServiceUnavailable" | "GoogleAPIServiceUnknownError" + | "NoValidIdentityForAad" + | "PlayerIdentityLinkNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From fe02f81531dc891eea28fe85910c2f6956ccbece Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Tue, 15 Feb 2022 01:43:17 +0000 Subject: [PATCH 139/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220214 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 43 +++++++++++++++---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 14 ------ .../PlayFab/PlayFabMultiplayerApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 --- .../src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- .../src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 43 +++++++++++++++---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 14 ------ .../PlayFab/PlayFabMultiplayerApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 --- 39 files changed, 195 insertions(+), 177 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index bf663e51..71275ce6 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.100.220131", + "version": "1.101.220214", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index bbcb0f71..68a11dcf 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 99ba205a..54d61453 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 7752fd02..ddc72114 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 9ea87f26..7db06d56 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 8287f56a..6a430136 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 3ac35712..fc3f5928 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 8405c50e..c5c7efe4 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 3ee1a726..f31c234f 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 5e853eb8..b3bb6706 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index e860a287..ca907aa3 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index cffe2a9f..fc5455cd 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index b4783df8..665a1007 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 04a6be02..90e65187 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5ae9f71e..30bafac6 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 07c6afef..1d4f6ec3 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.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 8dc54908..c60056c9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1034,6 +1034,11 @@ declare module PlayFabAdminModels { } + type ChurnRiskLevel = "NoData" + | "LowRisk" + | "MediumRisk" + | "HighRisk"; + export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -3646,6 +3651,30 @@ declare module PlayFabAdminModels { } + export interface PlayerChurnPredictionSegmentFilter { + /** Comparison */ + Comparison?: string; + /** RiskLevel */ + RiskLevel?: string; + + } + + export interface PlayerChurnPredictionTimeSegmentFilter { + /** Comparison */ + Comparison?: string; + /** DurationInDays */ + DurationInDays: number; + + } + + export interface PlayerChurnPreviousPredictionSegmentFilter { + /** Comparison */ + Comparison?: string; + /** RiskLevel */ + RiskLevel?: string; + + } + export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -4191,6 +4220,12 @@ declare module PlayFabAdminModels { LinkedUserAccountHasEmailFilter?: LinkedUserAccountHasEmailSegmentFilter; /** Filter property for location. */ LocationFilter?: LocationSegmentFilter; + /** Filter property for current player churn value. */ + PlayerChurnPredictionFilter?: PlayerChurnPredictionSegmentFilter; + /** Filter property for player churn timespan. */ + PlayerChurnPredictionTimeFilter?: PlayerChurnPredictionTimeSegmentFilter; + /** Filter property for previous player churn value. */ + PlayerChurnPreviousPredictionFilter?: PlayerChurnPreviousPredictionSegmentFilter; /** Filter property for push notification. */ PushNotificationFilter?: PushNotificationSegmentFilter; /** Filter property for statistics. */ @@ -4654,8 +4689,6 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount"; export interface SegmentModel { - /** ResourceId of Segment resource */ - AzureResourceId?: string; /** Segment description. */ Description?: string; /** Segment actions for current entered segment players. */ @@ -4793,8 +4826,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of azure resource */ - AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** @@ -4802,8 +4833,6 @@ declare module PlayFabAdminModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. @@ -4815,8 +4844,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** Id of azure resource */ - AzureResourceId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index ba479e6d..6822902f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -524,8 +524,6 @@ declare module PlayFabCloudScriptModels { FunctionUrl?: string; /** The name of the queue for a queue trigger Azure Function. */ QueueName?: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** The trigger type for the function. */ TriggerType?: string; @@ -536,8 +534,6 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The URL of the function. */ FunctionUrl?: string; - /** The System data of the Azure Resource */ - SystemData?: AzureResourceSystemData; } @@ -780,30 +776,22 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The name of the queue that triggers the Azure Function. */ QueueName?: string; - /** The System data of the Azure Resource */ - SystemData?: AzureResourceSystemData; } export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the Azure Resource */ - AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; /** Full URL for Azure Function that implements the function. */ FunctionUrl: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** The Id of the parent Title */ TitleId?: string; } export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the Azure Resource */ - AzureResourceId?: string; /** A connection string for the storage account that hosts the queue for the Azure Function. */ ConnectionString: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -812,8 +800,6 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** The name of the queue for the Azure Function. */ QueueName: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** The Id of the parent Title */ TitleId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index b9eae19d..777e12b4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -507,6 +507,8 @@ declare module PlayFabMultiplayerModels { CurrentServerStats?: CurrentServerStats; /** Optional settings to control dynamic adjustment of standby target */ DynamicStandbySettings?: DynamicStandbySettings; + /** Whether the game assets provided for the build have been replicated to this region. */ + IsAssetReplicationComplete: boolean; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ee8b1407..5e7a93dd 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -4459,8 +4459,6 @@ declare module PlayFabServerModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of azure resource */ - AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** @@ -4468,8 +4466,6 @@ declare module PlayFabServerModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. @@ -4481,8 +4477,6 @@ declare module PlayFabServerModels { } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** Id of azure resource */ - AzureResourceId?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index bbcb0f71..68a11dcf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 99ba205a..54d61453 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 7752fd02..ddc72114 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 9ea87f26..7db06d56 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 8287f56a..6a430136 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 3ac35712..fc3f5928 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 8405c50e..c5c7efe4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 3ee1a726..f31c234f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 5e853eb8..b3bb6706 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index e860a287..ca907aa3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index cffe2a9f..fc5455cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index b4783df8..665a1007 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 04a6be02..90e65187 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5ae9f71e..30bafac6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 07c6afef..1d4f6ec3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.100.220131", + sdkVersion: "1.101.220214", requestGetParams: { - sdk: "JavaScriptSDK-1.100.220131" + sdk: "JavaScriptSDK-1.101.220214" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.100.220131"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.101.220214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 8dc54908..c60056c9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1034,6 +1034,11 @@ declare module PlayFabAdminModels { } + type ChurnRiskLevel = "NoData" + | "LowRisk" + | "MediumRisk" + | "HighRisk"; + export interface CloudScriptFile { /** Contents of the Cloud Script javascript. Must be string-escaped javascript. */ FileContents: string; @@ -3646,6 +3651,30 @@ declare module PlayFabAdminModels { } + export interface PlayerChurnPredictionSegmentFilter { + /** Comparison */ + Comparison?: string; + /** RiskLevel */ + RiskLevel?: string; + + } + + export interface PlayerChurnPredictionTimeSegmentFilter { + /** Comparison */ + Comparison?: string; + /** DurationInDays */ + DurationInDays: number; + + } + + export interface PlayerChurnPreviousPredictionSegmentFilter { + /** Comparison */ + Comparison?: string; + /** RiskLevel */ + RiskLevel?: string; + + } + export interface PlayerLinkedAccount { /** Linked account's email */ Email?: string; @@ -4191,6 +4220,12 @@ declare module PlayFabAdminModels { LinkedUserAccountHasEmailFilter?: LinkedUserAccountHasEmailSegmentFilter; /** Filter property for location. */ LocationFilter?: LocationSegmentFilter; + /** Filter property for current player churn value. */ + PlayerChurnPredictionFilter?: PlayerChurnPredictionSegmentFilter; + /** Filter property for player churn timespan. */ + PlayerChurnPredictionTimeFilter?: PlayerChurnPredictionTimeSegmentFilter; + /** Filter property for previous player churn value. */ + PlayerChurnPreviousPredictionFilter?: PlayerChurnPreviousPredictionSegmentFilter; /** Filter property for push notification. */ PushNotificationFilter?: PushNotificationSegmentFilter; /** Filter property for statistics. */ @@ -4654,8 +4689,6 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount"; export interface SegmentModel { - /** ResourceId of Segment resource */ - AzureResourceId?: string; /** Segment description. */ Description?: string; /** Segment actions for current entered segment players. */ @@ -4793,8 +4826,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of azure resource */ - AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** @@ -4802,8 +4833,6 @@ declare module PlayFabAdminModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. @@ -4815,8 +4844,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** Id of azure resource */ - AzureResourceId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index ba479e6d..6822902f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -524,8 +524,6 @@ declare module PlayFabCloudScriptModels { FunctionUrl?: string; /** The name of the queue for a queue trigger Azure Function. */ QueueName?: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** The trigger type for the function. */ TriggerType?: string; @@ -536,8 +534,6 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The URL of the function. */ FunctionUrl?: string; - /** The System data of the Azure Resource */ - SystemData?: AzureResourceSystemData; } @@ -780,30 +776,22 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The name of the queue that triggers the Azure Function. */ QueueName?: string; - /** The System data of the Azure Resource */ - SystemData?: AzureResourceSystemData; } export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the Azure Resource */ - AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; /** Full URL for Azure Function that implements the function. */ FunctionUrl: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** The Id of the parent Title */ TitleId?: string; } export interface RegisterQueuedFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The Id of the Azure Resource */ - AzureResourceId?: string; /** A connection string for the storage account that hosts the queue for the Azure Function. */ ConnectionString: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -812,8 +800,6 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** The name of the queue for the Azure Function. */ QueueName: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** The Id of the parent Title */ TitleId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index b9eae19d..777e12b4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -507,6 +507,8 @@ declare module PlayFabMultiplayerModels { CurrentServerStats?: CurrentServerStats; /** Optional settings to control dynamic adjustment of standby target */ DynamicStandbySettings?: DynamicStandbySettings; + /** Whether the game assets provided for the build have been replicated to this region. */ + IsAssetReplicationComplete: boolean; /** The maximum number of multiplayer servers for the region. */ MaxServers: number; /** Regional override for the number of multiplayer servers to host on a single VM of the build. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ee8b1407..5e7a93dd 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -4459,8 +4459,6 @@ declare module PlayFabServerModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of azure resource */ - AzureResourceId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** @@ -4468,8 +4466,6 @@ declare module PlayFabServerModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: string; - /** System Data of the Azure Resource */ - SystemData?: AzureResourceSystemData; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. @@ -4481,8 +4477,6 @@ declare module PlayFabServerModels { } export interface SetTitleDataResult extends PlayFabModule.IPlayFabResultCommon { - /** Id of azure resource */ - AzureResourceId?: string; } From 2ec8f65c43ef20ff5d21613f4201f1ce88d7f562 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Sat, 5 Mar 2022 05:16:54 +0000 Subject: [PATCH 140/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220305 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 27 +---- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 13 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 13 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 13 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 111 +----------------- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 43 ------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 16 --- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 28 ++++- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 47 -------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 69 +---------- PlayFabTestingExample/PlayFabApiTest.csproj | 2 +- .../src/PlayFab/PlayFabAdminApi.js | 27 +---- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 13 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEconomyApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 13 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 13 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 111 +----------------- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 43 ------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 16 --- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 28 ++++- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 47 -------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 69 +---------- 44 files changed, 148 insertions(+), 748 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 71275ce6..1364f8c9 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.101.220214", + "version": "1.103.220305", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 68a11dcf..a0ba1b3d 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,13 +257,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - AddServerBuild: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); - }, - AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -456,13 +449,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetStoreItems: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -543,13 +529,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); - }, - ModifyServerBuild: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 54d61453..d95a3891 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ddc72114..29e944f0 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1120,13 +1120,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - StartGame: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders); - }, - StartPurchase: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 7db06d56..a25cb2b1 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 6a430136..89069b55 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index fc3f5928..246ac4b5 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c5c7efe4..58153921 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f31c234f..3f15e780 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index b3bb6706..12185d07 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index ca907aa3..190412a9 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index fc5455cd..c1a912df 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 665a1007..d6d72de0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -253,13 +253,6 @@ PlayFab.MatchmakerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - StartGame: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/StartGame", request, "X-SecretKey", callback, customData, extraHeaders); - }, - UserInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 90e65187..457a61c9 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 30bafac6..e1b2ce50 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1d4f6ec3..db7d7537 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.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -581,13 +581,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index c60056c9..9f63b5af 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -24,12 +24,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/addplayertag */ AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a - * client is permitted to request in a call to StartGame - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/addserverbuild - */ - AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/adduservirtualcurrency @@ -284,12 +278,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo */ GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for - * use - see AddServerBuild) - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuilduploadurl - */ - GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -390,11 +378,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates the game server mode details for the specified game server executable - * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/modifymatchmakergamemodes - */ - ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the build details for the specified game server executable * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/modifyserverbuild @@ -751,59 +734,6 @@ declare module PlayFabAdminModels { } - export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** server host regions in which this build should be running and available */ - ActiveRegions?: string[]; - /** unique identifier for the 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; - /** 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; - - } - - export interface AddServerBuildResult 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 AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -840,22 +770,6 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - export interface AzureResourceSystemData { - /** The timestamp of resource creation (UTC) */ - CreatedAt?: string; - /** The identity that created the resource */ - CreatedBy?: string; - /** The type of identity that created the resource */ - CreatedByType?: string; - /** The type of identity that last modified the resource */ - LastModifiedAt?: string; - /** The identity that last modified the resource */ - LastModifiedBy?: string; - /** The type of identity that last modified the resource */ - LastModifiedByType?: string; - - } - export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2453,6 +2367,7 @@ declare module PlayFabAdminModels { | "GoogleAPIServiceUnknownError" | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" + | "PhotonApplicationIdAlreadyInUse" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3020,18 +2935,6 @@ declare module PlayFabAdminModels { } - export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { - /** unique identifier of the game server build to upload */ - BuildId: string; - - } - - export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { - /** pre-authorized URL for uploading the game server build package */ - URL?: string; - - } - export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -3516,18 +3419,6 @@ declare module PlayFabAdminModels { } - export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** previously uploaded build version for which game modes are being specified */ - BuildVersion: string; - /** array of game modes (Note: this will replace all game modes for the indicated build version) */ - GameModes: GameModeInfo[]; - - } - - export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { - - } - export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index c866daef..103c5a05 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -720,11 +720,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Start a new game server with a given configuration, add the current player and return the connection information. - * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/startgame - */ - StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates an order for a list of items from the title catalog * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase @@ -4486,44 +4481,6 @@ declare module PlayFabClientModels { | "Custom" | "API"; - export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** version information for the build of the game server which is to be started */ - BuildVersion: string; - /** character to use for stats based matching. Leave null to use account stats */ - CharacterId?: string; - /** custom command line argument when starting game server process */ - CustomCommandLineData?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ - GameMode: string; - /** the region to associate this server with for match filtering */ - Region: string; - /** player statistic for others to use in finding this game. May be null for no stat-based matching */ - StatisticName?: string; - - } - - export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { - /** timestamp for when the server should expire, if applicable */ - Expires?: string; - /** unique identifier for the lobby of the server started */ - LobbyID?: string; - /** password required to log into the server */ - Password?: string; - /** server IPV4 address */ - ServerIPV4Address?: string; - /** server IPV6 address */ - ServerIPV6Address?: string; - /** port on the server to be used for communication */ - ServerPort?: number; - /** server public DNS name */ - ServerPublicDNSName?: string; - /** unique identifier for the server */ - Ticket?: string; - - } - export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 6822902f..e01a9d7f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -86,22 +86,6 @@ declare module PlayFabCloudScriptModels { } - export interface AzureResourceSystemData { - /** The timestamp of resource creation (UTC) */ - CreatedAt?: string; - /** The identity that created the resource */ - CreatedBy?: string; - /** The type of identity that created the resource */ - CreatedByType?: string; - /** The type of identity that last modified the resource */ - LastModifiedAt?: string; - /** The identity that last modified the resource */ - LastModifiedBy?: string; - /** The type of identity that last modified the resource */ - LastModifiedByType?: string; - - } - type CloudScriptRevisionOption = "Live" | "Latest" | "Specific"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 473f9a77..28ec9b5b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -148,6 +148,10 @@ declare module PlayFabEconomyModels { AdminEntities?: EntityKey[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; + /** The set of configuration that only applies to Files. */ + File?: FileConfig; + /** The set of configuration that only applies to Images. */ + Image?: ImageConfig; /** Flag defining whether catalog is enabled. */ IsCatalogEnabled: boolean; /** A set of player entity keys that are allowed to review content. */ @@ -227,6 +231,10 @@ declare module PlayFabEconomyModels { MaxClientVersion?: string; /** The minimum client version that this content is compatible with. */ MinClientVersion?: string; + /** The list of tags that are associated with this content. */ + Tags?: string[]; + /** The client-defined type of the content. */ + Type?: string; /** The Azure CDN URL for retrieval of the catalog item binary content. */ Url?: string; @@ -312,6 +320,14 @@ declare module PlayFabEconomyModels { } + export interface FileConfig { + /** The set of content types that will be used for validation. */ + ContentTypes?: string[]; + /** The set of tags that will be used for validation. */ + Tags?: string[]; + + } + export interface GetCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -532,6 +548,8 @@ declare module PlayFabEconomyModels { export interface Image { /** The image unique ID. */ Id?: string; + /** The client-defined tag associated with this image. */ + Tag?: string; /** The client-defined type of this image. */ Type?: string; /** The URL for retrieval of the image. */ @@ -539,6 +557,12 @@ declare module PlayFabEconomyModels { } + export interface ImageConfig { + /** The set of tags that will be used for validation. */ + Tags?: string[]; + + } + export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -838,9 +862,9 @@ declare module PlayFabEconomyModels { } export interface UserGeneratedContentSpecificConfig { - /** The set of content types that will be used for validation and if no values are provided then anything is allowed. */ + /** The set of content types that will be used for validation. */ ContentTypes?: string[]; - /** The set of tags that will be used for validation and if no values are provided then anything is allowed. */ + /** The set of tags that will be used for validation. */ Tags?: string[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 7f388f21..966aff01 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -19,11 +19,6 @@ declare module PlayFabMatchmakerModule { * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft */ PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/startgame - */ - StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute * effective matches @@ -123,48 +118,6 @@ declare module PlayFabMatchmakerModels { } - type Region = "USCentral" - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the previously uploaded build executable which is to be started. */ - Build: string; - /** Custom command line argument when starting game server process. */ - CustomCommandLineData?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will - * make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an - * application/json body of { "EventName": "game_ended", "GameID": "" }. - */ - ExternalMatchmakerEventEndpoint: string; - /** Game mode for this Game Server Instance. */ - GameMode: string; - /** Region with which to associate the server, for filtering. */ - Region: string; - - } - - export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** Unique identifier for the game/lobby in the new Game Server Instance. */ - GameID?: string; - /** IPV4 address of the server */ - ServerIPV4Address?: string; - /** IPV6 address of the new Game Server Instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: number; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - - } - export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 5e7a93dd..89aa6186 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -467,11 +467,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Inform the matchmaker that a new Game Server Instance is added. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame - */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend @@ -880,22 +875,6 @@ declare module PlayFabServerModels { } - export interface AzureResourceSystemData { - /** The timestamp of resource creation (UTC) */ - CreatedAt?: string; - /** The identity that created the resource */ - CreatedBy?: string; - /** The type of identity that created the resource */ - CreatedByType?: string; - /** The type of identity that last modified the resource */ - LastModifiedAt?: string; - /** The identity that last modified the resource */ - LastModifiedBy?: string; - /** The type of identity that last modified the resource */ - LastModifiedByType?: string; - - } - export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2299,6 +2278,7 @@ declare module PlayFabServerModels { | "GoogleAPIServiceUnknownError" | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" + | "PhotonApplicationIdAlreadyInUse" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4062,53 +4042,6 @@ declare module PlayFabServerModels { } - type Region = "USCentral" - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the build running on the Game Server Instance. */ - Build: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - GameMode: string; - /** Previous lobby id if re-registering an existing game. */ - LobbyId?: string; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - Region: string; - /** IPV4 address of the game server instance. */ - ServerIPV4Address?: string; - /** IPV6 address (if any) of the game server instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: string; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string | null }; - - } - - export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - LobbyId?: string; - - } - export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 7ef721ea..13c18c2d 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -7,7 +7,7 @@ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Library bin - v4.6.1 + v4.6.2 full true Latest diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 68a11dcf..a0ba1b3d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,13 +257,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - AddServerBuild: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); - }, - AddUserVirtualCurrency: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/AddUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -456,13 +449,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetServerBuildUploadUrl: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildUploadUrl", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetStoreItems: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -543,13 +529,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - ModifyMatchmakerGameModes: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); - }, - ModifyServerBuild: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 54d61453..d95a3891 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ddc72114..29e944f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1120,13 +1120,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/SetPlayerSecret", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - StartGame: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartGame", request, "X-Authorization", callback, customData, extraHeaders); - }, - StartPurchase: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/StartPurchase", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 7db06d56..a25cb2b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 6a430136..89069b55 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index fc3f5928..246ac4b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c5c7efe4..58153921 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f31c234f..3f15e780 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index b3bb6706..12185d07 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index ca907aa3..190412a9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index fc5455cd..c1a912df 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 665a1007..d6d72de0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -253,13 +253,6 @@ PlayFab.MatchmakerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - StartGame: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/StartGame", request, "X-SecretKey", callback, customData, extraHeaders); - }, - UserInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 90e65187..457a61c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 30bafac6..e1b2ce50 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1d4f6ec3..db7d7537 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.101.220214", + sdkVersion: "1.103.220305", requestGetParams: { - sdk: "JavaScriptSDK-1.101.220214" + sdk: "JavaScriptSDK-1.103.220305" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.101.220214"; +PlayFab.sdkVersion = "1.103.220305"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -581,13 +581,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index c60056c9..9f63b5af 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -24,12 +24,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/addplayertag */ AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Adds the game server executable specified (previously uploaded - see GetServerBuildUploadUrl) to the set of those a - * client is permitted to request in a call to StartGame - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/addserverbuild - */ - AddServerBuild(request: PlayFabAdminModels.AddServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Increments the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/adduservirtualcurrency @@ -284,12 +278,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo */ GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the pre-authorized URL for uploading a game server package containing a build (does not enable the build for - * use - see AddServerBuild) - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuilduploadurl - */ - GetServerBuildUploadUrl(request: PlayFabAdminModels.GetServerBuildUploadURLRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -390,11 +378,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Updates the game server mode details for the specified game server executable - * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/modifymatchmakergamemodes - */ - ModifyMatchmakerGameModes(request: PlayFabAdminModels.ModifyMatchmakerGameModesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the build details for the specified game server executable * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/modifyserverbuild @@ -751,59 +734,6 @@ declare module PlayFabAdminModels { } - export interface AddServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** server host regions in which this build should be running and available */ - ActiveRegions?: string[]; - /** unique identifier for the 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; - /** 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; - - } - - export interface AddServerBuildResult 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 AddUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Amount to be added to the user balance of the specified virtual currency. Maximum VC balance is Int32 (2,147,483,647). @@ -840,22 +770,6 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" - export interface AzureResourceSystemData { - /** The timestamp of resource creation (UTC) */ - CreatedAt?: string; - /** The identity that created the resource */ - CreatedBy?: string; - /** The type of identity that created the resource */ - CreatedByType?: string; - /** The type of identity that last modified the resource */ - LastModifiedAt?: string; - /** The identity that last modified the resource */ - LastModifiedBy?: string; - /** The type of identity that last modified the resource */ - LastModifiedByType?: string; - - } - export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2453,6 +2367,7 @@ declare module PlayFabAdminModels { | "GoogleAPIServiceUnknownError" | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" + | "PhotonApplicationIdAlreadyInUse" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3020,18 +2935,6 @@ declare module PlayFabAdminModels { } - export interface GetServerBuildUploadURLRequest extends PlayFabModule.IPlayFabRequestCommon { - /** unique identifier of the game server build to upload */ - BuildId: string; - - } - - export interface GetServerBuildUploadURLResult extends PlayFabModule.IPlayFabResultCommon { - /** pre-authorized URL for uploading the game server build package */ - URL?: string; - - } - export interface GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -3516,18 +3419,6 @@ declare module PlayFabAdminModels { } - export interface ModifyMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** previously uploaded build version for which game modes are being specified */ - BuildVersion: string; - /** array of game modes (Note: this will replace all game modes for the indicated build version) */ - GameModes: GameModeInfo[]; - - } - - export interface ModifyMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { - - } - export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { /** array of regions where this build can used, when it is active */ ActiveRegions?: string[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index c866daef..103c5a05 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -720,11 +720,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/setplayersecret */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Start a new game server with a given configuration, add the current player and return the connection information. - * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/startgame - */ - StartGame(request: PlayFabClientModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates an order for a list of items from the title catalog * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase @@ -4486,44 +4481,6 @@ declare module PlayFabClientModels { | "Custom" | "API"; - export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** version information for the build of the game server which is to be started */ - BuildVersion: string; - /** character to use for stats based matching. Leave null to use account stats */ - CharacterId?: string; - /** custom command line argument when starting game server process */ - CustomCommandLineData?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** the title-defined game mode this server is to be running (defaults to 0 if there is only one mode) */ - GameMode: string; - /** the region to associate this server with for match filtering */ - Region: string; - /** player statistic for others to use in finding this game. May be null for no stat-based matching */ - StatisticName?: string; - - } - - export interface StartGameResult extends PlayFabModule.IPlayFabResultCommon { - /** timestamp for when the server should expire, if applicable */ - Expires?: string; - /** unique identifier for the lobby of the server started */ - LobbyID?: string; - /** password required to log into the server */ - Password?: string; - /** server IPV4 address */ - ServerIPV4Address?: string; - /** server IPV6 address */ - ServerIPV6Address?: string; - /** port on the server to be used for communication */ - ServerPort?: number; - /** server public DNS name */ - ServerPublicDNSName?: string; - /** unique identifier for the server */ - Ticket?: string; - - } - export interface StartPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased. Defaults to most recent catalog. */ CatalogVersion?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 6822902f..e01a9d7f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -86,22 +86,6 @@ declare module PlayFabCloudScriptModels { } - export interface AzureResourceSystemData { - /** The timestamp of resource creation (UTC) */ - CreatedAt?: string; - /** The identity that created the resource */ - CreatedBy?: string; - /** The type of identity that created the resource */ - CreatedByType?: string; - /** The type of identity that last modified the resource */ - LastModifiedAt?: string; - /** The identity that last modified the resource */ - LastModifiedBy?: string; - /** The type of identity that last modified the resource */ - LastModifiedByType?: string; - - } - type CloudScriptRevisionOption = "Live" | "Latest" | "Specific"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 473f9a77..28ec9b5b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -148,6 +148,10 @@ declare module PlayFabEconomyModels { AdminEntities?: EntityKey[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; + /** The set of configuration that only applies to Files. */ + File?: FileConfig; + /** The set of configuration that only applies to Images. */ + Image?: ImageConfig; /** Flag defining whether catalog is enabled. */ IsCatalogEnabled: boolean; /** A set of player entity keys that are allowed to review content. */ @@ -227,6 +231,10 @@ declare module PlayFabEconomyModels { MaxClientVersion?: string; /** The minimum client version that this content is compatible with. */ MinClientVersion?: string; + /** The list of tags that are associated with this content. */ + Tags?: string[]; + /** The client-defined type of the content. */ + Type?: string; /** The Azure CDN URL for retrieval of the catalog item binary content. */ Url?: string; @@ -312,6 +320,14 @@ declare module PlayFabEconomyModels { } + export interface FileConfig { + /** The set of content types that will be used for validation. */ + ContentTypes?: string[]; + /** The set of tags that will be used for validation. */ + Tags?: string[]; + + } + export interface GetCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -532,6 +548,8 @@ declare module PlayFabEconomyModels { export interface Image { /** The image unique ID. */ Id?: string; + /** The client-defined tag associated with this image. */ + Tag?: string; /** The client-defined type of this image. */ Type?: string; /** The URL for retrieval of the image. */ @@ -539,6 +557,12 @@ declare module PlayFabEconomyModels { } + export interface ImageConfig { + /** The set of tags that will be used for validation. */ + Tags?: string[]; + + } + export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -838,9 +862,9 @@ declare module PlayFabEconomyModels { } export interface UserGeneratedContentSpecificConfig { - /** The set of content types that will be used for validation and if no values are provided then anything is allowed. */ + /** The set of content types that will be used for validation. */ ContentTypes?: string[]; - /** The set of tags that will be used for validation and if no values are provided then anything is allowed. */ + /** The set of tags that will be used for validation. */ Tags?: string[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 7f388f21..966aff01 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -19,11 +19,6 @@ declare module PlayFabMatchmakerModule { * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft */ PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Instructs the PlayFab game server hosting service to instantiate a new Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/startgame - */ - StartGame(request: PlayFabMatchmakerModels.StartGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute * effective matches @@ -123,48 +118,6 @@ declare module PlayFabMatchmakerModels { } - type Region = "USCentral" - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface StartGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the previously uploaded build executable which is to be started. */ - Build: string; - /** Custom command line argument when starting game server process. */ - CustomCommandLineData?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * HTTP endpoint URL for receiving game status events, if using an external matchmaker. When the game ends, PlayFab will - * make a POST request to this URL with the X-SecretKey header set to the value of the game's secret and an - * application/json body of { "EventName": "game_ended", "GameID": "" }. - */ - ExternalMatchmakerEventEndpoint: string; - /** Game mode for this Game Server Instance. */ - GameMode: string; - /** Region with which to associate the server, for filtering. */ - Region: string; - - } - - export interface StartGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** Unique identifier for the game/lobby in the new Game Server Instance. */ - GameID?: string; - /** IPV4 address of the server */ - ServerIPV4Address?: string; - /** IPV6 address of the new Game Server Instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: number; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - - } - export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 5e7a93dd..89aa6186 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -467,11 +467,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Inform the matchmaker that a new Game Server Instance is added. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame - */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend @@ -880,22 +875,6 @@ declare module PlayFabServerModels { } - export interface AzureResourceSystemData { - /** The timestamp of resource creation (UTC) */ - CreatedAt?: string; - /** The identity that created the resource */ - CreatedBy?: string; - /** The type of identity that created the resource */ - CreatedByType?: string; - /** The type of identity that last modified the resource */ - LastModifiedAt?: string; - /** The identity that last modified the resource */ - LastModifiedBy?: string; - /** The type of identity that last modified the resource */ - LastModifiedByType?: string; - - } - export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -2299,6 +2278,7 @@ declare module PlayFabServerModels { | "GoogleAPIServiceUnknownError" | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" + | "PhotonApplicationIdAlreadyInUse" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4062,53 +4042,6 @@ declare module PlayFabServerModels { } - type Region = "USCentral" - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the build running on the Game Server Instance. */ - Build: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - GameMode: string; - /** Previous lobby id if re-registering an existing game. */ - LobbyId?: string; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - Region: string; - /** IPV4 address of the game server instance. */ - ServerIPV4Address?: string; - /** IPV6 address (if any) of the game server instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: string; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string | null }; - - } - - export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - LobbyId?: string; - - } - export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; From 669e2edfdd979743d2b23feef1e0cc997919017a Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 16 Mar 2022 18:18:46 +0000 Subject: [PATCH 141/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220316 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 20 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 60 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 74 +-- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 82 ++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 544 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 56 ++ .../src/PlayFab/PlayFabAdminApi.js | 20 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 60 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 12 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 74 +-- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 82 ++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 544 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 56 ++ 39 files changed, 1593 insertions(+), 297 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1364f8c9..0608d059 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.103.220305", + "version": "1.104.220316", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index a0ba1b3d..07a7e0ea 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -445,10 +445,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, - GetServerBuildInfo: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetStoreItems: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -521,10 +517,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, - ListServerBuilds: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListServerBuilds", request, "X-SecretKey", callback, customData, extraHeaders); - }, - ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -541,10 +533,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, - RemoveServerBuild: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); - }, - RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d95a3891..662cbeef 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 29e944f0..ae1ff276 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index a25cb2b1..8534afd2 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 89069b55..404c2b29 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 246ac4b5..15b245cf 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 58153921..6dcb99b0 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 3f15e780..5c4541c5 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 12185d07..a2fe7ee4 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 190412a9..61a640da 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index c1a912df..405efa2c 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index d6d72de0..11f22285 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 457a61c9..7c349b6c 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -273,6 +273,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithProcessBasedServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/CreateLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -317,6 +321,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteContainerImageRepository", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/DeleteLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteRemoteUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -325,6 +333,14 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + FindFriendLobbies: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/FindFriendLobbies", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + FindLobbies: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/FindLobbies", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -345,6 +361,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/GetLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetMatch: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -393,10 +413,26 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, + InviteToLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/InviteToLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + JoinArrangedLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinArrangedLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + JoinLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + LeaveLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/LeaveLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -461,6 +497,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); }, + RemoveMember: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/RemoveMember", request, "X-EntityToken", callback, customData, extraHeaders); + }, + RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -477,6 +517,14 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubscribeToLobbyResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UnsubscribeFromLobbyResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UntagContainerImage: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UntagContainerImage", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -497,6 +545,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UpdateLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UploadCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index e1b2ce50..ff9d3cd5 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index db7d7537..d87d9ce4 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.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -581,6 +581,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9f63b5af..f3282e20 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -273,11 +273,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments */ GetSegments(request: PlayFabAdminModels.GetSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the build details for the specified game server executable - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo - */ - GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -368,11 +363,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the build details for all game server executables which are currently defined for the title - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/listserverbuilds - */ - ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retuns the list of all defined virtual currencies for the title * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes @@ -393,12 +383,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/removeplayertag */ RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes the game server executable specified from the set of those a client is permitted to request in a call to - * StartGame - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/removeserverbuild - */ - RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -2515,6 +2499,10 @@ declare module PlayFabAdminModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" + | "EventSinkLimitExceeded" + | "EventSinkSasTokenInvalid" + | "EventSinkNotFound" + | "EventSinkNameInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -2901,40 +2889,6 @@ declare module PlayFabAdminModels { } - export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** unique identifier of the previously uploaded build executable for which information is being requested */ - BuildId: string; - - } - - export interface GetServerBuildInfoResult 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; - /** developer comment(s) for this build */ - Comment?: string; - /** error message, if any, about this build */ - ErrorMessage?: 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 GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -3303,16 +3257,6 @@ declare module PlayFabAdminModels { } - export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { - /** array of uploaded game server builds */ - Builds?: GetServerBuildInfoResult[]; - - } - export interface ListOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3866,16 +3810,6 @@ declare module PlayFabAdminModels { } - export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** unique identifier of the previously uploaded build executable to be removed */ - BuildId: string; - - } - - export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - - } - export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 28ec9b5b..106d1e99 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -154,6 +154,8 @@ declare module PlayFabEconomyModels { Image?: ImageConfig; /** Flag defining whether catalog is enabled. */ IsCatalogEnabled: boolean; + /** A list of Platforms that can be applied to catalog items. */ + Platforms?: string[]; /** A set of player entity keys that are allowed to review content. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ @@ -213,6 +215,48 @@ declare module PlayFabEconomyModels { } + export interface CatalogItemReference { + /** The amount of the catalog item. */ + Amount?: number; + /** The unique ID of the catalog item. */ + Id?: string; + /** The price of the catalog item. */ + Price?: CatalogPrice; + + } + + export interface CatalogPrice { + /** Prices of the catalog item. */ + Prices?: CatalogPriceInstance[]; + /** Real prices of the catalog item. */ + RealPrices?: CatalogPriceInstance[]; + /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ + Sort?: number; + + } + + export interface CatalogPriceAmount { + /** The amount of the catalog price. */ + Amount: number; + /** The Item ID of the price. */ + Id?: string; + + } + + export interface CatalogPriceInstance { + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; + + } + + export interface CatalogSpecificConfig { + /** The set of content types that will be used for validation. */ + ContentTypes?: string[]; + /** The set of tags that will be used for validation. */ + Tags?: string[]; + + } + type ConcernCategory = "None" | "OffensiveContent" | "ChildExploitation" @@ -270,6 +314,14 @@ declare module PlayFabEconomyModels { } + export interface DeepLinkFormat { + /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ + Format?: string; + /** The target platform for the deep link. */ + Platform?: string; + + } + export interface DeleteEntityItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -347,8 +399,6 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** Whether to fetch metadata of the scan status. */ - ExpandScanningStatus?: boolean; /** The unique ID of the item. */ Id?: string; @@ -450,8 +500,6 @@ declare module PlayFabEconomyModels { } export interface GetItemPublishStatusResponse extends PlayFabModule.IPlayFabResultCommon { - /** Scan results for any items that failed content scans. */ - FailedScanResults?: ScanResult[]; /** High level status of the published item. */ Result?: string; /** Descriptive message about the current status of the publish. */ @@ -584,6 +632,16 @@ declare module PlayFabEconomyModels { | "Approved" | "Rejected"; + export interface PayoutDetails { + /** The Dev Center account ID of the payee. */ + AccountSellerId?: string; + /** The tax code for payout calculations. */ + TaxCode?: string; + /** The Universal account ID of the payee. */ + Uaid?: string; + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -675,8 +733,6 @@ declare module PlayFabEconomyModels { export interface Review { /** The number of negative helpfulness votes for this review. */ HelpfulNegative: number; - /** Total number of helpfulness votes for this review. */ - HelpfulnessVotes: number; /** The number of positive helpfulness votes for this review. */ HelpfulPositive: number; /** Indicates whether the review author has the item installed. */ @@ -785,6 +841,14 @@ declare module PlayFabEconomyModels { } + export interface StoreInfo { + /** An alternate ID of the store. */ + AlternateId?: CatalogAlternateId; + /** The unique ID of the store. */ + Id?: string; + + } + export interface SubmitItemReviewVoteRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID of the item associated with the review. */ AlternateId?: CatalogAlternateId; @@ -805,6 +869,12 @@ declare module PlayFabEconomyModels { } + export interface SubscriptionDetails { + /** The length of time that the subscription will last in seconds. */ + DurationInSeconds: number; + + } + export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 777e12b4..accbfe7e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -44,6 +44,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithprocessbasedserver */ CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/createlobby + */ + CreateLobby(request: PlayFabMultiplayerModels.CreateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a client. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket @@ -102,6 +107,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecontainerimagerepository */ DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/deletelobby + */ + DeleteLobby(request: PlayFabMultiplayerModels.DeleteLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser @@ -112,6 +122,16 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Find lobbies which match certain criteria, and which friends are in. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findfriendlobbies + */ + FindFriendLobbies(request: PlayFabMultiplayerModels.FindFriendLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Find all the lobbies that match certain criteria. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findlobbies + */ + FindLobbies(request: PlayFabMultiplayerModels.FindLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 @@ -139,6 +159,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getcontainerregistrycredentials */ GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/getlobby + */ + GetLobby(request: PlayFabMultiplayerModels.GetLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a match. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch @@ -199,11 +224,31 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas */ GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Send a notification to invite a player to a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/invitetolobby + */ + InviteToLobby(request: PlayFabMultiplayerModels.InviteToLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Join an Arranged lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinarrangedlobby + */ + JoinArrangedLobby(request: PlayFabMultiplayerModels.JoinArrangedLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Join a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobby + */ + JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Join a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket */ JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Leave a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobby + */ + LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists archived multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers @@ -287,6 +332,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/removematchmakingqueue */ RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Remove a member from a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/removemember + */ + RemoveMember(request: PlayFabMultiplayerModels.RemoveMemberFromLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. @@ -308,6 +358,16 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subscribe to lobby resource notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/subscribetolobbyresource + */ + SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unsubscribe from lobby notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/unsubscribefromlobbyresource + */ + UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Untags a container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage @@ -333,6 +393,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions */ UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobby + */ + UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Uploads a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate @@ -343,6 +408,10 @@ declare module PlayFabMultiplayerModule { } declare module PlayFabMultiplayerModels { + type AccessPolicy = "Public" + | "Friends" + | "Private"; + export interface AssetReference { /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ FileName?: string; @@ -1008,6 +1077,68 @@ declare module PlayFabMultiplayerModels { } + export interface CreateLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or + * 'Private'. Public means the lobby is both visible in queries and any player may join, including invited players. Friends + * means that users who are bidirectional friends of members in the lobby may search to find friend lobbies, to retrieve + * its connection string. Private means the lobby is not visible in queries, and a player must receive an invitation to + * join. Defaults to 'Public' on creation. Can only be changed by the lobby owner. + */ + AccessPolicy?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs which are only visible to members of the lobby. At most 30 key-value pairs may be stored + * here, keys are limited to 30 characters and values to 1000. The total size of all lobbyData values may not exceed 4096 + * bytes. Keys are case sensitive. + */ + LobbyData?: { [key: string]: string | null }; + /** The maximum number of players allowed in the lobby. The value must be between 2 and 128. */ + MaxPlayers: number; + /** + * The member initially added to the lobby. Client must specify exactly one member, which is the creator's entity and + * member data. Member PubSubConnectionHandle must be null or empty. Game servers must not specify any members. + */ + Members?: Member[]; + /** The lobby owner. Must be the calling entity. */ + Owner: EntityKey; + /** + * The policy for how a new owner is chosen. May be 'Automatic', 'Manual' or 'None'. Can only be specified by clients. If + * client-owned and 'Automatic' - The Lobby service will automatically assign another connected owner when the current + * owner leaves or disconnects. The useConnections property must be true. If client - owned and 'Manual' - Ownership is + * protected as long as the current owner is connected. If the current owner leaves or disconnects any member may set + * themselves as the current owner. The useConnections property must be true. If client-owned and 'None' - Any member can + * set ownership. The useConnections property can be either true or false. + */ + OwnerMigrationPolicy?: string; + /** + * The public key-value pairs which allow queries to differentiate between lobbies. Queries will refer to these key-value + * pairs in their filter and order by clauses to retrieve lobbies fitting the specified criteria. At most 30 key-value + * pairs may be stored here. Keys are of the format string_key1, string_key2 ... string_key30 for string values, or + * number_key1, number_key2, ... number_key30 for numeric values.Numeric values are floats. Values can be at most 256 + * characters long. The total size of all searchData values may not exceed 1024 bytes. + */ + SearchData?: { [key: string]: string | null }; + /** + * A setting to control whether connections are used. Defaults to true. When true, notifications are sent to subscribed + * players, disconnect detection removes connectionHandles, only owner migration policies using connections are allowed, + * and lobbies must have at least one connected member to be searchable or be a server hosted lobby with a connected + * server. If false, then notifications are not sent, connections are not allowed, and lobbies do not need connections to + * be searchable. + */ + UseConnections: boolean; + + } + + export interface CreateLobbyResult extends PlayFabModule.IPlayFabResultCommon { + /** A field which indicates which lobby the user will be joining. */ + ConnectionString: string; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + + } + export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who created this ticket. */ Creator: MatchmakingPlayer; @@ -1212,6 +1343,14 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + + } + export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; @@ -1307,6 +1446,81 @@ declare module PlayFabMultiplayerModels { } + export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Controls whether this query should link to friends made on the Facebook network. Defaults to false */ + ExcludeFacebookFriends: boolean; + /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ + ExcludeSteamFriends: boolean; + /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + Filter?: string; + /** + * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can + * be used to sort by distance from the given number. This field only supports either one sort clause or one distance + * clause. + */ + OrderBy?: string; + /** Request pagination information. */ + Pagination?: PaginationRequest; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; + + } + + export interface FindFriendLobbiesResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of lobbies found that matched FindFriendLobbies request. */ + Lobbies: FriendLobbySummary[]; + /** Pagination response for FindFriendLobbies request. */ + Pagination: PaginationResponse; + + } + + export interface FindLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + Filter?: string; + /** + * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can + * be used to sort by distance from the given number. This field only supports either one sort clause or one distance + * clause. + */ + OrderBy?: string; + /** Request pagination information. */ + Pagination?: PaginationRequest; + + } + + export interface FindLobbiesResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of lobbies found that matched FindLobbies request. */ + Lobbies: LobbySummary[]; + /** Pagination response for FindLobbies request. */ + Pagination: PaginationResponse; + + } + + export interface FriendLobbySummary { + /** + * A string used to join the lobby.This field is populated by the Lobby service.Invites are performed by communicating this + * connectionString to other players. + */ + ConnectionString: string; + /** The current number of players in the lobby. */ + CurrentPlayers: number; + /** Friends in Lobby. */ + Friends?: EntityKey[]; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + /** The maximum number of players allowed in the lobby. */ + MaxPlayers: number; + /** The client or server entity which owns this lobby. */ + Owner: EntityKey; + /** Search data. */ + SearchData?: { [key: string]: string | null }; + + } + export interface GameCertificateReference { /** * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game @@ -1460,6 +1674,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + + } + + export interface GetLobbyResult extends PlayFabModule.IPlayFabResultCommon { + /** The information pertaining to the requested lobby. */ + Lobby: Lobby; + + } + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1734,6 +1962,87 @@ declare module PlayFabMultiplayerModels { } + export interface InviteToLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity invited to the lobby. */ + InviteeEntity?: EntityKey; + /** The id of the lobby. */ + LobbyId?: string; + /** The member entity sending the invite. Must be a member of the lobby. */ + MemberEntity?: EntityKey; + + } + + export interface JoinArrangedLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or + * 'Private'. Public means the lobby is both visible in queries and any player may join, including invited players. Friends + * means that users who are bidirectional friends of members in the lobby may search to find friend lobbies, to retrieve + * its connection string. Private means the lobby is not visible in queries, and a player must receive an invitation to + * join. Defaults to 'Public' on creation. Can only be changed by the lobby owner. + */ + AccessPolicy?: string; + /** + * A field which indicates which lobby the user will be joining. This field is opaque to everyone except the Lobby service + * and the creator of the arrangementString (Matchmaking). This string defines a unique identifier for the arranged lobby + * as well as the title and member the string is valid for. Arrangement strings have an expiration. + */ + ArrangementString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The maximum number of players allowed in the lobby. The value must be between 2 and 128. */ + MaxPlayers: number; + /** + * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all + * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * 1000. The total size of all memberData values may not exceed 4096 bytes. Keys are case sensitive. + */ + MemberData?: { [key: string]: string | null }; + /** The member entity who is joining the lobby. The first member to join will be the lobby owner. */ + MemberEntity: EntityKey; + /** + * The policy for how a new owner is chosen. May be 'Automatic', 'Manual' or 'None'. Can only be specified by clients. If + * client-owned and 'Automatic' - The Lobby service will automatically assign another connected owner when the current + * owner leaves or disconnects. The useConnections property must be true. If client - owned and 'Manual' - Ownership is + * protected as long as the current owner is connected. If the current owner leaves or disconnects any member may set + * themselves as the current owner. The useConnections property must be true. If client-owned and 'None' - Any member can + * set ownership. The useConnections property can be either true or false. + */ + OwnerMigrationPolicy?: string; + /** + * A setting to control whether connections are used. Defaults to true. When true, notifications are sent to subscribed + * players, disconnect detection removes connectionHandles, only owner migration policies using connections are allowed, + * and lobbies must have at least one connected member to be searchable or be a server hosted lobby with a connected + * server. If false, then notifications are not sent, connections are not allowed, and lobbies do not need connections to + * be searchable. + */ + UseConnections: boolean; + + } + + export interface JoinLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A field which indicates which lobby the user will be joining. This field is opaque to everyone except the Lobby service. */ + ConnectionString?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all + * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * 1000. The total size of all memberData values may not exceed 4096 bytes.Keys are case sensitive. + */ + MemberData?: { [key: string]: string | null }; + /** The member entity who is joining the lobby. */ + MemberEntity?: EntityKey; + + } + + export interface JoinLobbyResult extends PlayFabModule.IPlayFabResultCommon { + /** Successfully joined lobby's id. */ + LobbyId: string; + + } + export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1750,6 +2059,16 @@ declare module PlayFabMultiplayerModels { } + export interface LeaveLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + /** The member entity leaving the lobby. */ + MemberEntity?: EntityKey; + + } + export interface LinearDifferenceRuleExpansion { /** This value gets added to Difference at every expansion interval. */ Delta: number; @@ -2059,6 +2378,65 @@ declare module PlayFabMultiplayerModels { } + export interface Lobby { + /** A setting indicating who is allowed to join this lobby, as well as see it in queries. */ + AccessPolicy: string; + /** A number that increments once for each request that modifies the lobby. */ + ChangeNumber: number; + /** + * A string used to join the lobby. This field is populated by the Lobby service. Invites are performed by communicating + * this connectionString to other players. + */ + ConnectionString: string; + /** Lobby data. */ + LobbyData?: { [key: string]: string | null }; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + /** The maximum number of players allowed in the lobby. */ + MaxPlayers: number; + /** Array of all lobby members. */ + Members?: Member[]; + /** A setting indicating whether members are allowed to join this lobby. When Locked new members are prevented from joining. */ + MembershipLock: string; + /** The client or server entity which owns this lobby. */ + Owner?: EntityKey; + /** A setting indicating the owner migration policy. If server owned, this field is not present. */ + OwnerMigrationPolicy?: string; + /** + * An opaque string stored on a SubscribeToLobbyResource call, which indicates the connection an owner or member has with + * PubSub. + */ + PubSubConnectionHandle?: string; + /** Search data. */ + SearchData?: { [key: string]: string | null }; + /** A flag which determines if connections are used. Defaults to true. Only set on create. */ + UseConnections: boolean; + + } + + export interface LobbyEmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface LobbySummary { + /** + * A string used to join the lobby.This field is populated by the Lobby service.Invites are performed by communicating this + * connectionString to other players. + */ + ConnectionString: string; + /** The current number of players in the lobby. */ + CurrentPlayers: number; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + /** The maximum number of players allowed in the lobby. */ + MaxPlayers: number; + /** The client or server entity which owns this lobby. */ + Owner: EntityKey; + /** Search data. */ + SearchData?: { [key: string]: string | null }; + + } + export interface MatchmakingPlayer { /** The user's attributes custom to the title. */ Attributes?: MatchmakingPlayerAttributes; @@ -2165,6 +2543,19 @@ declare module PlayFabMultiplayerModels { } + export interface Member { + /** Key-value pairs specific to member. */ + MemberData?: { [key: string]: string | null }; + /** The member entity key. */ + MemberEntity?: EntityKey; + /** Opaque string, stored on a Subscribe call, which indicates the connection an owner or member has with PubSub. */ + PubSubConnectionHandle?: string; + + } + + type MembershipLock = "Unlocked" + | "Locked"; + export interface MonitoringApplicationConfiguration { /** Asset which contains the monitoring application files and scripts. */ AssetReference: AssetReference; @@ -2222,6 +2613,27 @@ declare module PlayFabMultiplayerModels { } + type OwnerMigrationPolicy = "None" + | "Automatic" + | "Manual" + | "Server"; + + export interface PaginationRequest { + /** Continuation token returned as a result in a previous FindLobbies call. Cannot be specified by clients. */ + ContinuationToken?: string; + /** The number of lobbies that should be retrieved. Cannot be specified by servers, clients may specify any value up to 50 */ + PageSizeRequested?: number; + + } + + export interface PaginationResponse { + /** Continuation token returned by server call. Not returned for clients */ + ContinuationToken?: string; + /** The number of lobbies that matched the search request. */ + TotalMatchedLobbyCount?: number; + + } + export interface Port { /** The name for the port. */ Name: string; @@ -2305,6 +2717,18 @@ declare module PlayFabMultiplayerModels { } + export interface RemoveMemberFromLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + /** The member entity to be removed from the lobby. */ + MemberEntity?: EntityKey; + /** If true, removed member can never rejoin this lobby. */ + PreventRejoin: boolean; + + } + export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifiers of the build alias to use for the request. */ BuildAliasParams?: BuildAliasParams; @@ -2528,6 +2952,31 @@ declare module PlayFabMultiplayerModels { } + export interface SubscribeToLobbyResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity performing the subscription. */ + EntityKey: EntityKey; + /** Opaque string, given to a client upon creating a connection with PubSub. */ + PubSubConnectionHandle: string; + /** The name of the resource to subscribe to. */ + ResourceId: string; + /** Version number for the subscription of this resource. */ + SubscriptionVersion: number; + /** Subscription type. */ + Type: string; + + } + + export interface SubscribeToLobbyResourceResult extends PlayFabModule.IPlayFabResultCommon { + /** Topic will be returned in all notifications that are the result of this subscription. */ + Topic: string; + + } + + type SubscriptionType = "LobbyChange" + | "LobbyInvite"; + export interface TeamDifferenceRule { /** Description of the attribute used by this rule to match teams. */ Attribute: QueueRuleAttribute; @@ -2596,6 +3045,22 @@ declare module PlayFabMultiplayerModels { } + export interface UnsubscribeFromLobbyResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity which performed the subscription. */ + EntityKey: EntityKey; + /** Opaque string, given to a client upon creating a connection with PubSub. */ + PubSubConnectionHandle: string; + /** The name of the resource to unsubscribe from. */ + ResourceId: string; + /** Version number passed for the subscription of this resource. */ + SubscriptionVersion: number; + /** Subscription type. */ + Type: string; + + } + export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -2648,6 +3113,85 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or + * 'Private'. Public means the lobby is both visible in queries and any player may join, including invited players. Friends + * means that users who are bidirectional friends of members in the lobby may search to find friend lobbies, to retrieve + * its connection string. Private means the lobby is not visible in queries, and a player must receive an invitation to + * join. Defaults to 'Public' on creation. Can only be changed by the lobby owner. + */ + AccessPolicy?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs which are only visible to members of the lobby. Optional. Sets or updates key-value pairs on + * the lobby. Only the current lobby owner can set lobby data. Keys may be an arbitrary string of at most 30 characters. + * The total size of all lobbyData values may not exceed 4096 bytes. Values are not individually limited. There can be up + * to 30 key-value pairs stored here. Keys are case sensitive. + */ + LobbyData?: { [key: string]: string | null }; + /** The keys to delete from the lobby LobbyData. Optional. Behaves similar to searchDataToDelete, but applies to lobbyData. */ + LobbyDataToDelete?: string[]; + /** The id of the lobby. */ + LobbyId?: string; + /** + * The maximum number of players allowed in the lobby. Updates the maximum allowed number of players in the lobby. Only the + * current lobby owner can set this. If set, the value must be greater than or equal to the number of members currently in + * the lobby. + */ + MaxPlayers?: number; + /** + * The private key-value pairs used by the member to communicate information to other members and the owner. Optional. Sets + * or updates new key-value pairs on the caller's member data. New keys will be added with their values and existing keys + * will be updated with the new values. Visible to all members of the lobby. At most 30 key-value pairs may be stored here, + * keys are limited to 30 characters and values to 1000. The total size of all memberData values may not exceed 4096 bytes. + * Keys are case sensitive. Servers cannot specifiy this. + */ + MemberData?: { [key: string]: string | null }; + /** + * The keys to delete from the lobby MemberData. Optional. Deletes key-value pairs on the caller's member data. All the + * specified keys will be removed from the caller's member data. Keys that do not exist are a no-op. If the key to delete + * exists in the memberData (same request) it will result in a bad request. Servers cannot specifiy this. + */ + MemberDataToDelete?: string[]; + /** The member entity whose data is being modified. Servers cannot specify this. */ + MemberEntity?: EntityKey; + /** + * A setting indicating whether the lobby is locked. May be 'Unlocked' or 'Locked'. When Locked new members are not allowed + * to join. Defaults to 'Unlocked' on creation. Can only be changed by the lobby owner. + */ + MembershipLock?: string; + /** + * The lobby owner. Optional. Set to transfer ownership of the lobby. If client - owned and 'Automatic' - The Lobby service + * will automatically assign another connected owner when the current owner leaves or disconnects. useConnections must be + * true. If client - owned and 'Manual' - Ownership is protected as long as the current owner is connected. If the current + * owner leaves or disconnects any member may set themselves as the current owner. The useConnections property must be + * true. If client-owned and 'None' - Any member can set ownership. The useConnections property can be either true or + * false. For all client-owned lobbies when the owner leaves and a new owner can not be automatically selected - The owner + * field is set to null. For all client-owned lobbies when the owner disconnects and a new owner can not be automatically + * selected - The owner field remains unchanged and the current owner retains all owner abilities for the lobby. If + * server-owned (must be 'Server') - Any server can set ownership. The useConnections property must be true. + */ + Owner?: EntityKey; + /** + * The public key-value pairs which allow queries to differentiate between lobbies. Optional. Sets or updates key-value + * pairs on the lobby for use with queries. Only the current lobby owner can set search data. New keys will be added with + * their values and existing keys will be updated with the new values. There can be up to 30 key-value pairs stored here. + * Keys are of the format string_key1, string_key2... string_key30 for string values, or number_key1, number_key2, ... + * number_key30 for numeric values. Numeric values are floats. Values can be at most 256 characters long. The total size of + * all searchData values may not exceed 1024 bytes.Keys are case sensitive. + */ + SearchData?: { [key: string]: string | null }; + /** + * The keys to delete from the lobby SearchData. Optional. Deletes key-value pairs on the lobby. Only the current lobby + * owner can delete search data. All the specified keys will be removed from the search data. Keys that do not exist in the + * lobby are a no-op.If the key to delete exists in the searchData (same request) it will result in a bad request. + */ + SearchDataToDelete?: string[]; + + } + export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 89aa6186..20f756ce 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -467,6 +467,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Inform the matchmaker that a new Game Server Instance is added. + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame + */ + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend @@ -2426,6 +2431,10 @@ declare module PlayFabServerModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" + | "EventSinkLimitExceeded" + | "EventSinkSasTokenInvalid" + | "EventSinkNotFound" + | "EventSinkNameInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -4042,6 +4051,53 @@ declare module PlayFabServerModels { } + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the build running on the Game Server Instance. */ + Build: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game + * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + */ + GameMode: string; + /** Previous lobby id if re-registering an existing game. */ + LobbyId?: string; + /** + * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS + * region and use Tags (below) to specify your custom region. + */ + Region: string; + /** IPV4 address of the game server instance. */ + ServerIPV4Address?: string; + /** IPV6 address (if any) of the game server instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ + ServerPort: string; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; + /** Tags for the Game Server Instance */ + Tags?: { [key: string]: string | null }; + + } + + export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the + * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. + */ + LobbyId?: string; + + } + export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index a0ba1b3d..07a7e0ea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -445,10 +445,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, - GetServerBuildInfo: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetServerBuildInfo", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetStoreItems: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetStoreItems", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -521,10 +517,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, - ListServerBuilds: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListServerBuilds", request, "X-SecretKey", callback, customData, extraHeaders); - }, - ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -541,10 +533,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemovePlayerTag", request, "X-SecretKey", callback, customData, extraHeaders); }, - RemoveServerBuild: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); - }, - RemoveVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RemoveVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d95a3891..662cbeef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 29e944f0..ae1ff276 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index a25cb2b1..8534afd2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 89069b55..404c2b29 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 246ac4b5..15b245cf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 58153921..6dcb99b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 3f15e780..5c4541c5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 12185d07..a2fe7ee4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 190412a9..61a640da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index c1a912df..405efa2c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index d6d72de0..11f22285 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 457a61c9..7c349b6c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -273,6 +273,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/CreateBuildWithProcessBasedServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + CreateLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/CreateLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/CreateMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -317,6 +321,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteContainerImageRepository", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/DeleteLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteRemoteUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -325,6 +333,14 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders); }, + FindFriendLobbies: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/FindFriendLobbies", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + FindLobbies: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/FindLobbies", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetAssetDownloadUrl: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetAssetDownloadUrl", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -345,6 +361,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/GetLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetMatch: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/GetMatch", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -393,10 +413,26 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/GetTitleMultiplayerServersQuotas", request, "X-EntityToken", callback, customData, extraHeaders); }, + InviteToLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/InviteToLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + JoinArrangedLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinArrangedLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + JoinLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders); }, + LeaveLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/LeaveLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -461,6 +497,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/RemoveMatchmakingQueue", request, "X-EntityToken", callback, customData, extraHeaders); }, + RemoveMember: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/RemoveMember", request, "X-EntityToken", callback, customData, extraHeaders); + }, + RequestMultiplayerServer: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -477,6 +517,14 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ShutdownMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubscribeToLobbyResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UnsubscribeFromLobbyResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UntagContainerImage: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UntagContainerImage", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -497,6 +545,10 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UpdateBuildRegions", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateLobby: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UpdateLobby", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UploadCertificate: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index e1b2ce50..ff9d3cd5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index db7d7537..d87d9ce4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.103.220305", + sdkVersion: "1.104.220316", requestGetParams: { - sdk: "JavaScriptSDK-1.103.220305" + sdk: "JavaScriptSDK-1.104.220316" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.103.220305"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.104.220316"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -581,6 +581,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9f63b5af..f3282e20 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -273,11 +273,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments */ GetSegments(request: PlayFabAdminModels.GetSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the build details for the specified game server executable - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/getserverbuildinfo - */ - GetServerBuildInfo(request: PlayFabAdminModels.GetServerBuildInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -368,11 +363,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Retrieves the build details for all game server executables which are currently defined for the title - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/listserverbuilds - */ - ListServerBuilds(request: PlayFabAdminModels.ListBuildsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retuns the list of all defined virtual currencies for the title * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes @@ -393,12 +383,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/removeplayertag */ RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Removes the game server executable specified from the set of those a client is permitted to request in a call to - * StartGame - * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/removeserverbuild - */ - RemoveServerBuild(request: PlayFabAdminModels.RemoveServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -2515,6 +2499,10 @@ declare module PlayFabAdminModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" + | "EventSinkLimitExceeded" + | "EventSinkSasTokenInvalid" + | "EventSinkNotFound" + | "EventSinkNameInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -2901,40 +2889,6 @@ declare module PlayFabAdminModels { } - export interface GetServerBuildInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** unique identifier of the previously uploaded build executable for which information is being requested */ - BuildId: string; - - } - - export interface GetServerBuildInfoResult 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; - /** developer comment(s) for this build */ - Comment?: string; - /** error message, if any, about this build */ - ErrorMessage?: 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 GetStoreItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version to store items from. Use default catalog version if null */ CatalogVersion?: string; @@ -3303,16 +3257,6 @@ declare module PlayFabAdminModels { } - export interface ListBuildsRequest extends PlayFabModule.IPlayFabRequestCommon { - - } - - export interface ListBuildsResult extends PlayFabModule.IPlayFabResultCommon { - /** array of uploaded game server builds */ - Builds?: GetServerBuildInfoResult[]; - - } - export interface ListOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3866,16 +3810,6 @@ declare module PlayFabAdminModels { } - export interface RemoveServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon { - /** unique identifier of the previously uploaded build executable to be removed */ - BuildId: string; - - } - - export interface RemoveServerBuildResult extends PlayFabModule.IPlayFabResultCommon { - - } - export interface RemoveVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of virtual currencies to delete */ VirtualCurrencies: VirtualCurrencyData[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 28ec9b5b..106d1e99 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -154,6 +154,8 @@ declare module PlayFabEconomyModels { Image?: ImageConfig; /** Flag defining whether catalog is enabled. */ IsCatalogEnabled: boolean; + /** A list of Platforms that can be applied to catalog items. */ + Platforms?: string[]; /** A set of player entity keys that are allowed to review content. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ @@ -213,6 +215,48 @@ declare module PlayFabEconomyModels { } + export interface CatalogItemReference { + /** The amount of the catalog item. */ + Amount?: number; + /** The unique ID of the catalog item. */ + Id?: string; + /** The price of the catalog item. */ + Price?: CatalogPrice; + + } + + export interface CatalogPrice { + /** Prices of the catalog item. */ + Prices?: CatalogPriceInstance[]; + /** Real prices of the catalog item. */ + RealPrices?: CatalogPriceInstance[]; + /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ + Sort?: number; + + } + + export interface CatalogPriceAmount { + /** The amount of the catalog price. */ + Amount: number; + /** The Item ID of the price. */ + Id?: string; + + } + + export interface CatalogPriceInstance { + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; + + } + + export interface CatalogSpecificConfig { + /** The set of content types that will be used for validation. */ + ContentTypes?: string[]; + /** The set of tags that will be used for validation. */ + Tags?: string[]; + + } + type ConcernCategory = "None" | "OffensiveContent" | "ChildExploitation" @@ -270,6 +314,14 @@ declare module PlayFabEconomyModels { } + export interface DeepLinkFormat { + /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ + Format?: string; + /** The target platform for the deep link. */ + Platform?: string; + + } + export interface DeleteEntityItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -347,8 +399,6 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** Whether to fetch metadata of the scan status. */ - ExpandScanningStatus?: boolean; /** The unique ID of the item. */ Id?: string; @@ -450,8 +500,6 @@ declare module PlayFabEconomyModels { } export interface GetItemPublishStatusResponse extends PlayFabModule.IPlayFabResultCommon { - /** Scan results for any items that failed content scans. */ - FailedScanResults?: ScanResult[]; /** High level status of the published item. */ Result?: string; /** Descriptive message about the current status of the publish. */ @@ -584,6 +632,16 @@ declare module PlayFabEconomyModels { | "Approved" | "Rejected"; + export interface PayoutDetails { + /** The Dev Center account ID of the payee. */ + AccountSellerId?: string; + /** The tax code for payout calculations. */ + TaxCode?: string; + /** The Universal account ID of the payee. */ + Uaid?: string; + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -675,8 +733,6 @@ declare module PlayFabEconomyModels { export interface Review { /** The number of negative helpfulness votes for this review. */ HelpfulNegative: number; - /** Total number of helpfulness votes for this review. */ - HelpfulnessVotes: number; /** The number of positive helpfulness votes for this review. */ HelpfulPositive: number; /** Indicates whether the review author has the item installed. */ @@ -785,6 +841,14 @@ declare module PlayFabEconomyModels { } + export interface StoreInfo { + /** An alternate ID of the store. */ + AlternateId?: CatalogAlternateId; + /** The unique ID of the store. */ + Id?: string; + + } + export interface SubmitItemReviewVoteRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID of the item associated with the review. */ AlternateId?: CatalogAlternateId; @@ -805,6 +869,12 @@ declare module PlayFabEconomyModels { } + export interface SubscriptionDetails { + /** The length of time that the subscription will last in seconds. */ + DurationInSeconds: number; + + } + export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 777e12b4..accbfe7e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -44,6 +44,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithprocessbasedserver */ CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Create a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/createlobby + */ + CreateLobby(request: PlayFabMultiplayerModels.CreateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Create a matchmaking ticket as a client. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket @@ -102,6 +107,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecontainerimagerepository */ DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/deletelobby + */ + DeleteLobby(request: PlayFabMultiplayerModels.DeleteLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Deletes a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser @@ -112,6 +122,16 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle */ EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Find lobbies which match certain criteria, and which friends are in. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findfriendlobbies + */ + FindFriendLobbies(request: PlayFabMultiplayerModels.FindFriendLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Find all the lobbies that match certain criteria. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findlobbies + */ + FindLobbies(request: PlayFabMultiplayerModels.FindLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 @@ -139,6 +159,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getcontainerregistrycredentials */ GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/getlobby + */ + GetLobby(request: PlayFabMultiplayerModels.GetLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get a match. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch @@ -199,11 +224,31 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas */ GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Send a notification to invite a player to a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/invitetolobby + */ + InviteToLobby(request: PlayFabMultiplayerModels.InviteToLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Join an Arranged lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinarrangedlobby + */ + JoinArrangedLobby(request: PlayFabMultiplayerModels.JoinArrangedLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Join a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobby + */ + JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Join a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket */ JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Leave a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobby + */ + LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Lists archived multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers @@ -287,6 +332,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/removematchmakingqueue */ RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Remove a member from a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/removemember + */ + RemoveMember(request: PlayFabMultiplayerModels.RemoveMemberFromLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. @@ -308,6 +358,16 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver */ ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subscribe to lobby resource notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/subscribetolobbyresource + */ + SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unsubscribe from lobby notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/unsubscribefromlobbyresource + */ + UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Untags a container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage @@ -333,6 +393,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions */ UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update a lobby. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobby + */ + UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Uploads a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate @@ -343,6 +408,10 @@ declare module PlayFabMultiplayerModule { } declare module PlayFabMultiplayerModels { + type AccessPolicy = "Public" + | "Friends" + | "Private"; + export interface AssetReference { /** The asset's file name. This is a filename with the .zip, .tar, or .tar.gz extension. */ FileName?: string; @@ -1008,6 +1077,68 @@ declare module PlayFabMultiplayerModels { } + export interface CreateLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or + * 'Private'. Public means the lobby is both visible in queries and any player may join, including invited players. Friends + * means that users who are bidirectional friends of members in the lobby may search to find friend lobbies, to retrieve + * its connection string. Private means the lobby is not visible in queries, and a player must receive an invitation to + * join. Defaults to 'Public' on creation. Can only be changed by the lobby owner. + */ + AccessPolicy?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs which are only visible to members of the lobby. At most 30 key-value pairs may be stored + * here, keys are limited to 30 characters and values to 1000. The total size of all lobbyData values may not exceed 4096 + * bytes. Keys are case sensitive. + */ + LobbyData?: { [key: string]: string | null }; + /** The maximum number of players allowed in the lobby. The value must be between 2 and 128. */ + MaxPlayers: number; + /** + * The member initially added to the lobby. Client must specify exactly one member, which is the creator's entity and + * member data. Member PubSubConnectionHandle must be null or empty. Game servers must not specify any members. + */ + Members?: Member[]; + /** The lobby owner. Must be the calling entity. */ + Owner: EntityKey; + /** + * The policy for how a new owner is chosen. May be 'Automatic', 'Manual' or 'None'. Can only be specified by clients. If + * client-owned and 'Automatic' - The Lobby service will automatically assign another connected owner when the current + * owner leaves or disconnects. The useConnections property must be true. If client - owned and 'Manual' - Ownership is + * protected as long as the current owner is connected. If the current owner leaves or disconnects any member may set + * themselves as the current owner. The useConnections property must be true. If client-owned and 'None' - Any member can + * set ownership. The useConnections property can be either true or false. + */ + OwnerMigrationPolicy?: string; + /** + * The public key-value pairs which allow queries to differentiate between lobbies. Queries will refer to these key-value + * pairs in their filter and order by clauses to retrieve lobbies fitting the specified criteria. At most 30 key-value + * pairs may be stored here. Keys are of the format string_key1, string_key2 ... string_key30 for string values, or + * number_key1, number_key2, ... number_key30 for numeric values.Numeric values are floats. Values can be at most 256 + * characters long. The total size of all searchData values may not exceed 1024 bytes. + */ + SearchData?: { [key: string]: string | null }; + /** + * A setting to control whether connections are used. Defaults to true. When true, notifications are sent to subscribed + * players, disconnect detection removes connectionHandles, only owner migration policies using connections are allowed, + * and lobbies must have at least one connected member to be searchable or be a server hosted lobby with a connected + * server. If false, then notifications are not sent, connections are not allowed, and lobbies do not need connections to + * be searchable. + */ + UseConnections: boolean; + + } + + export interface CreateLobbyResult extends PlayFabModule.IPlayFabResultCommon { + /** A field which indicates which lobby the user will be joining. */ + ConnectionString: string; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + + } + export interface CreateMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The User who created this ticket. */ Creator: MatchmakingPlayer; @@ -1212,6 +1343,14 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + + } + export interface DeleteRemoteUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server where the remote user is to delete. */ BuildId: string; @@ -1307,6 +1446,81 @@ declare module PlayFabMultiplayerModels { } + export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Controls whether this query should link to friends made on the Facebook network. Defaults to false */ + ExcludeFacebookFriends: boolean; + /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ + ExcludeSteamFriends: boolean; + /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + Filter?: string; + /** + * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can + * be used to sort by distance from the given number. This field only supports either one sort clause or one distance + * clause. + */ + OrderBy?: string; + /** Request pagination information. */ + Pagination?: PaginationRequest; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; + + } + + export interface FindFriendLobbiesResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of lobbies found that matched FindFriendLobbies request. */ + Lobbies: FriendLobbySummary[]; + /** Pagination response for FindFriendLobbies request. */ + Pagination: PaginationResponse; + + } + + export interface FindLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + Filter?: string; + /** + * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can + * be used to sort by distance from the given number. This field only supports either one sort clause or one distance + * clause. + */ + OrderBy?: string; + /** Request pagination information. */ + Pagination?: PaginationRequest; + + } + + export interface FindLobbiesResult extends PlayFabModule.IPlayFabResultCommon { + /** Array of lobbies found that matched FindLobbies request. */ + Lobbies: LobbySummary[]; + /** Pagination response for FindLobbies request. */ + Pagination: PaginationResponse; + + } + + export interface FriendLobbySummary { + /** + * A string used to join the lobby.This field is populated by the Lobby service.Invites are performed by communicating this + * connectionString to other players. + */ + ConnectionString: string; + /** The current number of players in the lobby. */ + CurrentPlayers: number; + /** Friends in Lobby. */ + Friends?: EntityKey[]; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + /** The maximum number of players allowed in the lobby. */ + MaxPlayers: number; + /** The client or server entity which owns this lobby. */ + Owner: EntityKey; + /** Search data. */ + SearchData?: { [key: string]: string | null }; + + } + export interface GameCertificateReference { /** * An alias for the game certificate. The game server will reference this alias via GSDK config to retrieve the game @@ -1460,6 +1674,20 @@ declare module PlayFabMultiplayerModels { } + export interface GetLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + + } + + export interface GetLobbyResult extends PlayFabModule.IPlayFabResultCommon { + /** The information pertaining to the requested lobby. */ + Lobby: Lobby; + + } + export interface GetMatchmakingQueueRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1734,6 +1962,87 @@ declare module PlayFabMultiplayerModels { } + export interface InviteToLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity invited to the lobby. */ + InviteeEntity?: EntityKey; + /** The id of the lobby. */ + LobbyId?: string; + /** The member entity sending the invite. Must be a member of the lobby. */ + MemberEntity?: EntityKey; + + } + + export interface JoinArrangedLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or + * 'Private'. Public means the lobby is both visible in queries and any player may join, including invited players. Friends + * means that users who are bidirectional friends of members in the lobby may search to find friend lobbies, to retrieve + * its connection string. Private means the lobby is not visible in queries, and a player must receive an invitation to + * join. Defaults to 'Public' on creation. Can only be changed by the lobby owner. + */ + AccessPolicy?: string; + /** + * A field which indicates which lobby the user will be joining. This field is opaque to everyone except the Lobby service + * and the creator of the arrangementString (Matchmaking). This string defines a unique identifier for the arranged lobby + * as well as the title and member the string is valid for. Arrangement strings have an expiration. + */ + ArrangementString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The maximum number of players allowed in the lobby. The value must be between 2 and 128. */ + MaxPlayers: number; + /** + * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all + * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * 1000. The total size of all memberData values may not exceed 4096 bytes. Keys are case sensitive. + */ + MemberData?: { [key: string]: string | null }; + /** The member entity who is joining the lobby. The first member to join will be the lobby owner. */ + MemberEntity: EntityKey; + /** + * The policy for how a new owner is chosen. May be 'Automatic', 'Manual' or 'None'. Can only be specified by clients. If + * client-owned and 'Automatic' - The Lobby service will automatically assign another connected owner when the current + * owner leaves or disconnects. The useConnections property must be true. If client - owned and 'Manual' - Ownership is + * protected as long as the current owner is connected. If the current owner leaves or disconnects any member may set + * themselves as the current owner. The useConnections property must be true. If client-owned and 'None' - Any member can + * set ownership. The useConnections property can be either true or false. + */ + OwnerMigrationPolicy?: string; + /** + * A setting to control whether connections are used. Defaults to true. When true, notifications are sent to subscribed + * players, disconnect detection removes connectionHandles, only owner migration policies using connections are allowed, + * and lobbies must have at least one connected member to be searchable or be a server hosted lobby with a connected + * server. If false, then notifications are not sent, connections are not allowed, and lobbies do not need connections to + * be searchable. + */ + UseConnections: boolean; + + } + + export interface JoinLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A field which indicates which lobby the user will be joining. This field is opaque to everyone except the Lobby service. */ + ConnectionString?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all + * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * 1000. The total size of all memberData values may not exceed 4096 bytes.Keys are case sensitive. + */ + MemberData?: { [key: string]: string | null }; + /** The member entity who is joining the lobby. */ + MemberEntity?: EntityKey; + + } + + export interface JoinLobbyResult extends PlayFabModule.IPlayFabResultCommon { + /** Successfully joined lobby's id. */ + LobbyId: string; + + } + export interface JoinMatchmakingTicketRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1750,6 +2059,16 @@ declare module PlayFabMultiplayerModels { } + export interface LeaveLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + /** The member entity leaving the lobby. */ + MemberEntity?: EntityKey; + + } + export interface LinearDifferenceRuleExpansion { /** This value gets added to Difference at every expansion interval. */ Delta: number; @@ -2059,6 +2378,65 @@ declare module PlayFabMultiplayerModels { } + export interface Lobby { + /** A setting indicating who is allowed to join this lobby, as well as see it in queries. */ + AccessPolicy: string; + /** A number that increments once for each request that modifies the lobby. */ + ChangeNumber: number; + /** + * A string used to join the lobby. This field is populated by the Lobby service. Invites are performed by communicating + * this connectionString to other players. + */ + ConnectionString: string; + /** Lobby data. */ + LobbyData?: { [key: string]: string | null }; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + /** The maximum number of players allowed in the lobby. */ + MaxPlayers: number; + /** Array of all lobby members. */ + Members?: Member[]; + /** A setting indicating whether members are allowed to join this lobby. When Locked new members are prevented from joining. */ + MembershipLock: string; + /** The client or server entity which owns this lobby. */ + Owner?: EntityKey; + /** A setting indicating the owner migration policy. If server owned, this field is not present. */ + OwnerMigrationPolicy?: string; + /** + * An opaque string stored on a SubscribeToLobbyResource call, which indicates the connection an owner or member has with + * PubSub. + */ + PubSubConnectionHandle?: string; + /** Search data. */ + SearchData?: { [key: string]: string | null }; + /** A flag which determines if connections are used. Defaults to true. Only set on create. */ + UseConnections: boolean; + + } + + export interface LobbyEmptyResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface LobbySummary { + /** + * A string used to join the lobby.This field is populated by the Lobby service.Invites are performed by communicating this + * connectionString to other players. + */ + ConnectionString: string; + /** The current number of players in the lobby. */ + CurrentPlayers: number; + /** Id to uniquely identify a lobby. */ + LobbyId: string; + /** The maximum number of players allowed in the lobby. */ + MaxPlayers: number; + /** The client or server entity which owns this lobby. */ + Owner: EntityKey; + /** Search data. */ + SearchData?: { [key: string]: string | null }; + + } + export interface MatchmakingPlayer { /** The user's attributes custom to the title. */ Attributes?: MatchmakingPlayerAttributes; @@ -2165,6 +2543,19 @@ declare module PlayFabMultiplayerModels { } + export interface Member { + /** Key-value pairs specific to member. */ + MemberData?: { [key: string]: string | null }; + /** The member entity key. */ + MemberEntity?: EntityKey; + /** Opaque string, stored on a Subscribe call, which indicates the connection an owner or member has with PubSub. */ + PubSubConnectionHandle?: string; + + } + + type MembershipLock = "Unlocked" + | "Locked"; + export interface MonitoringApplicationConfiguration { /** Asset which contains the monitoring application files and scripts. */ AssetReference: AssetReference; @@ -2222,6 +2613,27 @@ declare module PlayFabMultiplayerModels { } + type OwnerMigrationPolicy = "None" + | "Automatic" + | "Manual" + | "Server"; + + export interface PaginationRequest { + /** Continuation token returned as a result in a previous FindLobbies call. Cannot be specified by clients. */ + ContinuationToken?: string; + /** The number of lobbies that should be retrieved. Cannot be specified by servers, clients may specify any value up to 50 */ + PageSizeRequested?: number; + + } + + export interface PaginationResponse { + /** Continuation token returned by server call. Not returned for clients */ + ContinuationToken?: string; + /** The number of lobbies that matched the search request. */ + TotalMatchedLobbyCount?: number; + + } + export interface Port { /** The name for the port. */ Name: string; @@ -2305,6 +2717,18 @@ declare module PlayFabMultiplayerModels { } + export interface RemoveMemberFromLobbyRequest 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 id of the lobby. */ + LobbyId?: string; + /** The member entity to be removed from the lobby. */ + MemberEntity?: EntityKey; + /** If true, removed member can never rejoin this lobby. */ + PreventRejoin: boolean; + + } + export interface RequestMultiplayerServerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The identifiers of the build alias to use for the request. */ BuildAliasParams?: BuildAliasParams; @@ -2528,6 +2952,31 @@ declare module PlayFabMultiplayerModels { } + export interface SubscribeToLobbyResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity performing the subscription. */ + EntityKey: EntityKey; + /** Opaque string, given to a client upon creating a connection with PubSub. */ + PubSubConnectionHandle: string; + /** The name of the resource to subscribe to. */ + ResourceId: string; + /** Version number for the subscription of this resource. */ + SubscriptionVersion: number; + /** Subscription type. */ + Type: string; + + } + + export interface SubscribeToLobbyResourceResult extends PlayFabModule.IPlayFabResultCommon { + /** Topic will be returned in all notifications that are the result of this subscription. */ + Topic: string; + + } + + type SubscriptionType = "LobbyChange" + | "LobbyInvite"; + export interface TeamDifferenceRule { /** Description of the attribute used by this rule to match teams. */ Attribute: QueueRuleAttribute; @@ -2596,6 +3045,22 @@ declare module PlayFabMultiplayerModels { } + export interface UnsubscribeFromLobbyResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity which performed the subscription. */ + EntityKey: EntityKey; + /** Opaque string, given to a client upon creating a connection with PubSub. */ + PubSubConnectionHandle: string; + /** The name of the resource to unsubscribe from. */ + ResourceId: string; + /** Version number passed for the subscription of this resource. */ + SubscriptionVersion: number; + /** Subscription type. */ + Type: string; + + } + export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -2648,6 +3113,85 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or + * 'Private'. Public means the lobby is both visible in queries and any player may join, including invited players. Friends + * means that users who are bidirectional friends of members in the lobby may search to find friend lobbies, to retrieve + * its connection string. Private means the lobby is not visible in queries, and a player must receive an invitation to + * join. Defaults to 'Public' on creation. Can only be changed by the lobby owner. + */ + AccessPolicy?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs which are only visible to members of the lobby. Optional. Sets or updates key-value pairs on + * the lobby. Only the current lobby owner can set lobby data. Keys may be an arbitrary string of at most 30 characters. + * The total size of all lobbyData values may not exceed 4096 bytes. Values are not individually limited. There can be up + * to 30 key-value pairs stored here. Keys are case sensitive. + */ + LobbyData?: { [key: string]: string | null }; + /** The keys to delete from the lobby LobbyData. Optional. Behaves similar to searchDataToDelete, but applies to lobbyData. */ + LobbyDataToDelete?: string[]; + /** The id of the lobby. */ + LobbyId?: string; + /** + * The maximum number of players allowed in the lobby. Updates the maximum allowed number of players in the lobby. Only the + * current lobby owner can set this. If set, the value must be greater than or equal to the number of members currently in + * the lobby. + */ + MaxPlayers?: number; + /** + * The private key-value pairs used by the member to communicate information to other members and the owner. Optional. Sets + * or updates new key-value pairs on the caller's member data. New keys will be added with their values and existing keys + * will be updated with the new values. Visible to all members of the lobby. At most 30 key-value pairs may be stored here, + * keys are limited to 30 characters and values to 1000. The total size of all memberData values may not exceed 4096 bytes. + * Keys are case sensitive. Servers cannot specifiy this. + */ + MemberData?: { [key: string]: string | null }; + /** + * The keys to delete from the lobby MemberData. Optional. Deletes key-value pairs on the caller's member data. All the + * specified keys will be removed from the caller's member data. Keys that do not exist are a no-op. If the key to delete + * exists in the memberData (same request) it will result in a bad request. Servers cannot specifiy this. + */ + MemberDataToDelete?: string[]; + /** The member entity whose data is being modified. Servers cannot specify this. */ + MemberEntity?: EntityKey; + /** + * A setting indicating whether the lobby is locked. May be 'Unlocked' or 'Locked'. When Locked new members are not allowed + * to join. Defaults to 'Unlocked' on creation. Can only be changed by the lobby owner. + */ + MembershipLock?: string; + /** + * The lobby owner. Optional. Set to transfer ownership of the lobby. If client - owned and 'Automatic' - The Lobby service + * will automatically assign another connected owner when the current owner leaves or disconnects. useConnections must be + * true. If client - owned and 'Manual' - Ownership is protected as long as the current owner is connected. If the current + * owner leaves or disconnects any member may set themselves as the current owner. The useConnections property must be + * true. If client-owned and 'None' - Any member can set ownership. The useConnections property can be either true or + * false. For all client-owned lobbies when the owner leaves and a new owner can not be automatically selected - The owner + * field is set to null. For all client-owned lobbies when the owner disconnects and a new owner can not be automatically + * selected - The owner field remains unchanged and the current owner retains all owner abilities for the lobby. If + * server-owned (must be 'Server') - Any server can set ownership. The useConnections property must be true. + */ + Owner?: EntityKey; + /** + * The public key-value pairs which allow queries to differentiate between lobbies. Optional. Sets or updates key-value + * pairs on the lobby for use with queries. Only the current lobby owner can set search data. New keys will be added with + * their values and existing keys will be updated with the new values. There can be up to 30 key-value pairs stored here. + * Keys are of the format string_key1, string_key2... string_key30 for string values, or number_key1, number_key2, ... + * number_key30 for numeric values. Numeric values are floats. Values can be at most 256 characters long. The total size of + * all searchData values may not exceed 1024 bytes.Keys are case sensitive. + */ + SearchData?: { [key: string]: string | null }; + /** + * The keys to delete from the lobby SearchData. Optional. Deletes key-value pairs on the lobby. Only the current lobby + * owner can delete search data. All the specified keys will be removed from the search data. Keys that do not exist in the + * lobby are a no-op.If the key to delete exists in the searchData (same request) it will result in a bad request. + */ + SearchDataToDelete?: string[]; + + } + export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 89aa6186..20f756ce 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -467,6 +467,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Inform the matchmaker that a new Game Server Instance is added. + * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame + */ + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend @@ -2426,6 +2431,10 @@ declare module PlayFabServerModels { | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" + | "EventSinkLimitExceeded" + | "EventSinkSasTokenInvalid" + | "EventSinkNotFound" + | "EventSinkNameInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -4042,6 +4051,53 @@ declare module PlayFabServerModels { } + type Region = "USCentral" + | "USEast" + | "EUWest" + | "Singapore" + | "Japan" + | "Brazil" + | "Australia"; + + export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the build running on the Game Server Instance. */ + Build: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game + * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). + */ + GameMode: string; + /** Previous lobby id if re-registering an existing game. */ + LobbyId?: string; + /** + * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS + * region and use Tags (below) to specify your custom region. + */ + Region: string; + /** IPV4 address of the game server instance. */ + ServerIPV4Address?: string; + /** IPV6 address (if any) of the game server instance. */ + ServerIPV6Address?: string; + /** Port number for communication with the Game Server Instance. */ + ServerPort: string; + /** Public DNS name (if any) of the server */ + ServerPublicDNSName?: string; + /** Tags for the Game Server Instance */ + Tags?: { [key: string]: string | null }; + + } + + export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the + * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. + */ + LobbyId?: string; + + } + export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; From d53db0ffac58f4ac6def647ead25b6d8077a909a Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 17 Mar 2022 18:36:54 +0000 Subject: [PATCH 142/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220317 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- 31 files changed, 121 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0608d059..07f9776b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.104.220316", + "version": "1.105.220317", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 07a7e0ea..2408367b 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 662cbeef..999197a6 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ae1ff276..ba0a2bf8 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 8534afd2..f57d3fcb 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 404c2b29..dffa240e 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 15b245cf..e5668c8d 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6dcb99b0..742ab051 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 5c4541c5..d6263ae0 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a2fe7ee4..59ed2055 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 61a640da..220af056 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 405efa2c..4de3bf37 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 11f22285..f89ea8b2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7c349b6c..67712b4c 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index ff9d3cd5..5f4aafba 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d87d9ce4..b63cc36a 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.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 07a7e0ea..2408367b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 662cbeef..999197a6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ae1ff276..ba0a2bf8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 8534afd2..f57d3fcb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 404c2b29..dffa240e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 15b245cf..e5668c8d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6dcb99b0..742ab051 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 5c4541c5..d6263ae0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a2fe7ee4..59ed2055 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 61a640da..220af056 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 405efa2c..4de3bf37 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 11f22285..f89ea8b2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7c349b6c..67712b4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index ff9d3cd5..5f4aafba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d87d9ce4..b63cc36a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.104.220316", + sdkVersion: "1.105.220317", requestGetParams: { - sdk: "JavaScriptSDK-1.104.220316" + sdk: "JavaScriptSDK-1.105.220317" }, sessionTicket: 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.104.220316"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.105.220317"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 1d7637d42f85b8b1972bc6d23d21a58e1dfb9dee Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 28 Mar 2022 22:03:10 +0000 Subject: [PATCH 143/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220328 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 16 +++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 20 ++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 67 +++++++++++++++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEconomyApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 16 +++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../typings/PlayFab/PlayFabEconomyApi.d.ts | 20 ++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 67 +++++++++++++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 39 files changed, 305 insertions(+), 131 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 07f9776b..21971e55 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.105.220317", + "version": "1.107.220328", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 2408367b..82f5d11e 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 999197a6..bc6e6770 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ba0a2bf8..ca0b42a2 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index f57d3fcb..f1bd93b3 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index dffa240e..4a737c19 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index e5668c8d..f69abad9 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 742ab051..f179eab1 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index d6263ae0..44818e83 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 59ed2055..f1d53c72 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 220af056..e1310974 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4de3bf37..bee457cd 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index f89ea8b2..e2537a65 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 67712b4c..f954c115 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -521,10 +521,18 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubscribeToMatchmakingResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SubscribeToMatchmakingResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UnsubscribeFromLobbyResource: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); }, + UnsubscribeFromMatchmakingResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/UnsubscribeFromMatchmakingResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UntagContainerImage: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UntagContainerImage", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5f4aafba..e9e53ff3 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b63cc36a..0a56dd7d 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.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f3282e20..ed00a485 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2352,6 +2352,7 @@ declare module PlayFabAdminModels { | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" + | "CloudScriptUnableToDeleteProductionRevision" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 106d1e99..2a033baa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -380,6 +380,10 @@ declare module PlayFabEconomyModels { } + export interface FilterOptions { + + } + export interface GetCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -642,6 +646,14 @@ declare module PlayFabEconomyModels { } + export interface PriceOverride { + + } + + export interface PricesOverride { + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -670,6 +682,10 @@ declare module PlayFabEconomyModels { | "Failed" | "Canceled"; + export interface PurchaseOverride { + + } + export interface Rating { /** The average rating for this item. */ Average?: number; @@ -841,6 +857,10 @@ declare module PlayFabEconomyModels { } + export interface StoreDetails { + + } + export interface StoreInfo { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index accbfe7e..d393f1a2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -363,11 +363,21 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/subscribetolobbyresource */ SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subscribe to match resource notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/subscribetomatchmakingresource + */ + SubscribeToMatchmakingResource(request: PlayFabMultiplayerModels.SubscribeToMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unsubscribe from lobby notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/unsubscribefromlobbyresource */ UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unsubscribe from match resource notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/unsubscribefrommatchmakingresource + */ + UnsubscribeFromMatchmakingResource(request: PlayFabMultiplayerModels.UnsubscribeFromMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Untags a container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage @@ -1648,11 +1658,6 @@ declare module PlayFabMultiplayerModels { * builds. If the build is a custom build, this field will be null. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; @@ -1720,6 +1725,8 @@ declare module PlayFabMultiplayerModels { export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ CancellationReasonString?: string; + /** Change number used for differentiating older matchmaking status updates from newer ones. */ + ChangeNumber?: number; /** The server date and time at which ticket was created. */ Created: string; /** The Creator's entity key. */ @@ -1762,6 +1769,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchResult extends PlayFabModule.IPlayFabResultCommon { + /** A string that is used by players that are matched together to join an arranged lobby. */ + ArrangementString?: string; /** The Id of a match. */ MatchId: string; /** A list of Users that are matched together, along with their team assignments. */ @@ -2974,6 +2983,34 @@ declare module PlayFabMultiplayerModels { } + export interface SubscribeToMatchResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity performing the subscription. The entity must be authorized to use this connectionHandle. */ + EntityKey: EntityKey; + /** + * Opaque string, given to a client upon creating a connection with PubSub. Notifications will be sent to the connection + * associated with this handle. + */ + PubSubConnectionHandle: string; + /** The name of the resource to subscribe to. */ + ResourceId: string; + /** Version number for the subscription of this resource. Current supported version must be 1. */ + SubscriptionVersion: number; + /** + * Subscription type. MatchInvite subscriptions are per-player. MatchTicketStatusChange subscriptions are per-ticket. + * Subscribe calls are idempotent. Subscribing on the same resource for the same connection results in success. + */ + Type: string; + + } + + export interface SubscribeToMatchResourceResult extends PlayFabModule.IPlayFabResultCommon { + /** Matchmaking resource */ + Topic: string; + + } + type SubscriptionType = "LobbyChange" | "LobbyInvite"; @@ -3061,6 +3098,26 @@ declare module PlayFabMultiplayerModels { } + export interface UnsubscribeFromMatchResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity performing the unsubscription. The entity must be authorized to use this connectionHandle. */ + EntityKey: EntityKey; + /** Opaque string, given to a client upon creating a connection with PubSub. */ + PubSubConnectionHandle: string; + /** The resource to unsubscribe from. */ + ResourceId: string; + /** Version number for the unsubscription from this resource. */ + SubscriptionVersion: number; + /** Type of the subscription to be canceled. */ + Type: string; + + } + + export interface UnsubscribeFromMatchResourceResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 20f756ce..27ffdc5f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2284,6 +2284,7 @@ declare module PlayFabServerModels { | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" + | "CloudScriptUnableToDeleteProductionRevision" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 2408367b..82f5d11e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 999197a6..bc6e6770 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ba0a2bf8..ca0b42a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index f57d3fcb..f1bd93b3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index dffa240e..4a737c19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index e5668c8d..f69abad9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 742ab051..f179eab1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index d6263ae0..44818e83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 59ed2055..f1d53c72 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 220af056..e1310974 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4de3bf37..bee457cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index f89ea8b2..e2537a65 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 67712b4c..f954c115 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -521,10 +521,18 @@ PlayFab.MultiplayerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/SubscribeToLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubscribeToMatchmakingResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/SubscribeToMatchmakingResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UnsubscribeFromLobbyResource: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UnsubscribeFromLobbyResource", request, "X-EntityToken", callback, customData, extraHeaders); }, + UnsubscribeFromMatchmakingResource: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/UnsubscribeFromMatchmakingResource", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UntagContainerImage: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UntagContainerImage", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5f4aafba..e9e53ff3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b63cc36a..0a56dd7d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.105.220317", + sdkVersion: "1.107.220328", requestGetParams: { - sdk: "JavaScriptSDK-1.105.220317" + sdk: "JavaScriptSDK-1.107.220328" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.105.220317"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.107.220328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f3282e20..ed00a485 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2352,6 +2352,7 @@ declare module PlayFabAdminModels { | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" + | "CloudScriptUnableToDeleteProductionRevision" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 106d1e99..2a033baa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -380,6 +380,10 @@ declare module PlayFabEconomyModels { } + export interface FilterOptions { + + } + export interface GetCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -642,6 +646,14 @@ declare module PlayFabEconomyModels { } + export interface PriceOverride { + + } + + export interface PricesOverride { + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -670,6 +682,10 @@ declare module PlayFabEconomyModels { | "Failed" | "Canceled"; + export interface PurchaseOverride { + + } + export interface Rating { /** The average rating for this item. */ Average?: number; @@ -841,6 +857,10 @@ declare module PlayFabEconomyModels { } + export interface StoreDetails { + + } + export interface StoreInfo { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index accbfe7e..d393f1a2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -363,11 +363,21 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/subscribetolobbyresource */ SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subscribe to match resource notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/subscribetomatchmakingresource + */ + SubscribeToMatchmakingResource(request: PlayFabMultiplayerModels.SubscribeToMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unsubscribe from lobby notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/unsubscribefromlobbyresource */ UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unsubscribe from match resource notifications. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/unsubscribefrommatchmakingresource + */ + UnsubscribeFromMatchmakingResource(request: PlayFabMultiplayerModels.UnsubscribeFromMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Untags a container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage @@ -1648,11 +1658,6 @@ declare module PlayFabMultiplayerModels { * builds. If the build is a custom build, this field will be null. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; @@ -1720,6 +1725,8 @@ declare module PlayFabMultiplayerModels { export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ CancellationReasonString?: string; + /** Change number used for differentiating older matchmaking status updates from newer ones. */ + ChangeNumber?: number; /** The server date and time at which ticket was created. */ Created: string; /** The Creator's entity key. */ @@ -1762,6 +1769,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchResult extends PlayFabModule.IPlayFabResultCommon { + /** A string that is used by players that are matched together to join an arranged lobby. */ + ArrangementString?: string; /** The Id of a match. */ MatchId: string; /** A list of Users that are matched together, along with their team assignments. */ @@ -2974,6 +2983,34 @@ declare module PlayFabMultiplayerModels { } + export interface SubscribeToMatchResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity performing the subscription. The entity must be authorized to use this connectionHandle. */ + EntityKey: EntityKey; + /** + * Opaque string, given to a client upon creating a connection with PubSub. Notifications will be sent to the connection + * associated with this handle. + */ + PubSubConnectionHandle: string; + /** The name of the resource to subscribe to. */ + ResourceId: string; + /** Version number for the subscription of this resource. Current supported version must be 1. */ + SubscriptionVersion: number; + /** + * Subscription type. MatchInvite subscriptions are per-player. MatchTicketStatusChange subscriptions are per-ticket. + * Subscribe calls are idempotent. Subscribing on the same resource for the same connection results in success. + */ + Type: string; + + } + + export interface SubscribeToMatchResourceResult extends PlayFabModule.IPlayFabResultCommon { + /** Matchmaking resource */ + Topic: string; + + } + type SubscriptionType = "LobbyChange" | "LobbyInvite"; @@ -3061,6 +3098,26 @@ declare module PlayFabMultiplayerModels { } + export interface UnsubscribeFromMatchResourceRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity performing the unsubscription. The entity must be authorized to use this connectionHandle. */ + EntityKey: EntityKey; + /** Opaque string, given to a client upon creating a connection with PubSub. */ + PubSubConnectionHandle: string; + /** The resource to unsubscribe from. */ + ResourceId: string; + /** Version number for the unsubscription from this resource. */ + SubscriptionVersion: number; + /** Type of the subscription to be canceled. */ + Type: string; + + } + + export interface UnsubscribeFromMatchResourceResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UntagContainerImageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 20f756ce..27ffdc5f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2284,6 +2284,7 @@ declare module PlayFabServerModels { | "NoValidIdentityForAad" | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" + | "CloudScriptUnableToDeleteProductionRevision" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 5fd188e9c4283390a1ba6644c25c71c79adf594a Mon Sep 17 00:00:00 2001 From: PlayFab Jenkins Bot Date: Wed, 6 Apr 2022 16:32:04 +0000 Subject: [PATCH 144/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220406 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts | 6 +++--- .../src/Typings/PlayFab/PlayFabExperimentationApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 10 +++++----- PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts | 6 ++++-- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabAuthenticationApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabCloudScriptApi.d.ts | 6 +++--- .../src/typings/PlayFab/PlayFabExperimentationApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 10 +++++----- .../src/typings/PlayFab/PlayFabProfilesApi.d.ts | 6 ++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 45 files changed, 153 insertions(+), 145 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 21971e55..a13ab8ac 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.107.220328", + "version": "1.108.220406", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 82f5d11e..1693348d 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index bc6e6770..503b5a5c 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ca0b42a2..cac76e48 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index f1bd93b3..1734dc22 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 4a737c19..9936e9d3 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index f69abad9..8ac29ca4 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index f179eab1..0a27c641 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 44818e83..d2fd3368 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f1d53c72..350d601e 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index e1310974..c7c3396b 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index bee457cd..0c43d2dd 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index e2537a65..985a483f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index f954c115..ee6bd45e 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index e9e53ff3..b67f3bf9 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0a56dd7d..b4b277bb 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.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index ed00a485..3fcc1dc2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2353,6 +2353,7 @@ declare module PlayFabAdminModels { | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" + | "CustomIdNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index e742b56e..2e3764e8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -47,7 +47,7 @@ declare module PlayFabAuthenticationModels { export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index e01a9d7f..90d2979f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -415,7 +415,7 @@ declare module PlayFabCloudScriptModels { export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ FunctionName: string; @@ -440,7 +440,7 @@ declare module PlayFabCloudScriptModels { export interface ExecuteFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ FunctionName: string; @@ -719,7 +719,7 @@ declare module PlayFabCloudScriptModels { export interface PostFunctionResultForPlayerTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The result of the function execution. */ FunctionResult: ExecuteFunctionResult; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts index 1c557cf1..5bbcc129 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -273,7 +273,7 @@ declare module PlayFabExperimentationModels { export interface GetTreatmentAssignmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 562eef85..6cd4f9ad 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -150,7 +150,7 @@ declare module PlayFabGroupsModels { export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The identifier of the group */ Group: EntityKey; @@ -177,7 +177,7 @@ declare module PlayFabGroupsModels { AutoAcceptOutstandingInvite?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The identifier of the group */ Group: EntityKey; @@ -227,7 +227,7 @@ declare module PlayFabGroupsModels { export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the group. This is unique at the title level by default. */ GroupName: string; @@ -519,7 +519,7 @@ declare module PlayFabGroupsModels { export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } @@ -535,7 +535,7 @@ declare module PlayFabGroupsModels { export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index f04680ef..8fba427b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -183,7 +183,7 @@ declare module PlayFabProfilesModels { * JSON string. */ DataAsObject?: boolean; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } @@ -216,6 +216,8 @@ declare module PlayFabProfilesModels { export interface GetGlobalPolicyRequest 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; } @@ -282,7 +284,7 @@ declare module PlayFabProfilesModels { export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The expected version of a profile to perform this update on */ ExpectedVersion?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 27ffdc5f..be450b9f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2285,6 +2285,7 @@ declare module PlayFabServerModels { | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" + | "CustomIdNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 82f5d11e..1693348d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index bc6e6770..503b5a5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ca0b42a2..cac76e48 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index f1bd93b3..1734dc22 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 4a737c19..9936e9d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index f69abad9..8ac29ca4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index f179eab1..0a27c641 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 44818e83..d2fd3368 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f1d53c72..350d601e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index e1310974..c7c3396b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index bee457cd..0c43d2dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index e2537a65..985a483f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index f954c115..ee6bd45e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index e9e53ff3..b67f3bf9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0a56dd7d..b4b277bb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.107.220328", + sdkVersion: "1.108.220406", requestGetParams: { - sdk: "JavaScriptSDK-1.107.220328" + sdk: "JavaScriptSDK-1.108.220406" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.107.220328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.108.220406"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ed00a485..3fcc1dc2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2353,6 +2353,7 @@ declare module PlayFabAdminModels { | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" + | "CustomIdNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index e742b56e..2e3764e8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -47,7 +47,7 @@ declare module PlayFabAuthenticationModels { export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index e01a9d7f..90d2979f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -415,7 +415,7 @@ declare module PlayFabCloudScriptModels { export interface ExecuteEntityCloudScriptRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ FunctionName: string; @@ -440,7 +440,7 @@ declare module PlayFabCloudScriptModels { export interface ExecuteFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the CloudScript function to execute */ FunctionName: string; @@ -719,7 +719,7 @@ declare module PlayFabCloudScriptModels { export interface PostFunctionResultForPlayerTriggeredActionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The result of the function execution. */ FunctionResult: ExecuteFunctionResult; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts index 1c557cf1..5bbcc129 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -273,7 +273,7 @@ declare module PlayFabExperimentationModels { export interface GetTreatmentAssignmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 562eef85..6cd4f9ad 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -150,7 +150,7 @@ declare module PlayFabGroupsModels { export interface AcceptGroupInvitationRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The identifier of the group */ Group: EntityKey; @@ -177,7 +177,7 @@ declare module PlayFabGroupsModels { AutoAcceptOutstandingInvite?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The identifier of the group */ Group: EntityKey; @@ -227,7 +227,7 @@ declare module PlayFabGroupsModels { export interface CreateGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the group. This is unique at the title level by default. */ GroupName: string; @@ -519,7 +519,7 @@ declare module PlayFabGroupsModels { export interface ListMembershipOpportunitiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } @@ -535,7 +535,7 @@ declare module PlayFabGroupsModels { export interface ListMembershipRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index f04680ef..8fba427b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -183,7 +183,7 @@ declare module PlayFabProfilesModels { * JSON string. */ DataAsObject?: boolean; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; } @@ -216,6 +216,8 @@ declare module PlayFabProfilesModels { export interface GetGlobalPolicyRequest 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; } @@ -282,7 +284,7 @@ declare module PlayFabProfilesModels { export interface SetProfileLanguageRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The expected version of a profile to perform this update on */ ExpectedVersion?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 27ffdc5f..be450b9f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2285,6 +2285,7 @@ declare module PlayFabServerModels { | "PlayerIdentityLinkNotFound" | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" + | "CustomIdNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 9d9aed6c30e6c60e0cb35af10d28c32fd0c6ef39 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 2 May 2022 21:11:48 +0000 Subject: [PATCH 145/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220502 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 16 +++++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 12 +++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 +++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 47 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 35 +++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 35 +++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 16 +++++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- .../src/PlayFab/PlayFabClientApi.js | 12 +++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabServerApi.js | 12 +++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 47 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 35 +++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 35 +++++++++++++- 37 files changed, 381 insertions(+), 127 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index a13ab8ac..1c930e1f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.108.220406", + "version": "1.111.220502", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 1693348d..cf542bed 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -349,6 +349,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportMasterPlayerData", request, "X-SecretKey", callback, customData, extraHeaders); }, + ExportPlayersInSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -441,6 +445,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentExport: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 503b5a5c..ff7d501f 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index cac76e48..e1aeffa3 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -453,6 +453,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", callback, customData, extraHeaders); }, + GetPlayFabIDsFromNintendoServiceAccountIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-Authorization", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 1734dc22..8cd7f777 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9936e9d3..78cde276 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 8ac29ca4..7dc0dfa9 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 0a27c641..dbb1529f 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index d2fd3368..c3dc70e9 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 350d601e..4b0e7d50 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c7c3396b..9386d587 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0c43d2dd..ca689f0e 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 985a483f..2397b8f6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index ee6bd45e..c2a97307 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index b67f3bf9..91427376 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b4b277bb..893ad7cf 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.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -417,6 +417,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromNintendoServiceAccountIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3fcc1dc2..b2951b1d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -144,6 +144,13 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata */ ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which + * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not + * be reflected in the results. + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/exportplayersinsegment + */ + ExportPlayersInSegment(request: PlayFabAdminModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get information about a ActionsOnPlayersInSegment task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getactionsonplayersinsegmenttaskinstance @@ -268,6 +275,14 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and + * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls + * from which the files containing the player profile data can be downloaded. Otherwise, it returns the current 'State' of + * the export + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport + */ + GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -1791,6 +1806,20 @@ declare module PlayFabAdminModels { } + export interface ExportPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the requested segment. */ + SegmentId: string; + + } + + export interface ExportPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId?: string; + /** Unique identifier of the requested Segment. */ + SegmentId?: string; + + } + export interface FirstLoginDateSegmentFilter { /** First player login date comparison. */ Comparison?: string; @@ -2505,6 +2534,8 @@ declare module PlayFabAdminModels { | "EventSinkSasTokenInvalid" | "EventSinkNotFound" | "EventSinkNameInvalid" + | "EventSinkSasTokenPermissionInvalid" + | "EventSinkSecretInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -2750,6 +2781,20 @@ declare module PlayFabAdminModels { } + export interface GetPlayersInSegmentExportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId: string; + + } + + export interface GetPlayersInSegmentExportResponse extends PlayFabModule.IPlayFabResultCommon { + /** Url from which the index file can be downloaded. */ + IndexUrl?: string; + /** Shows the current status of the export */ + State?: string; + + } + export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -5417,6 +5462,8 @@ declare module PlayFabAdminModels { export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; + /** XBox user sandbox */ + XboxUserSandbox?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 103c5a05..114b16fd 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -108,7 +108,8 @@ declare module PlayFabClientModule { */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + * 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. * https://docs.microsoft.com/rest/api/playfab/client/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -303,7 +304,12 @@ declare module PlayFabClientModule { */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch identifiers. + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoserviceaccountids + */ + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -2694,6 +2700,18 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + NintendoAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromNintendoServiceAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Service Account identifiers to PlayFab identifiers. */ + Data?: NintendoServiceAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; @@ -3913,6 +3931,17 @@ declare module PlayFabClientModels { } + export interface NintendoServiceAccountPlayFabIdPair { + /** Unique Nintendo Switch Service Account identifier for a user. */ + NintendoServiceAccountId?: string; + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Service Account + * identifier. + */ + PlayFabId?: string; + + } + export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -5316,6 +5345,8 @@ declare module PlayFabClientModels { export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; + /** XBox user sandbox */ + XboxUserSandbox?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index be450b9f..42432409 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -102,7 +102,8 @@ declare module PlayFabServerModule { */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + * 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. * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -252,6 +253,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids */ GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoserviceaccountids + */ + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids @@ -2437,6 +2443,8 @@ declare module PlayFabServerModels { | "EventSinkSasTokenInvalid" | "EventSinkNotFound" | "EventSinkNameInvalid" + | "EventSinkSasTokenPermissionInvalid" + | "EventSinkSecretInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -2984,6 +2992,18 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + NintendoAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromNintendoServiceAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Service Account identifiers to PlayFab identifiers. */ + Data?: NintendoServiceAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; @@ -3718,6 +3738,17 @@ declare module PlayFabServerModels { } + export interface NintendoServiceAccountPlayFabIdPair { + /** Unique Nintendo Switch Service Account identifier for a user. */ + NintendoServiceAccountId?: string; + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Service Account + * identifier. + */ + PlayFabId?: string; + + } + export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -5187,6 +5218,8 @@ declare module PlayFabServerModels { export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; + /** XBox user sandbox */ + XboxUserSandbox?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 1693348d..cf542bed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -349,6 +349,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportMasterPlayerData", request, "X-SecretKey", callback, customData, extraHeaders); }, + ExportPlayersInSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetActionsOnPlayersInSegmentTaskInstance: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetActionsOnPlayersInSegmentTaskInstance", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -441,6 +445,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentExport: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 503b5a5c..ff7d501f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index cac76e48..e1aeffa3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -453,6 +453,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", callback, customData, extraHeaders); }, + GetPlayFabIDsFromNintendoServiceAccountIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-Authorization", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 1734dc22..8cd7f777 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9936e9d3..78cde276 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 8ac29ca4..7dc0dfa9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 0a27c641..dbb1529f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index d2fd3368..c3dc70e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 350d601e..4b0e7d50 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c7c3396b..9386d587 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0c43d2dd..ca689f0e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 985a483f..2397b8f6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index ee6bd45e..c2a97307 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index b67f3bf9..91427376 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b4b277bb..893ad7cf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.108.220406", + sdkVersion: "1.111.220502", requestGetParams: { - sdk: "JavaScriptSDK-1.108.220406" + sdk: "JavaScriptSDK-1.111.220502" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.108.220406"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.111.220502"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -417,6 +417,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromNintendoServiceAccountIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromNintendoSwitchDeviceIds: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3fcc1dc2..b2951b1d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -144,6 +144,13 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata */ ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which + * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not + * be reflected in the results. + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/exportplayersinsegment + */ + ExportPlayersInSegment(request: PlayFabAdminModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Get information about a ActionsOnPlayersInSegment task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getactionsonplayersinsegmenttaskinstance @@ -268,6 +275,14 @@ declare module PlayFabAdminModule { * 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 }): void; + /** + * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and + * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls + * from which the files containing the player profile data can be downloaded. Otherwise, it returns the current 'State' of + * the export + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport + */ + GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * 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 @@ -1791,6 +1806,20 @@ declare module PlayFabAdminModels { } + export interface ExportPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the requested segment. */ + SegmentId: string; + + } + + export interface ExportPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId?: string; + /** Unique identifier of the requested Segment. */ + SegmentId?: string; + + } + export interface FirstLoginDateSegmentFilter { /** First player login date comparison. */ Comparison?: string; @@ -2505,6 +2534,8 @@ declare module PlayFabAdminModels { | "EventSinkSasTokenInvalid" | "EventSinkNotFound" | "EventSinkNameInvalid" + | "EventSinkSasTokenPermissionInvalid" + | "EventSinkSecretInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -2750,6 +2781,20 @@ declare module PlayFabAdminModels { } + export interface GetPlayersInSegmentExportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId: string; + + } + + export interface GetPlayersInSegmentExportResponse extends PlayFabModule.IPlayFabResultCommon { + /** Url from which the index file can be downloaded. */ + IndexUrl?: string; + /** Shows the current status of the export */ + State?: string; + + } + export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { /** Continuation token if retrieving subsequent pages of results. */ ContinuationToken?: string; @@ -5417,6 +5462,8 @@ declare module PlayFabAdminModels { export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; + /** XBox user sandbox */ + XboxUserSandbox?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 103c5a05..114b16fd 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -108,7 +108,8 @@ declare module PlayFabClientModule { */ CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. + * 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. * https://docs.microsoft.com/rest/api/playfab/client/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -303,7 +304,12 @@ declare module PlayFabClientModule { */ GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch identifiers. + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoserviceaccountids + */ + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -2694,6 +2700,18 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + NintendoAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromNintendoServiceAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Service Account identifiers to PlayFab identifiers. */ + Data?: NintendoServiceAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; @@ -3913,6 +3931,17 @@ declare module PlayFabClientModels { } + export interface NintendoServiceAccountPlayFabIdPair { + /** Unique Nintendo Switch Service Account identifier for a user. */ + NintendoServiceAccountId?: string; + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Service Account + * identifier. + */ + PlayFabId?: string; + + } + export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -5316,6 +5345,8 @@ declare module PlayFabClientModels { export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; + /** XBox user sandbox */ + XboxUserSandbox?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index be450b9f..42432409 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -102,7 +102,8 @@ declare module PlayFabServerModule { */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Executes a CloudScript function, with the 'currentPlayerId' variable set to the specified PlayFabId parameter value. + * 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. * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -252,6 +253,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids */ GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoserviceaccountids + */ + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids @@ -2437,6 +2443,8 @@ declare module PlayFabServerModels { | "EventSinkSasTokenInvalid" | "EventSinkNotFound" | "EventSinkNameInvalid" + | "EventSinkSasTokenPermissionInvalid" + | "EventSinkSecretInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -2984,6 +2992,18 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + NintendoAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromNintendoServiceAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Nintendo Switch Service Account identifiers to PlayFab identifiers. */ + Data?: NintendoServiceAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ NintendoSwitchDeviceIds: string[]; @@ -3718,6 +3738,17 @@ declare module PlayFabServerModels { } + export interface NintendoServiceAccountPlayFabIdPair { + /** Unique Nintendo Switch Service Account identifier for a user. */ + NintendoServiceAccountId?: string; + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Nintendo Switch Service Account + * identifier. + */ + PlayFabId?: string; + + } + export interface NintendoSwitchPlayFabIdPair { /** Unique Nintendo Switch Device identifier for a user. */ NintendoSwitchDeviceId?: string; @@ -5187,6 +5218,8 @@ declare module PlayFabServerModels { export interface UserXboxInfo { /** XBox user ID */ XboxUserId?: string; + /** XBox user sandbox */ + XboxUserSandbox?: string; } From e4d2f3be71b29029aa4435826d232a6891b55a3f Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 9 May 2022 22:20:57 +0000 Subject: [PATCH 146/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220509 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- 31 files changed, 121 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1c930e1f..c4292492 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.111.220502", + "version": "1.113.220509", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index cf542bed..02e4ce14 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ff7d501f..ee2cf503 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e1aeffa3..4383bada 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 8cd7f777..50b1052b 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 78cde276..a4b9cb67 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 7dc0dfa9..61f959ff 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index dbb1529f..353fd951 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index c3dc70e9..be0b332f 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 4b0e7d50..3be47368 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 9386d587..1be78c4e 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ca689f0e..c32f10a4 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 2397b8f6..717ee4ab 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index c2a97307..2b224f22 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 91427376..b44ab7c5 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 893ad7cf..721a3e56 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.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index cf542bed..02e4ce14 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ff7d501f..ee2cf503 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e1aeffa3..4383bada 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 8cd7f777..50b1052b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 78cde276..a4b9cb67 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 7dc0dfa9..61f959ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index dbb1529f..353fd951 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index c3dc70e9..be0b332f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 4b0e7d50..3be47368 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 9386d587..1be78c4e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ca689f0e..c32f10a4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 2397b8f6..717ee4ab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index c2a97307..2b224f22 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 91427376..b44ab7c5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 893ad7cf..721a3e56 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.111.220502", + sdkVersion: "1.113.220509", requestGetParams: { - sdk: "JavaScriptSDK-1.111.220502" + sdk: "JavaScriptSDK-1.113.220509" }, sessionTicket: 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.111.220502"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.113.220509"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 1c7367bf20825301d67574997628311a6ed926b1 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 24 May 2022 17:19:41 +0000 Subject: [PATCH 147/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220523 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 10 +++++++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 12 ++++++++++++ PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 3 +++ PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 10 +++++++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- .../src/PlayFab/PlayFabClientApi.js | 6 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- .../src/PlayFab/PlayFabEconomyApi.js | 6 +++--- .../src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 +++--- .../src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 12 ++++++++++++ .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 3 +++ 37 files changed, 131 insertions(+), 93 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c4292492..1518e4f0 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.113.220509", + "version": "1.114.220523", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 02e4ce14..8e116296 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -621,6 +621,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, + SetTitleInternalDataAndOverrides: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalDataAndOverrides", request, null, callback, customData, extraHeaders); + }, + SetupPushNotification: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetupPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ee2cf503..e0a8bdcf 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 4383bada..1f3ac234 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 50b1052b..958d6f74 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index a4b9cb67..4c007908 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 61f959ff..d815d366 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 353fd951..e15bfa2d 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index be0b332f..f9340195 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3be47368..fcc9f21f 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 1be78c4e..00e60bb5 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index c32f10a4..954d2082 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 717ee4ab..80533b01 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 2b224f22..c782af21 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index b44ab7c5..1b7f10b5 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 721a3e56..93c2e338 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.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b2951b1d..f91aded3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -500,6 +500,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Set and delete key-value pairs in a title internal data override instance. + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldataandoverrides + */ + SetTitleInternalDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device @@ -2536,6 +2541,9 @@ declare module PlayFabAdminModels { | "EventSinkNameInvalid" | "EventSinkSasTokenPermissionInvalid" | "EventSinkSecretInvalid" + | "EventSinkTenantNotFound" + | "EventSinkAadNotFound" + | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -4683,6 +4691,8 @@ declare module PlayFabAdminModels { } export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to * create/update a key. @@ -4690,6 +4700,8 @@ declare module PlayFabAdminModels { KeyValues: TitleDataKeyValue[]; /** Name of the override. */ OverrideLabel?: string; + /** Title Id */ + TitleId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 6cd4f9ad..6367ab0a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -259,7 +259,7 @@ declare module PlayFabGroupsModels { Group: EntityKey; /** * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 - * characters long. + * characters long and are restricted to a-Z, A-Z, 0-9, '(', ')', '_', '-' and '.'. */ RoleId: string; /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 42432409..43efc9ce 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2445,6 +2445,9 @@ declare module PlayFabServerModels { | "EventSinkNameInvalid" | "EventSinkSasTokenPermissionInvalid" | "EventSinkSecretInvalid" + | "EventSinkTenantNotFound" + | "EventSinkAadNotFound" + | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 02e4ce14..8e116296 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -621,6 +621,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, + SetTitleInternalDataAndOverrides: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalDataAndOverrides", request, null, callback, customData, extraHeaders); + }, + SetupPushNotification: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetupPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ee2cf503..e0a8bdcf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 4383bada..1f3ac234 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 50b1052b..958d6f74 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index a4b9cb67..4c007908 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 61f959ff..d815d366 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 353fd951..e15bfa2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index be0b332f..f9340195 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3be47368..fcc9f21f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 1be78c4e..00e60bb5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index c32f10a4..954d2082 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 717ee4ab..80533b01 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 2b224f22..c782af21 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index b44ab7c5..1b7f10b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 721a3e56..93c2e338 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.113.220509", + sdkVersion: "1.114.220523", requestGetParams: { - sdk: "JavaScriptSDK-1.113.220509" + sdk: "JavaScriptSDK-1.114.220523" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.113.220509"; +PlayFab.sdkVersion = "1.114.220523"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b2951b1d..f91aded3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -500,6 +500,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Set and delete key-value pairs in a title internal data override instance. + * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldataandoverrides + */ + SetTitleInternalDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device @@ -2536,6 +2541,9 @@ declare module PlayFabAdminModels { | "EventSinkNameInvalid" | "EventSinkSasTokenPermissionInvalid" | "EventSinkSecretInvalid" + | "EventSinkTenantNotFound" + | "EventSinkAadNotFound" + | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; @@ -4683,6 +4691,8 @@ declare module PlayFabAdminModels { } export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; /** * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to * create/update a key. @@ -4690,6 +4700,8 @@ declare module PlayFabAdminModels { KeyValues: TitleDataKeyValue[]; /** Name of the override. */ OverrideLabel?: string; + /** Title Id */ + TitleId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 6cd4f9ad..6367ab0a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -259,7 +259,7 @@ declare module PlayFabGroupsModels { Group: EntityKey; /** * The ID of the role. This must be unique within the group and cannot be changed. Role IDs must be between 1 and 64 - * characters long. + * characters long and are restricted to a-Z, A-Z, 0-9, '(', ')', '_', '-' and '.'. */ RoleId: string; /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 42432409..43efc9ce 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2445,6 +2445,9 @@ declare module PlayFabServerModels { | "EventSinkNameInvalid" | "EventSinkSasTokenPermissionInvalid" | "EventSinkSecretInvalid" + | "EventSinkTenantNotFound" + | "EventSinkAadNotFound" + | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; From 52308f87edbdb1c6da299e49a1af29c5a90a187f Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 15 Jun 2022 03:50:57 +0000 Subject: [PATCH 148/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220607 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 37 files changed, 133 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1518e4f0..691f80ce 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.114.220523", + "version": "1.115.220607", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 8e116296..9ef1dff2 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e0a8bdcf..8ddcc589 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1f3ac234..9ed2a010 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 958d6f74..2b4e6d63 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 4c007908..35b7c8ee 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index d815d366..4ff24668 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index e15bfa2d..575c7f1d 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f9340195..a7378602 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index fcc9f21f..87db4df5 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 00e60bb5..8cffa2ec 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 954d2082..233612ee 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 80533b01..94c7684e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index c782af21..fb37a3ad 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 1b7f10b5..062168d1 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 93c2e338..be0f11a0 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.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f91aded3..1f2f37c1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2455,6 +2455,7 @@ declare module PlayFabAdminModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExportInsightsV1Deprecated" | "ExplorerBasicInvalidQueryName" | "ExplorerBasicInvalidQueryDescription" | "ExplorerBasicInvalidQueryConditions" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 2a033baa..72014ef5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -284,6 +284,10 @@ declare module PlayFabEconomyModels { } + export interface ContentFeed { + + } + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 43efc9ce..e9411127 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2359,6 +2359,7 @@ declare module PlayFabServerModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExportInsightsV1Deprecated" | "ExplorerBasicInvalidQueryName" | "ExplorerBasicInvalidQueryDescription" | "ExplorerBasicInvalidQueryConditions" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 8e116296..9ef1dff2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e0a8bdcf..8ddcc589 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1f3ac234..9ed2a010 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 958d6f74..2b4e6d63 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 4c007908..35b7c8ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index d815d366..4ff24668 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index e15bfa2d..575c7f1d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f9340195..a7378602 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index fcc9f21f..87db4df5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 00e60bb5..8cffa2ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 954d2082..233612ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 80533b01..94c7684e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index c782af21..fb37a3ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 1b7f10b5..062168d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 93c2e338..be0f11a0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.114.220523", + sdkVersion: "1.115.220607", requestGetParams: { - sdk: "JavaScriptSDK-1.114.220523" + sdk: "JavaScriptSDK-1.115.220607" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.114.220523"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.115.220607"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f91aded3..1f2f37c1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2455,6 +2455,7 @@ declare module PlayFabAdminModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExportInsightsV1Deprecated" | "ExplorerBasicInvalidQueryName" | "ExplorerBasicInvalidQueryDescription" | "ExplorerBasicInvalidQueryConditions" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 2a033baa..72014ef5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -284,6 +284,10 @@ declare module PlayFabEconomyModels { } + export interface ContentFeed { + + } + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 43efc9ce..e9411127 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2359,6 +2359,7 @@ declare module PlayFabServerModels { | "ExportCannotParseQuery" | "ExportControlCommandsNotAllowed" | "ExportQueryMissingTableReference" + | "ExportInsightsV1Deprecated" | "ExplorerBasicInvalidQueryName" | "ExplorerBasicInvalidQueryDescription" | "ExplorerBasicInvalidQueryConditions" From 9844617d287de8e21f00c4e2be19d17a9c40e089 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 22 Jun 2022 18:45:21 +0000 Subject: [PATCH 149/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220621 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 12 ++++-------- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 8 +++----- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 3 +++ PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 12 ++++-------- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 8 +++----- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 3 +++ 35 files changed, 133 insertions(+), 139 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 691f80ce..1b5bc282 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.115.220607", + "version": "1.116.220621", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 9ef1dff2..29eea346 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -621,10 +621,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, - SetTitleInternalDataAndOverrides: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalDataAndOverrides", request, null, callback, customData, extraHeaders); - }, - SetupPushNotification: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetupPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 8ddcc589..3963153e 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 9ed2a010..d38a52fd 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 2b4e6d63..2b9505c7 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 35b7c8ee..b7f3de19 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 4ff24668..e18e84f8 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 575c7f1d..9a65e31e 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index a7378602..04e2f464 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 87db4df5..d373dfb1 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 8cffa2ec..aefafc74 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 233612ee..f32952ad 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 94c7684e..0e8dc51c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index fb37a3ad..3fef135e 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 062168d1..cb4894b0 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index be0f11a0..f3c946e2 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.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 1f2f37c1..aa02705a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -500,11 +500,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Set and delete key-value pairs in a title internal data override instance. - * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldataandoverrides - */ - SetTitleInternalDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device @@ -2388,6 +2383,9 @@ declare module PlayFabAdminModels { | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" | "CustomIdNotFound" + | "AutomationInvalidInput" + | "AutomationInvalidRuleName" + | "AutomationRuleAlreadyExists" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e9411127..3e519d93 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2292,6 +2292,9 @@ declare module PlayFabServerModels { | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" | "CustomIdNotFound" + | "AutomationInvalidInput" + | "AutomationInvalidRuleName" + | "AutomationRuleAlreadyExists" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 9ef1dff2..29eea346 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -621,10 +621,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalData", request, "X-SecretKey", callback, customData, extraHeaders); }, - SetTitleInternalDataAndOverrides: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetTitleInternalDataAndOverrides", request, null, callback, customData, extraHeaders); - }, - SetupPushNotification: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/SetupPushNotification", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 8ddcc589..3963153e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 9ed2a010..d38a52fd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 2b4e6d63..2b9505c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 35b7c8ee..b7f3de19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 4ff24668..e18e84f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 575c7f1d..9a65e31e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index a7378602..04e2f464 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 87db4df5..d373dfb1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 8cffa2ec..aefafc74 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 233612ee..f32952ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 94c7684e..0e8dc51c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index fb37a3ad..3fef135e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 062168d1..cb4894b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index be0f11a0..f3c946e2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.115.220607", + sdkVersion: "1.116.220621", requestGetParams: { - sdk: "JavaScriptSDK-1.115.220607" + sdk: "JavaScriptSDK-1.116.220621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.115.220607"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.116.220621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 1f2f37c1..aa02705a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -500,11 +500,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Set and delete key-value pairs in a title internal data override instance. - * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldataandoverrides - */ - SetTitleInternalDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device @@ -2388,6 +2383,9 @@ declare module PlayFabAdminModels { | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" | "CustomIdNotFound" + | "AutomationInvalidInput" + | "AutomationInvalidRuleName" + | "AutomationRuleAlreadyExists" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e9411127..3e519d93 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2292,6 +2292,9 @@ declare module PlayFabServerModels { | "PhotonApplicationIdAlreadyInUse" | "CloudScriptUnableToDeleteProductionRevision" | "CustomIdNotFound" + | "AutomationInvalidInput" + | "AutomationInvalidRuleName" + | "AutomationRuleAlreadyExists" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From bc608499908bb0ffa3908b897e57c29c1d716373 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 4 Jul 2022 19:13:21 +0000 Subject: [PATCH 150/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220704 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 8 +---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 10 ------ .../PlayFab/PlayFabMultiplayerApi.d.ts | 34 ++++++++++++++----- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 +--- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 8 +---- .../PlayFab/PlayFabCloudScriptApi.d.ts | 10 ------ .../PlayFab/PlayFabMultiplayerApi.d.ts | 34 ++++++++++++++----- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 +--- 39 files changed, 177 insertions(+), 181 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1b5bc282..8a42bd84 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.116.220621", + "version": "1.117.220704", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 29eea346..d23b41d5 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 3963153e..33f2f4e3 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d38a52fd..90ad0eaa 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 2b9505c7..941ba645 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index b7f3de19..28c03fe2 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index e18e84f8..2099b517 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 9a65e31e..edca1429 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 04e2f464..151723d0 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d373dfb1..e00a432a 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index aefafc74..763604d7 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index f32952ad..ab7652aa 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 0e8dc51c..1d9ce841 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3fef135e..7cc0787a 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index cb4894b0..1f6b4645 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f3c946e2..3653b087 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.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index aa02705a..93ecf75e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2386,6 +2386,7 @@ declare module PlayFabAdminModels { | "AutomationInvalidInput" | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" + | "AutomationRuleLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4699,8 +4700,6 @@ declare module PlayFabAdminModels { KeyValues: TitleDataKeyValue[]; /** Name of the override. */ OverrideLabel?: string; - /** Title Id */ - TitleId?: string; } @@ -4716,11 +4715,6 @@ declare module PlayFabAdminModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 90d2979f..c7440a5f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -496,8 +496,6 @@ declare module PlayFabCloudScriptModels { CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; - /** The Id of the parent Title */ - TitleId?: string; } @@ -536,8 +534,6 @@ declare module PlayFabCloudScriptModels { export interface ListFunctionsRequest 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 Id of the parent Title */ - TitleId?: string; } @@ -770,8 +766,6 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** Full URL for Azure Function that implements the function. */ FunctionUrl: string; - /** The Id of the parent Title */ - TitleId?: string; } @@ -784,8 +778,6 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** The name of the queue for the Azure Function. */ QueueName: string; - /** The Id of the parent Title */ - TitleId?: string; } @@ -853,8 +845,6 @@ declare module PlayFabCloudScriptModels { CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; - /** The Id of the parent Title */ - TitleId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index d393f1a2..df1ff58d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1463,12 +1463,19 @@ declare module PlayFabMultiplayerModels { ExcludeFacebookFriends: boolean; /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ ExcludeSteamFriends: boolean; - /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + /** + * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), + * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" + * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. + * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' + * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + */ Filter?: string; /** - * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can - * be used to sort by distance from the given number. This field only supports either one sort clause or one distance - * clause. + * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, + * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports + * either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1489,12 +1496,19 @@ declare module PlayFabMultiplayerModels { export interface FindLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + /** + * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), + * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" + * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. + * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' + * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + */ Filter?: string; /** - * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can - * be used to sort by distance from the given number. This field only supports either one sort clause or one distance - * clause. + * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, + * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports + * either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1524,6 +1538,8 @@ declare module PlayFabMultiplayerModels { LobbyId: string; /** The maximum number of players allowed in the lobby. */ MaxPlayers: number; + /** A setting indicating whether members are allowed to join this lobby. When Locked new members are prevented from joining. */ + MembershipLock?: string; /** The client or server entity which owns this lobby. */ Owner: EntityKey; /** Search data. */ @@ -2439,6 +2455,8 @@ declare module PlayFabMultiplayerModels { LobbyId: string; /** The maximum number of players allowed in the lobby. */ MaxPlayers: number; + /** A setting indicating whether members are allowed to join this lobby. When Locked new members are prevented from joining. */ + MembershipLock?: string; /** The client or server entity which owns this lobby. */ Owner: EntityKey; /** Search data. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 3e519d93..c5b90c0f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2295,6 +2295,7 @@ declare module PlayFabServerModels { | "AutomationInvalidInput" | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" + | "AutomationRuleLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4495,11 +4496,6 @@ declare module PlayFabServerModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 29eea346..d23b41d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 3963153e..33f2f4e3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d38a52fd..90ad0eaa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 2b9505c7..941ba645 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index b7f3de19..28c03fe2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index e18e84f8..2099b517 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 9a65e31e..edca1429 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 04e2f464..151723d0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d373dfb1..e00a432a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index aefafc74..763604d7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index f32952ad..ab7652aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 0e8dc51c..1d9ce841 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3fef135e..7cc0787a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index cb4894b0..1f6b4645 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f3c946e2..3653b087 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.116.220621", + sdkVersion: "1.117.220704", requestGetParams: { - sdk: "JavaScriptSDK-1.116.220621" + sdk: "JavaScriptSDK-1.117.220704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.116.220621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index aa02705a..93ecf75e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2386,6 +2386,7 @@ declare module PlayFabAdminModels { | "AutomationInvalidInput" | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" + | "AutomationRuleLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4699,8 +4700,6 @@ declare module PlayFabAdminModels { KeyValues: TitleDataKeyValue[]; /** Name of the override. */ OverrideLabel?: string; - /** Title Id */ - TitleId?: string; } @@ -4716,11 +4715,6 @@ declare module PlayFabAdminModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 90d2979f..c7440a5f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -496,8 +496,6 @@ declare module PlayFabCloudScriptModels { CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; - /** The Id of the parent Title */ - TitleId?: string; } @@ -536,8 +534,6 @@ declare module PlayFabCloudScriptModels { export interface ListFunctionsRequest 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 Id of the parent Title */ - TitleId?: string; } @@ -770,8 +766,6 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** Full URL for Azure Function that implements the function. */ FunctionUrl: string; - /** The Id of the parent Title */ - TitleId?: string; } @@ -784,8 +778,6 @@ declare module PlayFabCloudScriptModels { FunctionName: string; /** The name of the queue for the Azure Function. */ QueueName: string; - /** The Id of the parent Title */ - TitleId?: string; } @@ -853,8 +845,6 @@ declare module PlayFabCloudScriptModels { CustomTags?: { [key: string]: string | null }; /** The name of the function to register */ FunctionName: string; - /** The Id of the parent Title */ - TitleId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index d393f1a2..df1ff58d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1463,12 +1463,19 @@ declare module PlayFabMultiplayerModels { ExcludeFacebookFriends: boolean; /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ ExcludeSteamFriends: boolean; - /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + /** + * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), + * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" + * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. + * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' + * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + */ Filter?: string; /** - * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can - * be used to sort by distance from the given number. This field only supports either one sort clause or one distance - * clause. + * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, + * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports + * either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1489,12 +1496,19 @@ declare module PlayFabMultiplayerModels { export interface FindLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** OData style string that contains one or more filters. The OR and grouping operators are not allowed. */ + /** + * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), + * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" + * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. + * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' + * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + */ Filter?: string; /** - * OData style string that contains sorting for this query. To sort by closest, a moniker `distance{number_key1 = 5}` can - * be used to sort by distance from the given number. This field only supports either one sort clause or one distance - * clause. + * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, + * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports + * either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1524,6 +1538,8 @@ declare module PlayFabMultiplayerModels { LobbyId: string; /** The maximum number of players allowed in the lobby. */ MaxPlayers: number; + /** A setting indicating whether members are allowed to join this lobby. When Locked new members are prevented from joining. */ + MembershipLock?: string; /** The client or server entity which owns this lobby. */ Owner: EntityKey; /** Search data. */ @@ -2439,6 +2455,8 @@ declare module PlayFabMultiplayerModels { LobbyId: string; /** The maximum number of players allowed in the lobby. */ MaxPlayers: number; + /** A setting indicating whether members are allowed to join this lobby. When Locked new members are prevented from joining. */ + MembershipLock?: string; /** The client or server entity which owns this lobby. */ Owner: EntityKey; /** Search data. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 3e519d93..c5b90c0f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2295,6 +2295,7 @@ declare module PlayFabServerModels { | "AutomationInvalidInput" | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" + | "AutomationRuleLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4495,11 +4496,6 @@ declare module PlayFabServerModels { * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. */ Key: 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; /** new value to set. Set to null to remove a value */ Value?: string; From 5b56eed35e761c63b4c3da8708365e4da829174b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 4 Jul 2022 19:47:55 +0000 Subject: [PATCH 151/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220704 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index d23b41d5..6e399dd5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 33f2f4e3..6e517253 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 90ad0eaa..0db38a75 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 941ba645..64fff67f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 28c03fe2..f20ff23d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 2099b517..ddf0f46d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index edca1429..396c6d23 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 151723d0..05a37df9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e00a432a..c41265cc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 763604d7..809187ee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ab7652aa..7edd988c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 1d9ce841..d52506d0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7cc0787a..040f6693 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 1f6b4645..2ff0ec1b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 3653b087..9b0946a3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index d23b41d5..6e399dd5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 33f2f4e3..6e517253 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 90ad0eaa..0db38a75 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 941ba645..64fff67f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 28c03fe2..f20ff23d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 2099b517..ddf0f46d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index edca1429..396c6d23 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 151723d0..05a37df9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e00a432a..c41265cc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 763604d7..809187ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ab7652aa..7edd988c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 1d9ce841..d52506d0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7cc0787a..040f6693 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 1f6b4645..2ff0ec1b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 3653b087..9b0946a3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; PlayFab.sdkVersion = "1.117.220704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 38904b6d7c27d427722cb19c419124ad00bf8ddb Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 18 Jul 2022 21:54:55 +0000 Subject: [PATCH 152/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220718 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 16 +++++----- .../PlayFab/PlayFabMultiplayerApi.d.ts | 4 +-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 31 +++++++++++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 16 +++++----- .../PlayFab/PlayFabMultiplayerApi.d.ts | 4 +-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 31 +++++++++++++++++-- 37 files changed, 207 insertions(+), 145 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 8a42bd84..c4e2e22b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.117.220704", + "version": "1.118.220718", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6e399dd5..6da8d8a1 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 6e517253..dfd2dda9 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 0db38a75..8936fdbd 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 64fff67f..b6b054ac 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f20ff23d..6d12f13c 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index ddf0f46d..be82e524 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 396c6d23..2ee44b15 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 05a37df9..eaea2aa1 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index c41265cc..4c88456e 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 809187ee..b840630a 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7edd988c..8dd8851c 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index d52506d0..b1ab7554 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 040f6693..5482ed8f 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2ff0ec1b..76b203e2 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 9b0946a3..ed17d0c8 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.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -433,6 +433,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromTwitchIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 114b16fd..a271b427 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -83,8 +83,8 @@ declare module PlayFabClientModule { */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab - * items + * Checks for any new consumable entitlements. If any are found, they are consumed (if they're consumables) and added as + * PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements */ ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -314,7 +314,7 @@ declare module PlayFabClientModule { */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * 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 }): void; @@ -481,7 +481,7 @@ declare module PlayFabClientModule { */ LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -588,8 +588,8 @@ declare module PlayFabClientModule { */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Signs the user in using a PlayStation Network authentication code, returning a session identifier that can subsequently - * be used for API calls which require an authenticated user + * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithpsn */ LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -643,7 +643,7 @@ declare module PlayFabClientModule { */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Uses the supplied OAuth code to refresh the internally cached player PSN auth token + * Uses the supplied OAuth code to refresh the internally cached player PSN :tm: auth token * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -800,7 +800,7 @@ declare module PlayFabClientModule { */ UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related PSN account from the user's PlayFab account + * Unlinks the related PSN :tm: account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index df1ff58d..5faa35f8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1803,11 +1803,11 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ - BuildId: string; + BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The region the multiplayer server is located in to get details for. */ - Region: string; + Region?: string; /** * The title generated guid string session ID of the multiplayer server to get details for. This is to keep track of * multiplayer server sessions. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index c5b90c0f..fe2c9def 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -264,7 +264,7 @@ declare module PlayFabServerModule { */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -274,6 +274,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * 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: + * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromtwitchids + */ + GetPlayFabIDsFromTwitchIDs(request: PlayFabServerModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids @@ -394,7 +401,7 @@ declare module PlayFabServerModule { */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -3050,6 +3057,18 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ + TwitchIds: string[]; + + } + + export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Twitch identifiers to PlayFab identifiers. */ + Data?: TwitchPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; @@ -4686,6 +4705,14 @@ declare module PlayFabServerModels { } + export interface TwitchPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ + PlayFabId?: string; + /** Unique Twitch identifier for a user. */ + TwitchId?: string; + + } + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6e399dd5..6da8d8a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 6e517253..dfd2dda9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 0db38a75..8936fdbd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 64fff67f..b6b054ac 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f20ff23d..6d12f13c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index ddf0f46d..be82e524 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 396c6d23..2ee44b15 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 05a37df9..eaea2aa1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index c41265cc..4c88456e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 809187ee..b840630a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7edd988c..8dd8851c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index d52506d0..b1ab7554 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 040f6693..5482ed8f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2ff0ec1b..76b203e2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 9b0946a3..ed17d0c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.117.220704", + sdkVersion: "1.118.220718", requestGetParams: { - sdk: "JavaScriptSDK-1.117.220704" + sdk: "JavaScriptSDK-1.118.220718" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.117.220704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.118.220718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -433,6 +433,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromTwitchIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromXboxLiveIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 114b16fd..a271b427 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -83,8 +83,8 @@ declare module PlayFabClientModule { */ ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Checks for any new PS5 entitlements. If any are found, they are consumed (if they're consumables) and added as PlayFab - * items + * Checks for any new consumable entitlements. If any are found, they are consumed (if they're consumables) and added as + * PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements */ ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -314,7 +314,7 @@ declare module PlayFabClientModule { */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * 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 }): void; @@ -481,7 +481,7 @@ declare module PlayFabClientModule { */ LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -588,8 +588,8 @@ declare module PlayFabClientModule { */ LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Signs the user in using a PlayStation Network authentication code, returning a session identifier that can subsequently - * be used for API calls which require an authenticated user + * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithpsn */ LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -643,7 +643,7 @@ declare module PlayFabClientModule { */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Uses the supplied OAuth code to refresh the internally cached player PSN auth token + * Uses the supplied OAuth code to refresh the internally cached player PSN :tm: auth token * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -800,7 +800,7 @@ declare module PlayFabClientModule { */ UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related PSN account from the user's PlayFab account + * Unlinks the related PSN :tm: account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index df1ff58d..5faa35f8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1803,11 +1803,11 @@ declare module PlayFabMultiplayerModels { export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The guid string build ID of the multiplayer server to get details for. */ - BuildId: string; + BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The region the multiplayer server is located in to get details for. */ - Region: string; + Region?: string; /** * The title generated guid string session ID of the multiplayer server to get details for. This is to keep track of * multiplayer server sessions. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index c5b90c0f..fe2c9def 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -264,7 +264,7 @@ declare module PlayFabServerModule { */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Retrieves the unique PlayFab identifiers for the given set of PlayStation Network identifiers. + * Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -274,6 +274,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * 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: + * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromtwitchids + */ + GetPlayFabIDsFromTwitchIDs(request: PlayFabServerModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids @@ -394,7 +401,7 @@ declare module PlayFabServerModule { */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Links the PlayStation Network account associated with the provided access code to the user's PlayFab account + * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -3050,6 +3057,18 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ + TwitchIds: string[]; + + } + + export interface GetPlayFabIDsFromTwitchIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Twitch identifiers to PlayFab identifiers. */ + Data?: TwitchPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; @@ -4686,6 +4705,14 @@ declare module PlayFabServerModels { } + export interface TwitchPlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Twitch identifier. */ + PlayFabId?: string; + /** Unique Twitch identifier for a user. */ + TwitchId?: string; + + } + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From 22ef2f6d6aa029914a0a564b3dbfc992484b2b87 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 2 Aug 2022 01:50:34 +0000 Subject: [PATCH 153/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220801 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 32 +++++++++++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 19 +++++++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 47 ++++++++++++++++++- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++- .../src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- .../src/PlayFab/PlayFabClientApi.js | 32 +++++++++++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 19 +++++++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 47 ++++++++++++++++++- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++- 43 files changed, 339 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c4e2e22b..4e611396 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.118.220718", + "version": "1.119.220801", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6da8d8a1..5c5e61fa 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index dfd2dda9..7cd24336 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8936fdbd..7df01224 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -793,6 +793,30 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithGooglePlayGamesServices: 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/LoginWithGooglePlayGamesServices", 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);}); + }, + LoginWithIOSDeviceID: 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 diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b6b054ac..d44ba384 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 6d12f13c..c1bf1a58 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index be82e524..ab9159a1 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 2ee44b15..17ca3433 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index eaea2aa1..b55de568 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 4c88456e..ceb6e14f 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b840630a..60ce389d 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 8dd8851c..01c79b3a 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index b1ab7554..7eefab8e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5482ed8f..d5511b98 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 76b203e2..3ff2bb81 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ed17d0c8..fe7245fa 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.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 93ecf75e..92e4a9ac 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2387,6 +2387,7 @@ declare module PlayFabAdminModels { | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" + | "InvalidGooglePlayGamesServerAuthCode" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3372,7 +3373,8 @@ declare module PlayFabAdminModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -5239,6 +5241,8 @@ declare module PlayFabAdminModels { GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; + /** User Google Play Games account information, if a Google Play Games account has been linked */ + GooglePlayGamesInfo?: UserGooglePlayGamesInfo; /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ @@ -5336,6 +5340,16 @@ declare module PlayFabAdminModels { } + export interface UserGooglePlayGamesInfo { + /** Avatar image url of the Google Play Games player */ + GooglePlayGamesPlayerAvatarImageUrl?: string; + /** Display name of the Google Play Games player */ + GooglePlayGamesPlayerDisplayName?: string; + /** Google Play Games player ID */ + GooglePlayGamesPlayerId?: string; + + } + export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; @@ -5394,7 +5408,8 @@ declare module PlayFabAdminModels { | "FacebookInstantGamesId" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 2e3764e8..55b59931 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -86,7 +86,8 @@ declare module PlayFabAuthenticationModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; 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 a271b427..08559ac2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -551,6 +551,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleaccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using their Google Play Games account credentials + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleplaygamesservices + */ + LoginWithGooglePlayGamesServices(request: PlayFabClientModels.LoginWithGooglePlayGamesServicesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently * be used for API calls which require an authenticated user @@ -3385,7 +3390,8 @@ declare module PlayFabClientModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -3595,6 +3601,30 @@ declare module PlayFabClientModels { } + export interface LoginWithGooglePlayGamesServicesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** + * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() + * (https://developers.google.com/games/services/android/signin) Google Play Games client API. + */ + ServerAuthCode?: 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 LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -5113,6 +5143,8 @@ declare module PlayFabClientModels { GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; + /** User Google Play Games account information, if a Google Play Games account has been linked */ + GooglePlayGamesInfo?: UserGooglePlayGamesInfo; /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ @@ -5210,6 +5242,16 @@ declare module PlayFabClientModels { } + export interface UserGooglePlayGamesInfo { + /** Avatar image url of the Google Play Games player */ + GooglePlayGamesPlayerAvatarImageUrl?: string; + /** Display name of the Google Play Games player */ + GooglePlayGamesPlayerDisplayName?: string; + /** Google Play Games player ID */ + GooglePlayGamesPlayerId?: string; + + } + export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; @@ -5268,7 +5310,8 @@ declare module PlayFabClientModels { | "FacebookInstantGamesId" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index c7440a5f..dcbd5ed3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -589,7 +589,8 @@ declare module PlayFabCloudScriptModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5faa35f8..12e6dd82 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2494,6 +2494,8 @@ declare module PlayFabMultiplayerModels { } export interface MatchmakingQueueConfig { + /** This is the buildAlias that will be used to allocate the multiplayer server for the match. */ + BuildAliasParams?: BuildAliasParams; /** This is the buildId that will be used to allocate the multiplayer server for the match. */ BuildId?: string; /** List of difference rules used to find an optimal match. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index fe2c9def..1ac581de 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2303,6 +2303,7 @@ declare module PlayFabServerModels { | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" + | "InvalidGooglePlayGamesServerAuthCode" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3598,7 +3599,8 @@ declare module PlayFabServerModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -5016,6 +5018,8 @@ declare module PlayFabServerModels { GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; + /** User Google Play Games account information, if a Google Play Games account has been linked */ + GooglePlayGamesInfo?: UserGooglePlayGamesInfo; /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ @@ -5113,6 +5117,16 @@ declare module PlayFabServerModels { } + export interface UserGooglePlayGamesInfo { + /** Avatar image url of the Google Play Games player */ + GooglePlayGamesPlayerAvatarImageUrl?: string; + /** Display name of the Google Play Games player */ + GooglePlayGamesPlayerDisplayName?: string; + /** Google Play Games player ID */ + GooglePlayGamesPlayerId?: string; + + } + export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; @@ -5171,7 +5185,8 @@ declare module PlayFabServerModels { | "FacebookInstantGamesId" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6da8d8a1..5c5e61fa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index dfd2dda9..7cd24336 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8936fdbd..7df01224 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -793,6 +793,30 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + LoginWithGooglePlayGamesServices: 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/LoginWithGooglePlayGamesServices", 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);}); + }, + LoginWithIOSDeviceID: 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 diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b6b054ac..d44ba384 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 6d12f13c..c1bf1a58 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index be82e524..ab9159a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 2ee44b15..17ca3433 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index eaea2aa1..b55de568 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 4c88456e..ceb6e14f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b840630a..60ce389d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 8dd8851c..01c79b3a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index b1ab7554..7eefab8e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5482ed8f..d5511b98 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 76b203e2..3ff2bb81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ed17d0c8..fe7245fa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.118.220718", + sdkVersion: "1.119.220801", requestGetParams: { - sdk: "JavaScriptSDK-1.118.220718" + sdk: "JavaScriptSDK-1.119.220801" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.118.220718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.119.220801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 93ecf75e..92e4a9ac 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2387,6 +2387,7 @@ declare module PlayFabAdminModels { | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" + | "InvalidGooglePlayGamesServerAuthCode" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3372,7 +3373,8 @@ declare module PlayFabAdminModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -5239,6 +5241,8 @@ declare module PlayFabAdminModels { GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; + /** User Google Play Games account information, if a Google Play Games account has been linked */ + GooglePlayGamesInfo?: UserGooglePlayGamesInfo; /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ @@ -5336,6 +5340,16 @@ declare module PlayFabAdminModels { } + export interface UserGooglePlayGamesInfo { + /** Avatar image url of the Google Play Games player */ + GooglePlayGamesPlayerAvatarImageUrl?: string; + /** Display name of the Google Play Games player */ + GooglePlayGamesPlayerDisplayName?: string; + /** Google Play Games player ID */ + GooglePlayGamesPlayerId?: string; + + } + export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; @@ -5394,7 +5408,8 @@ declare module PlayFabAdminModels { | "FacebookInstantGamesId" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 2e3764e8..55b59931 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -86,7 +86,8 @@ declare module PlayFabAuthenticationModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; 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/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index a271b427..08559ac2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -551,6 +551,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleaccount */ LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Signs the user in using their Google Play Games account credentials + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleplaygamesservices + */ + LoginWithGooglePlayGamesServices(request: PlayFabClientModels.LoginWithGooglePlayGamesServicesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently * be used for API calls which require an authenticated user @@ -3385,7 +3390,8 @@ declare module PlayFabClientModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -3595,6 +3601,30 @@ declare module PlayFabClientModels { } + export interface LoginWithGooglePlayGamesServicesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: string; + /** + * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() + * (https://developers.google.com/games/services/android/signin) Google Play Games client API. + */ + ServerAuthCode?: 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 LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -5113,6 +5143,8 @@ declare module PlayFabClientModels { GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; + /** User Google Play Games account information, if a Google Play Games account has been linked */ + GooglePlayGamesInfo?: UserGooglePlayGamesInfo; /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ @@ -5210,6 +5242,16 @@ declare module PlayFabClientModels { } + export interface UserGooglePlayGamesInfo { + /** Avatar image url of the Google Play Games player */ + GooglePlayGamesPlayerAvatarImageUrl?: string; + /** Display name of the Google Play Games player */ + GooglePlayGamesPlayerDisplayName?: string; + /** Google Play Games player ID */ + GooglePlayGamesPlayerId?: string; + + } + export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; @@ -5268,7 +5310,8 @@ declare module PlayFabClientModels { | "FacebookInstantGamesId" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index c7440a5f..dcbd5ed3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -589,7 +589,8 @@ declare module PlayFabCloudScriptModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5faa35f8..12e6dd82 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2494,6 +2494,8 @@ declare module PlayFabMultiplayerModels { } export interface MatchmakingQueueConfig { + /** This is the buildAlias that will be used to allocate the multiplayer server for the match. */ + BuildAliasParams?: BuildAliasParams; /** This is the buildId that will be used to allocate the multiplayer server for the match. */ BuildId?: string; /** List of difference rules used to find an optimal match. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index fe2c9def..1ac581de 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2303,6 +2303,7 @@ declare module PlayFabServerModels { | "AutomationInvalidRuleName" | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" + | "InvalidGooglePlayGamesServerAuthCode" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3598,7 +3599,8 @@ declare module PlayFabServerModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ @@ -5016,6 +5018,8 @@ declare module PlayFabServerModels { GameCenterInfo?: UserGameCenterInfo; /** User Google account information, if a Google account has been linked */ GoogleInfo?: UserGoogleInfo; + /** User Google Play Games account information, if a Google Play Games account has been linked */ + GooglePlayGamesInfo?: UserGooglePlayGamesInfo; /** User iOS device information, if an iOS device has been linked */ IosDeviceInfo?: UserIosDeviceInfo; /** User Kongregate account information, if a Kongregate account has been linked */ @@ -5113,6 +5117,16 @@ declare module PlayFabServerModels { } + export interface UserGooglePlayGamesInfo { + /** Avatar image url of the Google Play Games player */ + GooglePlayGamesPlayerAvatarImageUrl?: string; + /** Display name of the Google Play Games player */ + GooglePlayGamesPlayerDisplayName?: string; + /** Google Play Games player ID */ + GooglePlayGamesPlayerId?: string; + + } + export interface UserIosDeviceInfo { /** iOS device ID */ IosDeviceId?: string; @@ -5171,7 +5185,8 @@ declare module PlayFabServerModels { | "FacebookInstantGamesId" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface UserPrivateAccountInfo { /** user email address */ From 48b3d775e183d3c19228b997133d17314be9d092 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 3 Aug 2022 16:22:04 +0000 Subject: [PATCH 154/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220802 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 12 ++++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++---- .../PlayFab/PlayFabAuthenticationApi.d.ts | 17 +++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++-------- .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 12 ++++++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 8 +++---- .../PlayFab/PlayFabAuthenticationApi.d.ts | 17 +++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++-------- 35 files changed, 191 insertions(+), 141 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 4e611396..bbfdb56e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.119.220801", + "version": "1.120.220802", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5c5e61fa..121e5562 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 7cd24336..2c8bd4e8 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, + Delete: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/Delete", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 7df01224..d1404cf8 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index d44ba384..44016fdc 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index c1bf1a58..12e1d343 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index ab9159a1..91af2ea8 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 17ca3433..ecf594a5 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index b55de568..6ffe1f11 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index ceb6e14f..f80f0031 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 60ce389d..cdbae7c1 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 01c79b3a..d0175d95 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7eefab8e..8b0b343c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index d5511b98..33a43d6a 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3ff2bb81..3b0f872b 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fe7245fa..d4725a36 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.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 55b59931..802c802e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; + /** + * Delete a game_server entity. + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/delete + */ + Delete(request: PlayFabAuthenticationModels.DeleteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. @@ -20,6 +25,18 @@ declare module PlayFabAuthenticationModule { } declare module PlayFabAuthenticationModels { + export interface DeleteRequest 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 game_server entity to be removed. */ + Entity: EntityKey; + + } + + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface EntityKey { /** Unique ID of the entity. */ Id: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 12e6dd82..80fb82b0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1467,15 +1467,17 @@ declare module PlayFabMultiplayerModels { * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. - * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' - * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": + * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), + * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember + * (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, - * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports - * either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and + * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance + * from the given number. This field only supports either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1500,15 +1502,17 @@ declare module PlayFabMultiplayerModels { * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. - * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' - * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": + * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), + * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember + * (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, - * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports - * either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and + * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance + * from the given number. This field only supports either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5c5e61fa..121e5562 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 7cd24336..2c8bd4e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, + Delete: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/Delete", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetEntityToken: function (request, callback, customData, extraHeaders) { var authKey = null; var authValue = null; if (!authKey && PlayFab._internalSettings.sessionTicket) { var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey="X-Authorization"); authKey = authInfo.authKey, authValue = authInfo.authValue; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 7df01224..d1404cf8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index d44ba384..44016fdc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index c1bf1a58..12e1d343 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index ab9159a1..91af2ea8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 17ca3433..ecf594a5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index b55de568..6ffe1f11 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index ceb6e14f..f80f0031 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 60ce389d..cdbae7c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 01c79b3a..d0175d95 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7eefab8e..8b0b343c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index d5511b98..33a43d6a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3ff2bb81..3b0f872b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fe7245fa..d4725a36 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.119.220801", + sdkVersion: "1.120.220802", requestGetParams: { - sdk: "JavaScriptSDK-1.119.220801" + sdk: "JavaScriptSDK-1.120.220802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.119.220801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.120.220802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 55b59931..802c802e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; + /** + * Delete a game_server entity. + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/delete + */ + Delete(request: PlayFabAuthenticationModels.DeleteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. @@ -20,6 +25,18 @@ declare module PlayFabAuthenticationModule { } declare module PlayFabAuthenticationModels { + export interface DeleteRequest 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 game_server entity to be removed. */ + Entity: EntityKey; + + } + + export interface EmptyResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface EntityKey { /** Unique ID of the entity. */ Id: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 12e6dd82..80fb82b0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1467,15 +1467,17 @@ declare module PlayFabMultiplayerModels { * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. - * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' - * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": + * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), + * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember + * (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, - * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports - * either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and + * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance + * from the given number. This field only supports either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1500,15 +1502,17 @@ declare module PlayFabMultiplayerModels { * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. - * string_key1, number_key3, etc) or one of the pre-defined search keys: memberCount, membershipLock (must equal 'Unlocked' - * or 'Locked'), amOwner (required to equal "true"), amMember (required to equal "true"). + * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": + * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), + * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember + * (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "memberCount desc". To sort by closest, - * a moniker `distance{number_key1 = 5}` can be used to sort by distance from the given number. This field only supports - * either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and + * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance + * from the given number. This field only supports either one sort clause or one distance clause. */ OrderBy?: string; /** Request pagination information. */ From c6ee99ec650350ee317c1b907282f800d5de9016 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 4 Aug 2022 01:26:33 +0000 Subject: [PATCH 155/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220803 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- 31 files changed, 121 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index bbfdb56e..9633ecbb 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.120.220802", + "version": "1.121.220803", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 121e5562..2f16b1cd 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2c8bd4e8..c7f476ab 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d1404cf8..b3542a83 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 44016fdc..0cb35bbd 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 12e1d343..a903d44d 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 91af2ea8..7dca389b 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index ecf594a5..89480fff 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6ffe1f11..ee20388d 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f80f0031..91d8b4fc 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index cdbae7c1..7e745c5c 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index d0175d95..75490052 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 8b0b343c..73126df8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 33a43d6a..3a76b1d5 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3b0f872b..03022b78 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d4725a36..949f7557 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.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 121e5562..2f16b1cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2c8bd4e8..c7f476ab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d1404cf8..b3542a83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 44016fdc..0cb35bbd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 12e1d343..a903d44d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 91af2ea8..7dca389b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index ecf594a5..89480fff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6ffe1f11..ee20388d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f80f0031..91d8b4fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index cdbae7c1..7e745c5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index d0175d95..75490052 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 8b0b343c..73126df8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 33a43d6a..3a76b1d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3b0f872b..03022b78 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d4725a36..949f7557 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.120.220802", + sdkVersion: "1.121.220803", requestGetParams: { - sdk: "JavaScriptSDK-1.120.220802" + sdk: "JavaScriptSDK-1.121.220803" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.120.220802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.121.220803"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 22d22edbb985b0ac29b11833a3e7af5f5290dae6 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 4 Aug 2022 22:49:36 +0000 Subject: [PATCH 156/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220804 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 6 +++--- 31 files changed, 91 insertions(+), 91 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9633ecbb..f7069f03 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.121.220803", + "version": "1.122.220804", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 2f16b1cd..5d3f6b6b 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c7f476ab..cca6bd8e 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b3542a83..8db823c9 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0cb35bbd..f434a08f 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index a903d44d..ec920f35 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 7dca389b..777cbcbf 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 89480fff..3e71c753 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ee20388d..8bb60db1 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 91d8b4fc..98be49f0 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 7e745c5c..bd8882a7 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 75490052..1f32c565 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 73126df8..dd2dce57 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3a76b1d5..8e28c9da 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 03022b78..86fbf7ea 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 949f7557..ddd895d1 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.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 2f16b1cd..5d3f6b6b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c7f476ab..cca6bd8e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b3542a83..8db823c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0cb35bbd..f434a08f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index a903d44d..ec920f35 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 7dca389b..777cbcbf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 89480fff..3e71c753 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ee20388d..8bb60db1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 91d8b4fc..98be49f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 7e745c5c..bd8882a7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 75490052..1f32c565 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 73126df8..dd2dce57 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3a76b1d5..8e28c9da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 03022b78..86fbf7ea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 949f7557..ddd895d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.121.220803", + sdkVersion: "1.122.220804", requestGetParams: { - sdk: "JavaScriptSDK-1.121.220803" + sdk: "JavaScriptSDK-1.122.220804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.121.220803"; +PlayFab.sdkVersion = "1.122.220804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From b465af226d6c2808922581e05b0c5209de0ac43f Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 15 Aug 2022 23:37:49 +0000 Subject: [PATCH 157/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220815 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 20 ++++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 68 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 21 ++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 20 ++++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEconomyApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 68 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 21 ++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 39 files changed, 327 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f7069f03..be615b7f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.122.220804", + "version": "1.123.220815", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5d3f6b6b..a66c7dd3 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index cca6bd8e..59304cdf 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8db823c9..5b420daf 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", callback, customData, extraHeaders); }, + GetPlayFabIDsFromGooglePlayGamesPlayerIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGooglePlayGamesPlayerIDs", request, "X-Authorization", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -565,6 +569,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkGooglePlayGamesServicesAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGooglePlayGamesServicesAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1184,6 +1192,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkGooglePlayGamesServicesAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGooglePlayGamesServicesAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index f434a08f..c6eb8e13 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index ec920f35..440e1c78 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 777cbcbf..2cff524f 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3e71c753..73668289 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 8bb60db1..3f623067 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 98be49f0..b56551cd 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index bd8882a7..b9f3ff6e 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 1f32c565..2b6cdca8 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index dd2dce57..7b6f07cc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 8e28c9da..18c80fd0 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 86fbf7ea..a97c144b 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ddd895d1..ec80c5ff 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.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 92e4a9ac..7c958d3d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2388,6 +2388,7 @@ declare module PlayFabAdminModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" + | "StorageAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 08559ac2..bcf35f35 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -296,6 +296,13 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleids */ GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Google Play Games identifiers. The Google Play Games + * identifiers are the IDs for the user accounts, available as "playerId" in the Google Play Games Services - Players API + * calls. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleplaygamesplayerids + */ + GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request: PlayFabClientModels.GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: @@ -454,6 +461,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleaccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the currently signed-in user account to their Google Play Games account, using their Google Play Games account + * credentials + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleplaygamesservicesaccount + */ + LinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.LinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the vendor-specific iOS device identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkiosdeviceid @@ -778,6 +791,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleaccount */ UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Google Play Games account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleplaygamesservicesaccount + */ + UnlinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.UnlinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related iOS device identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkiosdeviceid @@ -2693,6 +2711,18 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ + GooglePlayGamesPlayerIDs: string[]; + + } + + export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Google Play Games identifiers to PlayFab identifiers. */ + Data?: GooglePlayGamesPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; @@ -2987,6 +3017,14 @@ declare module PlayFabClientModels { } + export interface GooglePlayGamesPlayFabIdPair { + /** Unique Google Play Games identifier for a user. */ + GooglePlayGamesPlayerId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google Play Games identifier. */ + PlayFabId?: string; + + } + export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -3205,6 +3243,26 @@ declare module PlayFabClientModels { } + export interface LinkGooglePlayGamesServicesAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * If another user is already linked to the account, unlink the other user and re-link. If the current user is already + * linked, link both accounts + */ + ForceLink?: boolean; + /** + * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() + * (https://developers.google.com/games/services/android/signin) Google Play Games client API. + */ + ServerAuthCode: string; + + } + + export interface LinkGooglePlayGamesServicesAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4854,6 +4912,16 @@ declare module PlayFabClientModels { } + export interface UnlinkGooglePlayGamesServicesAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface UnlinkGooglePlayGamesServicesAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 80fb82b0..8c4868cf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -813,6 +813,8 @@ declare module PlayFabMultiplayerModels { Ports: Port[]; /** The region configurations for the build. */ RegionConfigurations: BuildRegionParams[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to * disc. @@ -859,6 +861,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; /** @@ -907,6 +911,8 @@ declare module PlayFabMultiplayerModels { Ports: Port[]; /** The region configurations for the build. */ RegionConfigurations: BuildRegionParams[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; /** @@ -958,6 +964,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ @@ -1671,6 +1679,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The resource constraints to apply to each server on the VM. */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; /** @@ -2870,6 +2880,17 @@ declare module PlayFabMultiplayerModels { } + export interface ServerResourceConstraintParams { + /** The maximum number of cores that each server is allowed to use. */ + CpuLimit: number; + /** + * The maximum number of GiB of memory that each server is allowed to use. WARNING: After exceeding this limit, the server + * will be killed + */ + MemoryLimitGB: number; + + } + type ServerType = "Container" | "Process"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 1ac581de..c9459aec 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2304,6 +2304,7 @@ declare module PlayFabServerModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" + | "StorageAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5d3f6b6b..a66c7dd3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index cca6bd8e..59304cdf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8db823c9..5b420daf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGoogleIDs", request, "X-Authorization", callback, customData, extraHeaders); }, + GetPlayFabIDsFromGooglePlayGamesPlayerIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromGooglePlayGamesPlayerIDs", request, "X-Authorization", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromKongregateIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromKongregateIDs", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -565,6 +569,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkGooglePlayGamesServicesAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkGooglePlayGamesServicesAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkIOSDeviceID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1184,6 +1192,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGoogleAccount", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkGooglePlayGamesServicesAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkGooglePlayGamesServicesAccount", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkIOSDeviceID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkIOSDeviceID", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index f434a08f..c6eb8e13 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index ec920f35..440e1c78 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 777cbcbf..2cff524f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3e71c753..73668289 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 8bb60db1..3f623067 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 98be49f0..b56551cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index bd8882a7..b9f3ff6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 1f32c565..2b6cdca8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index dd2dce57..7b6f07cc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 8e28c9da..18c80fd0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 86fbf7ea..a97c144b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ddd895d1..ec80c5ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.122.220804", + sdkVersion: "1.123.220815", requestGetParams: { - sdk: "JavaScriptSDK-1.122.220804" + sdk: "JavaScriptSDK-1.123.220815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.122.220804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.123.220815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 92e4a9ac..7c958d3d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2388,6 +2388,7 @@ declare module PlayFabAdminModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" + | "StorageAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 08559ac2..bcf35f35 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -296,6 +296,13 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleids */ GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Retrieves the unique PlayFab identifiers for the given set of Google Play Games identifiers. The Google Play Games + * identifiers are the IDs for the user accounts, available as "playerId" in the Google Play Games Services - Players API + * calls. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleplaygamesplayerids + */ + GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request: PlayFabClientModels.GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: @@ -454,6 +461,12 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleaccount */ LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the currently signed-in user account to their Google Play Games account, using their Google Play Games account + * credentials + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleplaygamesservicesaccount + */ + LinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.LinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the vendor-specific iOS device identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkiosdeviceid @@ -778,6 +791,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleaccount */ UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related Google Play Games account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleplaygamesservicesaccount + */ + UnlinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.UnlinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Unlinks the related iOS device identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkiosdeviceid @@ -2693,6 +2711,18 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ + GooglePlayGamesPlayerIDs: string[]; + + } + + export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Google Play Games identifiers to PlayFab identifiers. */ + Data?: GooglePlayGamesPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ KongregateIDs: string[]; @@ -2987,6 +3017,14 @@ declare module PlayFabClientModels { } + export interface GooglePlayGamesPlayFabIdPair { + /** Unique Google Play Games identifier for a user. */ + GooglePlayGamesPlayerId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Google Play Games identifier. */ + PlayFabId?: string; + + } + export interface GrantCharacterToUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version from which items are to be granted. */ CatalogVersion?: string; @@ -3205,6 +3243,26 @@ declare module PlayFabClientModels { } + export interface LinkGooglePlayGamesServicesAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * If another user is already linked to the account, unlink the other user and re-link. If the current user is already + * linked, link both accounts + */ + ForceLink?: boolean; + /** + * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() + * (https://developers.google.com/games/services/android/signin) Google Play Games client API. + */ + ServerAuthCode: string; + + } + + export interface LinkGooglePlayGamesServicesAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4854,6 +4912,16 @@ declare module PlayFabClientModels { } + export interface UnlinkGooglePlayGamesServicesAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface UnlinkGooglePlayGamesServicesAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 80fb82b0..8c4868cf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -813,6 +813,8 @@ declare module PlayFabMultiplayerModels { Ports: Port[]; /** The region configurations for the build. */ RegionConfigurations: BuildRegionParams[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to * disc. @@ -859,6 +861,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; /** @@ -907,6 +911,8 @@ declare module PlayFabMultiplayerModels { Ports: Port[]; /** The region configurations for the build. */ RegionConfigurations: BuildRegionParams[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; /** @@ -958,6 +964,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ @@ -1671,6 +1679,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The region configuration for the build. */ RegionConfigurations?: BuildRegion[]; + /** The resource constraints to apply to each server on the VM. */ + ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; /** @@ -2870,6 +2880,17 @@ declare module PlayFabMultiplayerModels { } + export interface ServerResourceConstraintParams { + /** The maximum number of cores that each server is allowed to use. */ + CpuLimit: number; + /** + * The maximum number of GiB of memory that each server is allowed to use. WARNING: After exceeding this limit, the server + * will be killed + */ + MemoryLimitGB: number; + + } + type ServerType = "Container" | "Process"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 1ac581de..c9459aec 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2304,6 +2304,7 @@ declare module PlayFabServerModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" + | "StorageAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 67c472886931c8221c78603f663c5e3f1cb7223f Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 16 Aug 2022 18:36:13 +0000 Subject: [PATCH 158/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220816 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 6 +++--- 31 files changed, 91 insertions(+), 91 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index be615b7f..4a0ea44d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.123.220815", + "version": "1.124.220816", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index a66c7dd3..46a3e979 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 59304cdf..69f3b621 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 5b420daf..b5987795 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index c6eb8e13..e895287c 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 440e1c78..cf0bc3f2 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 2cff524f..4be14cc6 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 73668289..8d981719 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 3f623067..ec1477ad 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index b56551cd..3e67d57f 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b9f3ff6e..2626480b 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 2b6cdca8..4785bf61 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7b6f07cc..c39bf38f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 18c80fd0..3599adb2 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index a97c144b..364e91f7 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ec80c5ff..eecbb78a 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.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index a66c7dd3..46a3e979 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 59304cdf..69f3b621 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 5b420daf..b5987795 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index c6eb8e13..e895287c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 440e1c78..cf0bc3f2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 2cff524f..4be14cc6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 73668289..8d981719 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 3f623067..ec1477ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index b56551cd..3e67d57f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b9f3ff6e..2626480b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 2b6cdca8..4785bf61 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7b6f07cc..c39bf38f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 18c80fd0..3599adb2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index a97c144b..364e91f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ec80c5ff..eecbb78a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.123.220815", + sdkVersion: "1.124.220816", requestGetParams: { - sdk: "JavaScriptSDK-1.123.220815" + sdk: "JavaScriptSDK-1.124.220816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.123.220815"; +PlayFab.sdkVersion = "1.124.220816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From b6f0b12a044b5f4dca2de96d788a3d2749d8e904 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 7 Sep 2022 18:11:25 +0000 Subject: [PATCH 159/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220907 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 80 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 24 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 43 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 75 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 8 + .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 1 + .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 1086 ++++++++++++++++- .../PlayFab/PlayFabExperimentationApi.d.ts | 3 + .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 1 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 20 +- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 129 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 80 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 24 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 43 +- .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 75 +- .../PlayFab/PlayFabCloudScriptApi.d.ts | 8 + .../src/typings/PlayFab/PlayFabDataApi.d.ts | 1 + .../typings/PlayFab/PlayFabEconomyApi.d.ts | 1086 ++++++++++++++++- .../PlayFab/PlayFabExperimentationApi.d.ts | 3 + .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 1 + .../PlayFab/PlayFabMultiplayerApi.d.ts | 20 +- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 129 +- 53 files changed, 2881 insertions(+), 277 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 4a0ea44d..297b5fd3 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.124.220816", + "version": "1.126.220907", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 46a3e979..4ee2e9fb 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 69f3b621..f54c8708 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b5987795..1f1e3255 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index e895287c..fc8363ef 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index cf0bc3f2..e924f8be 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 4be14cc6..6263ca8b 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.EconomyApi = { PlayFab._internalSettings.entityToken = null; }, + AddInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -253,10 +257,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteInventoryCollection: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + ExecuteInventoryOperations: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,10 +293,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetInventoryCollectionIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetItemContainers: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItemModerationState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -301,10 +329,42 @@ 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); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + PurchaseInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemAppleAppStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemMicrosoftStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemNintendoEShopInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemPlayStationStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemSteamInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ReportItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -329,10 +389,18 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubtractInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + TakedownItemReviews: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + TransferInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -341,6 +409,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + }; var PlayFabEconomySDK = PlayFab.EconomyApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 8d981719..c443908b 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ec1477ad..fc0f9900 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3e67d57f..7afba520 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2626480b..37b0e04d 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4785bf61..6c0fb346 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index c39bf38f..ff1dc12d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3599adb2..966d15b0 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 364e91f7..08a497a2 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index eecbb78a..7af34e4f 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.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -529,6 +529,14 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, + LinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoSwitchDeviceId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LinkPSNAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -689,6 +697,14 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoSwitchDeviceId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 7c958d3d..1b46d0e4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -769,6 +769,7 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" + export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -800,8 +801,6 @@ declare module PlayFabAdminModels { DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** MAC address to be banned. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** The reason for this ban. Maximum 140 characters. */ @@ -948,6 +947,7 @@ declare module PlayFabAdminModels { } type ChurnRiskLevel = "NoData" + | "LowRisk" | "MediumRisk" | "HighRisk"; @@ -1004,6 +1004,7 @@ declare module PlayFabAdminModels { } type Conditionals = "Any" + | "True" | "False"; @@ -1038,6 +1039,7 @@ declare module PlayFabAdminModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -1046,6 +1048,7 @@ declare module PlayFabAdminModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -1415,6 +1418,7 @@ declare module PlayFabAdminModels { } type Currency = "AED" + | "AFN" | "ALL" | "AMD" @@ -1705,6 +1709,7 @@ declare module PlayFabAdminModels { } type EffectType = "Allow" + | "Deny"; export interface EmailNotificationSegmentAction { @@ -1716,6 +1721,7 @@ declare module PlayFabAdminModels { } type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -1837,6 +1843,7 @@ declare module PlayFabAdminModels { } type GameBuildStatus = "Available" + | "Validating" | "InvalidBuildPackage" | "Processing" @@ -1855,6 +1862,7 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2477,6 +2485,7 @@ declare module PlayFabAdminModels { | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" + | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -3355,6 +3364,7 @@ declare module PlayFabAdminModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -3774,6 +3784,7 @@ declare module PlayFabAdminModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistration { @@ -3805,6 +3816,7 @@ declare module PlayFabAdminModels { } type PushSetupPlatform = "GCM" + | "APNS" | "APNS_SANDBOX"; @@ -3847,6 +3859,7 @@ declare module PlayFabAdminModels { } type Region = "USCentral" + | "USEast" | "EUWest" | "Singapore" @@ -3915,6 +3928,7 @@ declare module PlayFabAdminModels { } type ResolutionOutcome = "Revoke" + | "Reinstate" | "Manual"; @@ -3954,6 +3968,7 @@ declare module PlayFabAdminModels { } type ResultTableNodeType = "ItemId" + | "TableId"; export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4067,6 +4082,7 @@ declare module PlayFabAdminModels { } type ScheduledTaskType = "CloudScript" + | "ActionsOnPlayerSegment" | "CloudScriptAzureFunctions" | "InsightsScheduledScaling"; @@ -4127,6 +4143,7 @@ declare module PlayFabAdminModels { } type SegmentCountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -4377,6 +4394,7 @@ declare module PlayFabAdminModels { | "ZW"; type SegmentCurrency = "AED" + | "AFN" | "ALL" | "AMD" @@ -4540,6 +4558,7 @@ declare module PlayFabAdminModels { | "ZWD"; type SegmentFilterComparison = "GreaterThan" + | "LessThan" | "EqualTo" | "NotEqualTo" @@ -4550,6 +4569,7 @@ declare module PlayFabAdminModels { | "NotContains"; type SegmentLoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -4596,6 +4616,7 @@ declare module PlayFabAdminModels { } type SegmentPushNotificationDevicePlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface SegmentTrigger { @@ -4764,6 +4785,7 @@ declare module PlayFabAdminModels { } type SourceType = "Admin" + | "BackEnd" | "GameClient" | "GameServer" @@ -4772,6 +4794,7 @@ declare module PlayFabAdminModels { | "API"; type StatisticAggregationMethod = "Last" + | "Min" | "Max" | "Sum"; @@ -4787,6 +4810,7 @@ declare module PlayFabAdminModels { } type StatisticResetIntervalOption = "Never" + | "Hour" | "Day" | "Week" @@ -4807,12 +4831,14 @@ declare module PlayFabAdminModels { } type StatisticVersionArchivalStatus = "NotScheduled" + | "Scheduled" | "Queued" | "InProgress" | "Complete"; type StatisticVersionStatus = "Active" + | "SnapshotPending" | "Snapshot" | "ArchivalPending" @@ -4864,6 +4890,7 @@ declare module PlayFabAdminModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -4923,6 +4950,7 @@ declare module PlayFabAdminModels { } type TaskInstanceStatus = "Succeeded" + | "Starting" | "InProgress" | "Failed" @@ -4930,6 +4958,7 @@ declare module PlayFabAdminModels { | "Stalled"; type TitleActivationStatus = "None" + | "ActivatedTitleKey" | "PendingSteam" | "ActivatedSteam" @@ -4963,8 +4992,6 @@ declare module PlayFabAdminModels { Expires?: string; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** The updated MAC address for the ban. Null for no change. */ - MACAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ @@ -5258,7 +5285,7 @@ declare module PlayFabAdminModels { PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** User PSN account information, if a PSN account has been linked */ + /** User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked */ PsnInfo?: UserPsnInfo; /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; @@ -5292,6 +5319,7 @@ declare module PlayFabAdminModels { } type UserDataPermission = "Private" + | "Public"; export interface UserDataRecord { @@ -5388,6 +5416,7 @@ declare module PlayFabAdminModels { } type UserOrigination = "Organic" + | "Steam" | "Google" | "Amazon" @@ -5425,9 +5454,9 @@ declare module PlayFabAdminModels { } export interface UserPsnInfo { - /** PSN account ID */ + /** PlayStation :tm: Network account ID */ PsnAccountId?: string; - /** PSN online ID */ + /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 802c802e..6089abfe 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -80,10 +80,12 @@ declare module PlayFabAuthenticationModels { } type IdentifiedDeviceType = "Unknown" + | "XboxOne" | "Scarlett"; type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index bcf35f35..38a170e3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -661,7 +661,7 @@ declare module PlayFabClientModule { */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Uses the supplied OAuth code to refresh the internally cached player PSN :tm: auth token + * Uses the supplied OAuth code to refresh the internally cached player PlayStation :tm: Network auth token * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -823,7 +823,7 @@ declare module PlayFabClientModule { */ UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related PSN :tm: account from the user's PlayFab account + * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -965,6 +965,7 @@ declare module PlayFabClientModels { } type AdActivity = "Opened" + | "Closed" | "Start" | "End"; @@ -1305,6 +1306,7 @@ declare module PlayFabClientModels { } type CloudScriptRevisionOption = "Live" + | "Latest" | "Specific"; @@ -1394,7 +1396,7 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Id of the PSN service label to consume entitlements from */ + /** Id of the PlayStation :tm: Network service label to consume entitlements from */ ServiceLabel: number; } @@ -1438,6 +1440,7 @@ declare module PlayFabClientModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -1446,6 +1449,7 @@ declare module PlayFabClientModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -1708,6 +1712,7 @@ declare module PlayFabClientModels { } type Currency = "AED" + | "AFN" | "ALL" | "AMD" @@ -1901,6 +1906,7 @@ declare module PlayFabClientModels { } type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -2016,7 +2022,10 @@ declare module PlayFabClientModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + /** + * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: + * Network. + */ PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; @@ -2076,6 +2085,7 @@ declare module PlayFabClientModels { } type GameInstanceState = "Open" + | "Closed"; export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2760,15 +2770,15 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; } export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } @@ -2806,7 +2816,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of Xbox Live identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } @@ -3340,15 +3350,15 @@ declare module PlayFabClientModels { } export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authentication code provided by the PlayStation Network. */ + /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri: string; } @@ -3429,6 +3439,7 @@ declare module PlayFabClientModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -3508,7 +3519,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization - * credential payload. + * credential payload. If you choose to ignore the expiration date for identity tokens, you will receive an NotAuthorized + * error if Apple rotates the signing key. In this case, users have to login to provide a fresh identity token. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ @@ -3817,7 +3829,7 @@ declare module PlayFabClientModels { } export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Auth code provided by the PSN OAuth provider. */ + /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3827,11 +3839,11 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3961,6 +3973,7 @@ declare module PlayFabClientModels { } type MatchmakeStatus = "Complete" + | "Waiting" | "GameNotFound" | "NoAvailableSlots" @@ -4227,17 +4240,20 @@ declare module PlayFabClientModels { } export interface PlayStation5Payload { - /** An optional list of entitlement ids to query against PSN */ + /** An optional list of entitlement ids to query against PlayStation :tm: Network */ Ids?: string[]; - /** Id of the PSN service label to consume entitlements from */ + /** Id of the PlayStation :tm: Network service label to consume entitlements from */ ServiceLabel?: string; } export interface PSNAccountPlayFabIdPair { - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ PlayFabId?: string; - /** Unique PlayStation Network identifier for a user. */ + /** Unique PlayStation :tm: Network identifier for a user. */ PSNAccountId?: string; } @@ -4284,6 +4300,7 @@ declare module PlayFabClientModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistrationModel { @@ -4313,16 +4330,17 @@ declare module PlayFabClientModels { } export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Auth code returned by PSN OAuth system. */ + /** Auth code returned by PlayStation :tm: Network OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri: string; } type Region = "USCentral" + | "USEast" | "EUWest" | "Singapore" @@ -4591,6 +4609,7 @@ declare module PlayFabClientModels { } type SourceType = "Admin" + | "BackEnd" | "GameClient" | "GameServer" @@ -4717,6 +4736,7 @@ declare module PlayFabClientModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -4742,6 +4762,7 @@ declare module PlayFabClientModels { } type TitleActivationStatus = "None" + | "ActivatedTitleKey" | "PendingSteam" | "ActivatedSteam" @@ -4790,6 +4811,7 @@ declare module PlayFabClientModels { } type TradeStatus = "Invalid" + | "Opening" | "Open" | "Accepting" @@ -4798,6 +4820,7 @@ declare module PlayFabClientModels { | "Cancelled"; type TransactionStatus = "CreateCart" + | "Init" | "Approved" | "Succeeded" @@ -5227,7 +5250,7 @@ declare module PlayFabClientModels { PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** User PSN account information, if a PSN account has been linked */ + /** User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked */ PsnInfo?: UserPsnInfo; /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; @@ -5261,6 +5284,7 @@ declare module PlayFabClientModels { } type UserDataPermission = "Private" + | "Public"; export interface UserDataRecord { @@ -5357,6 +5381,7 @@ declare module PlayFabClientModels { } type UserOrigination = "Organic" + | "Steam" | "Google" | "Amazon" @@ -5388,9 +5413,9 @@ declare module PlayFabClientModels { } export interface UserPsnInfo { - /** PSN account ID */ + /** PlayStation :tm: Network account ID */ PsnAccountId?: string; - /** PSN online ID */ + /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index dcbd5ed3..4dbdf608 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -87,6 +87,7 @@ declare module PlayFabCloudScriptModels { } type CloudScriptRevisionOption = "Live" + | "Latest" | "Specific"; @@ -101,6 +102,7 @@ declare module PlayFabCloudScriptModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -109,6 +111,7 @@ declare module PlayFabCloudScriptModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -359,6 +362,7 @@ declare module PlayFabCloudScriptModels { | "ZW"; type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -570,6 +574,7 @@ declare module PlayFabCloudScriptModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -740,6 +745,7 @@ declare module PlayFabCloudScriptModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistrationModel { @@ -824,6 +830,7 @@ declare module PlayFabCloudScriptModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -839,6 +846,7 @@ declare module PlayFabCloudScriptModels { } type TriggerType = "HTTP" + | "Queue"; export interface UnregisterFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index 9c817922..e0a633ff 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -219,6 +219,7 @@ declare module PlayFabDataModels { } type OperationTypes = "Created" + | "Updated" | "Deleted" | "None"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 72014ef5..3f397aab 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabEconomyModule { export interface IPlayFabEconomy { ForgetAllCredentials(): void; + /** + * Add inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems + */ + AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem @@ -19,11 +24,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete an Inventory Collection + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection + */ + DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems + */ + DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Execute a list of Inventory Operations + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations + */ + ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig @@ -49,11 +69,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get Inventory Collection Ids + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids + */ + GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get current inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems + */ + GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Search for a given item and return a set of bundles and stores containing the item + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers + */ + GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate @@ -79,11 +114,51 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the access tokens. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens + */ + GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Purchase an item or bundle + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems + */ + PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems + */ + RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems + */ + RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems + */ + RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems + */ + RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems + */ + RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems + */ + RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem @@ -115,11 +190,21 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subtract inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems + */ + SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Transfer inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems + */ + TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig @@ -130,11 +215,73 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems + */ + UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabEconomyModels { + export interface AddInventoryItemsOperation { + /** The amount to add to the current item amount. */ + Amount: number; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The currency code of the real money transaction. */ + CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** A list of Items to modify. */ + Items?: InventoryItem[]; + /** Purchase price of the offer. */ + PurchasePrice?: number; + /** Indicates if the full inventory should be returned. */ + ReturnInventory: boolean; + + } + + export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** + * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set + * to true in response. + */ + InventoryItems?: InventoryItem[]; + /** Whether the number of inventory items is too large to be returned. */ + InventoryTooLarge: boolean; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + /** The updated items for this request. */ + UpdatedItems?: InventoryItem[]; + + } + + export interface AlternateId { + /** Type of the alternate ID. */ + Type?: string; + /** Value of the alternate ID. */ + Value?: string; + + } + export interface CatalogAlternateId { /** Type of the alternate ID. */ Type?: string; @@ -146,6 +293,10 @@ declare module PlayFabEconomyModels { export interface CatalogConfig { /** A list of player entity keys that will have admin permissions. */ AdminEntities?: EntityKey[]; + /** The set of configuration that only applies to catalog items. */ + Catalog?: CatalogSpecificConfig; + /** A list of deep link formats. */ + DeepLinkFormats?: DeepLinkFormat[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ @@ -174,6 +325,8 @@ declare module PlayFabEconomyModels { CreationDate?: string; /** The ID of the creator of this catalog item. */ CreatorEntity?: EntityKey; + /** The set of platform specific deep links for this item. */ + DeepLinks?: DeepLink[]; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -193,16 +346,24 @@ declare module PlayFabEconomyModels { Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; + /** The item references associated with this item. */ + ItemReferences?: CatalogItemReference[]; /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; /** The moderation state for this item. */ Moderation?: ModerationState; + /** The platforms supported by this item. */ + Platforms?: string[]; + /** The base price of this item. */ + PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; + /** Optional details for stores items. */ + StoreDetails?: StoreDetails; /** The list of tags that are associated with this item. */ Tags?: string[]; /** @@ -210,7 +371,7 @@ declare module PlayFabEconomyModels { * required. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. */ + /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ Type?: string; } @@ -220,32 +381,53 @@ declare module PlayFabEconomyModels { Amount?: number; /** The unique ID of the catalog item. */ Id?: string; - /** The price of the catalog item. */ - Price?: CatalogPrice; + /** The prices the catalog item can be purchased for. */ + PriceOptions?: CatalogPriceOptions; } export interface CatalogPrice { - /** Prices of the catalog item. */ - Prices?: CatalogPriceInstance[]; - /** Real prices of the catalog item. */ - RealPrices?: CatalogPriceInstance[]; - /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ - Sort?: number; + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; } export interface CatalogPriceAmount { - /** The amount of the catalog price. */ + /** The amount of the price. */ Amount: number; - /** The Item ID of the price. */ - Id?: string; + /** The Item Id of the price. */ + ItemId?: string; } - export interface CatalogPriceInstance { - /** The amounts of the catalog item price. */ - Amounts?: CatalogPriceAmount[]; + export interface CatalogPriceAmountOverride { + /** The exact value that should be utilized in the override. */ + FixedValue?: number; + /** The id of the item this override should utilize. */ + ItemId?: string; + /** + * The multiplier that will be applied to the base Catalog value to determine what value should be utilized in the + * override. + */ + Multiplier?: number; + + } + + export interface CatalogPriceOptions { + /** Prices of the catalog item. */ + Prices?: CatalogPrice[]; + + } + + export interface CatalogPriceOptionsOverride { + /** The prices utilized in the override. */ + Prices?: CatalogPriceOverride[]; + + } + + export interface CatalogPriceOverride { + /** The currency amounts utilized in the override for a singular price. */ + Amounts?: CatalogPriceAmountOverride[]; } @@ -258,6 +440,7 @@ declare module PlayFabEconomyModels { } type ConcernCategory = "None" + | "OffensiveContent" | "ChildExploitation" | "MalwareOrVirus" @@ -288,6 +471,257 @@ declare module PlayFabEconomyModels { } + type CountryCode = "AF" + + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -318,6 +752,14 @@ declare module PlayFabEconomyModels { } + export interface DeepLink { + /** Target platform for this deep link. */ + Platform?: string; + /** The deep link for this platform. */ + Url?: string; + + } + export interface DeepLinkFormat { /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ Format?: string; @@ -338,6 +780,48 @@ declare module PlayFabEconomyModels { } + export interface DeleteInventoryCollectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The inventory collection id the request applies to. */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface DeleteInventoryCollectionResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DeleteInventoryItemsOperation { + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -363,6 +847,7 @@ declare module PlayFabEconomyModels { } type DisplayPropertyType = "None" + | "QueryDateTime" | "QueryDouble" | "QueryString" @@ -376,6 +861,31 @@ declare module PlayFabEconomyModels { } + export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** + * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as + * a batch. + */ + Operations?: InventoryOperation[]; + + } + + export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of the transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface FileConfig { /** The set of content types that will be used for validation. */ ContentTypes?: string[]; @@ -385,6 +895,10 @@ declare module PlayFabEconomyModels { } export interface FilterOptions { + /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ + Filter?: string; + /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ + IncludeAllItems?: boolean; } @@ -450,6 +964,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** OData Filter to specify ItemType. */ + Filter?: string; } @@ -479,6 +995,80 @@ declare module PlayFabEconomyModels { } + export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. (Default = 10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface GetInventoryCollectionIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested inventory collection ids. */ + CollectionIds?: string[]; + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + + } + + export interface GetInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The filters to limit what is returned to the client. */ + Filter?: string; + + } + + export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The requested inventory items. */ + Items?: InventoryItem[]; + + } + + export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 25. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemContainersResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of Bundles and Stores containing the requested items. */ + Containers?: CatalogItem[]; + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + + } + export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -597,7 +1187,33 @@ declare module PlayFabEconomyModels { } + export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a + * CollectionsIdKey for the user + */ + CollectionsAccessToken?: string; + /** The date the collections access token expires */ + CollectionsAccessTokenExpirationDate: string; + + } + + export interface GooglePlayProductPurchase { + /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ + ProductId?: string; + /** The token provided to the player's device when the product was purchased */ + Token?: string; + + } + type HelpfulnessVote = "None" + | "UnHelpful" | "Helpful"; @@ -619,6 +1235,44 @@ declare module PlayFabEconomyModels { } + export interface InventoryItem { + /** The amount of the item. */ + Amount: number; + /** The id of the item. This should correspond to the item id in the catalog. */ + Id?: string; + /** The stack id of the item. */ + StackId?: string; + /** The type of the item. This should correspond to the item type in the catalog. */ + Type?: string; + + } + + export interface InventoryItemReference { + /** The inventory item alternate id the request applies to. */ + AlternateId?: AlternateId; + /** The inventory item id the request applies to. */ + Id?: string; + /** The inventory stack id the request should redeem to. (Default="default") */ + StackId?: string; + + } + + export interface InventoryOperation { + /** The add operation. */ + Add?: AddInventoryItemsOperation; + /** The delete operation. */ + Delete?: DeleteInventoryItemsOperation; + /** The purchase operation. */ + Purchase?: PurchaseInventoryItemsOperation; + /** The subtract operation. */ + Subtract?: SubtractInventoryItemsOperation; + /** The transfer operation. */ + Transfer?: TransferInventoryItemsOperation; + /** The update operation. */ + Update?: UpdateInventoryItemsOperation; + + } + export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -636,6 +1290,7 @@ declare module PlayFabEconomyModels { } type ModerationStatus = "Unknown" + | "AwaitingModeration" | "Approved" | "Rejected"; @@ -650,14 +1305,6 @@ declare module PlayFabEconomyModels { } - export interface PriceOverride { - - } - - export interface PricesOverride { - - } - export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -681,15 +1328,82 @@ declare module PlayFabEconomyModels { } type PublishResult = "Unknown" + | "Pending" | "Succeeded" | "Failed" | "Canceled"; + export interface PurchaseInventoryItemsOperation { + /** The amount to purchase. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to purchase. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface PurchaseOverride { } + export interface PurchasePriceAmount { + /** The amount of the inventory item to use in the purchase . */ + Amount: number; + /** The inventory item id to use in the purchase . */ + ItemId?: string; + /** The inventory stack id the to use in the purchase. Set to "default" by default */ + StackId?: string; + + } + export interface Rating { /** The average rating for this item. */ Average?: number; @@ -708,6 +1422,174 @@ declare module PlayFabEconomyModels { } + export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The receipt provided by the Apple marketplace upon successful purchase. */ + Receipt?: string; + + } + + export interface RedeemAppleAppStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The list of purchases to redeem */ + Purchases?: GooglePlayProductPurchase[]; + + } + + export interface RedeemGooglePlayInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The OneStore Collections Id Key used for AAD authentication. */ + CollectionsIdKey?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** Xbox Token used for delegated business partner authentication. */ + XboxToken?: string; + + } + + export interface RedeemMicrosoftStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemNintendoEShopInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The Nintendo provided token authorizing redemption */ + NintendoServiceAccountIdToken?: string; + + } + + export interface RedeemNintendoEShopInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authorization code provided by the PlayStation OAuth provider. */ + AuthorizationCode?: string; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** Optional Service Label to pass into the request. */ + ServiceLabel?: string; + + } + + export interface RedeemPlayStationStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemSteamInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + + } + + export interface RedeemSteamInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedemptionFailure { + /** The marketplace failure code. */ + FailureCode?: string; + /** The marketplace error details explaining why the offer failed to redeem. */ + FailureDetails?: string; + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + + } + + export interface RedemptionSuccess { + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + /** The timestamp for when the redeem was completed. */ + SuccessTimestamp: string; + + } + export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -766,6 +1648,8 @@ declare module PlayFabEconomyModels { /** Star rating associated with this review. */ Rating: number; /** The ID of the author of the review. */ + ReviewerEntity?: EntityKey; + /** Deprecated. Use ReviewerEntity instead. This property will be removed in a future release. */ ReviewerId?: string; /** The ID of the review. */ ReviewId?: string; @@ -832,6 +1716,8 @@ declare module PlayFabEconomyModels { * be returned. */ Select?: string; + /** The store to restrict the search request to. */ + Store?: StoreReference; } @@ -862,10 +1748,14 @@ declare module PlayFabEconomyModels { } export interface StoreDetails { + /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ + FilterOptions?: FilterOptions; + /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ + PriceOptionsOverride?: CatalogPriceOptionsOverride; } - export interface StoreInfo { + export interface StoreReference { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; /** The unique ID of the store. */ @@ -899,6 +1789,61 @@ declare module PlayFabEconomyModels { } + export interface SubtractInventoryItemsOperation { + /** The amount to subtract from the current item amount. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false). + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** A list of Items to modify. */ + Items?: InventoryItem[]; + /** Indicates if the full inventory should be returned. */ + ReturnInventory: boolean; + + } + + export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** + * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set + * to true in response. + */ + InventoryItems?: InventoryItem[]; + /** Whether the number of inventory items is too large to be returned. */ + InventoryTooLarge: boolean; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + /** The updated items for this request. */ + UpdatedItems?: InventoryItem[]; + + } + export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -911,6 +1856,58 @@ declare module PlayFabEconomyModels { } + export interface TransferInventoryItemsOperation { + /** The amount to transfer. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation is transferring from. */ + GivingItem?: InventoryItemReference; + /** The inventory item the operation is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to transfer . */ + Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory collection id the request is transferring from. (Default="default") */ + GivingCollectionId?: string; + /** The entity the request is transferring from. Set to the caller by default. */ + GivingEntity?: EntityKey; + /** The inventory item the request is transferring from. */ + GivingItem?: InventoryItemReference; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The inventory collection id the request is transferring to. (Default="default") */ + ReceivingCollectionId?: string; + /** The entity the request is transferring to. Set to the caller by default. */ + ReceivingEntity?: EntityKey; + /** The inventory item the request is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ids of transactions that occurred as a result of the request's giving action. */ + GivingTransactionIds?: string[]; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request's receiving action. */ + ReceivingTransactionIds?: string[]; + + } + export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated catalog configuration. */ Config?: CatalogConfig; @@ -939,6 +1936,47 @@ declare module PlayFabEconomyModels { } + export interface UpdateInventoryItemsOperation { + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + + } + + export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + /** A list of Items to modify. */ + Items?: InventoryItem[]; + /** Indicates if the full inventory should be returned. */ + ReturnInventory: boolean; + + } + + export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** + * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set + * to true in response. + */ + InventoryItems?: InventoryItem[]; + /** Whether the number of inventory items is too large to be returned. */ + InventoryTooLarge: boolean; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + /** The updated items for this request. */ + UpdatedItems?: InventoryItem[]; + + } + export interface UploadInfo { /** Name of the file to be uploaded. */ FileName?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts index 5bbcc129..9b6f778f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -75,6 +75,7 @@ declare module PlayFabExperimentationModule { declare module PlayFabExperimentationModels { type AnalysisTaskState = "Waiting" + | "ReadyForSubmission" | "SubmittingToPipeline" | "Running" @@ -211,11 +212,13 @@ declare module PlayFabExperimentationModels { } type ExperimentState = "New" + | "Started" | "Stopped" | "Deleted"; type ExperimentType = "Active" + | "Snapshot"; export interface GetExclusionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 6367ab0a..3d270c72 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -547,6 +547,7 @@ declare module PlayFabGroupsModels { } type OperationTypes = "Created" + | "Updated" | "Deleted" | "None"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8c4868cf..84c97113 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -419,6 +419,7 @@ declare module PlayFabMultiplayerModule { declare module PlayFabMultiplayerModels { type AccessPolicy = "Public" + | "Friends" | "Private"; @@ -447,16 +448,20 @@ declare module PlayFabMultiplayerModels { } type AttributeMergeFunction = "Min" + | "Max" | "Average"; type AttributeNotSpecifiedBehavior = "UseDefault" + | "MatchAny"; type AttributeSource = "User" + | "PlayerEntity"; type AzureRegion = "AustraliaEast" + | "AustraliaSoutheast" | "BrazilSouth" | "CentralUs" @@ -481,6 +486,7 @@ declare module PlayFabMultiplayerModels { | "UkSouth"; type AzureVmFamily = "A" + | "Av2" | "Dv2" | "Dv3" @@ -500,6 +506,7 @@ declare module PlayFabMultiplayerModels { | "HBv3"; type AzureVmSize = "Standard_A1" + | "Standard_A2" | "Standard_A3" | "Standard_A4" @@ -675,6 +682,7 @@ declare module PlayFabMultiplayerModels { } type CancellationReason = "Requested" + | "Internal" | "Timeout"; @@ -734,6 +742,7 @@ declare module PlayFabMultiplayerModels { } type ContainerFlavor = "ManagedWindowsServerCore" + | "CustomLinux" | "ManagedWindowsServerCorePreview" | "Invalid"; @@ -1816,12 +1825,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string build ID of the multiplayer server to get details for. */ - BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The region the multiplayer server is located in to get details for. */ - Region?: string; /** * The title generated guid string session ID of the multiplayer server to get details for. This is to keep track of * multiplayer server sessions. @@ -2597,6 +2602,7 @@ declare module PlayFabMultiplayerModels { } type MembershipLock = "Unlocked" + | "Locked"; export interface MonitoringApplicationConfiguration { @@ -2642,6 +2648,7 @@ declare module PlayFabMultiplayerModels { } type OsPlatform = "Windows" + | "Linux"; export interface OverrideDouble { @@ -2657,6 +2664,7 @@ declare module PlayFabMultiplayerModels { } type OwnerMigrationPolicy = "None" + | "Automatic" | "Manual" | "Server"; @@ -2688,6 +2696,7 @@ declare module PlayFabMultiplayerModels { } type ProtocolType = "TCP" + | "UDP"; export interface QosServer { @@ -2892,6 +2901,7 @@ declare module PlayFabMultiplayerModels { } type ServerType = "Container" + | "Process"; export interface SetIntersectionRule { @@ -3057,6 +3067,7 @@ declare module PlayFabMultiplayerModels { } type SubscriptionType = "LobbyChange" + | "LobbyInvite"; export interface TeamDifferenceRule { @@ -3118,6 +3129,7 @@ declare module PlayFabMultiplayerModels { } type TitleMultiplayerServerEnabledStatus = "Initializing" + | "Enabled" | "Disabled"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 8fba427b..2d3baf15 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -46,6 +46,7 @@ declare module PlayFabProfilesModule { declare module PlayFabProfilesModels { type EffectType = "Allow" + | "Deny"; export interface EntityDataObject { @@ -246,6 +247,7 @@ declare module PlayFabProfilesModels { } type OperationTypes = "Created" + | "Updated" | "Deleted" | "None"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index c9459aec..818a5fe4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -400,6 +400,16 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Nintendo account associated with the token to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount + */ + LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the NintendoSwitchDeviceId to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid + */ + LinkNintendoSwitchDeviceId(request: PlayFabServerModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount @@ -616,7 +626,17 @@ declare module PlayFabServerModule { */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related PSN account from the user's PlayFab account + * Unlinks the related Nintendo account from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount + */ + UnlinkNintendoServiceAccount(request: PlayFabServerModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoswitchdeviceid + */ + UnlinkNintendoSwitchDeviceId(request: PlayFabServerModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -916,8 +936,6 @@ declare module PlayFabServerModels { DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** MAC address to be banned. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** The reason for this ban. Maximum 140 characters. */ @@ -1082,6 +1100,7 @@ declare module PlayFabServerModels { } type CloudScriptRevisionOption = "Live" + | "Latest" | "Specific"; @@ -1128,6 +1147,7 @@ declare module PlayFabServerModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -1136,6 +1156,7 @@ declare module PlayFabServerModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -1398,6 +1419,7 @@ declare module PlayFabServerModels { } type Currency = "AED" + | "AFN" | "ALL" | "AMD" @@ -1618,6 +1640,7 @@ declare module PlayFabServerModels { } type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -1752,7 +1775,10 @@ declare module PlayFabServerModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + /** + * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: + * Network. + */ PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; @@ -1768,9 +1794,11 @@ declare module PlayFabServerModels { } type GameInstanceState = "Open" + | "Closed"; type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2393,6 +2421,7 @@ declare module PlayFabServerModels { | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" + | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -3034,15 +3063,15 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; } export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } @@ -3080,7 +3109,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of Xbox Live identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } @@ -3494,18 +3523,49 @@ declare module PlayFabServerModels { } + export interface LinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by Nintendo after login. Used to validate the request and find the user ID (Nintendo + * Switch subject) to link with. + */ + IdentityToken: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Nintendo Switch unique identifier for the user's device. */ + NintendoSwitchDeviceId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface LinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authentication code provided by the PlayStation Network. */ + /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri: string; } @@ -3581,6 +3641,7 @@ declare module PlayFabServerModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -3804,6 +3865,7 @@ declare module PlayFabServerModels { } type PlayerConnectionState = "Unassigned" + | "Connecting" | "Participating" | "Participated"; @@ -4012,9 +4074,12 @@ declare module PlayFabServerModels { } export interface PSNAccountPlayFabIdPair { - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ PlayFabId?: string; - /** Unique PlayStation Network identifier for a user. */ + /** Unique PlayStation :tm: Network identifier for a user. */ PSNAccountId?: string; } @@ -4036,6 +4101,7 @@ declare module PlayFabServerModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistration { @@ -4115,6 +4181,7 @@ declare module PlayFabServerModels { } type Region = "USCentral" + | "USEast" | "EUWest" | "Singapore" @@ -4232,6 +4299,7 @@ declare module PlayFabServerModels { } type ResultTableNodeType = "ItemId" + | "TableId"; export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4540,6 +4608,7 @@ declare module PlayFabServerModels { } type SourceType = "Admin" + | "BackEnd" | "GameClient" | "GameServer" @@ -4642,6 +4711,7 @@ declare module PlayFabServerModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -4683,6 +4753,7 @@ declare module PlayFabServerModels { } type TitleActivationStatus = "None" + | "ActivatedTitleKey" | "PendingSteam" | "ActivatedSteam" @@ -4716,6 +4787,28 @@ declare module PlayFabServerModels { } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ + NintendoSwitchDeviceId?: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4822,8 +4915,6 @@ declare module PlayFabServerModels { Expires?: string; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** The updated MAC address for the ban. Null for no change. */ - MACAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ @@ -5035,7 +5126,7 @@ declare module PlayFabServerModels { PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** User PSN account information, if a PSN account has been linked */ + /** User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked */ PsnInfo?: UserPsnInfo; /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; @@ -5069,6 +5160,7 @@ declare module PlayFabServerModels { } type UserDataPermission = "Private" + | "Public"; export interface UserDataRecord { @@ -5165,6 +5257,7 @@ declare module PlayFabServerModels { } type UserOrigination = "Organic" + | "Steam" | "Google" | "Amazon" @@ -5196,9 +5289,9 @@ declare module PlayFabServerModels { } export interface UserPsnInfo { - /** PSN account ID */ + /** PlayStation :tm: Network account ID */ PsnAccountId?: string; - /** PSN online ID */ + /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 46a3e979..4ee2e9fb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 69f3b621..f54c8708 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b5987795..1f1e3255 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index e895287c..fc8363ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index cf0bc3f2..e924f8be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 4be14cc6..6263ca8b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.EconomyApi = { PlayFab._internalSettings.entityToken = null; }, + AddInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -253,10 +257,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteInventoryCollection: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + ExecuteInventoryOperations: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,10 +293,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetInventoryCollectionIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetItemContainers: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItemModerationState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -301,10 +329,42 @@ 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); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + PurchaseInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemAppleAppStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemMicrosoftStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemNintendoEShopInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemPlayStationStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemSteamInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ReportItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -329,10 +389,18 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubtractInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + TakedownItemReviews: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + TransferInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -341,6 +409,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + }; var PlayFabEconomySDK = PlayFab.EconomyApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 8d981719..c443908b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ec1477ad..fc0f9900 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3e67d57f..7afba520 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2626480b..37b0e04d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4785bf61..6c0fb346 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index c39bf38f..ff1dc12d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3599adb2..966d15b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 364e91f7..08a497a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index eecbb78a..7af34e4f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.124.220816", + sdkVersion: "1.126.220907", requestGetParams: { - sdk: "JavaScriptSDK-1.124.220816" + sdk: "JavaScriptSDK-1.126.220907" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.124.220816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.126.220907"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -529,6 +529,14 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders); }, + LinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoSwitchDeviceId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LinkPSNAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -689,6 +697,14 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + UnlinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoSwitchDeviceId", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkPSNAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 7c958d3d..1b46d0e4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -769,6 +769,7 @@ declare module PlayFabAdminModels { type AuthTokenType = "Email" + export interface BanInfo { /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */ Active: boolean; @@ -800,8 +801,6 @@ declare module PlayFabAdminModels { DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** MAC address to be banned. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** The reason for this ban. Maximum 140 characters. */ @@ -948,6 +947,7 @@ declare module PlayFabAdminModels { } type ChurnRiskLevel = "NoData" + | "LowRisk" | "MediumRisk" | "HighRisk"; @@ -1004,6 +1004,7 @@ declare module PlayFabAdminModels { } type Conditionals = "Any" + | "True" | "False"; @@ -1038,6 +1039,7 @@ declare module PlayFabAdminModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -1046,6 +1048,7 @@ declare module PlayFabAdminModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -1415,6 +1418,7 @@ declare module PlayFabAdminModels { } type Currency = "AED" + | "AFN" | "ALL" | "AMD" @@ -1705,6 +1709,7 @@ declare module PlayFabAdminModels { } type EffectType = "Allow" + | "Deny"; export interface EmailNotificationSegmentAction { @@ -1716,6 +1721,7 @@ declare module PlayFabAdminModels { } type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -1837,6 +1843,7 @@ declare module PlayFabAdminModels { } type GameBuildStatus = "Available" + | "Validating" | "InvalidBuildPackage" | "Processing" @@ -1855,6 +1862,7 @@ declare module PlayFabAdminModels { } type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2477,6 +2485,7 @@ declare module PlayFabAdminModels { | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" + | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -3355,6 +3364,7 @@ declare module PlayFabAdminModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -3774,6 +3784,7 @@ declare module PlayFabAdminModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistration { @@ -3805,6 +3816,7 @@ declare module PlayFabAdminModels { } type PushSetupPlatform = "GCM" + | "APNS" | "APNS_SANDBOX"; @@ -3847,6 +3859,7 @@ declare module PlayFabAdminModels { } type Region = "USCentral" + | "USEast" | "EUWest" | "Singapore" @@ -3915,6 +3928,7 @@ declare module PlayFabAdminModels { } type ResolutionOutcome = "Revoke" + | "Reinstate" | "Manual"; @@ -3954,6 +3968,7 @@ declare module PlayFabAdminModels { } type ResultTableNodeType = "ItemId" + | "TableId"; export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4067,6 +4082,7 @@ declare module PlayFabAdminModels { } type ScheduledTaskType = "CloudScript" + | "ActionsOnPlayerSegment" | "CloudScriptAzureFunctions" | "InsightsScheduledScaling"; @@ -4127,6 +4143,7 @@ declare module PlayFabAdminModels { } type SegmentCountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -4377,6 +4394,7 @@ declare module PlayFabAdminModels { | "ZW"; type SegmentCurrency = "AED" + | "AFN" | "ALL" | "AMD" @@ -4540,6 +4558,7 @@ declare module PlayFabAdminModels { | "ZWD"; type SegmentFilterComparison = "GreaterThan" + | "LessThan" | "EqualTo" | "NotEqualTo" @@ -4550,6 +4569,7 @@ declare module PlayFabAdminModels { | "NotContains"; type SegmentLoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -4596,6 +4616,7 @@ declare module PlayFabAdminModels { } type SegmentPushNotificationDevicePlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface SegmentTrigger { @@ -4764,6 +4785,7 @@ declare module PlayFabAdminModels { } type SourceType = "Admin" + | "BackEnd" | "GameClient" | "GameServer" @@ -4772,6 +4794,7 @@ declare module PlayFabAdminModels { | "API"; type StatisticAggregationMethod = "Last" + | "Min" | "Max" | "Sum"; @@ -4787,6 +4810,7 @@ declare module PlayFabAdminModels { } type StatisticResetIntervalOption = "Never" + | "Hour" | "Day" | "Week" @@ -4807,12 +4831,14 @@ declare module PlayFabAdminModels { } type StatisticVersionArchivalStatus = "NotScheduled" + | "Scheduled" | "Queued" | "InProgress" | "Complete"; type StatisticVersionStatus = "Active" + | "SnapshotPending" | "Snapshot" | "ArchivalPending" @@ -4864,6 +4890,7 @@ declare module PlayFabAdminModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -4923,6 +4950,7 @@ declare module PlayFabAdminModels { } type TaskInstanceStatus = "Succeeded" + | "Starting" | "InProgress" | "Failed" @@ -4930,6 +4958,7 @@ declare module PlayFabAdminModels { | "Stalled"; type TitleActivationStatus = "None" + | "ActivatedTitleKey" | "PendingSteam" | "ActivatedSteam" @@ -4963,8 +4992,6 @@ declare module PlayFabAdminModels { Expires?: string; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** The updated MAC address for the ban. Null for no change. */ - MACAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ @@ -5258,7 +5285,7 @@ declare module PlayFabAdminModels { PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** User PSN account information, if a PSN account has been linked */ + /** User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked */ PsnInfo?: UserPsnInfo; /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; @@ -5292,6 +5319,7 @@ declare module PlayFabAdminModels { } type UserDataPermission = "Private" + | "Public"; export interface UserDataRecord { @@ -5388,6 +5416,7 @@ declare module PlayFabAdminModels { } type UserOrigination = "Organic" + | "Steam" | "Google" | "Amazon" @@ -5425,9 +5454,9 @@ declare module PlayFabAdminModels { } export interface UserPsnInfo { - /** PSN account ID */ + /** PlayStation :tm: Network account ID */ PsnAccountId?: string; - /** PSN online ID */ + /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 802c802e..6089abfe 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -80,10 +80,12 @@ declare module PlayFabAuthenticationModels { } type IdentifiedDeviceType = "Unknown" + | "XboxOne" | "Scarlett"; type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index bcf35f35..38a170e3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -661,7 +661,7 @@ declare module PlayFabClientModule { */ RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Uses the supplied OAuth code to refresh the internally cached player PSN :tm: auth token + * Uses the supplied OAuth code to refresh the internally cached player PlayStation :tm: Network auth token * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -823,7 +823,7 @@ declare module PlayFabClientModule { */ UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related PSN :tm: account from the user's PlayFab account + * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -965,6 +965,7 @@ declare module PlayFabClientModels { } type AdActivity = "Opened" + | "Closed" | "Start" | "End"; @@ -1305,6 +1306,7 @@ declare module PlayFabClientModels { } type CloudScriptRevisionOption = "Live" + | "Latest" | "Specific"; @@ -1394,7 +1396,7 @@ declare module PlayFabClientModels { CatalogVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Id of the PSN service label to consume entitlements from */ + /** Id of the PlayStation :tm: Network service label to consume entitlements from */ ServiceLabel: number; } @@ -1438,6 +1440,7 @@ declare module PlayFabClientModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -1446,6 +1449,7 @@ declare module PlayFabClientModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -1708,6 +1712,7 @@ declare module PlayFabClientModels { } type Currency = "AED" + | "AFN" | "ALL" | "AMD" @@ -1901,6 +1906,7 @@ declare module PlayFabClientModels { } type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -2016,7 +2022,10 @@ declare module PlayFabClientModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + /** + * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: + * Network. + */ PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; @@ -2076,6 +2085,7 @@ declare module PlayFabClientModels { } type GameInstanceState = "Open" + | "Closed"; export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -2760,15 +2770,15 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; } export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } @@ -2806,7 +2816,7 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of Xbox Live identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } @@ -3340,15 +3350,15 @@ declare module PlayFabClientModels { } export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authentication code provided by the PlayStation Network. */ + /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri: string; } @@ -3429,6 +3439,7 @@ declare module PlayFabClientModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -3508,7 +3519,8 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization - * credential payload. + * credential payload. If you choose to ignore the expiration date for identity tokens, you will receive an NotAuthorized + * error if Apple rotates the signing key. In this case, users have to login to provide a fresh identity token. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ @@ -3817,7 +3829,7 @@ declare module PlayFabClientModels { } export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Auth code provided by the PSN OAuth provider. */ + /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -3827,11 +3839,11 @@ declare module PlayFabClientModels { EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3961,6 +3973,7 @@ declare module PlayFabClientModels { } type MatchmakeStatus = "Complete" + | "Waiting" | "GameNotFound" | "NoAvailableSlots" @@ -4227,17 +4240,20 @@ declare module PlayFabClientModels { } export interface PlayStation5Payload { - /** An optional list of entitlement ids to query against PSN */ + /** An optional list of entitlement ids to query against PlayStation :tm: Network */ Ids?: string[]; - /** Id of the PSN service label to consume entitlements from */ + /** Id of the PlayStation :tm: Network service label to consume entitlements from */ ServiceLabel?: string; } export interface PSNAccountPlayFabIdPair { - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ PlayFabId?: string; - /** Unique PlayStation Network identifier for a user. */ + /** Unique PlayStation :tm: Network identifier for a user. */ PSNAccountId?: string; } @@ -4284,6 +4300,7 @@ declare module PlayFabClientModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistrationModel { @@ -4313,16 +4330,17 @@ declare module PlayFabClientModels { } export interface RefreshPSNAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Auth code returned by PSN OAuth system. */ + /** Auth code returned by PlayStation :tm: Network OAuth system. */ AuthCode: string; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri: string; } type Region = "USCentral" + | "USEast" | "EUWest" | "Singapore" @@ -4591,6 +4609,7 @@ declare module PlayFabClientModels { } type SourceType = "Admin" + | "BackEnd" | "GameClient" | "GameServer" @@ -4717,6 +4736,7 @@ declare module PlayFabClientModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -4742,6 +4762,7 @@ declare module PlayFabClientModels { } type TitleActivationStatus = "None" + | "ActivatedTitleKey" | "PendingSteam" | "ActivatedSteam" @@ -4790,6 +4811,7 @@ declare module PlayFabClientModels { } type TradeStatus = "Invalid" + | "Opening" | "Open" | "Accepting" @@ -4798,6 +4820,7 @@ declare module PlayFabClientModels { | "Cancelled"; type TransactionStatus = "CreateCart" + | "Init" | "Approved" | "Succeeded" @@ -5227,7 +5250,7 @@ declare module PlayFabClientModels { PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** User PSN account information, if a PSN account has been linked */ + /** User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked */ PsnInfo?: UserPsnInfo; /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; @@ -5261,6 +5284,7 @@ declare module PlayFabClientModels { } type UserDataPermission = "Private" + | "Public"; export interface UserDataRecord { @@ -5357,6 +5381,7 @@ declare module PlayFabClientModels { } type UserOrigination = "Organic" + | "Steam" | "Google" | "Amazon" @@ -5388,9 +5413,9 @@ declare module PlayFabClientModels { } export interface UserPsnInfo { - /** PSN account ID */ + /** PlayStation :tm: Network account ID */ PsnAccountId?: string; - /** PSN online ID */ + /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index dcbd5ed3..4dbdf608 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -87,6 +87,7 @@ declare module PlayFabCloudScriptModels { } type CloudScriptRevisionOption = "Live" + | "Latest" | "Specific"; @@ -101,6 +102,7 @@ declare module PlayFabCloudScriptModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -109,6 +111,7 @@ declare module PlayFabCloudScriptModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -359,6 +362,7 @@ declare module PlayFabCloudScriptModels { | "ZW"; type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -570,6 +574,7 @@ declare module PlayFabCloudScriptModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -740,6 +745,7 @@ declare module PlayFabCloudScriptModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistrationModel { @@ -824,6 +830,7 @@ declare module PlayFabCloudScriptModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -839,6 +846,7 @@ declare module PlayFabCloudScriptModels { } type TriggerType = "HTTP" + | "Queue"; export interface UnregisterFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index 9c817922..e0a633ff 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -219,6 +219,7 @@ declare module PlayFabDataModels { } type OperationTypes = "Created" + | "Updated" | "Deleted" | "None"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 72014ef5..3f397aab 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabEconomyModule { export interface IPlayFabEconomy { ForgetAllCredentials(): void; + /** + * Add inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems + */ + AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem @@ -19,11 +24,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete an Inventory Collection + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection + */ + DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems + */ + DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Execute a list of Inventory Operations + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations + */ + ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig @@ -49,11 +69,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get Inventory Collection Ids + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids + */ + GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get current inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems + */ + GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Search for a given item and return a set of bundles and stores containing the item + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers + */ + GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate @@ -79,11 +114,51 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the access tokens. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens + */ + GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Purchase an item or bundle + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems + */ + PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems + */ + RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems + */ + RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems + */ + RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems + */ + RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems + */ + RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems + */ + RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem @@ -115,11 +190,21 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subtract inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems + */ + SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Transfer inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems + */ + TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig @@ -130,11 +215,73 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems + */ + UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabEconomyModels { + export interface AddInventoryItemsOperation { + /** The amount to add to the current item amount. */ + Amount: number; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The currency code of the real money transaction. */ + CurrencyCode?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** A list of Items to modify. */ + Items?: InventoryItem[]; + /** Purchase price of the offer. */ + PurchasePrice?: number; + /** Indicates if the full inventory should be returned. */ + ReturnInventory: boolean; + + } + + export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** + * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set + * to true in response. + */ + InventoryItems?: InventoryItem[]; + /** Whether the number of inventory items is too large to be returned. */ + InventoryTooLarge: boolean; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + /** The updated items for this request. */ + UpdatedItems?: InventoryItem[]; + + } + + export interface AlternateId { + /** Type of the alternate ID. */ + Type?: string; + /** Value of the alternate ID. */ + Value?: string; + + } + export interface CatalogAlternateId { /** Type of the alternate ID. */ Type?: string; @@ -146,6 +293,10 @@ declare module PlayFabEconomyModels { export interface CatalogConfig { /** A list of player entity keys that will have admin permissions. */ AdminEntities?: EntityKey[]; + /** The set of configuration that only applies to catalog items. */ + Catalog?: CatalogSpecificConfig; + /** A list of deep link formats. */ + DeepLinkFormats?: DeepLinkFormat[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ @@ -174,6 +325,8 @@ declare module PlayFabEconomyModels { CreationDate?: string; /** The ID of the creator of this catalog item. */ CreatorEntity?: EntityKey; + /** The set of platform specific deep links for this item. */ + DeepLinks?: DeepLink[]; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -193,16 +346,24 @@ declare module PlayFabEconomyModels { Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; + /** The item references associated with this item. */ + ItemReferences?: CatalogItemReference[]; /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; /** The moderation state for this item. */ Moderation?: ModerationState; + /** The platforms supported by this item. */ + Platforms?: string[]; + /** The base price of this item. */ + PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; + /** Optional details for stores items. */ + StoreDetails?: StoreDetails; /** The list of tags that are associated with this item. */ Tags?: string[]; /** @@ -210,7 +371,7 @@ declare module PlayFabEconomyModels { * required. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. */ + /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ Type?: string; } @@ -220,32 +381,53 @@ declare module PlayFabEconomyModels { Amount?: number; /** The unique ID of the catalog item. */ Id?: string; - /** The price of the catalog item. */ - Price?: CatalogPrice; + /** The prices the catalog item can be purchased for. */ + PriceOptions?: CatalogPriceOptions; } export interface CatalogPrice { - /** Prices of the catalog item. */ - Prices?: CatalogPriceInstance[]; - /** Real prices of the catalog item. */ - RealPrices?: CatalogPriceInstance[]; - /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ - Sort?: number; + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; } export interface CatalogPriceAmount { - /** The amount of the catalog price. */ + /** The amount of the price. */ Amount: number; - /** The Item ID of the price. */ - Id?: string; + /** The Item Id of the price. */ + ItemId?: string; } - export interface CatalogPriceInstance { - /** The amounts of the catalog item price. */ - Amounts?: CatalogPriceAmount[]; + export interface CatalogPriceAmountOverride { + /** The exact value that should be utilized in the override. */ + FixedValue?: number; + /** The id of the item this override should utilize. */ + ItemId?: string; + /** + * The multiplier that will be applied to the base Catalog value to determine what value should be utilized in the + * override. + */ + Multiplier?: number; + + } + + export interface CatalogPriceOptions { + /** Prices of the catalog item. */ + Prices?: CatalogPrice[]; + + } + + export interface CatalogPriceOptionsOverride { + /** The prices utilized in the override. */ + Prices?: CatalogPriceOverride[]; + + } + + export interface CatalogPriceOverride { + /** The currency amounts utilized in the override for a singular price. */ + Amounts?: CatalogPriceAmountOverride[]; } @@ -258,6 +440,7 @@ declare module PlayFabEconomyModels { } type ConcernCategory = "None" + | "OffensiveContent" | "ChildExploitation" | "MalwareOrVirus" @@ -288,6 +471,257 @@ declare module PlayFabEconomyModels { } + type CountryCode = "AF" + + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -318,6 +752,14 @@ declare module PlayFabEconomyModels { } + export interface DeepLink { + /** Target platform for this deep link. */ + Platform?: string; + /** The deep link for this platform. */ + Url?: string; + + } + export interface DeepLinkFormat { /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ Format?: string; @@ -338,6 +780,48 @@ declare module PlayFabEconomyModels { } + export interface DeleteInventoryCollectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The inventory collection id the request applies to. */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface DeleteInventoryCollectionResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DeleteInventoryItemsOperation { + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -363,6 +847,7 @@ declare module PlayFabEconomyModels { } type DisplayPropertyType = "None" + | "QueryDateTime" | "QueryDouble" | "QueryString" @@ -376,6 +861,31 @@ declare module PlayFabEconomyModels { } + export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** + * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as + * a batch. + */ + Operations?: InventoryOperation[]; + + } + + export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of the transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface FileConfig { /** The set of content types that will be used for validation. */ ContentTypes?: string[]; @@ -385,6 +895,10 @@ declare module PlayFabEconomyModels { } export interface FilterOptions { + /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ + Filter?: string; + /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ + IncludeAllItems?: boolean; } @@ -450,6 +964,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** OData Filter to specify ItemType. */ + Filter?: string; } @@ -479,6 +995,80 @@ declare module PlayFabEconomyModels { } + export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. (Default = 10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface GetInventoryCollectionIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested inventory collection ids. */ + CollectionIds?: string[]; + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + + } + + export interface GetInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The filters to limit what is returned to the client. */ + Filter?: string; + + } + + export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The requested inventory items. */ + Items?: InventoryItem[]; + + } + + export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 25. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemContainersResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of Bundles and Stores containing the requested items. */ + Containers?: CatalogItem[]; + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + + } + export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -597,7 +1187,33 @@ declare module PlayFabEconomyModels { } + export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a + * CollectionsIdKey for the user + */ + CollectionsAccessToken?: string; + /** The date the collections access token expires */ + CollectionsAccessTokenExpirationDate: string; + + } + + export interface GooglePlayProductPurchase { + /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ + ProductId?: string; + /** The token provided to the player's device when the product was purchased */ + Token?: string; + + } + type HelpfulnessVote = "None" + | "UnHelpful" | "Helpful"; @@ -619,6 +1235,44 @@ declare module PlayFabEconomyModels { } + export interface InventoryItem { + /** The amount of the item. */ + Amount: number; + /** The id of the item. This should correspond to the item id in the catalog. */ + Id?: string; + /** The stack id of the item. */ + StackId?: string; + /** The type of the item. This should correspond to the item type in the catalog. */ + Type?: string; + + } + + export interface InventoryItemReference { + /** The inventory item alternate id the request applies to. */ + AlternateId?: AlternateId; + /** The inventory item id the request applies to. */ + Id?: string; + /** The inventory stack id the request should redeem to. (Default="default") */ + StackId?: string; + + } + + export interface InventoryOperation { + /** The add operation. */ + Add?: AddInventoryItemsOperation; + /** The delete operation. */ + Delete?: DeleteInventoryItemsOperation; + /** The purchase operation. */ + Purchase?: PurchaseInventoryItemsOperation; + /** The subtract operation. */ + Subtract?: SubtractInventoryItemsOperation; + /** The transfer operation. */ + Transfer?: TransferInventoryItemsOperation; + /** The update operation. */ + Update?: UpdateInventoryItemsOperation; + + } + export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -636,6 +1290,7 @@ declare module PlayFabEconomyModels { } type ModerationStatus = "Unknown" + | "AwaitingModeration" | "Approved" | "Rejected"; @@ -650,14 +1305,6 @@ declare module PlayFabEconomyModels { } - export interface PriceOverride { - - } - - export interface PricesOverride { - - } - export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -681,15 +1328,82 @@ declare module PlayFabEconomyModels { } type PublishResult = "Unknown" + | "Pending" | "Succeeded" | "Failed" | "Canceled"; + export interface PurchaseInventoryItemsOperation { + /** The amount to purchase. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to purchase. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface PurchaseOverride { } + export interface PurchasePriceAmount { + /** The amount of the inventory item to use in the purchase . */ + Amount: number; + /** The inventory item id to use in the purchase . */ + ItemId?: string; + /** The inventory stack id the to use in the purchase. Set to "default" by default */ + StackId?: string; + + } + export interface Rating { /** The average rating for this item. */ Average?: number; @@ -708,6 +1422,174 @@ declare module PlayFabEconomyModels { } + export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The receipt provided by the Apple marketplace upon successful purchase. */ + Receipt?: string; + + } + + export interface RedeemAppleAppStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The list of purchases to redeem */ + Purchases?: GooglePlayProductPurchase[]; + + } + + export interface RedeemGooglePlayInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The OneStore Collections Id Key used for AAD authentication. */ + CollectionsIdKey?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** Xbox Token used for delegated business partner authentication. */ + XboxToken?: string; + + } + + export interface RedeemMicrosoftStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemNintendoEShopInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The Nintendo provided token authorizing redemption */ + NintendoServiceAccountIdToken?: string; + + } + + export interface RedeemNintendoEShopInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authorization code provided by the PlayStation OAuth provider. */ + AuthorizationCode?: string; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** Optional Service Label to pass into the request. */ + ServiceLabel?: string; + + } + + export interface RedeemPlayStationStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemSteamInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + + } + + export interface RedeemSteamInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedemptionFailure { + /** The marketplace failure code. */ + FailureCode?: string; + /** The marketplace error details explaining why the offer failed to redeem. */ + FailureDetails?: string; + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + + } + + export interface RedemptionSuccess { + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + /** The timestamp for when the redeem was completed. */ + SuccessTimestamp: string; + + } + export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -766,6 +1648,8 @@ declare module PlayFabEconomyModels { /** Star rating associated with this review. */ Rating: number; /** The ID of the author of the review. */ + ReviewerEntity?: EntityKey; + /** Deprecated. Use ReviewerEntity instead. This property will be removed in a future release. */ ReviewerId?: string; /** The ID of the review. */ ReviewId?: string; @@ -832,6 +1716,8 @@ declare module PlayFabEconomyModels { * be returned. */ Select?: string; + /** The store to restrict the search request to. */ + Store?: StoreReference; } @@ -862,10 +1748,14 @@ declare module PlayFabEconomyModels { } export interface StoreDetails { + /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ + FilterOptions?: FilterOptions; + /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ + PriceOptionsOverride?: CatalogPriceOptionsOverride; } - export interface StoreInfo { + export interface StoreReference { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; /** The unique ID of the store. */ @@ -899,6 +1789,61 @@ declare module PlayFabEconomyModels { } + export interface SubtractInventoryItemsOperation { + /** The amount to subtract from the current item amount. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false). + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** A list of Items to modify. */ + Items?: InventoryItem[]; + /** Indicates if the full inventory should be returned. */ + ReturnInventory: boolean; + + } + + export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** + * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set + * to true in response. + */ + InventoryItems?: InventoryItem[]; + /** Whether the number of inventory items is too large to be returned. */ + InventoryTooLarge: boolean; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + /** The updated items for this request. */ + UpdatedItems?: InventoryItem[]; + + } + export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -911,6 +1856,58 @@ declare module PlayFabEconomyModels { } + export interface TransferInventoryItemsOperation { + /** The amount to transfer. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation is transferring from. */ + GivingItem?: InventoryItemReference; + /** The inventory item the operation is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to transfer . */ + Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory collection id the request is transferring from. (Default="default") */ + GivingCollectionId?: string; + /** The entity the request is transferring from. Set to the caller by default. */ + GivingEntity?: EntityKey; + /** The inventory item the request is transferring from. */ + GivingItem?: InventoryItemReference; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The inventory collection id the request is transferring to. (Default="default") */ + ReceivingCollectionId?: string; + /** The entity the request is transferring to. Set to the caller by default. */ + ReceivingEntity?: EntityKey; + /** The inventory item the request is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ids of transactions that occurred as a result of the request's giving action. */ + GivingTransactionIds?: string[]; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request's receiving action. */ + ReceivingTransactionIds?: string[]; + + } + export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated catalog configuration. */ Config?: CatalogConfig; @@ -939,6 +1936,47 @@ declare module PlayFabEconomyModels { } + export interface UpdateInventoryItemsOperation { + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + + } + + export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + /** A list of Items to modify. */ + Items?: InventoryItem[]; + /** Indicates if the full inventory should be returned. */ + ReturnInventory: boolean; + + } + + export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** + * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set + * to true in response. + */ + InventoryItems?: InventoryItem[]; + /** Whether the number of inventory items is too large to be returned. */ + InventoryTooLarge: boolean; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + /** The updated items for this request. */ + UpdatedItems?: InventoryItem[]; + + } + export interface UploadInfo { /** Name of the file to be uploaded. */ FileName?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts index 5bbcc129..9b6f778f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -75,6 +75,7 @@ declare module PlayFabExperimentationModule { declare module PlayFabExperimentationModels { type AnalysisTaskState = "Waiting" + | "ReadyForSubmission" | "SubmittingToPipeline" | "Running" @@ -211,11 +212,13 @@ declare module PlayFabExperimentationModels { } type ExperimentState = "New" + | "Started" | "Stopped" | "Deleted"; type ExperimentType = "Active" + | "Snapshot"; export interface GetExclusionGroupsRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 6367ab0a..3d270c72 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -547,6 +547,7 @@ declare module PlayFabGroupsModels { } type OperationTypes = "Created" + | "Updated" | "Deleted" | "None"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 8c4868cf..84c97113 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -419,6 +419,7 @@ declare module PlayFabMultiplayerModule { declare module PlayFabMultiplayerModels { type AccessPolicy = "Public" + | "Friends" | "Private"; @@ -447,16 +448,20 @@ declare module PlayFabMultiplayerModels { } type AttributeMergeFunction = "Min" + | "Max" | "Average"; type AttributeNotSpecifiedBehavior = "UseDefault" + | "MatchAny"; type AttributeSource = "User" + | "PlayerEntity"; type AzureRegion = "AustraliaEast" + | "AustraliaSoutheast" | "BrazilSouth" | "CentralUs" @@ -481,6 +486,7 @@ declare module PlayFabMultiplayerModels { | "UkSouth"; type AzureVmFamily = "A" + | "Av2" | "Dv2" | "Dv3" @@ -500,6 +506,7 @@ declare module PlayFabMultiplayerModels { | "HBv3"; type AzureVmSize = "Standard_A1" + | "Standard_A2" | "Standard_A3" | "Standard_A4" @@ -675,6 +682,7 @@ declare module PlayFabMultiplayerModels { } type CancellationReason = "Requested" + | "Internal" | "Timeout"; @@ -734,6 +742,7 @@ declare module PlayFabMultiplayerModels { } type ContainerFlavor = "ManagedWindowsServerCore" + | "CustomLinux" | "ManagedWindowsServerCorePreview" | "Invalid"; @@ -1816,12 +1825,8 @@ declare module PlayFabMultiplayerModels { } export interface GetMultiplayerServerDetailsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The guid string build ID of the multiplayer server to get details for. */ - BuildId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The region the multiplayer server is located in to get details for. */ - Region?: string; /** * The title generated guid string session ID of the multiplayer server to get details for. This is to keep track of * multiplayer server sessions. @@ -2597,6 +2602,7 @@ declare module PlayFabMultiplayerModels { } type MembershipLock = "Unlocked" + | "Locked"; export interface MonitoringApplicationConfiguration { @@ -2642,6 +2648,7 @@ declare module PlayFabMultiplayerModels { } type OsPlatform = "Windows" + | "Linux"; export interface OverrideDouble { @@ -2657,6 +2664,7 @@ declare module PlayFabMultiplayerModels { } type OwnerMigrationPolicy = "None" + | "Automatic" | "Manual" | "Server"; @@ -2688,6 +2696,7 @@ declare module PlayFabMultiplayerModels { } type ProtocolType = "TCP" + | "UDP"; export interface QosServer { @@ -2892,6 +2901,7 @@ declare module PlayFabMultiplayerModels { } type ServerType = "Container" + | "Process"; export interface SetIntersectionRule { @@ -3057,6 +3067,7 @@ declare module PlayFabMultiplayerModels { } type SubscriptionType = "LobbyChange" + | "LobbyInvite"; export interface TeamDifferenceRule { @@ -3118,6 +3129,7 @@ declare module PlayFabMultiplayerModels { } type TitleMultiplayerServerEnabledStatus = "Initializing" + | "Enabled" | "Disabled"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 8fba427b..2d3baf15 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -46,6 +46,7 @@ declare module PlayFabProfilesModule { declare module PlayFabProfilesModels { type EffectType = "Allow" + | "Deny"; export interface EntityDataObject { @@ -246,6 +247,7 @@ declare module PlayFabProfilesModels { } type OperationTypes = "Created" + | "Updated" | "Deleted" | "None"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index c9459aec..818a5fe4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -400,6 +400,16 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the Nintendo account associated with the token to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount + */ + LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Links the NintendoSwitchDeviceId to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid + */ + LinkNintendoSwitchDeviceId(request: PlayFabServerModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount @@ -616,7 +626,17 @@ declare module PlayFabServerModule { */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** - * Unlinks the related PSN account from the user's PlayFab account + * Unlinks the related Nintendo account from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount + */ + UnlinkNintendoServiceAccount(request: PlayFabServerModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoswitchdeviceid + */ + UnlinkNintendoSwitchDeviceId(request: PlayFabServerModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount */ UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; @@ -916,8 +936,6 @@ declare module PlayFabServerModels { DurationInHours?: number; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; - /** MAC address to be banned. May affect multiple players. */ - MACAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** The reason for this ban. Maximum 140 characters. */ @@ -1082,6 +1100,7 @@ declare module PlayFabServerModels { } type CloudScriptRevisionOption = "Live" + | "Latest" | "Specific"; @@ -1128,6 +1147,7 @@ declare module PlayFabServerModels { } type ContinentCode = "AF" + | "AN" | "AS" | "EU" @@ -1136,6 +1156,7 @@ declare module PlayFabServerModels { | "SA"; type CountryCode = "AF" + | "AX" | "AL" | "DZ" @@ -1398,6 +1419,7 @@ declare module PlayFabServerModels { } type Currency = "AED" + | "AFN" | "ALL" | "AMD" @@ -1618,6 +1640,7 @@ declare module PlayFabServerModels { } type EmailVerificationStatus = "Unverified" + | "Pending" | "Confirmed"; @@ -1752,7 +1775,10 @@ declare module PlayFabServerModels { GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; - /** Available PSN information, if the user and PlayFab friend are both connected to PSN. */ + /** + * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: + * Network. + */ PSNInfo?: UserPsnInfo; /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ SteamInfo?: UserSteamInfo; @@ -1768,9 +1794,11 @@ declare module PlayFabServerModels { } type GameInstanceState = "Open" + | "Closed"; type GenericErrorCodes = "Success" + | "UnkownError" | "InvalidParams" | "AccountNotFound" @@ -2393,6 +2421,7 @@ declare module PlayFabServerModels { | "PartyVersionNotFound" | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" + | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" @@ -3034,15 +3063,15 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation Network identifiers for which the title needs to get PlayFab identifiers. */ + /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ PSNAccountIDs: string[]; } export interface GetPlayFabIDsFromPSNAccountIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ Data?: PSNAccountPlayFabIdPair[]; } @@ -3080,7 +3109,7 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromXboxLiveIDsResult extends PlayFabModule.IPlayFabResultCommon { - /** Mapping of PlayStation Network identifiers to PlayFab identifiers. */ + /** Mapping of Xbox Live identifiers to PlayFab identifiers. */ Data?: XboxLiveAccountPlayFabIdPair[]; } @@ -3494,18 +3523,49 @@ declare module PlayFabServerModels { } + export interface LinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Nintendo Switch account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** + * The JSON Web token (JWT) returned by Nintendo after login. Used to validate the request and find the user ID (Nintendo + * Switch subject) to link with. + */ + IdentityToken: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the Nintendo Switch Device ID, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Nintendo Switch unique identifier for the user's device. */ + NintendoSwitchDeviceId: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface LinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authentication code provided by the PlayStation Network. */ + /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PSN issuer environment. If null, defaults to production environment. */ + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** Redirect URI supplied to PSN when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri: string; } @@ -3581,6 +3641,7 @@ declare module PlayFabServerModels { } type LoginIdentityProvider = "Unknown" + | "PlayFab" | "Custom" | "GameCenter" @@ -3804,6 +3865,7 @@ declare module PlayFabServerModels { } type PlayerConnectionState = "Unassigned" + | "Connecting" | "Participating" | "Participated"; @@ -4012,9 +4074,12 @@ declare module PlayFabServerModels { } export interface PSNAccountPlayFabIdPair { - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation Network identifier. */ + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ PlayFabId?: string; - /** Unique PlayStation Network identifier for a user. */ + /** Unique PlayStation :tm: Network identifier for a user. */ PSNAccountId?: string; } @@ -4036,6 +4101,7 @@ declare module PlayFabServerModels { } type PushNotificationPlatform = "ApplePushNotificationService" + | "GoogleCloudMessaging"; export interface PushNotificationRegistration { @@ -4115,6 +4181,7 @@ declare module PlayFabServerModels { } type Region = "USCentral" + | "USEast" | "EUWest" | "Singapore" @@ -4232,6 +4299,7 @@ declare module PlayFabServerModels { } type ResultTableNodeType = "ItemId" + | "TableId"; export interface RevokeAllBansForUserRequest extends PlayFabModule.IPlayFabRequestCommon { @@ -4540,6 +4608,7 @@ declare module PlayFabServerModels { } type SourceType = "Admin" + | "BackEnd" | "GameClient" | "GameServer" @@ -4642,6 +4711,7 @@ declare module PlayFabServerModels { } type SubscriptionProviderStatus = "NoError" + | "Cancelled" | "UnknownError" | "BillingError" @@ -4683,6 +4753,7 @@ declare module PlayFabServerModels { } type TitleActivationStatus = "None" + | "ActivatedTitleKey" | "PendingSteam" | "ActivatedSteam" @@ -4716,6 +4787,28 @@ declare module PlayFabServerModels { } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Nintendo Switch Device identifier for the user. If not specified, the most recently signed in device ID will be used. */ + NintendoSwitchDeviceId?: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkNintendoSwitchDeviceIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4822,8 +4915,6 @@ declare module PlayFabServerModels { Expires?: string; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; - /** The updated MAC address for the ban. Null for no change. */ - MACAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ Permanent?: boolean; /** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */ @@ -5035,7 +5126,7 @@ declare module PlayFabServerModels { PlayFabId?: string; /** Personal information for the user which is considered more sensitive */ PrivateInfo?: UserPrivateAccountInfo; - /** User PSN account information, if a PSN account has been linked */ + /** User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked */ PsnInfo?: UserPsnInfo; /** User Steam information, if a Steam account has been linked */ SteamInfo?: UserSteamInfo; @@ -5069,6 +5160,7 @@ declare module PlayFabServerModels { } type UserDataPermission = "Private" + | "Public"; export interface UserDataRecord { @@ -5165,6 +5257,7 @@ declare module PlayFabServerModels { } type UserOrigination = "Organic" + | "Steam" | "Google" | "Amazon" @@ -5196,9 +5289,9 @@ declare module PlayFabServerModels { } export interface UserPsnInfo { - /** PSN account ID */ + /** PlayStation :tm: Network account ID */ PsnAccountId?: string; - /** PSN online ID */ + /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; } From b30518a4020fe9ac61c12bd02fb7a9f1a19ba728 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 7 Sep 2022 21:21:56 +0000 Subject: [PATCH 160/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220829 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 80 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 1079 +---------------- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 80 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 1079 +---------------- 33 files changed, 169 insertions(+), 2375 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 297b5fd3..90939452 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.126.220907", + "version": "1.125.220829", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 4ee2e9fb..fbde6f03 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index f54c8708..297dcceb 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1f1e3255..fc3ef478 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index fc8363ef..38b842ad 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e924f8be..3741d4a5 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 6263ca8b..895da64f 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,10 +241,6 @@ PlayFab.EconomyApi = { PlayFab._internalSettings.entityToken = null; }, - AddInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - CreateDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -257,22 +253,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, - DeleteInventoryCollection: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - DeleteInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - DeleteItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - ExecuteInventoryOperations: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -293,22 +277,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetInventoryCollectionIds: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - GetInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetItemContainers: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetItemModerationState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -329,42 +301,10 @@ 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); - }, - PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - PurchaseInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemAppleAppStoreInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemMicrosoftStoreInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemNintendoEShopInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemPlayStationStoreInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemSteamInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ReportItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -389,18 +329,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); }, - SubtractInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - TakedownItemReviews: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, - TransferInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -409,10 +341,6 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - UpdateInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - }; var PlayFabEconomySDK = PlayFab.EconomyApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c443908b..67e96174 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index fc0f9900..6045fd9d 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 7afba520..a49c7dd5 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 37b0e04d..509678a1 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 6c0fb346..56e746dc 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ff1dc12d..bcb4c874 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 966d15b0..1237a60e 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 08a497a2..1f781189 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7af34e4f..0933e682 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.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 3f397aab..16a3fe56 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -4,11 +4,6 @@ declare module PlayFabEconomyModule { export interface IPlayFabEconomy { ForgetAllCredentials(): void; - /** - * Add inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems - */ - AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem @@ -24,26 +19,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Delete an Inventory Collection - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection - */ - DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Delete inventory items - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems - */ - DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Execute a list of Inventory Operations - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations - */ - ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig @@ -69,26 +49,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get Inventory Collection Ids - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids - */ - GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get current inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems - */ - GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Search for a given item and return a set of bundles and stores containing the item - * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers - */ - GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate @@ -114,51 +79,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the access tokens. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens - */ - GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Purchase an item or bundle - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems - */ - PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems - */ - RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems - */ - RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems - */ - RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems - */ - RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems - */ - RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems - */ - RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem @@ -190,21 +115,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Subtract inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems - */ - SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Transfer inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems - */ - TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig @@ -215,73 +130,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Update inventory items - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems - */ - UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabEconomyModels { - export interface AddInventoryItemsOperation { - /** The amount to add to the current item amount. */ - Amount: number; - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - - } - - export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to add for the current item. */ - Amount: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The currency code of the real money transaction. */ - CurrencyCode?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - /** A list of Items to modify. */ - Items?: InventoryItem[]; - /** Purchase price of the offer. */ - PurchasePrice?: number; - /** Indicates if the full inventory should be returned. */ - ReturnInventory: boolean; - - } - - export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** - * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set - * to true in response. - */ - InventoryItems?: InventoryItem[]; - /** Whether the number of inventory items is too large to be returned. */ - InventoryTooLarge: boolean; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - /** The updated items for this request. */ - UpdatedItems?: InventoryItem[]; - - } - - export interface AlternateId { - /** Type of the alternate ID. */ - Type?: string; - /** Value of the alternate ID. */ - Value?: string; - - } - export interface CatalogAlternateId { /** Type of the alternate ID. */ Type?: string; @@ -293,10 +146,6 @@ declare module PlayFabEconomyModels { export interface CatalogConfig { /** A list of player entity keys that will have admin permissions. */ AdminEntities?: EntityKey[]; - /** The set of configuration that only applies to catalog items. */ - Catalog?: CatalogSpecificConfig; - /** A list of deep link formats. */ - DeepLinkFormats?: DeepLinkFormat[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ @@ -325,8 +174,6 @@ declare module PlayFabEconomyModels { CreationDate?: string; /** The ID of the creator of this catalog item. */ CreatorEntity?: EntityKey; - /** The set of platform specific deep links for this item. */ - DeepLinks?: DeepLink[]; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -346,24 +193,16 @@ declare module PlayFabEconomyModels { Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; - /** The item references associated with this item. */ - ItemReferences?: CatalogItemReference[]; /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; /** The moderation state for this item. */ Moderation?: ModerationState; - /** The platforms supported by this item. */ - Platforms?: string[]; - /** The base price of this item. */ - PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; - /** Optional details for stores items. */ - StoreDetails?: StoreDetails; /** The list of tags that are associated with this item. */ Tags?: string[]; /** @@ -371,7 +210,7 @@ declare module PlayFabEconomyModels { * required. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ + /** The high-level type of the item. */ Type?: string; } @@ -381,53 +220,32 @@ declare module PlayFabEconomyModels { Amount?: number; /** The unique ID of the catalog item. */ Id?: string; - /** The prices the catalog item can be purchased for. */ - PriceOptions?: CatalogPriceOptions; + /** The price of the catalog item. */ + Price?: CatalogPrice; } export interface CatalogPrice { - /** The amounts of the catalog item price. */ - Amounts?: CatalogPriceAmount[]; + /** Prices of the catalog item. */ + Prices?: CatalogPriceInstance[]; + /** Real prices of the catalog item. */ + RealPrices?: CatalogPriceInstance[]; + /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ + Sort?: number; } export interface CatalogPriceAmount { - /** The amount of the price. */ + /** The amount of the catalog price. */ Amount: number; - /** The Item Id of the price. */ - ItemId?: string; - - } - - export interface CatalogPriceAmountOverride { - /** The exact value that should be utilized in the override. */ - FixedValue?: number; - /** The id of the item this override should utilize. */ - ItemId?: string; - /** - * The multiplier that will be applied to the base Catalog value to determine what value should be utilized in the - * override. - */ - Multiplier?: number; - - } - - export interface CatalogPriceOptions { - /** Prices of the catalog item. */ - Prices?: CatalogPrice[]; - - } - - export interface CatalogPriceOptionsOverride { - /** The prices utilized in the override. */ - Prices?: CatalogPriceOverride[]; + /** The Item ID of the price. */ + Id?: string; } - export interface CatalogPriceOverride { - /** The currency amounts utilized in the override for a singular price. */ - Amounts?: CatalogPriceAmountOverride[]; + export interface CatalogPriceInstance { + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; } @@ -471,257 +289,6 @@ declare module PlayFabEconomyModels { } - type CountryCode = "AF" - - | "AX" - | "AL" - | "DZ" - | "AS" - | "AD" - | "AO" - | "AI" - | "AQ" - | "AG" - | "AR" - | "AM" - | "AW" - | "AU" - | "AT" - | "AZ" - | "BS" - | "BH" - | "BD" - | "BB" - | "BY" - | "BE" - | "BZ" - | "BJ" - | "BM" - | "BT" - | "BO" - | "BQ" - | "BA" - | "BW" - | "BV" - | "BR" - | "IO" - | "BN" - | "BG" - | "BF" - | "BI" - | "KH" - | "CM" - | "CA" - | "CV" - | "KY" - | "CF" - | "TD" - | "CL" - | "CN" - | "CX" - | "CC" - | "CO" - | "KM" - | "CG" - | "CD" - | "CK" - | "CR" - | "CI" - | "HR" - | "CU" - | "CW" - | "CY" - | "CZ" - | "DK" - | "DJ" - | "DM" - | "DO" - | "EC" - | "EG" - | "SV" - | "GQ" - | "ER" - | "EE" - | "ET" - | "FK" - | "FO" - | "FJ" - | "FI" - | "FR" - | "GF" - | "PF" - | "TF" - | "GA" - | "GM" - | "GE" - | "DE" - | "GH" - | "GI" - | "GR" - | "GL" - | "GD" - | "GP" - | "GU" - | "GT" - | "GG" - | "GN" - | "GW" - | "GY" - | "HT" - | "HM" - | "VA" - | "HN" - | "HK" - | "HU" - | "IS" - | "IN" - | "ID" - | "IR" - | "IQ" - | "IE" - | "IM" - | "IL" - | "IT" - | "JM" - | "JP" - | "JE" - | "JO" - | "KZ" - | "KE" - | "KI" - | "KP" - | "KR" - | "KW" - | "KG" - | "LA" - | "LV" - | "LB" - | "LS" - | "LR" - | "LY" - | "LI" - | "LT" - | "LU" - | "MO" - | "MK" - | "MG" - | "MW" - | "MY" - | "MV" - | "ML" - | "MT" - | "MH" - | "MQ" - | "MR" - | "MU" - | "YT" - | "MX" - | "FM" - | "MD" - | "MC" - | "MN" - | "ME" - | "MS" - | "MA" - | "MZ" - | "MM" - | "NA" - | "NR" - | "NP" - | "NL" - | "NC" - | "NZ" - | "NI" - | "NE" - | "NG" - | "NU" - | "NF" - | "MP" - | "NO" - | "OM" - | "PK" - | "PW" - | "PS" - | "PA" - | "PG" - | "PY" - | "PE" - | "PH" - | "PN" - | "PL" - | "PT" - | "PR" - | "QA" - | "RE" - | "RO" - | "RU" - | "RW" - | "BL" - | "SH" - | "KN" - | "LC" - | "MF" - | "PM" - | "VC" - | "WS" - | "SM" - | "ST" - | "SA" - | "SN" - | "RS" - | "SC" - | "SL" - | "SG" - | "SX" - | "SK" - | "SI" - | "SB" - | "SO" - | "ZA" - | "GS" - | "SS" - | "ES" - | "LK" - | "SD" - | "SR" - | "SJ" - | "SZ" - | "SE" - | "CH" - | "SY" - | "TW" - | "TJ" - | "TZ" - | "TH" - | "TL" - | "TG" - | "TK" - | "TO" - | "TT" - | "TN" - | "TR" - | "TM" - | "TC" - | "TV" - | "UG" - | "UA" - | "AE" - | "GB" - | "US" - | "UM" - | "UY" - | "UZ" - | "VU" - | "VE" - | "VN" - | "VG" - | "VI" - | "WF" - | "EH" - | "YE" - | "ZM" - | "ZW"; - export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -752,14 +319,6 @@ declare module PlayFabEconomyModels { } - export interface DeepLink { - /** Target platform for this deep link. */ - Platform?: string; - /** The deep link for this platform. */ - Url?: string; - - } - export interface DeepLinkFormat { /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ Format?: string; @@ -780,48 +339,6 @@ declare module PlayFabEconomyModels { } - export interface DeleteInventoryCollectionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The inventory collection id the request applies to. */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity the request is about. Set to the caller by default. */ - Entity?: EntityKey; - - } - - export interface DeleteInventoryCollectionResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface DeleteInventoryItemsOperation { - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - - } - - export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - - } - - export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - - } - export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -861,31 +378,6 @@ declare module PlayFabEconomyModels { } - export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** - * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. - */ - Operations?: InventoryOperation[]; - - } - - export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** The ids of the transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - - } - export interface FileConfig { /** The set of content types that will be used for validation. */ ContentTypes?: string[]; @@ -895,10 +387,6 @@ declare module PlayFabEconomyModels { } export interface FilterOptions { - /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ - Filter?: string; - /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ - IncludeAllItems?: boolean; } @@ -964,8 +452,6 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** OData Filter to specify ItemType. */ - Filter?: string; } @@ -995,80 +481,6 @@ declare module PlayFabEconomyModels { } - export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An opaque token used to retrieve the next page of collection ids, if any are available. */ - ContinuationToken?: string; - /** Number of items to retrieve. (Default = 10) */ - Count: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity the request is about. Set to the caller by default. */ - Entity?: EntityKey; - - } - - export interface GetInventoryCollectionIdsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested inventory collection ids. */ - CollectionIds?: string[]; - /** An opaque token used to retrieve the next page of collection ids, if any are available. */ - ContinuationToken?: string; - - } - - export interface GetInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** - * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on - * initial request. - */ - ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ - Count: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The filters to limit what is returned to the client. */ - Filter?: string; - - } - - export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** An opaque token used to retrieve the next page of items, if any are available. */ - ContinuationToken?: string; - /** The requested inventory items. */ - Items?: InventoryItem[]; - - } - - export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An alternate ID associated with this item. */ - AlternateId?: CatalogAlternateId; - /** - * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on - * initial request. - */ - ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 25. */ - Count: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The unique ID of the item. */ - Id?: string; - - } - - export interface GetItemContainersResponse extends PlayFabModule.IPlayFabResultCommon { - /** List of Bundles and Stores containing the requested items. */ - Containers?: CatalogItem[]; - /** An opaque token used to retrieve the next page of items, if any are available. */ - ContinuationToken?: string; - - } - export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1187,31 +599,6 @@ declare module PlayFabEconomyModels { } - export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a - * CollectionsIdKey for the user - */ - CollectionsAccessToken?: string; - /** The date the collections access token expires */ - CollectionsAccessTokenExpirationDate: string; - - } - - export interface GooglePlayProductPurchase { - /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ - ProductId?: string; - /** The token provided to the player's device when the product was purchased */ - Token?: string; - - } - type HelpfulnessVote = "None" | "UnHelpful" @@ -1235,44 +622,6 @@ declare module PlayFabEconomyModels { } - export interface InventoryItem { - /** The amount of the item. */ - Amount: number; - /** The id of the item. This should correspond to the item id in the catalog. */ - Id?: string; - /** The stack id of the item. */ - StackId?: string; - /** The type of the item. This should correspond to the item type in the catalog. */ - Type?: string; - - } - - export interface InventoryItemReference { - /** The inventory item alternate id the request applies to. */ - AlternateId?: AlternateId; - /** The inventory item id the request applies to. */ - Id?: string; - /** The inventory stack id the request should redeem to. (Default="default") */ - StackId?: string; - - } - - export interface InventoryOperation { - /** The add operation. */ - Add?: AddInventoryItemsOperation; - /** The delete operation. */ - Delete?: DeleteInventoryItemsOperation; - /** The purchase operation. */ - Purchase?: PurchaseInventoryItemsOperation; - /** The subtract operation. */ - Subtract?: SubtractInventoryItemsOperation; - /** The transfer operation. */ - Transfer?: TransferInventoryItemsOperation; - /** The update operation. */ - Update?: UpdateInventoryItemsOperation; - - } - export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -1305,6 +654,14 @@ declare module PlayFabEconomyModels { } + export interface PriceOverride { + + } + + export interface PricesOverride { + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1334,76 +691,10 @@ declare module PlayFabEconomyModels { | "Failed" | "Canceled"; - export interface PurchaseInventoryItemsOperation { - /** The amount to purchase. */ - Amount: number; - /** - * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = - * false) - */ - DeleteEmptyStacks: boolean; - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - /** - * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or - * specified Store. - */ - PriceAmounts?: PurchasePriceAmount[]; - /** The id of the Store to purchase the item from. */ - StoreId?: string; - - } - - export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to purchase. */ - Amount: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. - * (Default=false) - */ - DeleteEmptyStacks: boolean; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - /** - * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or - * specified Store. - */ - PriceAmounts?: PurchasePriceAmount[]; - /** The id of the Store to purchase the item from. */ - StoreId?: string; - - } - - export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - - } - export interface PurchaseOverride { } - export interface PurchasePriceAmount { - /** The amount of the inventory item to use in the purchase . */ - Amount: number; - /** The inventory item id to use in the purchase . */ - ItemId?: string; - /** The inventory stack id the to use in the purchase. Set to "default" by default */ - StackId?: string; - - } - export interface Rating { /** The average rating for this item. */ Average?: number; @@ -1422,174 +713,6 @@ declare module PlayFabEconomyModels { } - export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The receipt provided by the Apple marketplace upon successful purchase. */ - Receipt?: string; - - } - - export interface RedeemAppleAppStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The list of purchases to redeem */ - Purchases?: GooglePlayProductPurchase[]; - - } - - export interface RedeemGooglePlayInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The OneStore Collections Id Key used for AAD authentication. */ - CollectionsIdKey?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** Xbox Token used for delegated business partner authentication. */ - XboxToken?: string; - - } - - export interface RedeemMicrosoftStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemNintendoEShopInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The Nintendo provided token authorizing redemption */ - NintendoServiceAccountIdToken?: string; - - } - - export interface RedeemNintendoEShopInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authorization code provided by the PlayStation OAuth provider. */ - AuthorizationCode?: string; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** Optional Service Label to pass into the request. */ - ServiceLabel?: string; - - } - - export interface RedeemPlayStationStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemSteamInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - - } - - export interface RedeemSteamInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedemptionFailure { - /** The marketplace failure code. */ - FailureCode?: string; - /** The marketplace error details explaining why the offer failed to redeem. */ - FailureDetails?: string; - /** The transaction id in the external marketplace. */ - MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; - - } - - export interface RedemptionSuccess { - /** The transaction id in the external marketplace. */ - MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; - /** The timestamp for when the redeem was completed. */ - SuccessTimestamp: string; - - } - export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1716,8 +839,6 @@ declare module PlayFabEconomyModels { * be returned. */ Select?: string; - /** The store to restrict the search request to. */ - Store?: StoreReference; } @@ -1748,14 +869,10 @@ declare module PlayFabEconomyModels { } export interface StoreDetails { - /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ - FilterOptions?: FilterOptions; - /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ - PriceOptionsOverride?: CatalogPriceOptionsOverride; } - export interface StoreReference { + export interface StoreInfo { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; /** The unique ID of the store. */ @@ -1789,61 +906,6 @@ declare module PlayFabEconomyModels { } - export interface SubtractInventoryItemsOperation { - /** The amount to subtract from the current item amount. */ - Amount: number; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = - * false). - */ - DeleteEmptyStacks: boolean; - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - - } - - export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to add for the current item. */ - Amount: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. - * (Default=false) - */ - DeleteEmptyStacks: boolean; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - /** A list of Items to modify. */ - Items?: InventoryItem[]; - /** Indicates if the full inventory should be returned. */ - ReturnInventory: boolean; - - } - - export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** - * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set - * to true in response. - */ - InventoryItems?: InventoryItem[]; - /** Whether the number of inventory items is too large to be returned. */ - InventoryTooLarge: boolean; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - /** The updated items for this request. */ - UpdatedItems?: InventoryItem[]; - - } - export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1856,58 +918,6 @@ declare module PlayFabEconomyModels { } - export interface TransferInventoryItemsOperation { - /** The amount to transfer. */ - Amount: number; - /** - * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = - * false) - */ - DeleteEmptyStacks: boolean; - /** The inventory item the operation is transferring from. */ - GivingItem?: InventoryItemReference; - /** The inventory item the operation is transferring to. */ - ReceivingItem?: InventoryItemReference; - - } - - export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to transfer . */ - Amount: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = - * false) - */ - DeleteEmptyStacks: boolean; - /** The inventory collection id the request is transferring from. (Default="default") */ - GivingCollectionId?: string; - /** The entity the request is transferring from. Set to the caller by default. */ - GivingEntity?: EntityKey; - /** The inventory item the request is transferring from. */ - GivingItem?: InventoryItemReference; - /** The idempotency id for the request. */ - IdempotencyId?: string; - /** The inventory collection id the request is transferring to. (Default="default") */ - ReceivingCollectionId?: string; - /** The entity the request is transferring to. Set to the caller by default. */ - ReceivingEntity?: EntityKey; - /** The inventory item the request is transferring to. */ - ReceivingItem?: InventoryItemReference; - - } - - export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The ids of transactions that occurred as a result of the request's giving action. */ - GivingTransactionIds?: string[]; - /** The idempotency id for the request. */ - IdempotencyId?: string; - /** The ids of transactions that occurred as a result of the request's receiving action. */ - ReceivingTransactionIds?: string[]; - - } - export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated catalog configuration. */ Config?: CatalogConfig; @@ -1936,47 +946,6 @@ declare module PlayFabEconomyModels { } - export interface UpdateInventoryItemsOperation { - /** The inventory item to update with the specified values. */ - Item?: InventoryItem; - - } - - export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item to update with the specified values. */ - Item?: InventoryItem; - /** A list of Items to modify. */ - Items?: InventoryItem[]; - /** Indicates if the full inventory should be returned. */ - ReturnInventory: boolean; - - } - - export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** - * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set - * to true in response. - */ - InventoryItems?: InventoryItem[]; - /** Whether the number of inventory items is too large to be returned. */ - InventoryTooLarge: boolean; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - /** The updated items for this request. */ - UpdatedItems?: InventoryItem[]; - - } - export interface UploadInfo { /** Name of the file to be uploaded. */ FileName?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 4ee2e9fb..fbde6f03 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index f54c8708..297dcceb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1f1e3255..fc3ef478 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index fc8363ef..38b842ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e924f8be..3741d4a5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 6263ca8b..895da64f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,10 +241,6 @@ PlayFab.EconomyApi = { PlayFab._internalSettings.entityToken = null; }, - AddInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - CreateDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -257,22 +253,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, - DeleteInventoryCollection: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - DeleteInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - DeleteItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - ExecuteInventoryOperations: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -293,22 +277,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetInventoryCollectionIds: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - GetInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetItemContainers: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetItemModerationState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -329,42 +301,10 @@ 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); - }, - PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - PurchaseInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemAppleAppStoreInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemMicrosoftStoreInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemNintendoEShopInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemPlayStationStoreInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - - RedeemSteamInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - ReportItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -389,18 +329,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); }, - SubtractInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - TakedownItemReviews: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, - TransferInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -409,10 +341,6 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, - UpdateInventoryItems: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); - }, - }; var PlayFabEconomySDK = PlayFab.EconomyApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c443908b..67e96174 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index fc0f9900..6045fd9d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 7afba520..a49c7dd5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 37b0e04d..509678a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 6c0fb346..56e746dc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ff1dc12d..bcb4c874 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 966d15b0..1237a60e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 08a497a2..1f781189 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7af34e4f..0933e682 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220907", + sdkVersion: "1.125.220829", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220907" + sdk: "JavaScriptSDK-1.125.220829" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.126.220907"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.125.220829"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 3f397aab..16a3fe56 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -4,11 +4,6 @@ declare module PlayFabEconomyModule { export interface IPlayFabEconomy { ForgetAllCredentials(): void; - /** - * Add inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems - */ - AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem @@ -24,26 +19,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Delete an Inventory Collection - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection - */ - DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Delete inventory items - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems - */ - DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Execute a list of Inventory Operations - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations - */ - ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig @@ -69,26 +49,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get Inventory Collection Ids - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids - */ - GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Get current inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems - */ - GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Search for a given item and return a set of bundles and stores containing the item - * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers - */ - GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate @@ -114,51 +79,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Gets the access tokens. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens - */ - GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Purchase an item or bundle - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems - */ - PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems - */ - RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems - */ - RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems - */ - RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems - */ - RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems - */ - RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Redeem items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems - */ - RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem @@ -190,21 +115,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Subtract inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems - */ - SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Transfer inventory items. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems - */ - TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig @@ -215,73 +130,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; - /** - * Update inventory items - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems - */ - UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabEconomyModels { - export interface AddInventoryItemsOperation { - /** The amount to add to the current item amount. */ - Amount: number; - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - - } - - export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to add for the current item. */ - Amount: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The currency code of the real money transaction. */ - CurrencyCode?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - /** A list of Items to modify. */ - Items?: InventoryItem[]; - /** Purchase price of the offer. */ - PurchasePrice?: number; - /** Indicates if the full inventory should be returned. */ - ReturnInventory: boolean; - - } - - export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** - * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set - * to true in response. - */ - InventoryItems?: InventoryItem[]; - /** Whether the number of inventory items is too large to be returned. */ - InventoryTooLarge: boolean; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - /** The updated items for this request. */ - UpdatedItems?: InventoryItem[]; - - } - - export interface AlternateId { - /** Type of the alternate ID. */ - Type?: string; - /** Value of the alternate ID. */ - Value?: string; - - } - export interface CatalogAlternateId { /** Type of the alternate ID. */ Type?: string; @@ -293,10 +146,6 @@ declare module PlayFabEconomyModels { export interface CatalogConfig { /** A list of player entity keys that will have admin permissions. */ AdminEntities?: EntityKey[]; - /** The set of configuration that only applies to catalog items. */ - Catalog?: CatalogSpecificConfig; - /** A list of deep link formats. */ - DeepLinkFormats?: DeepLinkFormat[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ @@ -325,8 +174,6 @@ declare module PlayFabEconomyModels { CreationDate?: string; /** The ID of the creator of this catalog item. */ CreatorEntity?: EntityKey; - /** The set of platform specific deep links for this item. */ - DeepLinks?: DeepLink[]; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -346,24 +193,16 @@ declare module PlayFabEconomyModels { Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; - /** The item references associated with this item. */ - ItemReferences?: CatalogItemReference[]; /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; /** The moderation state for this item. */ Moderation?: ModerationState; - /** The platforms supported by this item. */ - Platforms?: string[]; - /** The base price of this item. */ - PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; - /** Optional details for stores items. */ - StoreDetails?: StoreDetails; /** The list of tags that are associated with this item. */ Tags?: string[]; /** @@ -371,7 +210,7 @@ declare module PlayFabEconomyModels { * required. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ + /** The high-level type of the item. */ Type?: string; } @@ -381,53 +220,32 @@ declare module PlayFabEconomyModels { Amount?: number; /** The unique ID of the catalog item. */ Id?: string; - /** The prices the catalog item can be purchased for. */ - PriceOptions?: CatalogPriceOptions; + /** The price of the catalog item. */ + Price?: CatalogPrice; } export interface CatalogPrice { - /** The amounts of the catalog item price. */ - Amounts?: CatalogPriceAmount[]; + /** Prices of the catalog item. */ + Prices?: CatalogPriceInstance[]; + /** Real prices of the catalog item. */ + RealPrices?: CatalogPriceInstance[]; + /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ + Sort?: number; } export interface CatalogPriceAmount { - /** The amount of the price. */ + /** The amount of the catalog price. */ Amount: number; - /** The Item Id of the price. */ - ItemId?: string; - - } - - export interface CatalogPriceAmountOverride { - /** The exact value that should be utilized in the override. */ - FixedValue?: number; - /** The id of the item this override should utilize. */ - ItemId?: string; - /** - * The multiplier that will be applied to the base Catalog value to determine what value should be utilized in the - * override. - */ - Multiplier?: number; - - } - - export interface CatalogPriceOptions { - /** Prices of the catalog item. */ - Prices?: CatalogPrice[]; - - } - - export interface CatalogPriceOptionsOverride { - /** The prices utilized in the override. */ - Prices?: CatalogPriceOverride[]; + /** The Item ID of the price. */ + Id?: string; } - export interface CatalogPriceOverride { - /** The currency amounts utilized in the override for a singular price. */ - Amounts?: CatalogPriceAmountOverride[]; + export interface CatalogPriceInstance { + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; } @@ -471,257 +289,6 @@ declare module PlayFabEconomyModels { } - type CountryCode = "AF" - - | "AX" - | "AL" - | "DZ" - | "AS" - | "AD" - | "AO" - | "AI" - | "AQ" - | "AG" - | "AR" - | "AM" - | "AW" - | "AU" - | "AT" - | "AZ" - | "BS" - | "BH" - | "BD" - | "BB" - | "BY" - | "BE" - | "BZ" - | "BJ" - | "BM" - | "BT" - | "BO" - | "BQ" - | "BA" - | "BW" - | "BV" - | "BR" - | "IO" - | "BN" - | "BG" - | "BF" - | "BI" - | "KH" - | "CM" - | "CA" - | "CV" - | "KY" - | "CF" - | "TD" - | "CL" - | "CN" - | "CX" - | "CC" - | "CO" - | "KM" - | "CG" - | "CD" - | "CK" - | "CR" - | "CI" - | "HR" - | "CU" - | "CW" - | "CY" - | "CZ" - | "DK" - | "DJ" - | "DM" - | "DO" - | "EC" - | "EG" - | "SV" - | "GQ" - | "ER" - | "EE" - | "ET" - | "FK" - | "FO" - | "FJ" - | "FI" - | "FR" - | "GF" - | "PF" - | "TF" - | "GA" - | "GM" - | "GE" - | "DE" - | "GH" - | "GI" - | "GR" - | "GL" - | "GD" - | "GP" - | "GU" - | "GT" - | "GG" - | "GN" - | "GW" - | "GY" - | "HT" - | "HM" - | "VA" - | "HN" - | "HK" - | "HU" - | "IS" - | "IN" - | "ID" - | "IR" - | "IQ" - | "IE" - | "IM" - | "IL" - | "IT" - | "JM" - | "JP" - | "JE" - | "JO" - | "KZ" - | "KE" - | "KI" - | "KP" - | "KR" - | "KW" - | "KG" - | "LA" - | "LV" - | "LB" - | "LS" - | "LR" - | "LY" - | "LI" - | "LT" - | "LU" - | "MO" - | "MK" - | "MG" - | "MW" - | "MY" - | "MV" - | "ML" - | "MT" - | "MH" - | "MQ" - | "MR" - | "MU" - | "YT" - | "MX" - | "FM" - | "MD" - | "MC" - | "MN" - | "ME" - | "MS" - | "MA" - | "MZ" - | "MM" - | "NA" - | "NR" - | "NP" - | "NL" - | "NC" - | "NZ" - | "NI" - | "NE" - | "NG" - | "NU" - | "NF" - | "MP" - | "NO" - | "OM" - | "PK" - | "PW" - | "PS" - | "PA" - | "PG" - | "PY" - | "PE" - | "PH" - | "PN" - | "PL" - | "PT" - | "PR" - | "QA" - | "RE" - | "RO" - | "RU" - | "RW" - | "BL" - | "SH" - | "KN" - | "LC" - | "MF" - | "PM" - | "VC" - | "WS" - | "SM" - | "ST" - | "SA" - | "SN" - | "RS" - | "SC" - | "SL" - | "SG" - | "SX" - | "SK" - | "SI" - | "SB" - | "SO" - | "ZA" - | "GS" - | "SS" - | "ES" - | "LK" - | "SD" - | "SR" - | "SJ" - | "SZ" - | "SE" - | "CH" - | "SY" - | "TW" - | "TJ" - | "TZ" - | "TH" - | "TL" - | "TG" - | "TK" - | "TO" - | "TT" - | "TN" - | "TR" - | "TM" - | "TC" - | "TV" - | "UG" - | "UA" - | "AE" - | "GB" - | "US" - | "UM" - | "UY" - | "UZ" - | "VU" - | "VE" - | "VN" - | "VG" - | "VI" - | "WF" - | "EH" - | "YE" - | "ZM" - | "ZW"; - export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -752,14 +319,6 @@ declare module PlayFabEconomyModels { } - export interface DeepLink { - /** Target platform for this deep link. */ - Platform?: string; - /** The deep link for this platform. */ - Url?: string; - - } - export interface DeepLinkFormat { /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ Format?: string; @@ -780,48 +339,6 @@ declare module PlayFabEconomyModels { } - export interface DeleteInventoryCollectionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The inventory collection id the request applies to. */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity the request is about. Set to the caller by default. */ - Entity?: EntityKey; - - } - - export interface DeleteInventoryCollectionResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface DeleteInventoryItemsOperation { - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - - } - - export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - - } - - export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - - } - export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -861,31 +378,6 @@ declare module PlayFabEconomyModels { } - export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** - * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. - */ - Operations?: InventoryOperation[]; - - } - - export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** The ids of the transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - - } - export interface FileConfig { /** The set of content types that will be used for validation. */ ContentTypes?: string[]; @@ -895,10 +387,6 @@ declare module PlayFabEconomyModels { } export interface FilterOptions { - /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ - Filter?: string; - /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ - IncludeAllItems?: boolean; } @@ -964,8 +452,6 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** OData Filter to specify ItemType. */ - Filter?: string; } @@ -995,80 +481,6 @@ declare module PlayFabEconomyModels { } - export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An opaque token used to retrieve the next page of collection ids, if any are available. */ - ContinuationToken?: string; - /** Number of items to retrieve. (Default = 10) */ - Count: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity the request is about. Set to the caller by default. */ - Entity?: EntityKey; - - } - - export interface GetInventoryCollectionIdsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The requested inventory collection ids. */ - CollectionIds?: string[]; - /** An opaque token used to retrieve the next page of collection ids, if any are available. */ - ContinuationToken?: string; - - } - - export interface GetInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** - * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on - * initial request. - */ - ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ - Count: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The filters to limit what is returned to the client. */ - Filter?: string; - - } - - export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** An opaque token used to retrieve the next page of items, if any are available. */ - ContinuationToken?: string; - /** The requested inventory items. */ - Items?: InventoryItem[]; - - } - - export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { - /** An alternate ID associated with this item. */ - AlternateId?: CatalogAlternateId; - /** - * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on - * initial request. - */ - ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 25. */ - Count: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The unique ID of the item. */ - Id?: string; - - } - - export interface GetItemContainersResponse extends PlayFabModule.IPlayFabResultCommon { - /** List of Bundles and Stores containing the requested items. */ - Containers?: CatalogItem[]; - /** An opaque token used to retrieve the next page of items, if any are available. */ - ContinuationToken?: string; - - } - export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1187,31 +599,6 @@ declare module PlayFabEconomyModels { } - export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a - * CollectionsIdKey for the user - */ - CollectionsAccessToken?: string; - /** The date the collections access token expires */ - CollectionsAccessTokenExpirationDate: string; - - } - - export interface GooglePlayProductPurchase { - /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ - ProductId?: string; - /** The token provided to the player's device when the product was purchased */ - Token?: string; - - } - type HelpfulnessVote = "None" | "UnHelpful" @@ -1235,44 +622,6 @@ declare module PlayFabEconomyModels { } - export interface InventoryItem { - /** The amount of the item. */ - Amount: number; - /** The id of the item. This should correspond to the item id in the catalog. */ - Id?: string; - /** The stack id of the item. */ - StackId?: string; - /** The type of the item. This should correspond to the item type in the catalog. */ - Type?: string; - - } - - export interface InventoryItemReference { - /** The inventory item alternate id the request applies to. */ - AlternateId?: AlternateId; - /** The inventory item id the request applies to. */ - Id?: string; - /** The inventory stack id the request should redeem to. (Default="default") */ - StackId?: string; - - } - - export interface InventoryOperation { - /** The add operation. */ - Add?: AddInventoryItemsOperation; - /** The delete operation. */ - Delete?: DeleteInventoryItemsOperation; - /** The purchase operation. */ - Purchase?: PurchaseInventoryItemsOperation; - /** The subtract operation. */ - Subtract?: SubtractInventoryItemsOperation; - /** The transfer operation. */ - Transfer?: TransferInventoryItemsOperation; - /** The update operation. */ - Update?: UpdateInventoryItemsOperation; - - } - export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -1305,6 +654,14 @@ declare module PlayFabEconomyModels { } + export interface PriceOverride { + + } + + export interface PricesOverride { + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1334,76 +691,10 @@ declare module PlayFabEconomyModels { | "Failed" | "Canceled"; - export interface PurchaseInventoryItemsOperation { - /** The amount to purchase. */ - Amount: number; - /** - * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = - * false) - */ - DeleteEmptyStacks: boolean; - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - /** - * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or - * specified Store. - */ - PriceAmounts?: PurchasePriceAmount[]; - /** The id of the Store to purchase the item from. */ - StoreId?: string; - - } - - export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to purchase. */ - Amount: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. - * (Default=false) - */ - DeleteEmptyStacks: boolean; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - /** - * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or - * specified Store. - */ - PriceAmounts?: PurchasePriceAmount[]; - /** The id of the Store to purchase the item from. */ - StoreId?: string; - - } - - export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - - } - export interface PurchaseOverride { } - export interface PurchasePriceAmount { - /** The amount of the inventory item to use in the purchase . */ - Amount: number; - /** The inventory item id to use in the purchase . */ - ItemId?: string; - /** The inventory stack id the to use in the purchase. Set to "default" by default */ - StackId?: string; - - } - export interface Rating { /** The average rating for this item. */ Average?: number; @@ -1422,174 +713,6 @@ declare module PlayFabEconomyModels { } - export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The receipt provided by the Apple marketplace upon successful purchase. */ - Receipt?: string; - - } - - export interface RedeemAppleAppStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The list of purchases to redeem */ - Purchases?: GooglePlayProductPurchase[]; - - } - - export interface RedeemGooglePlayInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The OneStore Collections Id Key used for AAD authentication. */ - CollectionsIdKey?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** Xbox Token used for delegated business partner authentication. */ - XboxToken?: string; - - } - - export interface RedeemMicrosoftStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemNintendoEShopInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The Nintendo provided token authorizing redemption */ - NintendoServiceAccountIdToken?: string; - - } - - export interface RedeemNintendoEShopInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authorization code provided by the PlayStation OAuth provider. */ - AuthorizationCode?: string; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** Optional Service Label to pass into the request. */ - ServiceLabel?: string; - - } - - export interface RedeemPlayStationStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedeemSteamInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - - } - - export interface RedeemSteamInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The list of failed redemptions from the external marketplace. */ - Failed?: RedemptionFailure[]; - /** The list of successful redemptions from the external marketplace. */ - Succeeded?: RedemptionSuccess[]; - /** The Transaction IDs associated with the inventory modifications */ - TransactionIds?: string[]; - - } - - export interface RedemptionFailure { - /** The marketplace failure code. */ - FailureCode?: string; - /** The marketplace error details explaining why the offer failed to redeem. */ - FailureDetails?: string; - /** The transaction id in the external marketplace. */ - MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; - - } - - export interface RedemptionSuccess { - /** The transaction id in the external marketplace. */ - MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; - /** The timestamp for when the redeem was completed. */ - SuccessTimestamp: string; - - } - export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1716,8 +839,6 @@ declare module PlayFabEconomyModels { * be returned. */ Select?: string; - /** The store to restrict the search request to. */ - Store?: StoreReference; } @@ -1748,14 +869,10 @@ declare module PlayFabEconomyModels { } export interface StoreDetails { - /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ - FilterOptions?: FilterOptions; - /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ - PriceOptionsOverride?: CatalogPriceOptionsOverride; } - export interface StoreReference { + export interface StoreInfo { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; /** The unique ID of the store. */ @@ -1789,61 +906,6 @@ declare module PlayFabEconomyModels { } - export interface SubtractInventoryItemsOperation { - /** The amount to subtract from the current item amount. */ - Amount: number; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = - * false). - */ - DeleteEmptyStacks: boolean; - /** The inventory item the operation applies to. */ - Item?: InventoryItemReference; - - } - - export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to add for the current item. */ - Amount: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. - * (Default=false) - */ - DeleteEmptyStacks: boolean; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item the request applies to. */ - Item?: InventoryItemReference; - /** A list of Items to modify. */ - Items?: InventoryItem[]; - /** Indicates if the full inventory should be returned. */ - ReturnInventory: boolean; - - } - - export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** - * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set - * to true in response. - */ - InventoryItems?: InventoryItem[]; - /** Whether the number of inventory items is too large to be returned. */ - InventoryTooLarge: boolean; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - /** The updated items for this request. */ - UpdatedItems?: InventoryItem[]; - - } - export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1856,58 +918,6 @@ declare module PlayFabEconomyModels { } - export interface TransferInventoryItemsOperation { - /** The amount to transfer. */ - Amount: number; - /** - * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = - * false) - */ - DeleteEmptyStacks: boolean; - /** The inventory item the operation is transferring from. */ - GivingItem?: InventoryItemReference; - /** The inventory item the operation is transferring to. */ - ReceivingItem?: InventoryItemReference; - - } - - export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to transfer . */ - Amount: number; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = - * false) - */ - DeleteEmptyStacks: boolean; - /** The inventory collection id the request is transferring from. (Default="default") */ - GivingCollectionId?: string; - /** The entity the request is transferring from. Set to the caller by default. */ - GivingEntity?: EntityKey; - /** The inventory item the request is transferring from. */ - GivingItem?: InventoryItemReference; - /** The idempotency id for the request. */ - IdempotencyId?: string; - /** The inventory collection id the request is transferring to. (Default="default") */ - ReceivingCollectionId?: string; - /** The entity the request is transferring to. Set to the caller by default. */ - ReceivingEntity?: EntityKey; - /** The inventory item the request is transferring to. */ - ReceivingItem?: InventoryItemReference; - - } - - export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The ids of transactions that occurred as a result of the request's giving action. */ - GivingTransactionIds?: string[]; - /** The idempotency id for the request. */ - IdempotencyId?: string; - /** The ids of transactions that occurred as a result of the request's receiving action. */ - ReceivingTransactionIds?: string[]; - - } - export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated catalog configuration. */ Config?: CatalogConfig; @@ -1936,47 +946,6 @@ declare module PlayFabEconomyModels { } - export interface UpdateInventoryItemsOperation { - /** The inventory item to update with the specified values. */ - Item?: InventoryItem; - - } - - export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ - CollectionId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; - /** The Idempotency ID for this request. */ - IdempotencyId?: string; - /** The inventory item to update with the specified values. */ - Item?: InventoryItem; - /** A list of Items to modify. */ - Items?: InventoryItem[]; - /** Indicates if the full inventory should be returned. */ - ReturnInventory: boolean; - - } - - export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The idempotency id used in the request. */ - IdempotencyId?: string; - /** - * Details of the current inventory items. Null if ReturnInventory was set to false in request or InventoryTooLarge is set - * to true in response. - */ - InventoryItems?: InventoryItem[]; - /** Whether the number of inventory items is too large to be returned. */ - InventoryTooLarge: boolean; - /** The ids of transactions that occurred as a result of the request. */ - TransactionIds?: string[]; - /** The updated items for this request. */ - UpdatedItems?: InventoryItem[]; - - } - export interface UploadInfo { /** Name of the file to be uploaded. */ FileName?: string; From da7abb9417a2b4208969a8300fa6de5bf11a2093 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 8 Sep 2022 03:51:55 +0000 Subject: [PATCH 161/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220908 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 80 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 1030 ++++++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 80 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 1030 ++++++++++++++++- 33 files changed, 2265 insertions(+), 181 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 90939452..f79bb648 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.125.220829", + "version": "1.126.220908", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fbde6f03..e9853bf0 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 297dcceb..1051895f 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index fc3ef478..7a447f4d 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 38b842ad..5842124d 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3741d4a5..60963f25 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 895da64f..80513b70 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.EconomyApi = { PlayFab._internalSettings.entityToken = null; }, + AddInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -253,10 +257,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteInventoryCollection: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + ExecuteInventoryOperations: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,10 +293,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetInventoryCollectionIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetItemContainers: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItemModerationState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -301,10 +329,42 @@ 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); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + PurchaseInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemAppleAppStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemMicrosoftStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemNintendoEShopInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemPlayStationStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemSteamInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ReportItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -329,10 +389,18 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubtractInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + TakedownItemReviews: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + TransferInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -341,6 +409,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + }; var PlayFabEconomySDK = PlayFab.EconomyApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 67e96174..3ed7474c 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6045fd9d..e85a8ed9 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a49c7dd5..93f2ae1c 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 509678a1..6469e4b4 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 56e746dc..15c666ca 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index bcb4c874..9cb897ad 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1237a60e..ceceece7 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 1f781189..38c3d7b4 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0933e682..3aef06f7 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.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 16a3fe56..e09c28d1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabEconomyModule { export interface IPlayFabEconomy { ForgetAllCredentials(): void; + /** + * Add inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems + */ + AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem @@ -19,11 +24,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete an Inventory Collection + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection + */ + DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems + */ + DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Execute a list of Inventory Operations + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations + */ + ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig @@ -49,11 +69,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get Inventory Collection Ids + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids + */ + GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get current inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems + */ + GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Search for a given item and return a set of bundles and stores containing the item + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers + */ + GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate @@ -79,11 +114,51 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the access tokens. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens + */ + GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Purchase an item or bundle + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems + */ + PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems + */ + RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems + */ + RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems + */ + RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems + */ + RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems + */ + RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems + */ + RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem @@ -115,11 +190,21 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subtract inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems + */ + SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Transfer inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems + */ + TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig @@ -130,11 +215,56 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems + */ + UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabEconomyModels { + export interface AddInventoryItemsOperation { + /** The amount to add to the current item amount. */ + Amount: number; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + + export interface AlternateId { + /** Type of the alternate ID. */ + Type?: string; + /** Value of the alternate ID. */ + Value?: string; + + } + export interface CatalogAlternateId { /** Type of the alternate ID. */ Type?: string; @@ -146,6 +276,10 @@ declare module PlayFabEconomyModels { export interface CatalogConfig { /** A list of player entity keys that will have admin permissions. */ AdminEntities?: EntityKey[]; + /** The set of configuration that only applies to catalog items. */ + Catalog?: CatalogSpecificConfig; + /** A list of deep link formats. */ + DeepLinkFormats?: DeepLinkFormat[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ @@ -174,6 +308,8 @@ declare module PlayFabEconomyModels { CreationDate?: string; /** The ID of the creator of this catalog item. */ CreatorEntity?: EntityKey; + /** The set of platform specific deep links for this item. */ + DeepLinks?: DeepLink[]; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -193,16 +329,24 @@ declare module PlayFabEconomyModels { Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; + /** The item references associated with this item. */ + ItemReferences?: CatalogItemReference[]; /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; /** The moderation state for this item. */ Moderation?: ModerationState; + /** The platforms supported by this item. */ + Platforms?: string[]; + /** The base price of this item. */ + PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; + /** Optional details for stores items. */ + StoreDetails?: StoreDetails; /** The list of tags that are associated with this item. */ Tags?: string[]; /** @@ -210,7 +354,7 @@ declare module PlayFabEconomyModels { * required. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. */ + /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ Type?: string; } @@ -220,32 +364,53 @@ declare module PlayFabEconomyModels { Amount?: number; /** The unique ID of the catalog item. */ Id?: string; - /** The price of the catalog item. */ - Price?: CatalogPrice; + /** The prices the catalog item can be purchased for. */ + PriceOptions?: CatalogPriceOptions; } export interface CatalogPrice { - /** Prices of the catalog item. */ - Prices?: CatalogPriceInstance[]; - /** Real prices of the catalog item. */ - RealPrices?: CatalogPriceInstance[]; - /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ - Sort?: number; + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; } export interface CatalogPriceAmount { - /** The amount of the catalog price. */ + /** The amount of the price. */ Amount: number; - /** The Item ID of the price. */ - Id?: string; + /** The Item Id of the price. */ + ItemId?: string; } - export interface CatalogPriceInstance { - /** The amounts of the catalog item price. */ - Amounts?: CatalogPriceAmount[]; + export interface CatalogPriceAmountOverride { + /** The exact value that should be utilized in the override. */ + FixedValue?: number; + /** The id of the item this override should utilize. */ + ItemId?: string; + /** + * The multiplier that will be applied to the base Catalog value to determine what value should be utilized in the + * override. + */ + Multiplier?: number; + + } + + export interface CatalogPriceOptions { + /** Prices of the catalog item. */ + Prices?: CatalogPrice[]; + + } + + export interface CatalogPriceOptionsOverride { + /** The prices utilized in the override. */ + Prices?: CatalogPriceOverride[]; + + } + + export interface CatalogPriceOverride { + /** The currency amounts utilized in the override for a singular price. */ + Amounts?: CatalogPriceAmountOverride[]; } @@ -289,6 +454,257 @@ declare module PlayFabEconomyModels { } + type CountryCode = "AF" + + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -319,6 +735,14 @@ declare module PlayFabEconomyModels { } + export interface DeepLink { + /** Target platform for this deep link. */ + Platform?: string; + /** The deep link for this platform. */ + Url?: string; + + } + export interface DeepLinkFormat { /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ Format?: string; @@ -339,6 +763,48 @@ declare module PlayFabEconomyModels { } + export interface DeleteInventoryCollectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The inventory collection id the request applies to. */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface DeleteInventoryCollectionResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DeleteInventoryItemsOperation { + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -378,6 +844,31 @@ declare module PlayFabEconomyModels { } + export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** + * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as + * a batch. + */ + Operations?: InventoryOperation[]; + + } + + export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of the transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface FileConfig { /** The set of content types that will be used for validation. */ ContentTypes?: string[]; @@ -387,6 +878,10 @@ declare module PlayFabEconomyModels { } export interface FilterOptions { + /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ + Filter?: string; + /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ + IncludeAllItems?: boolean; } @@ -452,6 +947,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** OData Filter to specify ItemType. */ + Filter?: string; } @@ -481,6 +978,80 @@ declare module PlayFabEconomyModels { } + export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. (Default = 10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface GetInventoryCollectionIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested inventory collection ids. */ + CollectionIds?: string[]; + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + + } + + export interface GetInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The filters to limit what is returned to the client. */ + Filter?: string; + + } + + export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The requested inventory items. */ + Items?: InventoryItem[]; + + } + + export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 25. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemContainersResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of Bundles and Stores containing the requested items. */ + Containers?: CatalogItem[]; + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + + } + export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -599,6 +1170,31 @@ declare module PlayFabEconomyModels { } + export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a + * CollectionsIdKey for the user + */ + CollectionsAccessToken?: string; + /** The date the collections access token expires */ + CollectionsAccessTokenExpirationDate: string; + + } + + export interface GooglePlayProductPurchase { + /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ + ProductId?: string; + /** The token provided to the player's device when the product was purchased */ + Token?: string; + + } + type HelpfulnessVote = "None" | "UnHelpful" @@ -622,6 +1218,44 @@ declare module PlayFabEconomyModels { } + export interface InventoryItem { + /** The amount of the item. */ + Amount: number; + /** The id of the item. This should correspond to the item id in the catalog. */ + Id?: string; + /** The stack id of the item. */ + StackId?: string; + /** The type of the item. This should correspond to the item type in the catalog. */ + Type?: string; + + } + + export interface InventoryItemReference { + /** The inventory item alternate id the request applies to. */ + AlternateId?: AlternateId; + /** The inventory item id the request applies to. */ + Id?: string; + /** The inventory stack id the request should redeem to. (Default="default") */ + StackId?: string; + + } + + export interface InventoryOperation { + /** The add operation. */ + Add?: AddInventoryItemsOperation; + /** The delete operation. */ + Delete?: DeleteInventoryItemsOperation; + /** The purchase operation. */ + Purchase?: PurchaseInventoryItemsOperation; + /** The subtract operation. */ + Subtract?: SubtractInventoryItemsOperation; + /** The transfer operation. */ + Transfer?: TransferInventoryItemsOperation; + /** The update operation. */ + Update?: UpdateInventoryItemsOperation; + + } + export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -645,20 +1279,6 @@ declare module PlayFabEconomyModels { | "Rejected"; export interface PayoutDetails { - /** The Dev Center account ID of the payee. */ - AccountSellerId?: string; - /** The tax code for payout calculations. */ - TaxCode?: string; - /** The Universal account ID of the payee. */ - Uaid?: string; - - } - - export interface PriceOverride { - - } - - export interface PricesOverride { } @@ -691,10 +1311,76 @@ declare module PlayFabEconomyModels { | "Failed" | "Canceled"; + export interface PurchaseInventoryItemsOperation { + /** The amount to purchase. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to purchase. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface PurchaseOverride { } + export interface PurchasePriceAmount { + /** The amount of the inventory item to use in the purchase . */ + Amount: number; + /** The inventory item id to use in the purchase . */ + ItemId?: string; + /** The inventory stack id the to use in the purchase. Set to "default" by default */ + StackId?: string; + + } + export interface Rating { /** The average rating for this item. */ Average?: number; @@ -713,6 +1399,162 @@ declare module PlayFabEconomyModels { } + export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The receipt provided by the Apple marketplace upon successful purchase. */ + Receipt?: string; + + } + + export interface RedeemAppleAppStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The list of purchases to redeem */ + Purchases?: GooglePlayProductPurchase[]; + + } + + export interface RedeemGooglePlayInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The OneStore Collections Id Key used for AAD authentication. */ + CollectionsIdKey?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** Xbox Token used for delegated business partner authentication. */ + XboxToken?: string; + + } + + export interface RedeemMicrosoftStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemNintendoEShopInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Nintendo provided token authorizing redemption */ + NintendoServiceAccountIdToken?: string; + + } + + export interface RedeemNintendoEShopInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authorization code provided by the PlayStation OAuth provider. */ + AuthorizationCode?: string; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** Optional Service Label to pass into the request. */ + ServiceLabel?: string; + + } + + export interface RedeemPlayStationStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemSteamInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface RedeemSteamInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedemptionFailure { + /** The marketplace failure code. */ + FailureCode?: string; + /** The marketplace error details explaining why the offer failed to redeem. */ + FailureDetails?: string; + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + + } + + export interface RedemptionSuccess { + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + /** The timestamp for when the redeem was completed. */ + SuccessTimestamp: string; + + } + export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -839,6 +1681,8 @@ declare module PlayFabEconomyModels { * be returned. */ Select?: string; + /** The store to restrict the search request to. */ + Store?: StoreReference; } @@ -869,10 +1713,14 @@ declare module PlayFabEconomyModels { } export interface StoreDetails { + /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ + FilterOptions?: FilterOptions; + /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ + PriceOptionsOverride?: CatalogPriceOptionsOverride; } - export interface StoreInfo { + export interface StoreReference { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; /** The unique ID of the store. */ @@ -906,6 +1754,48 @@ declare module PlayFabEconomyModels { } + export interface SubtractInventoryItemsOperation { + /** The amount to subtract from the current item amount. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false). + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -918,6 +1808,58 @@ declare module PlayFabEconomyModels { } + export interface TransferInventoryItemsOperation { + /** The amount to transfer. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation is transferring from. */ + GivingItem?: InventoryItemReference; + /** The inventory item the operation is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to transfer . */ + Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory collection id the request is transferring from. (Default="default") */ + GivingCollectionId?: string; + /** The entity the request is transferring from. Set to the caller by default. */ + GivingEntity?: EntityKey; + /** The inventory item the request is transferring from. */ + GivingItem?: InventoryItemReference; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The inventory collection id the request is transferring to. (Default="default") */ + ReceivingCollectionId?: string; + /** The entity the request is transferring to. Set to the caller by default. */ + ReceivingEntity?: EntityKey; + /** The inventory item the request is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ids of transactions that occurred as a result of the request's giving action. */ + GivingTransactionIds?: string[]; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request's receiving action. */ + ReceivingTransactionIds?: string[]; + + } + export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated catalog configuration. */ Config?: CatalogConfig; @@ -946,6 +1888,34 @@ declare module PlayFabEconomyModels { } + export interface UpdateInventoryItemsOperation { + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + + } + + export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + + } + + export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface UploadInfo { /** Name of the file to be uploaded. */ FileName?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fbde6f03..e9853bf0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 297dcceb..1051895f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index fc3ef478..7a447f4d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 38b842ad..5842124d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3741d4a5..60963f25 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 895da64f..80513b70 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.EconomyApi = { PlayFab._internalSettings.entityToken = null; }, + AddInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/AddInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/CreateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -253,10 +257,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteEntityItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + DeleteInventoryCollection: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryCollection", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/DeleteInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + DeleteItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/DeleteItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + ExecuteInventoryOperations: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -277,10 +293,22 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetEntityItemReview", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetInventoryCollectionIds: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryCollectionIds", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + GetItemContainers: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemContainers", request, "X-EntityToken", callback, customData, extraHeaders); + }, + GetItemModerationState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItemModerationState", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -301,10 +329,42 @@ 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); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + PurchaseInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/PurchaseInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemAppleAppStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemMicrosoftStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemMicrosoftStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemNintendoEShopInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemNintendoEShopInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemPlayStationStoreInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemPlayStationStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + RedeemSteamInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemSteamInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + ReportItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/ReportItem", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -329,10 +389,18 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/SubmitItemReviewVote", request, "X-EntityToken", callback, customData, extraHeaders); }, + SubtractInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/SubtractInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + TakedownItemReviews: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/TakedownItemReviews", request, "X-EntityToken", callback, customData, extraHeaders); }, + TransferInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/TransferInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + UpdateCatalogConfig: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders); }, @@ -341,6 +409,10 @@ PlayFab.EconomyApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/UpdateDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, + UpdateInventoryItems: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/UpdateInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders); + }, + }; var PlayFabEconomySDK = PlayFab.EconomyApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 67e96174..3ed7474c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6045fd9d..e85a8ed9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a49c7dd5..93f2ae1c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 509678a1..6469e4b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 56e746dc..15c666ca 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index bcb4c874..9cb897ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1237a60e..ceceece7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 1f781189..38c3d7b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0933e682..3aef06f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.125.220829", + sdkVersion: "1.126.220908", requestGetParams: { - sdk: "JavaScriptSDK-1.125.220829" + sdk: "JavaScriptSDK-1.126.220908" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.125.220829"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 16a3fe56..e09c28d1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabEconomyModule { export interface IPlayFabEconomy { ForgetAllCredentials(): void; + /** + * Add inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems + */ + AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem @@ -19,11 +24,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete an Inventory Collection + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection + */ + DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Delete inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems + */ + DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Execute a list of Inventory Operations + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations + */ + ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig @@ -49,11 +69,26 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get Inventory Collection Ids + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids + */ + GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Get current inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems + */ + GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Search for a given item and return a set of bundles and stores containing the item + * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers + */ + GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate @@ -79,11 +114,51 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Gets the access tokens. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens + */ + GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Purchase an item or bundle + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems + */ + PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems + */ + RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems + */ + RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems + */ + RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems + */ + RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems + */ + RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems + */ + RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem @@ -115,11 +190,21 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Subtract inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems + */ + SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Transfer inventory items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems + */ + TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig @@ -130,11 +215,56 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + /** + * Update inventory items + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems + */ + UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; } } declare module PlayFabEconomyModels { + export interface AddInventoryItemsOperation { + /** The amount to add to the current item amount. */ + Amount: number; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + + export interface AlternateId { + /** Type of the alternate ID. */ + Type?: string; + /** Value of the alternate ID. */ + Value?: string; + + } + export interface CatalogAlternateId { /** Type of the alternate ID. */ Type?: string; @@ -146,6 +276,10 @@ declare module PlayFabEconomyModels { export interface CatalogConfig { /** A list of player entity keys that will have admin permissions. */ AdminEntities?: EntityKey[]; + /** The set of configuration that only applies to catalog items. */ + Catalog?: CatalogSpecificConfig; + /** A list of deep link formats. */ + DeepLinkFormats?: DeepLinkFormat[]; /** A list of display properties to index. */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ @@ -174,6 +308,8 @@ declare module PlayFabEconomyModels { CreationDate?: string; /** The ID of the creator of this catalog item. */ CreatorEntity?: EntityKey; + /** The set of platform specific deep links for this item. */ + DeepLinks?: DeepLink[]; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -193,16 +329,24 @@ declare module PlayFabEconomyModels { Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; + /** The item references associated with this item. */ + ItemReferences?: CatalogItemReference[]; /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; /** The moderation state for this item. */ Moderation?: ModerationState; + /** The platforms supported by this item. */ + Platforms?: string[]; + /** The base price of this item. */ + PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; + /** Optional details for stores items. */ + StoreDetails?: StoreDetails; /** The list of tags that are associated with this item. */ Tags?: string[]; /** @@ -210,7 +354,7 @@ declare module PlayFabEconomyModels { * required. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. */ + /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ Type?: string; } @@ -220,32 +364,53 @@ declare module PlayFabEconomyModels { Amount?: number; /** The unique ID of the catalog item. */ Id?: string; - /** The price of the catalog item. */ - Price?: CatalogPrice; + /** The prices the catalog item can be purchased for. */ + PriceOptions?: CatalogPriceOptions; } export interface CatalogPrice { - /** Prices of the catalog item. */ - Prices?: CatalogPriceInstance[]; - /** Real prices of the catalog item. */ - RealPrices?: CatalogPriceInstance[]; - /** A standardized sorting key to allow proper sorting between items with prices in different currencies. */ - Sort?: number; + /** The amounts of the catalog item price. */ + Amounts?: CatalogPriceAmount[]; } export interface CatalogPriceAmount { - /** The amount of the catalog price. */ + /** The amount of the price. */ Amount: number; - /** The Item ID of the price. */ - Id?: string; + /** The Item Id of the price. */ + ItemId?: string; } - export interface CatalogPriceInstance { - /** The amounts of the catalog item price. */ - Amounts?: CatalogPriceAmount[]; + export interface CatalogPriceAmountOverride { + /** The exact value that should be utilized in the override. */ + FixedValue?: number; + /** The id of the item this override should utilize. */ + ItemId?: string; + /** + * The multiplier that will be applied to the base Catalog value to determine what value should be utilized in the + * override. + */ + Multiplier?: number; + + } + + export interface CatalogPriceOptions { + /** Prices of the catalog item. */ + Prices?: CatalogPrice[]; + + } + + export interface CatalogPriceOptionsOverride { + /** The prices utilized in the override. */ + Prices?: CatalogPriceOverride[]; + + } + + export interface CatalogPriceOverride { + /** The currency amounts utilized in the override for a singular price. */ + Amounts?: CatalogPriceAmountOverride[]; } @@ -289,6 +454,257 @@ declare module PlayFabEconomyModels { } + type CountryCode = "AF" + + | "AX" + | "AL" + | "DZ" + | "AS" + | "AD" + | "AO" + | "AI" + | "AQ" + | "AG" + | "AR" + | "AM" + | "AW" + | "AU" + | "AT" + | "AZ" + | "BS" + | "BH" + | "BD" + | "BB" + | "BY" + | "BE" + | "BZ" + | "BJ" + | "BM" + | "BT" + | "BO" + | "BQ" + | "BA" + | "BW" + | "BV" + | "BR" + | "IO" + | "BN" + | "BG" + | "BF" + | "BI" + | "KH" + | "CM" + | "CA" + | "CV" + | "KY" + | "CF" + | "TD" + | "CL" + | "CN" + | "CX" + | "CC" + | "CO" + | "KM" + | "CG" + | "CD" + | "CK" + | "CR" + | "CI" + | "HR" + | "CU" + | "CW" + | "CY" + | "CZ" + | "DK" + | "DJ" + | "DM" + | "DO" + | "EC" + | "EG" + | "SV" + | "GQ" + | "ER" + | "EE" + | "ET" + | "FK" + | "FO" + | "FJ" + | "FI" + | "FR" + | "GF" + | "PF" + | "TF" + | "GA" + | "GM" + | "GE" + | "DE" + | "GH" + | "GI" + | "GR" + | "GL" + | "GD" + | "GP" + | "GU" + | "GT" + | "GG" + | "GN" + | "GW" + | "GY" + | "HT" + | "HM" + | "VA" + | "HN" + | "HK" + | "HU" + | "IS" + | "IN" + | "ID" + | "IR" + | "IQ" + | "IE" + | "IM" + | "IL" + | "IT" + | "JM" + | "JP" + | "JE" + | "JO" + | "KZ" + | "KE" + | "KI" + | "KP" + | "KR" + | "KW" + | "KG" + | "LA" + | "LV" + | "LB" + | "LS" + | "LR" + | "LY" + | "LI" + | "LT" + | "LU" + | "MO" + | "MK" + | "MG" + | "MW" + | "MY" + | "MV" + | "ML" + | "MT" + | "MH" + | "MQ" + | "MR" + | "MU" + | "YT" + | "MX" + | "FM" + | "MD" + | "MC" + | "MN" + | "ME" + | "MS" + | "MA" + | "MZ" + | "MM" + | "NA" + | "NR" + | "NP" + | "NL" + | "NC" + | "NZ" + | "NI" + | "NE" + | "NG" + | "NU" + | "NF" + | "MP" + | "NO" + | "OM" + | "PK" + | "PW" + | "PS" + | "PA" + | "PG" + | "PY" + | "PE" + | "PH" + | "PN" + | "PL" + | "PT" + | "PR" + | "QA" + | "RE" + | "RO" + | "RU" + | "RW" + | "BL" + | "SH" + | "KN" + | "LC" + | "MF" + | "PM" + | "VC" + | "WS" + | "SM" + | "ST" + | "SA" + | "SN" + | "RS" + | "SC" + | "SL" + | "SG" + | "SX" + | "SK" + | "SI" + | "SB" + | "SO" + | "ZA" + | "GS" + | "SS" + | "ES" + | "LK" + | "SD" + | "SR" + | "SJ" + | "SZ" + | "SE" + | "CH" + | "SY" + | "TW" + | "TJ" + | "TZ" + | "TH" + | "TL" + | "TG" + | "TK" + | "TO" + | "TT" + | "TN" + | "TR" + | "TM" + | "TC" + | "TV" + | "UG" + | "UA" + | "AE" + | "GB" + | "US" + | "UM" + | "UY" + | "UZ" + | "VU" + | "VE" + | "VN" + | "VG" + | "VI" + | "WF" + | "EH" + | "YE" + | "ZM" + | "ZW"; + export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -319,6 +735,14 @@ declare module PlayFabEconomyModels { } + export interface DeepLink { + /** Target platform for this deep link. */ + Platform?: string; + /** The deep link for this platform. */ + Url?: string; + + } + export interface DeepLinkFormat { /** The format of the deep link to return. The format should contain '{id}' to represent where the item ID should be placed. */ Format?: string; @@ -339,6 +763,48 @@ declare module PlayFabEconomyModels { } + export interface DeleteInventoryCollectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The inventory collection id the request applies to. */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface DeleteInventoryCollectionResponse extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface DeleteInventoryItemsOperation { + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface DeleteItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -378,6 +844,31 @@ declare module PlayFabEconomyModels { } + export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** + * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as + * a batch. + */ + Operations?: InventoryOperation[]; + + } + + export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of the transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface FileConfig { /** The set of content types that will be used for validation. */ ContentTypes?: string[]; @@ -387,6 +878,10 @@ declare module PlayFabEconomyModels { } export interface FilterOptions { + /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ + Filter?: string; + /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ + IncludeAllItems?: boolean; } @@ -452,6 +947,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** OData Filter to specify ItemType. */ + Filter?: string; } @@ -481,6 +978,80 @@ declare module PlayFabEconomyModels { } + export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + /** Number of items to retrieve. (Default = 10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity the request is about. Set to the caller by default. */ + Entity?: EntityKey; + + } + + export interface GetInventoryCollectionIdsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The requested inventory collection ids. */ + CollectionIds?: string[]; + /** An opaque token used to retrieve the next page of collection ids, if any are available. */ + ContinuationToken?: string; + + } + + export interface GetInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The filters to limit what is returned to the client. */ + Filter?: string; + + } + + export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + /** The requested inventory items. */ + Items?: InventoryItem[]; + + } + + export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { + /** An alternate ID associated with this item. */ + AlternateId?: CatalogAlternateId; + /** + * An opaque token used to retrieve the next page of items in the inventory, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. Maximum page size is 25. */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The unique ID of the item. */ + Id?: string; + + } + + export interface GetItemContainersResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of Bundles and Stores containing the requested items. */ + Containers?: CatalogItem[]; + /** An opaque token used to retrieve the next page of items, if any are available. */ + ContinuationToken?: string; + + } + export interface GetItemModerationStateRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -599,6 +1170,31 @@ declare module PlayFabEconomyModels { } + export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a + * CollectionsIdKey for the user + */ + CollectionsAccessToken?: string; + /** The date the collections access token expires */ + CollectionsAccessTokenExpirationDate: string; + + } + + export interface GooglePlayProductPurchase { + /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ + ProductId?: string; + /** The token provided to the player's device when the product was purchased */ + Token?: string; + + } + type HelpfulnessVote = "None" | "UnHelpful" @@ -622,6 +1218,44 @@ declare module PlayFabEconomyModels { } + export interface InventoryItem { + /** The amount of the item. */ + Amount: number; + /** The id of the item. This should correspond to the item id in the catalog. */ + Id?: string; + /** The stack id of the item. */ + StackId?: string; + /** The type of the item. This should correspond to the item type in the catalog. */ + Type?: string; + + } + + export interface InventoryItemReference { + /** The inventory item alternate id the request applies to. */ + AlternateId?: AlternateId; + /** The inventory item id the request applies to. */ + Id?: string; + /** The inventory stack id the request should redeem to. (Default="default") */ + StackId?: string; + + } + + export interface InventoryOperation { + /** The add operation. */ + Add?: AddInventoryItemsOperation; + /** The delete operation. */ + Delete?: DeleteInventoryItemsOperation; + /** The purchase operation. */ + Purchase?: PurchaseInventoryItemsOperation; + /** The subtract operation. */ + Subtract?: SubtractInventoryItemsOperation; + /** The transfer operation. */ + Transfer?: TransferInventoryItemsOperation; + /** The update operation. */ + Update?: UpdateInventoryItemsOperation; + + } + export interface KeywordSet { /** A list of localized keywords. */ Values?: string[]; @@ -645,20 +1279,6 @@ declare module PlayFabEconomyModels { | "Rejected"; export interface PayoutDetails { - /** The Dev Center account ID of the payee. */ - AccountSellerId?: string; - /** The tax code for payout calculations. */ - TaxCode?: string; - /** The Universal account ID of the payee. */ - Uaid?: string; - - } - - export interface PriceOverride { - - } - - export interface PricesOverride { } @@ -691,10 +1311,76 @@ declare module PlayFabEconomyModels { | "Failed" | "Canceled"; + export interface PurchaseInventoryItemsOperation { + /** The amount to purchase. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to purchase. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + /** + * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or + * specified Store. + */ + PriceAmounts?: PurchasePriceAmount[]; + /** The id of the Store to purchase the item from. */ + StoreId?: string; + + } + + export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface PurchaseOverride { } + export interface PurchasePriceAmount { + /** The amount of the inventory item to use in the purchase . */ + Amount: number; + /** The inventory item id to use in the purchase . */ + ItemId?: string; + /** The inventory stack id the to use in the purchase. Set to "default" by default */ + StackId?: string; + + } + export interface Rating { /** The average rating for this item. */ Average?: number; @@ -713,6 +1399,162 @@ declare module PlayFabEconomyModels { } + export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The receipt provided by the Apple marketplace upon successful purchase. */ + Receipt?: string; + + } + + export interface RedeemAppleAppStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The list of purchases to redeem */ + Purchases?: GooglePlayProductPurchase[]; + + } + + export interface RedeemGooglePlayInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The OneStore Collections Id Key used for AAD authentication. */ + CollectionsIdKey?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** Xbox Token used for delegated business partner authentication. */ + XboxToken?: string; + + } + + export interface RedeemMicrosoftStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemNintendoEShopInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Nintendo provided token authorizing redemption */ + NintendoServiceAccountIdToken?: string; + + } + + export interface RedeemNintendoEShopInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Authorization code provided by the PlayStation OAuth provider. */ + AuthorizationCode?: string; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** Optional Service Label to pass into the request. */ + ServiceLabel?: string; + + } + + export interface RedeemPlayStationStoreInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedeemSteamInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface RedeemSteamInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + + export interface RedemptionFailure { + /** The marketplace failure code. */ + FailureCode?: string; + /** The marketplace error details explaining why the offer failed to redeem. */ + FailureDetails?: string; + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + + } + + export interface RedemptionSuccess { + /** The transaction id in the external marketplace. */ + MarketplaceTransactionId?: string; + /** The ID of the offer being redeemed. */ + OfferId?: string; + /** The timestamp for when the redeem was completed. */ + SuccessTimestamp: string; + + } + export interface ReportItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -839,6 +1681,8 @@ declare module PlayFabEconomyModels { * be returned. */ Select?: string; + /** The store to restrict the search request to. */ + Store?: StoreReference; } @@ -869,10 +1713,14 @@ declare module PlayFabEconomyModels { } export interface StoreDetails { + /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ + FilterOptions?: FilterOptions; + /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ + PriceOptionsOverride?: CatalogPriceOptionsOverride; } - export interface StoreInfo { + export interface StoreReference { /** An alternate ID of the store. */ AlternateId?: CatalogAlternateId; /** The unique ID of the store. */ @@ -906,6 +1754,48 @@ declare module PlayFabEconomyModels { } + export interface SubtractInventoryItemsOperation { + /** The amount to subtract from the current item amount. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false). + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation applies to. */ + Item?: InventoryItemReference; + + } + + export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to add for the current item. */ + Amount: number; + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. + * (Default=false) + */ + DeleteEmptyStacks: boolean; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item the request applies to. */ + Item?: InventoryItemReference; + + } + + export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface TakedownItemReviewsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -918,6 +1808,58 @@ declare module PlayFabEconomyModels { } + export interface TransferInventoryItemsOperation { + /** The amount to transfer. */ + Amount: number; + /** + * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory item the operation is transferring from. */ + GivingItem?: InventoryItemReference; + /** The inventory item the operation is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The amount to transfer . */ + Amount: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = + * false) + */ + DeleteEmptyStacks: boolean; + /** The inventory collection id the request is transferring from. (Default="default") */ + GivingCollectionId?: string; + /** The entity the request is transferring from. Set to the caller by default. */ + GivingEntity?: EntityKey; + /** The inventory item the request is transferring from. */ + GivingItem?: InventoryItemReference; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The inventory collection id the request is transferring to. (Default="default") */ + ReceivingCollectionId?: string; + /** The entity the request is transferring to. Set to the caller by default. */ + ReceivingEntity?: EntityKey; + /** The inventory item the request is transferring to. */ + ReceivingItem?: InventoryItemReference; + + } + + export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The ids of transactions that occurred as a result of the request's giving action. */ + GivingTransactionIds?: string[]; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request's receiving action. */ + ReceivingTransactionIds?: string[]; + + } + export interface UpdateCatalogConfigRequest extends PlayFabModule.IPlayFabRequestCommon { /** The updated catalog configuration. */ Config?: CatalogConfig; @@ -946,6 +1888,34 @@ declare module PlayFabEconomyModels { } + export interface UpdateInventoryItemsOperation { + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + + } + + export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** The inventory item to update with the specified values. */ + Item?: InventoryItem; + + } + + export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The idempotency id used in the request. */ + IdempotencyId?: string; + /** The ids of transactions that occurred as a result of the request. */ + TransactionIds?: string[]; + + } + export interface UploadInfo { /** Name of the file to be uploaded. */ FileName?: string; From ba7a3fed331e7295de0ec12133d4401e46b84485 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 20 Sep 2022 23:57:31 +0000 Subject: [PATCH 162/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220920 --- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e9853bf0..2f81cbe2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 1051895f..e31162ff 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 7a447f4d..e885595f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 5842124d..c9712fe8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 60963f25..5e56aa9e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 80513b70..9ae19e5f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3ed7474c..d0199e38 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index e85a8ed9..ed9e9518 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 93f2ae1c..76c1def0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 6469e4b4..f884538d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 15c666ca..16cc541c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 9cb897ad..cd47d598 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index ceceece7..8d9a40a5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 38c3d7b4..619a669e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 3aef06f7..3565cb47 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e9853bf0..2f81cbe2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 1051895f..e31162ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 7a447f4d..e885595f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 5842124d..c9712fe8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 60963f25..5e56aa9e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 80513b70..9ae19e5f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3ed7474c..d0199e38 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index e85a8ed9..ed9e9518 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 93f2ae1c..76c1def0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 6469e4b4..f884538d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 15c666ca..16cc541c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 9cb897ad..cd47d598 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index ceceece7..8d9a40a5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 38c3d7b4..619a669e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 3aef06f7..3565cb47 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.126.220908"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 2e023abb6ff1e0c5d8db18be8a01fdc0618002da Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 26 Sep 2022 21:18:04 +0000 Subject: [PATCH 163/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#220926 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 12 ++++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 34 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 ++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 12 ++++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 34 +++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 ++++-- 35 files changed, 213 insertions(+), 125 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f79bb648..b6c4fbf0 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.126.220908", + "version": "1.129.220926", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 2f81cbe2..1bea74aa 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e31162ff..dd37d589 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, + AuthenticateGameServerWithCustomId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", callback, customData, extraHeaders); + }, + Delete: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/Delete", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e885595f..a352e510 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index c9712fe8..d5d9e357 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5e56aa9e..f9cb3fe8 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 9ae19e5f..34464572 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d0199e38..1bc84633 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ed9e9518..7bb652ed 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 76c1def0..65fd12da 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index f884538d..2dfc9b5d 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 16cc541c..5991c00d 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index cd47d598..5def4b89 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 8d9a40a5..807f1ffc 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 619a669e..3564dc0f 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 3565cb47..758860c6 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.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 6089abfe..717d301e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; + /** + * Create a game_server entity token and return a new or existing game_server entity. + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/authenticategameserverwithcustomid + */ + AuthenticateGameServerWithCustomId(request: PlayFabAuthenticationModels.AuthenticateCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete a game_server entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/delete @@ -25,6 +30,25 @@ declare module PlayFabAuthenticationModule { } declare module PlayFabAuthenticationModels { + export interface AuthenticateCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The customId used to create and retrieve game_server entity tokens. This is unique at the title level. CustomId must be + * between 32 and 100 characters. + */ + CustomId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface AuthenticateCustomIdResult extends PlayFabModule.IPlayFabResultCommon { + /** The token generated used to set X-EntityToken for game_server calls. */ + EntityToken?: EntityTokenResponse; + /** True if the account was newly created on this authentication. */ + NewlyCreated: boolean; + + } + export interface DeleteRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -61,6 +85,16 @@ declare module PlayFabAuthenticationModels { } + export interface EntityTokenResponse { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 84c97113..c8b70500 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3048,7 +3048,10 @@ declare module PlayFabMultiplayerModels { * associated with this handle. */ PubSubConnectionHandle: string; - /** The name of the resource to subscribe to. */ + /** + * The name of the resource to subscribe to. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. For + * MatchInvite, ResourceId is @me. + */ ResourceId: string; /** Version number for the subscription of this resource. Current supported version must be 1. */ SubscriptionVersion: number; @@ -3162,7 +3165,10 @@ declare module PlayFabMultiplayerModels { EntityKey: EntityKey; /** Opaque string, given to a client upon creating a connection with PubSub. */ PubSubConnectionHandle: string; - /** The resource to unsubscribe from. */ + /** + * The name of the resource to unsubscribe from. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. + * For MatchInvite, ResourceId is @me. + */ ResourceId: string; /** Version number for the unsubscription from this resource. */ SubscriptionVersion: number; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 2f81cbe2..1bea74aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e31162ff..dd37d589 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AuthenticationApi = { PlayFab._internalSettings.entityToken = null; }, + AuthenticateGameServerWithCustomId: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", callback, customData, extraHeaders); + }, + Delete: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/Delete", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e885595f..a352e510 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index c9712fe8..d5d9e357 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5e56aa9e..f9cb3fe8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 9ae19e5f..34464572 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d0199e38..1bc84633 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ed9e9518..7bb652ed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 76c1def0..65fd12da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index f884538d..2dfc9b5d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 16cc541c..5991c00d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index cd47d598..5def4b89 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 8d9a40a5..807f1ffc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 619a669e..3564dc0f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 3565cb47..758860c6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.126.220908", + sdkVersion: "1.129.220926", requestGetParams: { - sdk: "JavaScriptSDK-1.126.220908" + sdk: "JavaScriptSDK-1.129.220926" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.126.220908"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.129.220926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 6089abfe..717d301e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAuthenticationModule { export interface IPlayFabAuthentication { ForgetAllCredentials(): void; + /** + * Create a game_server entity token and return a new or existing game_server entity. + * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/authenticategameserverwithcustomid + */ + AuthenticateGameServerWithCustomId(request: PlayFabAuthenticationModels.AuthenticateCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; /** * Delete a game_server entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/delete @@ -25,6 +30,25 @@ declare module PlayFabAuthenticationModule { } declare module PlayFabAuthenticationModels { + export interface AuthenticateCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * The customId used to create and retrieve game_server entity tokens. This is unique at the title level. CustomId must be + * between 32 and 100 characters. + */ + CustomId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface AuthenticateCustomIdResult extends PlayFabModule.IPlayFabResultCommon { + /** The token generated used to set X-EntityToken for game_server calls. */ + EntityToken?: EntityTokenResponse; + /** True if the account was newly created on this authentication. */ + NewlyCreated: boolean; + + } + export interface DeleteRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -61,6 +85,16 @@ declare module PlayFabAuthenticationModels { } + export interface EntityTokenResponse { + /** The entity id and type. */ + Entity?: EntityKey; + /** The token used to set X-EntityToken for all entity based API calls. */ + EntityToken?: string; + /** The time the token will expire, if it is an expiring token, in UTC. */ + TokenExpiration?: string; + + } + export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 84c97113..c8b70500 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3048,7 +3048,10 @@ declare module PlayFabMultiplayerModels { * associated with this handle. */ PubSubConnectionHandle: string; - /** The name of the resource to subscribe to. */ + /** + * The name of the resource to subscribe to. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. For + * MatchInvite, ResourceId is @me. + */ ResourceId: string; /** Version number for the subscription of this resource. Current supported version must be 1. */ SubscriptionVersion: number; @@ -3162,7 +3165,10 @@ declare module PlayFabMultiplayerModels { EntityKey: EntityKey; /** Opaque string, given to a client upon creating a connection with PubSub. */ PubSubConnectionHandle: string; - /** The resource to unsubscribe from. */ + /** + * The name of the resource to unsubscribe from. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. + * For MatchInvite, ResourceId is @me. + */ ResourceId: string; /** Version number for the unsubscription from this resource. */ SubscriptionVersion: number; From 312a5680437fee9189f557756474472ab3562da9 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 11 Oct 2022 01:06:13 +0000 Subject: [PATCH 164/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#221010 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 16 +++++++++++----- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 6 ++---- .../src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 ++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 16 +++++++++++----- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 6 ++---- .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 ++-- 37 files changed, 145 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b6c4fbf0..6b7578b5 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.129.220926", + "version": "1.130.221010", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 1bea74aa..4e2ed269 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index dd37d589..8ee67e92 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -242,7 +242,13 @@ PlayFab.AuthenticationApi = { }, AuthenticateGameServerWithCustomId: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", callback, customData, extraHeaders); + var overloadCallback = function (result, error) { + if (result != null && result.data.EntityToken != null && result.data.EntityToken.EntityToken != null) + PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; + if (callback != null && typeof (callback) === "function") + callback(result, error); + }; + return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", overloadCallback, customData, extraHeaders); }, Delete: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index a352e510..989f3161 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index d5d9e357..b54f8d9e 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f9cb3fe8..b956e1f1 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 34464572..bb4001bc 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1bc84633..3dbe3058 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 7bb652ed..db167330 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 65fd12da..64d3c642 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2dfc9b5d..5f0ccba2 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 5991c00d..56f192f9 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 5def4b89..81536bad 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 807f1ffc..a5e8eb16 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3564dc0f..71f2a843 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 758860c6..adefd476 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.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 1b46d0e4..16a7f6d7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2397,6 +2397,8 @@ declare module PlayFabAdminModels { | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" | "StorageAccountNotFound" + | "PlayStreamConnectionFailed" + | "InvalidEventContents" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4715,8 +4717,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; /** * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to * create/update a key. @@ -4732,8 +4732,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index e09c28d1..2b29f4f8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1664,7 +1664,7 @@ declare module PlayFabEconomyModels { export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 225. Default value is 10. */ + /** Number of items to retrieve. Maximum page size is 50. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 818a5fe4..0cb9ce01 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2333,6 +2333,8 @@ declare module PlayFabServerModels { | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" | "StorageAccountNotFound" + | "PlayStreamConnectionFailed" + | "InvalidEventContents" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4579,8 +4581,6 @@ declare module PlayFabServerModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 1bea74aa..4e2ed269 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index dd37d589..8ee67e92 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -242,7 +242,13 @@ PlayFab.AuthenticationApi = { }, AuthenticateGameServerWithCustomId: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", callback, customData, extraHeaders); + var overloadCallback = function (result, error) { + if (result != null && result.data.EntityToken != null && result.data.EntityToken.EntityToken != null) + PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken; + if (callback != null && typeof (callback) === "function") + callback(result, error); + }; + return PlayFab._internalSettings.ExecuteRequestWrapper("/GameServerIdentity/AuthenticateGameServerWithCustomId", request, "X-EntityToken", overloadCallback, customData, extraHeaders); }, Delete: function (request, callback, customData, extraHeaders) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index a352e510..989f3161 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index d5d9e357..b54f8d9e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f9cb3fe8..b956e1f1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 34464572..bb4001bc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1bc84633..3dbe3058 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 7bb652ed..db167330 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 65fd12da..64d3c642 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2dfc9b5d..5f0ccba2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 5991c00d..56f192f9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 5def4b89..81536bad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 807f1ffc..a5e8eb16 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3564dc0f..71f2a843 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 758860c6..adefd476 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.129.220926", + sdkVersion: "1.130.221010", requestGetParams: { - sdk: "JavaScriptSDK-1.129.220926" + sdk: "JavaScriptSDK-1.130.221010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.129.220926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.130.221010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 1b46d0e4..16a7f6d7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2397,6 +2397,8 @@ declare module PlayFabAdminModels { | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" | "StorageAccountNotFound" + | "PlayStreamConnectionFailed" + | "InvalidEventContents" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4715,8 +4717,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataAndOverridesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; /** * List of titleData key-value pairs to set/delete. Use an empty value to delete an existing key; use a non-empty value to * create/update a key. @@ -4732,8 +4732,6 @@ declare module PlayFabAdminModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index e09c28d1..2b29f4f8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1664,7 +1664,7 @@ declare module PlayFabEconomyModels { export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 225. Default value is 10. */ + /** Number of items to retrieve. Maximum page size is 50. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 818a5fe4..0cb9ce01 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2333,6 +2333,8 @@ declare module PlayFabServerModels { | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" | "StorageAccountNotFound" + | "PlayStreamConnectionFailed" + | "InvalidEventContents" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4579,8 +4581,6 @@ declare module PlayFabServerModels { } export interface SetTitleDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; /** * key we want to set a value on (note, this is additive - will only replace an existing key's value if they are the same * name.) Keys are trimmed of whitespace. Keys may not begin with the '!' character. From dcc500f05f6742f7c0f656db5c23fac48636b55b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 24 Oct 2022 23:20:26 +0000 Subject: [PATCH 165/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#221024 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 241 +++++++------ .../PlayFab/PlayFabAuthenticationApi.d.ts | 8 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 332 +++++++++--------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 26 +- .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 14 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 86 ++--- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 4 +- .../PlayFab/PlayFabExperimentationApi.d.ts | 26 +- .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 50 +-- .../Typings/PlayFab/PlayFabInsightsApi.d.ts | 12 +- .../PlayFab/PlayFabLocalizationApi.d.ts | 2 +- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 8 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 160 ++++----- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 14 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 289 +++++++-------- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 241 +++++++------ .../PlayFab/PlayFabAuthenticationApi.d.ts | 8 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 332 +++++++++--------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 26 +- .../src/typings/PlayFab/PlayFabDataApi.d.ts | 14 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 86 ++--- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 4 +- .../PlayFab/PlayFabExperimentationApi.d.ts | 26 +- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 50 +-- .../typings/PlayFab/PlayFabInsightsApi.d.ts | 12 +- .../PlayFab/PlayFabLocalizationApi.d.ts | 2 +- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 8 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 160 ++++----- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 14 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 289 +++++++-------- 61 files changed, 1411 insertions(+), 1375 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 6b7578b5..a2e1834a 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.130.221010", + "version": "1.131.221024", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 4e2ed269..a148f777 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 8ee67e92..e089e5c9 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 989f3161..cbcbf2aa 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b54f8d9e..642e9a7b 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index b956e1f1..e11c2ff4 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index bb4001bc..b01ba97d 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3dbe3058..70d90e66 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index db167330..e5b7e932 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 64d3c642..97c7f700 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 5f0ccba2..b479d0e9 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 56f192f9..8e9a53ba 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 81536bad..c236b3e0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a5e8eb16..c0e9b3df 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 71f2a843..7e15e001 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index adefd476..54a24ce6 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.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 16a7f6d7..2fd8476f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -8,233 +8,233 @@ declare module PlayFabAdminModule { * Abort an ongoing task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/aborttaskinstance */ - AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update news item to include localized version * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addlocalizednews */ - AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a new news item to the title's news feed * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addnews */ - AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/addplayertag */ - AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + 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. * 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 }): void; + 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. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/banusers */ - BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + CheckLimitedEditionItemAvailability(request: PlayFabAdminModels.CheckLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createactionsonplayersinsegmenttask */ - CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a CloudScript task, which can run a CloudScript on a schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createcloudscripttask */ - CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a Insights Scheduled Scaling task, which can scale Insights Performance Units on a schedule * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask */ - CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection */ - CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after * this API returns. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createplayersharedsecret */ - CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval * and an aggregation method. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/createplayerstatisticdefinition */ - CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new player segment by defining the conditions on player properties. Also, create actions to target the player * segments for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment */ - CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a content file from the title. When deleting a file that does not exist, it returns success. * https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent */ - DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a master player account entirely from all titles and deletes all associated data * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayeraccount */ - DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, 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 */ - DeleteMembershipSubscription(request: PlayFabAdminModels.DeleteMembershipSubscriptionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteMembershipSubscription(request: PlayFabAdminModels.DeleteMembershipSubscriptionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a relationship between a title and an OpenID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteopenidconnection */ - DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a user's player account from a title and deletes all associated data * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deleteplayer */ - DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, 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. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteplayersharedsecret */ - DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing player segment and its associated action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment */ - DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a task. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/deletetask */ - DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Permanently deletes a title and all associated configuration * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletetitle */ - DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a specified set of title data overrides. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletetitledataoverride */ - DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Exports all associated data of a master player account * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata */ - ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not * be reflected in the results. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/exportplayersinsegment */ - ExportPlayersInSegment(request: PlayFabAdminModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExportPlayersInSegment(request: PlayFabAdminModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get information about a ActionsOnPlayersInSegment task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getactionsonplayersinsegmenttaskinstance */ - GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ - GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the contents and information of a specific Cloud Script revision. * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptrevision */ - GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get detail information about a CloudScript task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getcloudscripttaskinstance */ - GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all the current cloud script versions. For each version, information about the current published and latest * revisions is also listed. * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptversions */ - GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all contents of the title and get statistics such as size * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentlist */ - GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the * content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN * rates apply. * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentuploadurl */ - GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a download URL for the requested report * 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 }): void; + 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 }): void; + 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 }): void; + 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 }): void; + GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, 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 */ - GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the player's profile * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayerprofile */ - GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all segments that a player currently belongs to at this moment in time. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersegments */ - GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns all Player Shared Secret Keys including disabled and expired. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ - GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 @@ -243,38 +243,38 @@ declare module PlayFabAdminModule { * 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 }): void; + 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. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticdefinitions */ - GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the information on the available versions of the specified statistic. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticversions */ - GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all tags with a given Namespace (optional) from a player profile. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayertags */ - GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the requested policy. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getpolicy */ - GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getpublisherdata */ - GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls @@ -282,328 +282,328 @@ declare module PlayFabAdminModule { * the export * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport */ - GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, 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 }): void; + 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 * 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 }): void; + GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Query for task instances by task, status, or time range. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettaskinstances */ - GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get definition information on a specified task or all tasks within a title. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettasks */ - GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings which can be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitledata */ - GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings which cannot be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitleinternaldata */ - GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuseraccountinfo */ - GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets all bans for a user. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuserbans */ - GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserdata */ - GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserinternaldata */ - GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherdata */ - GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherinternaldata */ - GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherreadonlydata */ - GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserreadonlydata */ - GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + IncrementLimitedEditionItemAvailability(request: PlayFabAdminModels.IncrementLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Resets the indicated statistic, removing all player entries for it and backing up the old values. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/incrementplayerstatisticversion */ - IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of all Open ID Connect providers registered to a title. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ - ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 */ - ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, 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 */ - ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/removeplayertag */ - RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Completely removes all statistics for the specified character, for the current game * https://docs.microsoft.com/rest/api/playfab/admin/characters/resetcharacterstatistics */ - ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Reset a player's password for a given title. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/resetpassword */ - ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Completely removes all statistics for the specified user, for the current game * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/resetuserstatistics */ - ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans for a user. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeallbansforuser */ - RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans specified with BanId. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokebans */ - RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + 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. * 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 }): void; + RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Run a task immediately regardless of its schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask */ - RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/sendaccountrecoveryemail */ - SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the override expiration for a membership subscription * https://docs.microsoft.com/rest/api/playfab/admin/account-management/setmembershipoverride */ - SetMembershipOverride(request: PlayFabAdminModels.SetMembershipOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetMembershipOverride(request: PlayFabAdminModels.SetMembershipOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/setplayersecret */ - SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the currently published revision of a title Cloud Script * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/setpublishedrevision */ - SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/admin/shared-group-data/setpublisherdata */ - SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the key-value store of custom title settings which can be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ - SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set and delete key-value pairs in a title data override instance. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledataandoverrides */ - SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom title settings which cannot be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ - SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device * Messaging is not supported. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/setuppushnotification */ - SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates information of a list of existing bans specified with Ban Ids. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updatebans */ - UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be * submitted in the revision. * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ - UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection */ - UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, 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. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateplayersharedsecret */ - UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateplayerstatisticdefinition */ - UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Changes a policy for a title * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updatepolicy */ - UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates an existing player segment and its associated definition(s) and action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment */ - UpdateSegment(request: PlayFabAdminModels.UpdateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update an existing task. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/updatetask */ - UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserdata */ - UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserinternaldata */ - UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherdata */ - UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherinternaldata */ - UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherreadonlydata */ - UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserreadonlydata */ - UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title specific display name for a user * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ - UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -2821,7 +2821,16 @@ declare module PlayFabAdminModels { ContinuationToken?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ + /** + * 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 diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 717d301e..37464940 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -8,23 +8,23 @@ declare module PlayFabAuthenticationModule { * Create a game_server entity token and return a new or existing game_server entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/authenticategameserverwithcustomid */ - AuthenticateGameServerWithCustomId(request: PlayFabAuthenticationModels.AuthenticateCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AuthenticateGameServerWithCustomId(request: PlayFabAuthenticationModels.AuthenticateCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a game_server entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/delete */ - Delete(request: PlayFabAuthenticationModels.DeleteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + Delete(request: PlayFabAuthenticationModels.DeleteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/getentitytoken */ - GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Method for a server to validate a client provided EntityToken. Only callable by the title entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/validateentitytoken */ - ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 38a170e3..8a544d86 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -12,93 +12,93 @@ declare module PlayFabClientModule { * items will be swapped between the two players' inventories. * https://docs.microsoft.com/rest/api/playfab/client/trading/accepttrade */ - AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At * least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/addfriend */ - AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. * https://docs.microsoft.com/rest/api/playfab/client/account-management/addgenericid */ - AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds or updates a contact email to the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/addorupdatecontactemail */ - AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/addsharedgroupmembers */ - AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device * ID login. * https://docs.microsoft.com/rest/api/playfab/client/account-management/addusernamepassword */ - AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers the Android device to receive push notifications * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/androiddevicepushnotificationregistration */ - AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Attributes an install for advertisment. * https://docs.microsoft.com/rest/api/playfab/client/advertising/attributeinstall */ - AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other * players from accepting them, for trades that can be claimed by more than one player). * https://docs.microsoft.com/rest/api/playfab/client/trading/canceltrade */ - CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + 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. * 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 }): void; + ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the player's current entitlements from Microsoft Store's Collection API * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ - ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Checks for any new consumable entitlements. If any are found, they are consumed (if they're consumables) and added as * PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements */ - ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements */ - ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumexboxentitlements */ - ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data @@ -106,59 +106,59 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * 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 }): void; + CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, 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. * https://docs.microsoft.com/rest/api/playfab/client/server-side-cloud-script/executecloudscript */ - ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the user's PlayFab account details * https://docs.microsoft.com/rest/api/playfab/client/account-management/getaccountinfo */ - GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns a list of ad placements and a reward for each * https://docs.microsoft.com/rest/api/playfab/client/advertising/getadplacements */ - GetAdPlacements(request: PlayFabClientModels.GetAdPlacementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAdPlacements(request: PlayFabClientModels.GetAdPlacementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/client/characters/getalluserscharacters */ - GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the character which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterdata */ - GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterleaderboard */ - GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the character which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterreadonlydata */ - GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the details of all title-specific statistics for the user * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterstatistics */ - GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the @@ -168,192 +168,192 @@ declare module PlayFabClientModule { * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://docs.microsoft.com/rest/api/playfab/client/content/getcontentdownloadurl */ - GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 }): void; + 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 * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboard */ - GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab * user. If PlayFabId is empty or null will return currently logged in user. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboardaroundplayer */ - GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. * 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 }): void; + 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 }): void; + 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 */ - GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardaroundcharacter */ - GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or * null will return currently logged in user. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboardaroundplayer */ - GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of all of the user's characters for the given statistic. * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardforusercharacters */ - GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + GetPaymentToken(request: PlayFabClientModels.GetPaymentTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See * https://docs.microsoft.com/gaming/playfab/features/multiplayer/photon/quickstart for more details. * https://docs.microsoft.com/rest/api/playfab/client/authentication/getphotonauthenticationtoken */ - GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves all of the user's different kinds of info. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayercombinedinfo */ - GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, 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 */ - GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all segments that a player currently belongs to at this moment in time. * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayersegments */ - GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local * player. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatistics */ - GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the information on the available versions of the specified statistic. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatisticversions */ - GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all tags with a given Namespace (optional) from a player profile. * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayertags */ - GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets all trades the player has either opened or accepted, optionally filtered by trade status. * https://docs.microsoft.com/rest/api/playfab/client/trading/getplayertrades */ - GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, 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 */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Game identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookinstantgamesids */ - GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center * Programming Guide as the Player Identifier). * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgamecenterids */ - GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgenericids */ - GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for * the user accounts, available as "id" in the Google+ People API calls. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleids */ - GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Google Play Games identifiers. The Google Play Games * identifiers are the IDs for the user accounts, available as "playerId" in the Google Play Games Services - Players API * calls. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleplaygamesplayerids */ - GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request: PlayFabClientModels.GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request: PlayFabClientModels.GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: * http://developers.kongregate.com/docs/client/getUserId). * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromkongregateids */ - GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoserviceaccountids */ - GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids */ - GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, 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 }): void; + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNAccountIDsRequest, 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 }): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, 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: * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromtwitchids */ - GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromxboxliveids */ - GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getpublisherdata */ - GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. @@ -361,93 +361,93 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/getsharedgroupdata */ - GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current server time * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettime */ - GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitledata */ - GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title news feed, as configured in the developer portal * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitlenews */ - GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns the title's base 64 encoded RSA CSP blob. * https://docs.microsoft.com/rest/api/playfab/client/authentication/gettitlepublickey */ - GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the current status of an existing trade. * https://docs.microsoft.com/rest/api/playfab/client/trading/gettradestatus */ - GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserdata */ - GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherdata */ - GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherreadonlydata */ - GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ - GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/client/characters/grantcharactertouser */ - GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Android device identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkandroiddeviceid */ - LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Apple account associated with the token to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkapple */ - LinkApple(request: PlayFabClientModels.LinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkApple(request: PlayFabClientModels.LinkAppleRequest, 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 */ - LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookaccount */ - LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Facebook Instant Games Id to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookinstantgamesid */ - LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters @@ -455,81 +455,81 @@ declare module PlayFabClientModule { * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ - LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the currently signed-in user account to their Google account, using their Google account credentials * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleaccount */ - LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the currently signed-in user account to their Google Play Games account, using their Google Play Games account * credentials * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleplaygamesservicesaccount */ - LinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.LinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.LinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the vendor-specific iOS device identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkiosdeviceid */ - LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Kongregate identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkkongregate */ - LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Nintendo account associated with the token to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoserviceaccount */ - LinkNintendoServiceAccount(request: PlayFabClientModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoServiceAccount(request: PlayFabClientModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid */ - LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links an OpenID Connect account to a user's PlayFab account, based on an existing relationship between a title and an * Open ID Connect provider and the OpenId Connect JWT from that provider. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkopenidconnect */ - LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkpsnaccount */ - LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linksteamaccount */ - LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Twitch account associated with the token to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ - LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount */ - LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithandroiddeviceid */ - LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs in the user with a Sign in with Apple identity token. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithapple */ - LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithcustomid */ - LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the @@ -537,19 +537,19 @@ declare module PlayFabClientModule { * RegisterPlayFabUser. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithemailaddress */ - LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API * calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebook */ - LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Facebook Instant Games ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user. Requires Facebook Instant Games to be configured. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebookinstantgamesid */ - LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not @@ -558,45 +558,45 @@ declare module PlayFabClientModule { * enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ - LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using their Google account credentials * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleaccount */ - LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using their Google Play Games account credentials * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleplaygamesservices */ - LoginWithGooglePlayGamesServices(request: PlayFabClientModels.LoginWithGooglePlayGamesServicesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithGooglePlayGamesServices(request: PlayFabClientModels.LoginWithGooglePlayGamesServicesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently * be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithiosdeviceid */ - LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Kongregate player account. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithkongregate */ - LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs in the user with a Nintendo service account token. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoserviceaccount */ - LoginWithNintendoServiceAccount(request: PlayFabClientModels.LoginWithNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoServiceAccount(request: PlayFabClientModels.LoginWithNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchdeviceid */ - LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Logs in a user with an Open ID Connect JWT created by an existing relationship between a title and an Open ID Connect * provider. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithopenidconnect */ - LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of @@ -604,30 +604,30 @@ declare module PlayFabClientModule { * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithplayfab */ - LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithpsn */ - LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for * API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithsteam */ - LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Twitch access token. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ - LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithxbox */ - LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required @@ -637,60 +637,60 @@ declare module PlayFabClientModule { * GameNotFound. * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/matchmake */ - Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. * https://docs.microsoft.com/rest/api/playfab/client/trading/opentrade */ - OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Selects a payment option for purchase order created via StartPurchase * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/payforpurchase */ - PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what * the client believes the price to be. This lets the server fail the purchase if the price has changed. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/purchaseitem */ - PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/redeemcoupon */ - RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Uses the supplied OAuth code to refresh the internally cached player PlayStation :tm: Network auth token * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ - RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers the iOS device to receive push notifications * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/registerforiospushnotification */ - RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which * require an authenticated user. You must supply either a username or an email address. * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ - RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail */ - RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a specified user from the friend list of the local user * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/removefriend */ - RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified generic service identifier from the player's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removegenericid */ - RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data @@ -698,186 +698,186 @@ declare module PlayFabClientModule { * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/removesharedgroupmembers */ - RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Report player's ad activity * https://docs.microsoft.com/rest/api/playfab/client/advertising/reportadactivity */ - ReportAdActivity(request: PlayFabClientModels.ReportAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportAdActivity(request: PlayFabClientModels.ReportAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Write a PlayStream event to describe the provided player device information. This API method is not designed to be * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. * https://docs.microsoft.com/rest/api/playfab/client/analytics/reportdeviceinfo */ - ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. * https://docs.microsoft.com/rest/api/playfab/client/account-management/reportplayer */ - ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Restores all in-app purchases based on the given restore receipt * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ - RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Reward player's ad activity * https://docs.microsoft.com/rest/api/playfab/client/advertising/rewardadactivity */ - RewardAdActivity(request: PlayFabClientModels.RewardAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RewardAdActivity(request: PlayFabClientModels.RewardAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. * https://docs.microsoft.com/rest/api/playfab/client/account-management/sendaccountrecoveryemail */ - SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the tag list for a specified user in the friend list of the local user * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/setfriendtags */ - SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. * https://docs.microsoft.com/rest/api/playfab/client/authentication/setplayersecret */ - SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates an order for a list of items from the title catalog * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase */ - StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/subtractuservirtualcurrency */ - SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Android device identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkandroiddeviceid */ - UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Apple account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkapple */ - UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid */ - UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Facebook account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookaccount */ - UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Facebook Instant Game Ids from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookinstantgamesid */ - UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Game Center account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgamecenteraccount */ - UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Google account from the user's PlayFab account * (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleaccount */ - UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Google Play Games account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleplaygamesservicesaccount */ - UnlinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.UnlinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.UnlinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related iOS device identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkiosdeviceid */ - UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Kongregate identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkkongregate */ - UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoserviceaccount */ - UnlinkNintendoServiceAccount(request: PlayFabClientModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoServiceAccount(request: PlayFabClientModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid */ - UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks an OpenID Connect account from a user's PlayFab account, based on the connection ID of an existing relationship * between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkopenidconnect */ - UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ - UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Steam account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinksteamaccount */ - UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Twitch account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ - UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount */ - UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, * consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontainerinstance */ - UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontaineritem */ - UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update the avatar URL of the player * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateavatarurl */ - UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/character-data/updatecharacterdata */ - UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the specific character. By default, clients are not * permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. * https://docs.microsoft.com/rest/api/playfab/client/characters/updatecharacterstatistics */ - UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateplayerstatistics */ - UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. @@ -886,60 +886,60 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/updatesharedgroupdata */ - UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserdata */ - UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserpublisherdata */ - UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title specific display name for the user * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateusertitledisplayname */ - UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the * purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateamazoniapreceipt */ - ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates a Google Play purchase and gives the corresponding item to the player. * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validategoogleplaypurchase */ - ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased * catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateiosreceipt */ - ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the * purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validatewindowsstorereceipt */ - ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a character-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/client/analytics/writecharacterevent */ - WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a player-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/client/analytics/writeplayerevent */ - WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a title-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/client/analytics/writetitleevent */ - WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 4dbdf608..aeeadf80 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -9,68 +9,68 @@ declare module PlayFabCloudScriptModule { * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executeentitycloudscript */ - ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executefunction */ - ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets registered Azure Functions for a given title id and function name. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/getfunction */ - GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions */ - ListFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered HTTP triggered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listhttpfunctions */ - ListHttpFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListHttpFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered Queue triggered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listqueuedfunctions */ - ListQueuedFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListQueuedFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate an entity PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforentitytriggeredaction */ - PostFunctionResultForEntityTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForEntityTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForEntityTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForEntityTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate an entity PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforfunctionexecution */ - PostFunctionResultForFunctionExecution(request: PlayFabCloudScriptModels.PostFunctionResultForFunctionExecutionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForFunctionExecution(request: PlayFabCloudScriptModels.PostFunctionResultForFunctionExecutionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate a player PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforplayertriggeredaction */ - PostFunctionResultForPlayerTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForPlayerTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForPlayerTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForPlayerTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate a PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforscheduledtask */ - PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers an HTTP triggered Azure function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerhttpfunction */ - RegisterHttpFunction(request: PlayFabCloudScriptModels.RegisterHttpFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterHttpFunction(request: PlayFabCloudScriptModels.RegisterHttpFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a queue triggered Azure Function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerqueuedfunction */ - RegisterQueuedFunction(request: PlayFabCloudScriptModels.RegisterQueuedFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterQueuedFunction(request: PlayFabCloudScriptModels.RegisterQueuedFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unregisters an Azure Function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/unregisterfunction */ - UnregisterFunction(request: PlayFabCloudScriptModels.UnregisterFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnregisterFunction(request: PlayFabCloudScriptModels.UnregisterFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index e0a633ff..ec9909ef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -8,37 +8,37 @@ declare module PlayFabDataModule { * Abort pending file uploads to an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/abortfileuploads */ - AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete files on an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/deletefiles */ - DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Finalize file uploads to an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/finalizefileuploads */ - FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves file metadata from an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/getfiles */ - GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves objects from an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/object/getobjects */ - GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Initiates file uploads to an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/initiatefileuploads */ - InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets objects on an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/object/setobjects */ - SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 2b29f4f8..a73a7d00 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -8,218 +8,218 @@ declare module PlayFabEconomyModule { * Add inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems */ - AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem */ - CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates one or more upload URLs which can be used by the client to upload raw file data. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls */ - CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ - DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete an Inventory Collection * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection */ - DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete inventory items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems */ - DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ - DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Execute a list of Inventory Operations * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ - ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig */ - GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an item from the working catalog. This item represents the current working state of the item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem */ - GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a paginated list of the items from the draft catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems */ - GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a paginated list of the items from the draft catalog created by the Entity. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems */ - GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the submitted review for the specified item by the authenticated entity. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ - GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get Inventory Collection Ids * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids */ - GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get current inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems */ - GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ - GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Search for a given item and return a set of bundles and stores containing the item * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers */ - GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate */ - GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the status of a publish of an item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus */ - GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a paginated set of reviews associated with the specified item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews */ - GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a summary of all reviews associated with the specified item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary */ - GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves items from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ - GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the access tokens. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens */ - GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ - PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Purchase an item or bundle * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems */ - PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems */ - RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems */ - RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems */ - RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems */ - RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems */ - RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems */ - RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem */ - ReportItem(request: PlayFabEconomyModels.ReportItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportItem(request: PlayFabEconomyModels.ReportItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report for a review * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview */ - ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates or updates a review for the specified item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem */ - ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Executes a search against the public catalog using the provided search parameters and returns a set of paginated * results. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems */ - SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate */ - SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a vote for a review, indicating whether the review was helpful or unhelpful. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ - SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Subtract inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems */ - SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ - TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Transfer inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ - TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig */ - UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update the metadata for an item in the working catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ - UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update inventory items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems */ - UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 2d9b9edf..105a132a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -8,13 +8,13 @@ declare module PlayFabEventsModule { * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents */ - WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start * with 'custom.' * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writetelemetryevents */ - WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts index 9b6f778f..07e0c851 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -8,67 +8,67 @@ declare module PlayFabExperimentationModule { * Creates a new experiment exclusion group for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup */ - CreateExclusionGroup(request: PlayFabExperimentationModels.CreateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateExclusionGroup(request: PlayFabExperimentationModels.CreateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment */ - CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing exclusion group for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup */ - DeleteExclusionGroup(request: PlayFabExperimentationModels.DeleteExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteExclusionGroup(request: PlayFabExperimentationModels.DeleteExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment */ - DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the details of all exclusion groups for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups */ - GetExclusionGroups(request: PlayFabExperimentationModels.GetExclusionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetExclusionGroups(request: PlayFabExperimentationModels.GetExclusionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the details of all exclusion groups for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic */ - GetExclusionGroupTraffic(request: PlayFabExperimentationModels.GetExclusionGroupTrafficRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetExclusionGroupTraffic(request: PlayFabExperimentationModels.GetExclusionGroupTrafficRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the details of all experiments for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments */ - GetExperiments(request: PlayFabExperimentationModels.GetExperimentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetExperiments(request: PlayFabExperimentationModels.GetExperimentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the latest scorecard of the experiment for the title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getlatestscorecard */ - GetLatestScorecard(request: PlayFabExperimentationModels.GetLatestScorecardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLatestScorecard(request: PlayFabExperimentationModels.GetLatestScorecardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the treatment assignments for a player for every running experiment in the title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/gettreatmentassignment */ - GetTreatmentAssignment(request: PlayFabExperimentationModels.GetTreatmentAssignmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTreatmentAssignment(request: PlayFabExperimentationModels.GetTreatmentAssignmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Starts an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/startexperiment */ - StartExperiment(request: PlayFabExperimentationModels.StartExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + StartExperiment(request: PlayFabExperimentationModels.StartExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Stops an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/stopexperiment */ - StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates an existing exclusion group for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup */ - UpdateExclusionGroup(request: PlayFabExperimentationModels.UpdateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateExclusionGroup(request: PlayFabExperimentationModels.UpdateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment */ - UpdateExperiment(request: PlayFabExperimentationModels.UpdateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateExperiment(request: PlayFabExperimentationModels.UpdateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 3d270c72..16f98aba 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -8,127 +8,127 @@ declare module PlayFabGroupsModule { * Accepts an outstanding invitation to to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupapplication */ - AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Accepts an invitation to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupinvitation */ - AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds members to a group or role. * https://docs.microsoft.com/rest/api/playfab/groups/groups/addmembers */ - AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Applies to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/applytogroup */ - ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Blocks a list of entities from joining a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/blockentity */ - BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Changes the role membership of a list of entities from one role to another. * https://docs.microsoft.com/rest/api/playfab/groups/groups/changememberrole */ - ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/creategroup */ - CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new group role. * https://docs.microsoft.com/rest/api/playfab/groups/groups/createrole */ - CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a group and all roles, invitations, join requests, and blocks associated with it. * https://docs.microsoft.com/rest/api/playfab/groups/groups/deletegroup */ - DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing role in a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/deleterole */ - DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets information about a group and its roles * https://docs.microsoft.com/rest/api/playfab/groups/groups/getgroup */ - GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Invites a player to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/invitetogroup */ - InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Checks to see if an entity is a member of a group or role within the group * https://docs.microsoft.com/rest/api/playfab/groups/groups/ismember */ - IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all outstanding requests to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupapplications */ - ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all entities blocked from joining a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupblocks */ - ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all outstanding invitations for a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupinvitations */ - ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all members for a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupmembers */ - ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all groups and roles for an entity * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembership */ - ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all outstanding invitations and group applications for an entity * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembershipopportunities */ - ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes an application to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupapplication */ - RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes an invitation join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupinvitation */ - RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes members from a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/removemembers */ - RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unblocks a list of entities from joining a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/unblockentity */ - UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates non-membership data about a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/updategroup */ - UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates metadata about a role. * https://docs.microsoft.com/rest/api/playfab/groups/groups/updaterole */ - UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts index b3dedede..c9389833 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts @@ -9,33 +9,33 @@ declare module PlayFabInsightsModule { * performance and data storage retention limits. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getdetails */ - GetDetails(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetDetails(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the range of allowed values for performance and data storage retention values as well as the submeter details * for each performance level. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getlimits */ - GetLimits(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLimits(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the status of a SetPerformance or SetStorageRetention operation. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getoperationstatus */ - GetOperationStatus(request: PlayFabInsightsModels.InsightsGetOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetOperationStatus(request: PlayFabInsightsModels.InsightsGetOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a list of pending SetPerformance and/or SetStorageRetention operations for the title. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getpendingoperations */ - GetPendingOperations(request: PlayFabInsightsModels.InsightsGetPendingOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPendingOperations(request: PlayFabInsightsModels.InsightsGetPendingOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the Insights performance level value for the title. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setperformance */ - SetPerformance(request: PlayFabInsightsModels.InsightsSetPerformanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPerformance(request: PlayFabInsightsModels.InsightsSetPerformanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the Insights data storage retention days value for the title. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setstorageretention */ - SetStorageRetention(request: PlayFabInsightsModels.InsightsSetStorageRetentionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetStorageRetention(request: PlayFabInsightsModels.InsightsSetStorageRetentionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts index 4f46491e..f6dc8f6f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -8,7 +8,7 @@ declare module PlayFabLocalizationModule { * Retrieves the list of allowed languages, only accessible by title entities * https://docs.microsoft.com/rest/api/playfab/localization/localization/getlanguagelist */ - GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 966aff01..63daa491 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -8,23 +8,23 @@ declare module PlayFabMatchmakerModule { * Validates a user with the PlayFab service * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/authuser */ - AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerjoined */ - PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft */ - PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute * effective matches * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/userinfo */ - UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index c8b70500..a6f74eb9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -8,411 +8,411 @@ declare module PlayFabMultiplayerModule { * Cancel all active tickets the player is a member of in a given queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallmatchmakingticketsforplayer */ - CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancel all active backfill tickets the player is a member of in a given queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallserverbackfillticketsforplayer */ - CancelAllServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelAllServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancel a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelmatchmakingticket */ - CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancel a server backfill ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelserverbackfillticket */ - CancelServerBackfillTicket(request: PlayFabMultiplayerModels.CancelServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelServerBackfillTicket(request: PlayFabMultiplayerModels.CancelServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildalias */ - CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build with a custom container. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithcustomcontainer */ - CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build with a managed container. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithmanagedcontainer */ - CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build with the server running as a process. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithprocessbasedserver */ - CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/createlobby */ - CreateLobby(request: PlayFabMultiplayerModels.CreateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateLobby(request: PlayFabMultiplayerModels.CreateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a matchmaking ticket as a client. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket */ - CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createremoteuser */ - CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a backfill matchmaking ticket as a server. A backfill ticket represents an ongoing game. The matchmaking service * automatically starts matching the backfill ticket against other matchmaking tickets. Backfill tickets cannot match with * other backfill tickets. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createserverbackfillticket */ - CreateServerBackfillTicket(request: PlayFabMultiplayerModels.CreateServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateServerBackfillTicket(request: PlayFabMultiplayerModels.CreateServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other * matchmaking tickets. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ - CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a request to change a title's multiplayer server quotas. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange */ - CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset */ - DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuild */ - DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildalias */ - DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a multiplayer server build's region. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildregion */ - DeleteBuildRegion(request: PlayFabMultiplayerModels.DeleteBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteBuildRegion(request: PlayFabMultiplayerModels.DeleteBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate */ - DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a container image repository. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecontainerimagerepository */ - DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/deletelobby */ - DeleteLobby(request: PlayFabMultiplayerModels.DeleteLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteLobby(request: PlayFabMultiplayerModels.DeleteLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser */ - DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Enables the multiplayer server feature for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle */ - EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Find lobbies which match certain criteria, and which friends are in. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findfriendlobbies */ - FindFriendLobbies(request: PlayFabMultiplayerModels.FindFriendLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + FindFriendLobbies(request: PlayFabMultiplayerModels.FindFriendLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Find all the lobbies that match certain criteria. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findlobbies */ - FindLobbies(request: PlayFabMultiplayerModels.FindLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + FindLobbies(request: PlayFabMultiplayerModels.FindLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl */ - GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the URL to upload assets to. A sample pre-authenticated url - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ - GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuild */ - GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuildalias */ - GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the credentials to the container registry. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getcontainerregistrycredentials */ - GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/getlobby */ - GetLobby(request: PlayFabMultiplayerModels.GetLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLobby(request: PlayFabMultiplayerModels.GetLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a match. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch */ - GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. Get a matchmaking queue configuration. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/getmatchmakingqueue */ - GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a matchmaking ticket by ticket Id. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket */ - GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets multiplayer server session details for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverdetails */ - GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets multiplayer server logs after a server has terminated. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverlogs */ - GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets multiplayer server logs after a server has terminated. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayersessionlogsbysessionid */ - GetMultiplayerSessionLogsBySessionId(request: PlayFabMultiplayerModels.GetMultiplayerSessionLogsBySessionIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMultiplayerSessionLogsBySessionId(request: PlayFabMultiplayerModels.GetMultiplayerSessionLogsBySessionIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the statistics for a queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getqueuestatistics */ - GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getremoteloginendpoint */ - GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a matchmaking backfill ticket by ticket Id. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getserverbackfillticket */ - GetServerBackfillTicket(request: PlayFabMultiplayerModels.GetServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetServerBackfillTicket(request: PlayFabMultiplayerModels.GetServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the status of whether a title is enabled for the multiplayer server feature. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ - GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a title's server quota change request. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange */ - GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas */ - GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Send a notification to invite a player to a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/invitetolobby */ - InviteToLobby(request: PlayFabMultiplayerModels.InviteToLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + InviteToLobby(request: PlayFabMultiplayerModels.InviteToLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join an Arranged lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinarrangedlobby */ - JoinArrangedLobby(request: PlayFabMultiplayerModels.JoinArrangedLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + JoinArrangedLobby(request: PlayFabMultiplayerModels.JoinArrangedLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobby */ - JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket */ - JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Leave a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobby */ - LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists archived multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers */ - ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists multiplayer server game assets for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listassetsummaries */ - ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists details of all build aliases for a title. Accepts tokens for title and if game client access is enabled, allows * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummariesv2 */ - ListBuildSummariesV2(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildSummariesV2(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists multiplayer server game certificates for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcertificatesummaries */ - ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists custom container images for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimages */ - ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists the tags for a custom container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimagetags */ - ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. List all matchmaking queue configs. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/listmatchmakingqueues */ - ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all matchmaking ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listmatchmakingticketsforplayer */ - ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listmultiplayerservers */ - ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists quality of service servers for party. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listpartyqosservers */ - ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists quality of service servers for the title. By default, servers are only returned for regions where a Multiplayer * Servers build has been deployed. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ - ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all server backfill ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ - ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all server quota change requests for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges */ - ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries */ - ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. Remove a matchmaking queue config. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/removematchmakingqueue */ - RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Remove a member from a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/removemember */ - RemoveMember(request: PlayFabMultiplayerModels.RemoveMemberFromLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMember(request: PlayFabMultiplayerModels.RemoveMemberFromLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestmultiplayerserver */ - RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Rolls over the credentials to the container registry. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials */ - RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. Create or update a matchmaking queue configuration. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/setmatchmakingqueue */ - SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Shuts down a multiplayer server session. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver */ - ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Subscribe to lobby resource notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/subscribetolobbyresource */ - SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Subscribe to match resource notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/subscribetomatchmakingresource */ - SubscribeToMatchmakingResource(request: PlayFabMultiplayerModels.SubscribeToMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubscribeToMatchmakingResource(request: PlayFabMultiplayerModels.SubscribeToMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unsubscribe from lobby notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/unsubscribefromlobbyresource */ - UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unsubscribe from match resource notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/unsubscribefrommatchmakingresource */ - UnsubscribeFromMatchmakingResource(request: PlayFabMultiplayerModels.UnsubscribeFromMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnsubscribeFromMatchmakingResource(request: PlayFabMultiplayerModels.UnsubscribeFromMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Untags a container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage */ - UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ - UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a multiplayer server build's name. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname */ - UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion */ - UpdateBuildRegion(request: PlayFabMultiplayerModels.UpdateBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildRegion(request: PlayFabMultiplayerModels.UpdateBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a multiplayer server build's regions. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions */ - UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobby */ - UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Uploads a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate */ - UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 2d3baf15..ca19b112 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -8,38 +8,38 @@ declare module PlayFabProfilesModule { * Gets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getglobalpolicy */ - GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the entity's profile. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofile */ - GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the entity's profile. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofiles */ - GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title player accounts associated with the given master player account. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids */ - GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy */ - SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account * language, Master Player Account language, and then title default language if the first two aren't set or supported. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilelanguage */ - SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the profiles access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilepolicy */ - SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 0cb9ce01..8e2d2736 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -8,25 +8,25 @@ declare module PlayFabServerModule { * Increments the character's balance of the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency */ - AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the Friend user to the friendlist of the user with PlayFabId. At least one of * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/addfriend */ - AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. * https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid */ - AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag */ - AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small @@ -34,32 +34,32 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/addsharedgroupmembers */ - AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Increments the user's balance of the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/adduservirtualcurrency */ - AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validated a client's session ticket, and if successful, returns details for that user * https://docs.microsoft.com/rest/api/playfab/server/authentication/authenticatesessionticket */ - AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Awards the specified users the specified Steam achievements * https://docs.microsoft.com/rest/api/playfab/server/platform-specific-methods/awardsteamachievement */ - AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/account-management/banusers */ - BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BanUsers(request: PlayFabServerModels.BanUsersRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/consumeitem */ - ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data @@ -67,93 +67,93 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/createsharedgroup */ - CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes the specific character ID from the specified user. * https://docs.microsoft.com/rest/api/playfab/server/characters/deletecharacterfromuser */ - DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a user's player account from a title and deletes all associated data * https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer */ - DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes push notification template for title * https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate */ - DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup */ - DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Inform the matchmaker that a Game Server Instance is removed. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/deregistergame */ - DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable */ - EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ - ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ - GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/server/characters/getalluserscharacters */ - GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAllUsersCharacters(request: PlayFabServerModels.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 * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getcatalogitems */ - GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterdata */ - GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user's character which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterinternaldata */ - GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the specified character's current inventory of virtual goods * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getcharacterinventory */ - GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterleaderboard */ - GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user's character which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterreadonlydata */ - GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the details of all title-specific statistics for the specific character * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterstatistics */ - GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the @@ -163,55 +163,55 @@ declare module PlayFabServerModule { * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://docs.microsoft.com/rest/api/playfab/server/content/getcontentdownloadurl */ - GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the * leaderboard * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getfriendleaderboard */ - GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/getfriendslist */ - GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, 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/server/player-data-management/getleaderboard */ - GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested user * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardaroundcharacter */ - GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboardarounduser */ - GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of all of the user's characters for the given statistic. * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardforusercharacters */ - GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be * returned. All parameters default to false. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo */ - GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the player's profile * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile */ - GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all segments that a player currently belongs to at this moment in time. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ - GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span @@ -220,296 +220,296 @@ declare module PlayFabServerModule { * called 30 times in one minute. You will be returned an error if you exceed this threshold. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current version and values for the indicated statistics, for the local player. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics */ - GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the information on the available versions of the specified statistic. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatisticversions */ - GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all tags with a given Namespace (optional) from a player profile. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags */ - GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, 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/server/account-management/getplayfabidsfromfacebookids */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookinstantgamesids */ - GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids */ - GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoserviceaccountids */ - GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids */ - GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, 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/server/account-management/getplayfabidsfrompsnaccountids */ - GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, 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/server/account-management/getplayfabidsfromsteamids */ - GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, 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: * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromtwitchids */ - GetPlayFabIDsFromTwitchIDs(request: PlayFabServerModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromTwitchIDs(request: PlayFabServerModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids */ - GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getpublisherdata */ - GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the configuration information for the specified random results tables for the title, including all ItemId * values and weights * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ - GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids */ - GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all * public and private group data. Shared Groups are designed for sharing data between a very small number of players, * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/getsharedgroupdata */ - GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetSharedGroupData(request: PlayFabServerModels.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, for the specified player * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems */ - GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current server time * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettime */ - GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitledata */ - GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom internal title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitleinternaldata */ - GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title news feed, as configured in the developer portal * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitlenews */ - GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the relevant details for a specified user * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuseraccountinfo */ - GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets all bans for a user. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuserbans */ - GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserdata */ - GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserinternaldata */ - GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the specified user's current inventory of virtual goods * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getuserinventory */ - GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherdata */ - GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherinternaldata */ - GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherreadonlydata */ - GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserreadonlydata */ - GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/server/characters/grantcharactertouser */ - GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified items to the specified character's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter */ - GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified items to the specified user's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser */ - GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified items to the specified user inventories * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ - GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Nintendo account associated with the token to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount */ - LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid */ - LinkNintendoSwitchDeviceId(request: PlayFabServerModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoSwitchDeviceId(request: PlayFabServerModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount */ - LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the custom server identifier, generated by the title, to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid */ - LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ - LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ - LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which * require an authenticated user * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid */ - LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxbox */ - LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API * calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxboxid */ - LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies the number of remaining uses of a player's inventory item * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses */ - ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Moves an item from a character's inventory into another of the users's character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter */ - MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Moves an item from a user's inventory into their character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser */ - MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Moves an item from a character's inventory into the owning user's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ - MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Informs the PlayFab match-making service that the user specified has left the Game Server Instance * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/notifymatchmakerplayerleft */ - NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ - RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates a Game Server session ticket and returns details about the user * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/redeemmatchmakerticket */ - RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ - RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Inform the matchmaker that a new Game Server Instance is added. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend */ - RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified generic service identifier from the player's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/removegenericid */ - RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/server/playstream/removeplayertag */ - RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data @@ -517,146 +517,146 @@ declare module PlayFabServerModule { * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/removesharedgroupmembers */ - RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service * representatives for the title can take action concerning potentially toxic players. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/reportplayer */ - ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans for a user. * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokeallbansforuser */ - RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans specified with BanId. * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokebans */ - RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revokes access to an item in a user's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitem */ - RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revokes access for up to 25 items across multiple users and characters. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitems */ - RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Saves push notification template for title * https://docs.microsoft.com/rest/api/playfab/server/account-management/savepushnotificationtemplate */ - SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendcustomaccountrecoveryemail */ - SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sends an email based on an email template to a player's contact email * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendemailfromtemplate */ - SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotification */ - SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotificationfromtemplate */ - SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the tag list for a specified user in the friend list of another user * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags */ - SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the custom data of the indicated Game Server Instance * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancedata */ - SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set the state of the indicated Game Server Instance. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancestate */ - SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set custom tags for the specified Game Server Instance * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancetags */ - SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. * https://docs.microsoft.com/rest/api/playfab/server/authentication/setplayersecret */ - SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/setpublisherdata */ - SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitledata */ - SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitleinternaldata */ - SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency */ - SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ - SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount */ - UnlinkNintendoServiceAccount(request: PlayFabServerModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoServiceAccount(request: PlayFabServerModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoswitchdeviceid */ - UnlinkNintendoSwitchDeviceId(request: PlayFabServerModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoSwitchDeviceId(request: PlayFabServerModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount */ - UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the custom server identifier from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid */ - UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount */ - UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance */ - UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) @@ -664,42 +664,42 @@ declare module PlayFabServerModule { * ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem */ - UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update the avatar URL of the specified player * https://docs.microsoft.com/rest/api/playfab/server/account-management/updateavatarurl */ - UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates information of a list of existing bans specified with Ban Ids. * https://docs.microsoft.com/rest/api/playfab/server/account-management/updatebans */ - UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user's character which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterdata */ - UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user's character which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterinternaldata */ - UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user's character which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterreadonlydata */ - UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the specific character * https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics */ - UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics */ - UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. @@ -708,57 +708,57 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/updatesharedgroupdata */ - UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserdata */ - UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserinternaldata */ - UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value pair data tagged to the specified item, which is read-only from the client. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata */ - UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherdata */ - UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherinternaldata */ - UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherreadonlydata */ - UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserreadonlydata */ - UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a character-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/server/analytics/writecharacterevent */ - WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a player-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/server/analytics/writeplayerevent */ - WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a title-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/server/analytics/writetitleevent */ - WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -2916,7 +2916,16 @@ declare module PlayFabServerModels { ContinuationToken?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ + /** + * 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 diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 4e2ed269..a148f777 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 8ee67e92..e089e5c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 989f3161..cbcbf2aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b54f8d9e..642e9a7b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index b956e1f1..e11c2ff4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index bb4001bc..b01ba97d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3dbe3058..70d90e66 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index db167330..e5b7e932 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 64d3c642..97c7f700 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 5f0ccba2..b479d0e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 56f192f9..8e9a53ba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 81536bad..c236b3e0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a5e8eb16..c0e9b3df 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 71f2a843..7e15e001 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index adefd476..54a24ce6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.130.221010", + sdkVersion: "1.131.221024", requestGetParams: { - sdk: "JavaScriptSDK-1.130.221010" + sdk: "JavaScriptSDK-1.131.221024" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.130.221010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.131.221024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 16a7f6d7..2fd8476f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -8,233 +8,233 @@ declare module PlayFabAdminModule { * Abort an ongoing task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/aborttaskinstance */ - AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AbortTaskInstance(request: PlayFabAdminModels.AbortTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update news item to include localized version * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addlocalizednews */ - AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddLocalizedNews(request: PlayFabAdminModels.AddLocalizedNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a new news item to the title's news feed * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addnews */ - AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddNews(request: PlayFabAdminModels.AddNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/addplayertag */ - AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + 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. * 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 }): void; + 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. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/banusers */ - BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + CheckLimitedEditionItemAvailability(request: PlayFabAdminModels.CheckLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create an ActionsOnPlayersInSegment task, which iterates through all players in a segment to execute action. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createactionsonplayersinsegmenttask */ - CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateActionsOnPlayersInSegmentTask(request: PlayFabAdminModels.CreateActionsOnPlayerSegmentTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a CloudScript task, which can run a CloudScript on a schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createcloudscripttask */ - CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateCloudScriptTask(request: PlayFabAdminModels.CreateCloudScriptTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a Insights Scheduled Scaling task, which can scale Insights Performance Units on a schedule * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask */ - CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection */ - CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateOpenIdConnection(request: PlayFabAdminModels.CreateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new Player Shared Secret Key. It may take up to 5 minutes for this key to become generally available after * this API returns. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createplayersharedsecret */ - CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreatePlayerSharedSecret(request: PlayFabAdminModels.CreatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a new player statistic configuration to the title, optionally allowing the developer to specify a reset interval * and an aggregation method. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/createplayerstatisticdefinition */ - CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreatePlayerStatisticDefinition(request: PlayFabAdminModels.CreatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new player segment by defining the conditions on player properties. Also, create actions to target the player * segments for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/createsegment */ - CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateSegment(request: PlayFabAdminModels.CreateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a content file from the title. When deleting a file that does not exist, it returns success. * https://docs.microsoft.com/rest/api/playfab/admin/content/deletecontent */ - DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteContent(request: PlayFabAdminModels.DeleteContentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a master player account entirely from all titles and deletes all associated data * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayeraccount */ - DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, 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 */ - DeleteMembershipSubscription(request: PlayFabAdminModels.DeleteMembershipSubscriptionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteMembershipSubscription(request: PlayFabAdminModels.DeleteMembershipSubscriptionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a relationship between a title and an OpenID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteopenidconnection */ - DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteOpenIdConnection(request: PlayFabAdminModels.DeleteOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a user's player account from a title and deletes all associated data * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deleteplayer */ - DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, 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. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/deleteplayersharedsecret */ - DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePlayerSharedSecret(request: PlayFabAdminModels.DeletePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing player segment and its associated action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/deletesegment */ - DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a task. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/deletetask */ - DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTask(request: PlayFabAdminModels.DeleteTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Permanently deletes a title and all associated configuration * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletetitle */ - DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTitle(request: PlayFabAdminModels.DeleteTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a specified set of title data overrides. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletetitledataoverride */ - DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteTitleDataOverride(request: PlayFabAdminModels.DeleteTitleDataOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Exports all associated data of a master player account * https://docs.microsoft.com/rest/api/playfab/admin/account-management/exportmasterplayerdata */ - ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExportMasterPlayerData(request: PlayFabAdminModels.ExportMasterPlayerDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not * be reflected in the results. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/exportplayersinsegment */ - ExportPlayersInSegment(request: PlayFabAdminModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExportPlayersInSegment(request: PlayFabAdminModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get information about a ActionsOnPlayersInSegment task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getactionsonplayersinsegmenttaskinstance */ - GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ - GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the contents and information of a specific Cloud Script revision. * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptrevision */ - GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCloudScriptRevision(request: PlayFabAdminModels.GetCloudScriptRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get detail information about a CloudScript task instance. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/getcloudscripttaskinstance */ - GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCloudScriptTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all the current cloud script versions. For each version, information about the current published and latest * revisions is also listed. * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/getcloudscriptversions */ - GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCloudScriptVersions(request: PlayFabAdminModels.GetCloudScriptVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all contents of the title and get statistics such as size * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentlist */ - GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContentList(request: PlayFabAdminModels.GetContentListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the pre-signed URL for uploading a content file. A subsequent HTTP PUT to the returned URL uploads the * content. Also, please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN * rates apply. * https://docs.microsoft.com/rest/api/playfab/admin/content/getcontentuploadurl */ - GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContentUploadUrl(request: PlayFabAdminModels.GetContentUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a download URL for the requested report * 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 }): void; + 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 }): void; + 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 }): void; + 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 }): void; + GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, 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 */ - GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerIdFromAuthToken(request: PlayFabAdminModels.GetPlayerIdFromAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the player's profile * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayerprofile */ - GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerProfile(request: PlayFabAdminModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all segments that a player currently belongs to at this moment in time. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersegments */ - GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerSegments(request: PlayFabAdminModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns all Player Shared Secret Keys including disabled and expired. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ - GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 @@ -243,38 +243,38 @@ declare module PlayFabAdminModule { * 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 }): void; + 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. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticdefinitions */ - GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticDefinitions(request: PlayFabAdminModels.GetPlayerStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the information on the available versions of the specified statistic. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayerstatisticversions */ - GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticVersions(request: PlayFabAdminModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all tags with a given Namespace (optional) from a player profile. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayertags */ - GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTags(request: PlayFabAdminModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the requested policy. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getpolicy */ - GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPolicy(request: PlayFabAdminModels.GetPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getpublisherdata */ - GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls @@ -282,328 +282,328 @@ declare module PlayFabAdminModule { * the export * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport */ - GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, 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 }): void; + 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 * 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 }): void; + GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Query for task instances by task, status, or time range. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettaskinstances */ - GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTaskInstances(request: PlayFabAdminModels.GetTaskInstancesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get definition information on a specified task or all tasks within a title. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/gettasks */ - GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTasks(request: PlayFabAdminModels.GetTasksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings which can be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitledata */ - GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings which cannot be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/gettitleinternaldata */ - GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleInternalData(request: PlayFabAdminModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the relevant details for a specified user, based upon a match against a supplied unique identifier * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuseraccountinfo */ - GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserAccountInfo(request: PlayFabAdminModels.LookupUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets all bans for a user. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getuserbans */ - GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserBans(request: PlayFabAdminModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserdata */ - GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserinternaldata */ - GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherdata */ - GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherinternaldata */ - GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserpublisherreadonlydata */ - GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getuserreadonlydata */ - GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + IncrementLimitedEditionItemAvailability(request: PlayFabAdminModels.IncrementLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Resets the indicated statistic, removing all player entries for it and backing up the old values. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/incrementplayerstatisticversion */ - IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + IncrementPlayerStatisticVersion(request: PlayFabAdminModels.IncrementPlayerStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of all Open ID Connect providers registered to a title. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ - ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 */ - ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, 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 */ - ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/removeplayertag */ - RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Completely removes all statistics for the specified character, for the current game * https://docs.microsoft.com/rest/api/playfab/admin/characters/resetcharacterstatistics */ - ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ResetCharacterStatistics(request: PlayFabAdminModels.ResetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Reset a player's password for a given title. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/resetpassword */ - ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ResetPassword(request: PlayFabAdminModels.ResetPasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Completely removes all statistics for the specified user, for the current game * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/resetuserstatistics */ - ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans for a user. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeallbansforuser */ - RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeAllBansForUser(request: PlayFabAdminModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans specified with BanId. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokebans */ - RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + 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. * 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 }): void; + RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Run a task immediately regardless of its schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask */ - RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RunTask(request: PlayFabAdminModels.RunTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/sendaccountrecoveryemail */ - SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the override expiration for a membership subscription * https://docs.microsoft.com/rest/api/playfab/admin/account-management/setmembershipoverride */ - SetMembershipOverride(request: PlayFabAdminModels.SetMembershipOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetMembershipOverride(request: PlayFabAdminModels.SetMembershipOverrideRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets or resets the player's secret. Player secrets are used to sign API requests. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/setplayersecret */ - SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPlayerSecret(request: PlayFabAdminModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the currently published revision of a title Cloud Script * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/setpublishedrevision */ - SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPublishedRevision(request: PlayFabAdminModels.SetPublishedRevisionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/admin/shared-group-data/setpublisherdata */ - SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the key-value store of custom title settings which can be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ - SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set and delete key-value pairs in a title data override instance. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledataandoverrides */ - SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom title settings which cannot be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ - SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the Amazon Resource Name (ARN) for iOS and Android push notifications. Documentation on the exact restrictions can * be found at: http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html. Currently, Amazon device * Messaging is not supported. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/setuppushnotification */ - SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates information of a list of existing bans specified with Ban Ids. * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updatebans */ - UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new Cloud Script revision and uploads source code to it. Note that at this time, only one file should be * submitted in the revision. * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ - UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection */ - UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, 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. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateplayersharedsecret */ - UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerSharedSecret(request: PlayFabAdminModels.UpdatePlayerSharedSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a player statistic configuration for the title, optionally allowing the developer to specify a reset interval. * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateplayerstatisticdefinition */ - UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerStatisticDefinition(request: PlayFabAdminModels.UpdatePlayerStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Changes a policy for a title * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updatepolicy */ - UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates an existing player segment and its associated definition(s) and action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/updatesegment */ - UpdateSegment(request: PlayFabAdminModels.UpdateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update an existing task. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/updatetask */ - UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateTask(request: PlayFabAdminModels.UpdateTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserdata */ - UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserinternaldata */ - UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherdata */ - UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherinternaldata */ - UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherInternalData(request: PlayFabAdminModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserpublisherreadonlydata */ - UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateuserreadonlydata */ - UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserReadOnlyData(request: PlayFabAdminModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title specific display name for a user * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ - UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -2821,7 +2821,16 @@ declare module PlayFabAdminModels { ContinuationToken?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ + /** + * 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 diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 717d301e..37464940 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -8,23 +8,23 @@ declare module PlayFabAuthenticationModule { * Create a game_server entity token and return a new or existing game_server entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/authenticategameserverwithcustomid */ - AuthenticateGameServerWithCustomId(request: PlayFabAuthenticationModels.AuthenticateCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AuthenticateGameServerWithCustomId(request: PlayFabAuthenticationModels.AuthenticateCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a game_server entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/delete */ - Delete(request: PlayFabAuthenticationModels.DeleteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + Delete(request: PlayFabAuthenticationModels.DeleteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Method to exchange a legacy AuthenticationTicket or title SecretKey for an Entity Token or to refresh a still valid * Entity Token. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/getentitytoken */ - GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetEntityToken(request: PlayFabAuthenticationModels.GetEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Method for a server to validate a client provided EntityToken. Only callable by the title entity. * https://docs.microsoft.com/rest/api/playfab/authentication/authentication/validateentitytoken */ - ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateEntityToken(request: PlayFabAuthenticationModels.ValidateEntityTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 38a170e3..8a544d86 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -12,93 +12,93 @@ declare module PlayFabClientModule { * items will be swapped between the two players' inventories. * https://docs.microsoft.com/rest/api/playfab/client/trading/accepttrade */ - AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptTrade(request: PlayFabClientModels.AcceptTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the PlayFab user, based upon a match against a supplied unique identifier, to the friend list of the local user. At * least one of FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/addfriend */ - AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddFriend(request: PlayFabClientModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. * https://docs.microsoft.com/rest/api/playfab/client/account-management/addgenericid */ - AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddGenericID(request: PlayFabClientModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds or updates a contact email to the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/addorupdatecontactemail */ - AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddOrUpdateContactEmail(request: PlayFabClientModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group can add new members. Shared Groups are designed for sharing data between a very small number of players, * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/addsharedgroupmembers */ - AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddSharedGroupMembers(request: PlayFabClientModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device * ID login. * https://docs.microsoft.com/rest/api/playfab/client/account-management/addusernamepassword */ - AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers the Android device to receive push notifications * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/androiddevicepushnotificationregistration */ - AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AndroidDevicePushNotificationRegistration(request: PlayFabClientModels.AndroidDevicePushNotificationRegistrationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Attributes an install for advertisment. * https://docs.microsoft.com/rest/api/playfab/client/advertising/attributeinstall */ - AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AttributeInstall(request: PlayFabClientModels.AttributeInstallRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancels an open trade (one that has not yet been accepted or cancelled). Note that only the player who created the trade * can cancel it via this API call, to prevent griefing of the trade system (cancelling trades in order to prevent other * players from accepting them, for trades that can be claimed by more than one player). * https://docs.microsoft.com/rest/api/playfab/client/trading/canceltrade */ - CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + 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. * 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 }): void; + ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the player's current entitlements from Microsoft Store's Collection API * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumemicrosoftstoreentitlements */ - ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumeMicrosoftStoreEntitlements(request: PlayFabClientModels.ConsumeMicrosoftStoreEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Checks for any new consumable entitlements. If any are found, they are consumed (if they're consumables) and added as * PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumeps5entitlements */ - ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumePS5Entitlements(request: PlayFabClientModels.ConsumePS5EntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Checks for any new consumable entitlements. If any are found, they are consumed and added as PlayFab items * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumepsnentitlements */ - ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumePSNEntitlements(request: PlayFabClientModels.ConsumePSNEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the player's current entitlements from Xbox Live, consuming all availble items in Xbox and granting them to the * player's PlayFab inventory. This call is idempotent and will not grant previously granted items to the player. * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/consumexboxentitlements */ - ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumeXboxEntitlements(request: PlayFabClientModels.ConsumeXboxEntitlementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. Upon creation, the current user will be the only member of the group. Shared Groups are designed for sharing data @@ -106,59 +106,59 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * 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 }): void; + CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, 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. * https://docs.microsoft.com/rest/api/playfab/client/server-side-cloud-script/executecloudscript */ - ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteCloudScript(request: PlayFabClientModels.ExecuteCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the user's PlayFab account details * https://docs.microsoft.com/rest/api/playfab/client/account-management/getaccountinfo */ - GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAccountInfo(request: PlayFabClientModels.GetAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns a list of ad placements and a reward for each * https://docs.microsoft.com/rest/api/playfab/client/advertising/getadplacements */ - GetAdPlacements(request: PlayFabClientModels.GetAdPlacementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAdPlacements(request: PlayFabClientModels.GetAdPlacementsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/client/characters/getalluserscharacters */ - GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the character which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterdata */ - GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterleaderboard */ - GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterLeaderboard(request: PlayFabClientModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the character which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/client/character-data/getcharacterreadonlydata */ - GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterReadOnlyData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the details of all title-specific statistics for the user * https://docs.microsoft.com/rest/api/playfab/client/characters/getcharacterstatistics */ - GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterStatistics(request: PlayFabClientModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the @@ -168,192 +168,192 @@ declare module PlayFabClientModule { * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://docs.microsoft.com/rest/api/playfab/client/content/getcontentdownloadurl */ - GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 }): void; + 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 * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboard */ - GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendLeaderboard(request: PlayFabClientModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked friends of the current player for the given statistic, centered on the requested PlayFab * user. If PlayFabId is empty or null will return currently logged in user. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getfriendleaderboardaroundplayer */ - GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendLeaderboardAroundPlayer(request: PlayFabClientModels.GetFriendLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current friend list for the local user, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. * 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 }): void; + 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 }): void; + 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 */ - GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboard(request: PlayFabClientModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested Character ID * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardaroundcharacter */ - GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundCharacter(request: PlayFabClientModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked users for the given statistic, centered on the requested player. If PlayFabId is empty or * null will return currently logged in user. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboardaroundplayer */ - GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundPlayer(request: PlayFabClientModels.GetLeaderboardAroundPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of all of the user's characters for the given statistic. * https://docs.microsoft.com/rest/api/playfab/client/characters/getleaderboardforusercharacters */ - GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + GetPaymentToken(request: PlayFabClientModels.GetPaymentTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a Photon custom authentication token that can be used to securely join the player into a Photon room. See * https://docs.microsoft.com/gaming/playfab/features/multiplayer/photon/quickstart for more details. * https://docs.microsoft.com/rest/api/playfab/client/authentication/getphotonauthenticationtoken */ - GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPhotonAuthenticationToken(request: PlayFabClientModels.GetPhotonAuthenticationTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves all of the user's different kinds of info. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayercombinedinfo */ - GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, 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 */ - GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerProfile(request: PlayFabClientModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all segments that a player currently belongs to at this moment in time. * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayersegments */ - GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerSegments(request: PlayFabClientModels.GetPlayerSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the indicated statistics (current version and values for all statistics, if none are specified), for the local * player. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatistics */ - GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatistics(request: PlayFabClientModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the information on the available versions of the specified statistic. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayerstatisticversions */ - GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticVersions(request: PlayFabClientModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all tags with a given Namespace (optional) from a player profile. * https://docs.microsoft.com/rest/api/playfab/client/playstream/getplayertags */ - GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTags(request: PlayFabClientModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets all trades the player has either opened or accepted, optionally filtered by trade status. * https://docs.microsoft.com/rest/api/playfab/client/trading/getplayertrades */ - GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, 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 */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookIDs(request: PlayFabClientModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Game identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookinstantgamesids */ - GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabClientModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Game Center identifiers (referenced in the Game Center * Programming Guide as the Player Identifier). * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgamecenterids */ - GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGameCenterIDs(request: PlayFabClientModels.GetPlayFabIDsFromGameCenterIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgenericids */ - GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGenericIDs(request: PlayFabClientModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Google identifiers. The Google identifiers are the IDs for * the user accounts, available as "id" in the Google+ People API calls. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleids */ - GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGoogleIDs(request: PlayFabClientModels.GetPlayFabIDsFromGoogleIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Google Play Games identifiers. The Google Play Games * identifiers are the IDs for the user accounts, available as "playerId" in the Google Play Games Services - Players API * calls. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromgoogleplaygamesplayerids */ - GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request: PlayFabClientModels.GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGooglePlayGamesPlayerIDs(request: PlayFabClientModels.GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Kongregate identifiers. The Kongregate identifiers are the * IDs for the user accounts, available as "user_id" from the Kongregate API methods(ex: * http://developers.kongregate.com/docs/client/getUserId). * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromkongregateids */ - GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromKongregateIDs(request: PlayFabClientModels.GetPlayFabIDsFromKongregateIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoserviceaccountids */ - GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids */ - GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, 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 }): void; + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNAccountIDsRequest, 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 }): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, 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: * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromtwitchids */ - GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromTwitchIDs(request: PlayFabClientModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromxboxliveids */ - GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabClientModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getpublisherdata */ - GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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. * 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 }): void; + GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. Non-members of the group * may use this to retrieve group data, including membership, but they will not receive data for keys marked as private. @@ -361,93 +361,93 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/getsharedgroupdata */ - GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + 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 * 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 }): void; + GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current server time * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettime */ - GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTime(request: PlayFabClientModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitledata */ - GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleData(request: PlayFabClientModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title news feed, as configured in the developer portal * https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/gettitlenews */ - GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleNews(request: PlayFabClientModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns the title's base 64 encoded RSA CSP blob. * https://docs.microsoft.com/rest/api/playfab/client/authentication/gettitlepublickey */ - GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitlePublicKey(request: PlayFabClientModels.GetTitlePublicKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the current status of an existing trade. * https://docs.microsoft.com/rest/api/playfab/client/trading/gettradestatus */ - GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTradeStatus(request: PlayFabClientModels.GetTradeStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserdata */ - GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * 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 }): void; + GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherdata */ - GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserpublisherreadonlydata */ - GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getuserreadonlydata */ - GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserReadOnlyData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/client/characters/grantcharactertouser */ - GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantCharacterToUser(request: PlayFabClientModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Android device identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkandroiddeviceid */ - LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkAndroidDeviceID(request: PlayFabClientModels.LinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Apple account associated with the token to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkapple */ - LinkApple(request: PlayFabClientModels.LinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkApple(request: PlayFabClientModels.LinkAppleRequest, 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 */ - LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkCustomID(request: PlayFabClientModels.LinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookaccount */ - LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkFacebookAccount(request: PlayFabClientModels.LinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Facebook Instant Games Id to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkfacebookinstantgamesid */ - LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkFacebookInstantGamesId(request: PlayFabClientModels.LinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account. Logging in with * a Game Center ID is insecure if you do not include the optional PublicKeyUrl, Salt, Signature, and Timestamp parameters @@ -455,81 +455,81 @@ declare module PlayFabClientModule { * page in the PlayFab Game Manager and enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgamecenteraccount */ - LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkGameCenterAccount(request: PlayFabClientModels.LinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the currently signed-in user account to their Google account, using their Google account credentials * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleaccount */ - LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkGoogleAccount(request: PlayFabClientModels.LinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the currently signed-in user account to their Google Play Games account, using their Google Play Games account * credentials * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkgoogleplaygamesservicesaccount */ - LinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.LinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.LinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the vendor-specific iOS device identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkiosdeviceid */ - LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkIOSDeviceID(request: PlayFabClientModels.LinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Kongregate identifier to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkkongregate */ - LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkKongregate(request: PlayFabClientModels.LinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Nintendo account associated with the token to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoserviceaccount */ - LinkNintendoServiceAccount(request: PlayFabClientModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoServiceAccount(request: PlayFabClientModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linknintendoswitchdeviceid */ - LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoSwitchDeviceId(request: PlayFabClientModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links an OpenID Connect account to a user's PlayFab account, based on an existing relationship between a title and an * Open ID Connect provider and the OpenId Connect JWT from that provider. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkopenidconnect */ - LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkOpenIdConnect(request: PlayFabClientModels.LinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkpsnaccount */ - LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkPSNAccount(request: PlayFabClientModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Steam account associated with the provided Steam authentication ticket to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linksteamaccount */ - LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkSteamAccount(request: PlayFabClientModels.LinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Twitch account associated with the token to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/linktwitch */ - LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkTwitch(request: PlayFabClientModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount */ - LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithandroiddeviceid */ - LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithAndroidDeviceID(request: PlayFabClientModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs in the user with a Sign in with Apple identity token. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithapple */ - LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithcustomid */ - LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithCustomID(request: PlayFabClientModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithEmailAddress does not permit the @@ -537,19 +537,19 @@ declare module PlayFabClientModule { * RegisterPlayFabUser. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithemailaddress */ - LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithEmailAddress(request: PlayFabClientModels.LoginWithEmailAddressRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Facebook access token, returning a session identifier that can subsequently be used for API * calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebook */ - LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithFacebook(request: PlayFabClientModels.LoginWithFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Facebook Instant Games ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user. Requires Facebook Instant Games to be configured. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithfacebookinstantgamesid */ - LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithFacebookInstantGamesId(request: PlayFabClientModels.LoginWithFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using an iOS Game Center player identifier, returning a session identifier that can subsequently be * used for API calls which require an authenticated user. Logging in with a Game Center ID is insecure if you do not @@ -558,45 +558,45 @@ declare module PlayFabClientModule { * enabling the 'Require secure authentication only for this app' option. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgamecenter */ - LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithGameCenter(request: PlayFabClientModels.LoginWithGameCenterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using their Google account credentials * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleaccount */ - LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithGoogleAccount(request: PlayFabClientModels.LoginWithGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using their Google Play Games account credentials * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithgoogleplaygamesservices */ - LoginWithGooglePlayGamesServices(request: PlayFabClientModels.LoginWithGooglePlayGamesServicesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithGooglePlayGamesServices(request: PlayFabClientModels.LoginWithGooglePlayGamesServicesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using the vendor-specific iOS device identifier, returning a session identifier that can subsequently * be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithiosdeviceid */ - LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithIOSDeviceID(request: PlayFabClientModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Kongregate player account. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithkongregate */ - LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithKongregate(request: PlayFabClientModels.LoginWithKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs in the user with a Nintendo service account token. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoserviceaccount */ - LoginWithNintendoServiceAccount(request: PlayFabClientModels.LoginWithNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoServiceAccount(request: PlayFabClientModels.LoginWithNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Nintendo Switch Device ID, returning a session identifier that can subsequently be used for * API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithnintendoswitchdeviceid */ - LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithNintendoSwitchDeviceId(request: PlayFabClientModels.LoginWithNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Logs in a user with an Open ID Connect JWT created by an existing relationship between a title and an Open ID Connect * provider. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithopenidconnect */ - LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithOpenIdConnect(request: PlayFabClientModels.LoginWithOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls * which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of @@ -604,30 +604,30 @@ declare module PlayFabClientModule { * RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithplayfab */ - LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithPlayFab(request: PlayFabClientModels.LoginWithPlayFabRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithpsn */ - LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithPSN(request: PlayFabClientModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Steam authentication ticket, returning a session identifier that can subsequently be used for * API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithsteam */ - LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithSteam(request: PlayFabClientModels.LoginWithSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Twitch access token. * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithtwitch */ - LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithTwitch(request: PlayFabClientModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Xbox Live Token, returning a session identifier that can subsequently be used for API calls * which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithxbox */ - LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required @@ -637,60 +637,60 @@ declare module PlayFabClientModule { * GameNotFound. * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/matchmake */ - Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. * https://docs.microsoft.com/rest/api/playfab/client/trading/opentrade */ - OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Selects a payment option for purchase order created via StartPurchase * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/payforpurchase */ - PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what * the client believes the price to be. This lets the server fail the purchase if the price has changed. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/purchaseitem */ - PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/redeemcoupon */ - RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemCoupon(request: PlayFabClientModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Uses the supplied OAuth code to refresh the internally cached player PlayStation :tm: Network auth token * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/refreshpsnauthtoken */ - RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RefreshPSNAuthToken(request: PlayFabClientModels.RefreshPSNAuthTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers the iOS device to receive push notifications * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/registerforiospushnotification */ - RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which * require an authenticated user. You must supply either a username or an email address. * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ - RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a contact email from the player's profile. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removecontactemail */ - RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveContactEmail(request: PlayFabClientModels.RemoveContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a specified user from the friend list of the local user * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/removefriend */ - RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveFriend(request: PlayFabClientModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified generic service identifier from the player's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/removegenericid */ - RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGenericID(request: PlayFabClientModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data @@ -698,186 +698,186 @@ declare module PlayFabClientModule { * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/removesharedgroupmembers */ - RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveSharedGroupMembers(request: PlayFabClientModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Report player's ad activity * https://docs.microsoft.com/rest/api/playfab/client/advertising/reportadactivity */ - ReportAdActivity(request: PlayFabClientModels.ReportAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportAdActivity(request: PlayFabClientModels.ReportAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Write a PlayStream event to describe the provided player device information. This API method is not designed to be * called directly by developers. Each PlayFab client SDK will eventually report this information automatically. * https://docs.microsoft.com/rest/api/playfab/client/analytics/reportdeviceinfo */ - ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportDeviceInfo(request: PlayFabClientModels.DeviceInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report for another player (due to bad bahavior, etc.), so that customer service representatives for the title * can take action concerning potentially toxic players. * https://docs.microsoft.com/rest/api/playfab/client/account-management/reportplayer */ - ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Restores all in-app purchases based on the given restore receipt * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ - RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Reward player's ad activity * https://docs.microsoft.com/rest/api/playfab/client/advertising/rewardadactivity */ - RewardAdActivity(request: PlayFabClientModels.RewardAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RewardAdActivity(request: PlayFabClientModels.RewardAdActivityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Forces an email to be sent to the registered email address for the user's account, with a link allowing the user to * change the password.If an account recovery email template ID is provided, an email using the custom email template will * be used. * https://docs.microsoft.com/rest/api/playfab/client/account-management/sendaccountrecoveryemail */ - SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendAccountRecoveryEmail(request: PlayFabClientModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the tag list for a specified user in the friend list of the local user * https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/setfriendtags */ - SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetFriendTags(request: PlayFabClientModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. * https://docs.microsoft.com/rest/api/playfab/client/authentication/setplayersecret */ - SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates an order for a list of items from the title catalog * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase */ - StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/subtractuservirtualcurrency */ - SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Android device identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkandroiddeviceid */ - UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkAndroidDeviceID(request: PlayFabClientModels.UnlinkAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Apple account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkapple */ - UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid */ - UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkCustomID(request: PlayFabClientModels.UnlinkCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Facebook account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookaccount */ - UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkFacebookAccount(request: PlayFabClientModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Facebook Instant Game Ids from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkfacebookinstantgamesid */ - UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkFacebookInstantGamesId(request: PlayFabClientModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Game Center account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgamecenteraccount */ - UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkGameCenterAccount(request: PlayFabClientModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Google account from the user's PlayFab account * (https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#public-methods). * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleaccount */ - UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkGoogleAccount(request: PlayFabClientModels.UnlinkGoogleAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Google Play Games account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkgoogleplaygamesservicesaccount */ - UnlinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.UnlinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkGooglePlayGamesServicesAccount(request: PlayFabClientModels.UnlinkGooglePlayGamesServicesAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related iOS device identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkiosdeviceid */ - UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkIOSDeviceID(request: PlayFabClientModels.UnlinkIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Kongregate identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkkongregate */ - UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkKongregate(request: PlayFabClientModels.UnlinkKongregateAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoserviceaccount */ - UnlinkNintendoServiceAccount(request: PlayFabClientModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoServiceAccount(request: PlayFabClientModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinknintendoswitchdeviceid */ - UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoSwitchDeviceId(request: PlayFabClientModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks an OpenID Connect account from a user's PlayFab account, based on the connection ID of an existing relationship * between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkopenidconnect */ - UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkOpenIdConnect(request: PlayFabClientModels.UnlinkOpenIdConnectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkpsnaccount */ - UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkPSNAccount(request: PlayFabClientModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Steam account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinksteamaccount */ - UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkSteamAccount(request: PlayFabClientModels.UnlinkSteamAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Twitch account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinktwitch */ - UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkTwitch(request: PlayFabClientModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkxboxaccount */ - UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, * consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontainerinstance */ - UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontaineritem */ - UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerItem(request: PlayFabClientModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update the avatar URL of the player * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateavatarurl */ - UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabClientModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the title-specific custom data for the user's character which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/character-data/updatecharacterdata */ - UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterData(request: PlayFabClientModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the specific character. By default, clients are not * permitted to update statistics. Developers may override this setting in the Game Manager > Settings > API Features. * https://docs.microsoft.com/rest/api/playfab/client/characters/updatecharacterstatistics */ - UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateplayerstatistics */ - UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerStatistics(request: PlayFabClientModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. @@ -886,60 +886,60 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/updatesharedgroupdata */ - UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateSharedGroupData(request: PlayFabClientModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserdata */ - UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates and updates the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/updateuserpublisherdata */ - UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherData(request: PlayFabClientModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title specific display name for the user * https://docs.microsoft.com/rest/api/playfab/client/account-management/updateusertitledisplayname */ - UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the * purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateamazoniapreceipt */ - ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates a Google Play purchase and gives the corresponding item to the player. * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validategoogleplaypurchase */ - ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased * catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateiosreceipt */ - ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the * purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validatewindowsstorereceipt */ - ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a character-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/client/analytics/writecharacterevent */ - WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteCharacterEvent(request: PlayFabClientModels.WriteClientCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a player-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/client/analytics/writeplayerevent */ - WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WritePlayerEvent(request: PlayFabClientModels.WriteClientPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a title-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/client/analytics/writetitleevent */ - WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteTitleEvent(request: PlayFabClientModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 4dbdf608..aeeadf80 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -9,68 +9,68 @@ declare module PlayFabCloudScriptModule { * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executeentitycloudscript */ - ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteEntityCloudScript(request: PlayFabCloudScriptModels.ExecuteEntityCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of * custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/executefunction */ - ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteFunction(request: PlayFabCloudScriptModels.ExecuteFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets registered Azure Functions for a given title id and function name. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/getfunction */ - GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions */ - ListFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered HTTP triggered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listhttpfunctions */ - ListHttpFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListHttpFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered Queue triggered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listqueuedfunctions */ - ListQueuedFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListQueuedFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate an entity PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforentitytriggeredaction */ - PostFunctionResultForEntityTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForEntityTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForEntityTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForEntityTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate an entity PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforfunctionexecution */ - PostFunctionResultForFunctionExecution(request: PlayFabCloudScriptModels.PostFunctionResultForFunctionExecutionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForFunctionExecution(request: PlayFabCloudScriptModels.PostFunctionResultForFunctionExecutionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate a player PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforplayertriggeredaction */ - PostFunctionResultForPlayerTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForPlayerTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForPlayerTriggeredAction(request: PlayFabCloudScriptModels.PostFunctionResultForPlayerTriggeredActionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Generate a PlayStream event for the provided function result. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforscheduledtask */ - PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers an HTTP triggered Azure function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerhttpfunction */ - RegisterHttpFunction(request: PlayFabCloudScriptModels.RegisterHttpFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterHttpFunction(request: PlayFabCloudScriptModels.RegisterHttpFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a queue triggered Azure Function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerqueuedfunction */ - RegisterQueuedFunction(request: PlayFabCloudScriptModels.RegisterQueuedFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterQueuedFunction(request: PlayFabCloudScriptModels.RegisterQueuedFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unregisters an Azure Function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/unregisterfunction */ - UnregisterFunction(request: PlayFabCloudScriptModels.UnregisterFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnregisterFunction(request: PlayFabCloudScriptModels.UnregisterFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index e0a633ff..ec9909ef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -8,37 +8,37 @@ declare module PlayFabDataModule { * Abort pending file uploads to an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/abortfileuploads */ - AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AbortFileUploads(request: PlayFabDataModels.AbortFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete files on an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/deletefiles */ - DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteFiles(request: PlayFabDataModels.DeleteFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Finalize file uploads to an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/finalizefileuploads */ - FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + FinalizeFileUploads(request: PlayFabDataModels.FinalizeFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves file metadata from an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/getfiles */ - GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFiles(request: PlayFabDataModels.GetFilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves objects from an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/object/getobjects */ - GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetObjects(request: PlayFabDataModels.GetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Initiates file uploads to an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/file/initiatefileuploads */ - InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + InitiateFileUploads(request: PlayFabDataModels.InitiateFileUploadsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets objects on an entity's profile. * https://docs.microsoft.com/rest/api/playfab/data/object/setobjects */ - SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetObjects(request: PlayFabDataModels.SetObjectsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 2b29f4f8..a73a7d00 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -8,218 +8,218 @@ declare module PlayFabEconomyModule { * Add inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems */ - AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new item in the working catalog using provided metadata. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem */ - CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates one or more upload URLs which can be used by the client to upload raw file data. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls */ - CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes all reviews, helpfulness votes, and ratings submitted by the entity specified. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteentityitemreviews */ - DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete an Inventory Collection * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection */ - DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete inventory items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventoryitems */ - DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteInventoryItems(request: PlayFabEconomyModels.DeleteInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes an item from working catalog and all published versions from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/deleteitem */ - DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Execute a list of Inventory Operations * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ - ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig */ - GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an item from the working catalog. This item represents the current working state of the item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem */ - GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a paginated list of the items from the draft catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems */ - GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a paginated list of the items from the draft catalog created by the Entity. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems */ - GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the submitted review for the specified item by the authenticated entity. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ - GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get Inventory Collection Ids * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids */ - GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get current inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems */ - GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an item from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ - GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Search for a given item and return a set of bundles and stores containing the item * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers */ - GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate */ - GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the status of a publish of an item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitempublishstatus */ - GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a paginated set of reviews associated with the specified item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews */ - GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a summary of all reviews associated with the specified item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary */ - GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves items from the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ - GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the access tokens. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens */ - GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ - PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Purchase an item or bundle * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems */ - PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems */ - RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems */ - RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems */ - RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemnintendoeshopinventoryitems */ - RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemNintendoEShopInventoryItems(request: PlayFabEconomyModels.RedeemNintendoEShopInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemplaystationstoreinventoryitems */ - RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemPlayStationStoreInventoryItems(request: PlayFabEconomyModels.RedeemPlayStationStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemsteaminventoryitems */ - RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemSteamInventoryItems(request: PlayFabEconomyModels.RedeemSteamInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report for an item, indicating in what way the item is inappropriate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitem */ - ReportItem(request: PlayFabEconomyModels.ReportItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportItem(request: PlayFabEconomyModels.ReportItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report for a review * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reportitemreview */ - ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates or updates a review for the specified item. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem */ - ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Executes a search against the public catalog using the provided search parameters and returns a set of paginated * results. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems */ - SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the moderation state for an item, including the concern category and string reason. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate */ - SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a vote for a review, indicating whether the review was helpful or unhelpful. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/submititemreviewvote */ - SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubmitItemReviewVote(request: PlayFabEconomyModels.SubmitItemReviewVoteRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Subtract inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/subtractinventoryitems */ - SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractInventoryItems(request: PlayFabEconomyModels.SubtractInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a request to takedown one or more reviews. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/takedownitemreviews */ - TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Transfer inventory items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ - TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the configuration for the catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig */ - UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update the metadata for an item in the working catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ - UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update inventory items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/updateinventoryitems */ - UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateInventoryItems(request: PlayFabEconomyModels.UpdateInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 2d9b9edf..105a132a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -8,13 +8,13 @@ declare module PlayFabEventsModule { * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents */ - WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Write batches of entity based events to as Telemetry events (bypass PlayStream). The namespace must be 'custom' or start * with 'custom.' * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writetelemetryevents */ - WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteTelemetryEvents(request: PlayFabEventsModels.WriteEventsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts index 9b6f778f..07e0c851 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabExperimentationApi.d.ts @@ -8,67 +8,67 @@ declare module PlayFabExperimentationModule { * Creates a new experiment exclusion group for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexclusiongroup */ - CreateExclusionGroup(request: PlayFabExperimentationModels.CreateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateExclusionGroup(request: PlayFabExperimentationModels.CreateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/createexperiment */ - CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateExperiment(request: PlayFabExperimentationModels.CreateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing exclusion group for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexclusiongroup */ - DeleteExclusionGroup(request: PlayFabExperimentationModels.DeleteExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteExclusionGroup(request: PlayFabExperimentationModels.DeleteExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/deleteexperiment */ - DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteExperiment(request: PlayFabExperimentationModels.DeleteExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the details of all exclusion groups for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongroups */ - GetExclusionGroups(request: PlayFabExperimentationModels.GetExclusionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetExclusionGroups(request: PlayFabExperimentationModels.GetExclusionGroupsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the details of all exclusion groups for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexclusiongrouptraffic */ - GetExclusionGroupTraffic(request: PlayFabExperimentationModels.GetExclusionGroupTrafficRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetExclusionGroupTraffic(request: PlayFabExperimentationModels.GetExclusionGroupTrafficRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the details of all experiments for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getexperiments */ - GetExperiments(request: PlayFabExperimentationModels.GetExperimentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetExperiments(request: PlayFabExperimentationModels.GetExperimentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the latest scorecard of the experiment for the title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/getlatestscorecard */ - GetLatestScorecard(request: PlayFabExperimentationModels.GetLatestScorecardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLatestScorecard(request: PlayFabExperimentationModels.GetLatestScorecardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the treatment assignments for a player for every running experiment in the title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/gettreatmentassignment */ - GetTreatmentAssignment(request: PlayFabExperimentationModels.GetTreatmentAssignmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTreatmentAssignment(request: PlayFabExperimentationModels.GetTreatmentAssignmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Starts an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/startexperiment */ - StartExperiment(request: PlayFabExperimentationModels.StartExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + StartExperiment(request: PlayFabExperimentationModels.StartExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Stops an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/stopexperiment */ - StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + StopExperiment(request: PlayFabExperimentationModels.StopExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates an existing exclusion group for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexclusiongroup */ - UpdateExclusionGroup(request: PlayFabExperimentationModels.UpdateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateExclusionGroup(request: PlayFabExperimentationModels.UpdateExclusionGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates an existing experiment for a title. * https://docs.microsoft.com/rest/api/playfab/experimentation/experimentation/updateexperiment */ - UpdateExperiment(request: PlayFabExperimentationModels.UpdateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateExperiment(request: PlayFabExperimentationModels.UpdateExperimentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 3d270c72..16f98aba 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -8,127 +8,127 @@ declare module PlayFabGroupsModule { * Accepts an outstanding invitation to to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupapplication */ - AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupApplication(request: PlayFabGroupsModels.AcceptGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Accepts an invitation to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/acceptgroupinvitation */ - AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AcceptGroupInvitation(request: PlayFabGroupsModels.AcceptGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds members to a group or role. * https://docs.microsoft.com/rest/api/playfab/groups/groups/addmembers */ - AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddMembers(request: PlayFabGroupsModels.AddMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Applies to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/applytogroup */ - ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ApplyToGroup(request: PlayFabGroupsModels.ApplyToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Blocks a list of entities from joining a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/blockentity */ - BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BlockEntity(request: PlayFabGroupsModels.BlockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Changes the role membership of a list of entities from one role to another. * https://docs.microsoft.com/rest/api/playfab/groups/groups/changememberrole */ - ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ChangeMemberRole(request: PlayFabGroupsModels.ChangeMemberRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/creategroup */ - CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateGroup(request: PlayFabGroupsModels.CreateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a new group role. * https://docs.microsoft.com/rest/api/playfab/groups/groups/createrole */ - CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateRole(request: PlayFabGroupsModels.CreateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a group and all roles, invitations, join requests, and blocks associated with it. * https://docs.microsoft.com/rest/api/playfab/groups/groups/deletegroup */ - DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteGroup(request: PlayFabGroupsModels.DeleteGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes an existing role in a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/deleterole */ - DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteRole(request: PlayFabGroupsModels.DeleteRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets information about a group and its roles * https://docs.microsoft.com/rest/api/playfab/groups/groups/getgroup */ - GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetGroup(request: PlayFabGroupsModels.GetGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Invites a player to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/invitetogroup */ - InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + InviteToGroup(request: PlayFabGroupsModels.InviteToGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Checks to see if an entity is a member of a group or role within the group * https://docs.microsoft.com/rest/api/playfab/groups/groups/ismember */ - IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + IsMember(request: PlayFabGroupsModels.IsMemberRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all outstanding requests to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupapplications */ - ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupApplications(request: PlayFabGroupsModels.ListGroupApplicationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all entities blocked from joining a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupblocks */ - ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupBlocks(request: PlayFabGroupsModels.ListGroupBlocksRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all outstanding invitations for a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupinvitations */ - ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupInvitations(request: PlayFabGroupsModels.ListGroupInvitationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all members for a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/listgroupmembers */ - ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListGroupMembers(request: PlayFabGroupsModels.ListGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all groups and roles for an entity * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembership */ - ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMembership(request: PlayFabGroupsModels.ListMembershipRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all outstanding invitations and group applications for an entity * https://docs.microsoft.com/rest/api/playfab/groups/groups/listmembershipopportunities */ - ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMembershipOpportunities(request: PlayFabGroupsModels.ListMembershipOpportunitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes an application to join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupapplication */ - RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupApplication(request: PlayFabGroupsModels.RemoveGroupApplicationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes an invitation join a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/removegroupinvitation */ - RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGroupInvitation(request: PlayFabGroupsModels.RemoveGroupInvitationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes members from a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/removemembers */ - RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMembers(request: PlayFabGroupsModels.RemoveMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unblocks a list of entities from joining a group * https://docs.microsoft.com/rest/api/playfab/groups/groups/unblockentity */ - UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnblockEntity(request: PlayFabGroupsModels.UnblockEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates non-membership data about a group. * https://docs.microsoft.com/rest/api/playfab/groups/groups/updategroup */ - UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateGroup(request: PlayFabGroupsModels.UpdateGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates metadata about a role. * https://docs.microsoft.com/rest/api/playfab/groups/groups/updaterole */ - UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateRole(request: PlayFabGroupsModels.UpdateGroupRoleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts index b3dedede..c9389833 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts @@ -9,33 +9,33 @@ declare module PlayFabInsightsModule { * performance and data storage retention limits. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getdetails */ - GetDetails(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetDetails(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the range of allowed values for performance and data storage retention values as well as the submeter details * for each performance level. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getlimits */ - GetLimits(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLimits(request: PlayFabInsightsModels.InsightsEmptyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the status of a SetPerformance or SetStorageRetention operation. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getoperationstatus */ - GetOperationStatus(request: PlayFabInsightsModels.InsightsGetOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetOperationStatus(request: PlayFabInsightsModels.InsightsGetOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a list of pending SetPerformance and/or SetStorageRetention operations for the title. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/getpendingoperations */ - GetPendingOperations(request: PlayFabInsightsModels.InsightsGetPendingOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPendingOperations(request: PlayFabInsightsModels.InsightsGetPendingOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the Insights performance level value for the title. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setperformance */ - SetPerformance(request: PlayFabInsightsModels.InsightsSetPerformanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPerformance(request: PlayFabInsightsModels.InsightsSetPerformanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the Insights data storage retention days value for the title. * https://docs.microsoft.com/rest/api/playfab/insights/analytics/setstorageretention */ - SetStorageRetention(request: PlayFabInsightsModels.InsightsSetStorageRetentionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetStorageRetention(request: PlayFabInsightsModels.InsightsSetStorageRetentionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts index 4f46491e..f6dc8f6f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLocalizationApi.d.ts @@ -8,7 +8,7 @@ declare module PlayFabLocalizationModule { * Retrieves the list of allowed languages, only accessible by title entities * https://docs.microsoft.com/rest/api/playfab/localization/localization/getlanguagelist */ - GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLanguageList(request: PlayFabLocalizationModels.GetLanguageListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 966aff01..63daa491 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -8,23 +8,23 @@ declare module PlayFabMatchmakerModule { * Validates a user with the PlayFab service * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/authuser */ - AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerjoined */ - PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft */ - PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute * effective matches * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/userinfo */ - UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index c8b70500..a6f74eb9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -8,411 +8,411 @@ declare module PlayFabMultiplayerModule { * Cancel all active tickets the player is a member of in a given queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallmatchmakingticketsforplayer */ - CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelAllMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancel all active backfill tickets the player is a member of in a given queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelallserverbackfillticketsforplayer */ - CancelAllServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelAllServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.CancelAllServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancel a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelmatchmakingticket */ - CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelMatchmakingTicket(request: PlayFabMultiplayerModels.CancelMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Cancel a server backfill ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/cancelserverbackfillticket */ - CancelServerBackfillTicket(request: PlayFabMultiplayerModels.CancelServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CancelServerBackfillTicket(request: PlayFabMultiplayerModels.CancelServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildalias */ - CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildAlias(request: PlayFabMultiplayerModels.CreateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build with a custom container. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithcustomcontainer */ - CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildWithCustomContainer(request: PlayFabMultiplayerModels.CreateBuildWithCustomContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build with a managed container. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithmanagedcontainer */ - CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildWithManagedContainer(request: PlayFabMultiplayerModels.CreateBuildWithManagedContainerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build with the server running as a process. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createbuildwithprocessbasedserver */ - CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateBuildWithProcessBasedServer(request: PlayFabMultiplayerModels.CreateBuildWithProcessBasedServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/createlobby */ - CreateLobby(request: PlayFabMultiplayerModels.CreateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateLobby(request: PlayFabMultiplayerModels.CreateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a matchmaking ticket as a client. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/creatematchmakingticket */ - CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateMatchmakingTicket(request: PlayFabMultiplayerModels.CreateMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createremoteuser */ - CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateRemoteUser(request: PlayFabMultiplayerModels.CreateRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a backfill matchmaking ticket as a server. A backfill ticket represents an ongoing game. The matchmaking service * automatically starts matching the backfill ticket against other matchmaking tickets. Backfill tickets cannot match with * other backfill tickets. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createserverbackfillticket */ - CreateServerBackfillTicket(request: PlayFabMultiplayerModels.CreateServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateServerBackfillTicket(request: PlayFabMultiplayerModels.CreateServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a matchmaking ticket as a server. The matchmaking service automatically starts matching the ticket against other * matchmaking tickets. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/createservermatchmakingticket */ - CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateServerMatchmakingTicket(request: PlayFabMultiplayerModels.CreateServerMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a request to change a title's multiplayer server quotas. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/createtitlemultiplayerserversquotachange */ - CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.CreateTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server game asset for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteasset */ - DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteAsset(request: PlayFabMultiplayerModels.DeleteAssetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuild */ - DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteBuild(request: PlayFabMultiplayerModels.DeleteBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildalias */ - DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteBuildAlias(request: PlayFabMultiplayerModels.DeleteBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a multiplayer server build's region. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletebuildregion */ - DeleteBuildRegion(request: PlayFabMultiplayerModels.DeleteBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteBuildRegion(request: PlayFabMultiplayerModels.DeleteBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecertificate */ - DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteCertificate(request: PlayFabMultiplayerModels.DeleteCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a container image repository. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletecontainerimagerepository */ - DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteContainerImageRepository(request: PlayFabMultiplayerModels.DeleteContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/deletelobby */ - DeleteLobby(request: PlayFabMultiplayerModels.DeleteLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteLobby(request: PlayFabMultiplayerModels.DeleteLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a remote user to log on to a VM for a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser */ - DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Enables the multiplayer server feature for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle */ - EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + EnableMultiplayerServersForTitle(request: PlayFabMultiplayerModels.EnableMultiplayerServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Find lobbies which match certain criteria, and which friends are in. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findfriendlobbies */ - FindFriendLobbies(request: PlayFabMultiplayerModels.FindFriendLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + FindFriendLobbies(request: PlayFabMultiplayerModels.FindFriendLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Find all the lobbies that match certain criteria. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/findlobbies */ - FindLobbies(request: PlayFabMultiplayerModels.FindLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + FindLobbies(request: PlayFabMultiplayerModels.FindLobbiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a URL that can be used to download the specified asset. A sample pre-authenticated url - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetdownloadurl */ - GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAssetDownloadUrl(request: PlayFabMultiplayerModels.GetAssetDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the URL to upload assets to. A sample pre-authenticated url - * https://sampleStorageAccount.blob.core.windows.net/gameassets/gameserver.zip?sv=2015-04-05&ss=b&srt=sco&sp=rw&st=startDate&se=endDate&spr=https&sig=sampleSig&api-version=2017-07-29 * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getassetuploadurl */ - GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAssetUploadUrl(request: PlayFabMultiplayerModels.GetAssetUploadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuild */ - GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetBuild(request: PlayFabMultiplayerModels.GetBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getbuildalias */ - GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetBuildAlias(request: PlayFabMultiplayerModels.GetBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the credentials to the container registry. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getcontainerregistrycredentials */ - GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContainerRegistryCredentials(request: PlayFabMultiplayerModels.GetContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/getlobby */ - GetLobby(request: PlayFabMultiplayerModels.GetLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLobby(request: PlayFabMultiplayerModels.GetLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a match. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatch */ - GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMatch(request: PlayFabMultiplayerModels.GetMatchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. Get a matchmaking queue configuration. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/getmatchmakingqueue */ - GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMatchmakingQueue(request: PlayFabMultiplayerModels.GetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a matchmaking ticket by ticket Id. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket */ - GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMatchmakingTicket(request: PlayFabMultiplayerModels.GetMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets multiplayer server session details for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverdetails */ - GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMultiplayerServerDetails(request: PlayFabMultiplayerModels.GetMultiplayerServerDetailsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets multiplayer server logs after a server has terminated. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayerserverlogs */ - GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMultiplayerServerLogs(request: PlayFabMultiplayerModels.GetMultiplayerServerLogsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets multiplayer server logs after a server has terminated. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getmultiplayersessionlogsbysessionid */ - GetMultiplayerSessionLogsBySessionId(request: PlayFabMultiplayerModels.GetMultiplayerSessionLogsBySessionIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetMultiplayerSessionLogsBySessionId(request: PlayFabMultiplayerModels.GetMultiplayerSessionLogsBySessionIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the statistics for a queue. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getqueuestatistics */ - GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetQueueStatistics(request: PlayFabMultiplayerModels.GetQueueStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a remote login endpoint to a VM that is hosting a multiplayer server build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/getremoteloginendpoint */ - GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetRemoteLoginEndpoint(request: PlayFabMultiplayerModels.GetRemoteLoginEndpointRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get a matchmaking backfill ticket by ticket Id. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/getserverbackfillticket */ - GetServerBackfillTicket(request: PlayFabMultiplayerModels.GetServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetServerBackfillTicket(request: PlayFabMultiplayerModels.GetServerBackfillTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the status of whether a title is enabled for the multiplayer server feature. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitleenabledformultiplayerserversstatus */ - GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleEnabledForMultiplayerServersStatus(request: PlayFabMultiplayerModels.GetTitleEnabledForMultiplayerServersStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets a title's server quota change request. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotachange */ - GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleMultiplayerServersQuotaChange(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotaChangeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the quotas for a title in relation to multiplayer servers. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/gettitlemultiplayerserversquotas */ - GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleMultiplayerServersQuotas(request: PlayFabMultiplayerModels.GetTitleMultiplayerServersQuotasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Send a notification to invite a player to a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/invitetolobby */ - InviteToLobby(request: PlayFabMultiplayerModels.InviteToLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + InviteToLobby(request: PlayFabMultiplayerModels.InviteToLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join an Arranged lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinarrangedlobby */ - JoinArrangedLobby(request: PlayFabMultiplayerModels.JoinArrangedLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + JoinArrangedLobby(request: PlayFabMultiplayerModels.JoinArrangedLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobby */ - JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket */ - JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + JoinMatchmakingTicket(request: PlayFabMultiplayerModels.JoinMatchmakingTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Leave a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobby */ - LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists archived multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers */ - ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListArchivedMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists multiplayer server game assets for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listassetsummaries */ - ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListAssetSummaries(request: PlayFabMultiplayerModels.ListAssetSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists details of all build aliases for a title. Accepts tokens for title and if game client access is enabled, allows * game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildaliases */ - ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildAliases(request: PlayFabMultiplayerModels.ListBuildAliasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists summarized details of all multiplayer server builds for a title. Accepts tokens for title and if game client * access is enabled, allows game client to request list of builds with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listbuildsummariesv2 */ - ListBuildSummariesV2(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListBuildSummariesV2(request: PlayFabMultiplayerModels.ListBuildSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists multiplayer server game certificates for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcertificatesummaries */ - ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListCertificateSummaries(request: PlayFabMultiplayerModels.ListCertificateSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists custom container images for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimages */ - ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListContainerImages(request: PlayFabMultiplayerModels.ListContainerImagesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists the tags for a custom container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listcontainerimagetags */ - ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListContainerImageTags(request: PlayFabMultiplayerModels.ListContainerImageTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. List all matchmaking queue configs. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/listmatchmakingqueues */ - ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMatchmakingQueues(request: PlayFabMultiplayerModels.ListMatchmakingQueuesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all matchmaking ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listmatchmakingticketsforplayer */ - ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMatchmakingTicketsForPlayer(request: PlayFabMultiplayerModels.ListMatchmakingTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listmultiplayerservers */ - ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListMultiplayerServers(request: PlayFabMultiplayerModels.ListMultiplayerServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists quality of service servers for party. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listpartyqosservers */ - ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListPartyQosServers(request: PlayFabMultiplayerModels.ListPartyQosServersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists quality of service servers for the title. By default, servers are only returned for regions where a Multiplayer * Servers build has been deployed. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ - ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all server backfill ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer */ - ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListServerBackfillTicketsForPlayer(request: PlayFabMultiplayerModels.ListServerBackfillTicketsForPlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all server quota change requests for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listtitlemultiplayerserversquotachanges */ - ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListTitleMultiplayerServersQuotaChanges(request: PlayFabMultiplayerModels.ListTitleMultiplayerServersQuotaChangesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists virtual machines for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listvirtualmachinesummaries */ - ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ListVirtualMachineSummaries(request: PlayFabMultiplayerModels.ListVirtualMachineSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. Remove a matchmaking queue config. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/removematchmakingqueue */ - RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMatchmakingQueue(request: PlayFabMultiplayerModels.RemoveMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Remove a member from a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/removemember */ - RemoveMember(request: PlayFabMultiplayerModels.RemoveMemberFromLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveMember(request: PlayFabMultiplayerModels.RemoveMemberFromLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Request a multiplayer server session. Accepts tokens for title and if game client access is enabled, allows game client * to request a server with player entity token. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestmultiplayerserver */ - RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Rolls over the credentials to the container registry. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials */ - RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RolloverContainerRegistryCredentials(request: PlayFabMultiplayerModels.RolloverContainerRegistryCredentialsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * SDK support is limited to C# and Java for this API. Create or update a matchmaking queue configuration. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking-admin/setmatchmakingqueue */ - SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetMatchmakingQueue(request: PlayFabMultiplayerModels.SetMatchmakingQueueRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Shuts down a multiplayer server session. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/shutdownmultiplayerserver */ - ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ShutdownMultiplayerServer(request: PlayFabMultiplayerModels.ShutdownMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Subscribe to lobby resource notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/subscribetolobbyresource */ - SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubscribeToLobbyResource(request: PlayFabMultiplayerModels.SubscribeToLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Subscribe to match resource notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/subscribetomatchmakingresource */ - SubscribeToMatchmakingResource(request: PlayFabMultiplayerModels.SubscribeToMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubscribeToMatchmakingResource(request: PlayFabMultiplayerModels.SubscribeToMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unsubscribe from lobby notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/unsubscribefromlobbyresource */ - UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnsubscribeFromLobbyResource(request: PlayFabMultiplayerModels.UnsubscribeFromLobbyResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unsubscribe from match resource notifications. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/unsubscribefrommatchmakingresource */ - UnsubscribeFromMatchmakingResource(request: PlayFabMultiplayerModels.UnsubscribeFromMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnsubscribeFromMatchmakingResource(request: PlayFabMultiplayerModels.UnsubscribeFromMatchResourceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Untags a container image. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/untagcontainerimage */ - UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UntagContainerImage(request: PlayFabMultiplayerModels.UntagContainerImageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates a multiplayer server build alias. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildalias */ - UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildAlias(request: PlayFabMultiplayerModels.UpdateBuildAliasRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a multiplayer server build's name. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildname */ - UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildName(request: PlayFabMultiplayerModels.UpdateBuildNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a multiplayer server build's region. If the region is not yet created, it will be created * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregion */ - UpdateBuildRegion(request: PlayFabMultiplayerModels.UpdateBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildRegion(request: PlayFabMultiplayerModels.UpdateBuildRegionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates a multiplayer server build's regions. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/updatebuildregions */ - UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBuildRegions(request: PlayFabMultiplayerModels.UpdateBuildRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update a lobby. * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobby */ - UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Uploads a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate */ - UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 2d3baf15..ca19b112 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -8,38 +8,38 @@ declare module PlayFabProfilesModule { * Gets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getglobalpolicy */ - GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetGlobalPolicy(request: PlayFabProfilesModels.GetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the entity's profile. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofile */ - GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetProfile(request: PlayFabProfilesModels.GetEntityProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the entity's profile. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/getprofiles */ - GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetProfiles(request: PlayFabProfilesModels.GetEntityProfilesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title player accounts associated with the given master player account. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids */ - GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy */ - SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGlobalPolicy(request: PlayFabProfilesModels.SetGlobalPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the entity's language. The precedence hierarchy for communication to the player is Title Player Account * language, Master Player Account language, and then title default language if the first two aren't set or supported. * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilelanguage */ - SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetProfileLanguage(request: PlayFabProfilesModels.SetProfileLanguageRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the profiles access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setprofilepolicy */ - SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetProfilePolicy(request: PlayFabProfilesModels.SetEntityProfilePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 0cb9ce01..8e2d2736 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -8,25 +8,25 @@ declare module PlayFabServerModule { * Increments the character's balance of the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency */ - AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the Friend user to the friendlist of the user with PlayFabId. At least one of * FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized. * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/addfriend */ - AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddFriend(request: PlayFabServerModels.AddFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab * ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as * authentication credentials, as the intent is that it is easily accessible by other players. * https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid */ - AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag */ - AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddPlayerTag(request: PlayFabServerModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users * in the group (and the server) can add new members. Shared Groups are designed for sharing data between a very small @@ -34,32 +34,32 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/addsharedgroupmembers */ - AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Increments the user's balance of the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/adduservirtualcurrency */ - AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validated a client's session ticket, and if successful, returns details for that user * https://docs.microsoft.com/rest/api/playfab/server/authentication/authenticatesessionticket */ - AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AuthenticateSessionTicket(request: PlayFabServerModels.AuthenticateSessionTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Awards the specified users the specified Steam achievements * https://docs.microsoft.com/rest/api/playfab/server/platform-specific-methods/awardsteamachievement */ - AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/account-management/banusers */ - BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + BanUsers(request: PlayFabServerModels.BanUsersRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/consumeitem */ - ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the * group. When created by a server, the group will initially have no members. Shared Groups are designed for sharing data @@ -67,93 +67,93 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/createsharedgroup */ - CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + CreateSharedGroup(request: PlayFabServerModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes the specific character ID from the specified user. * https://docs.microsoft.com/rest/api/playfab/server/characters/deletecharacterfromuser */ - DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteCharacterFromUser(request: PlayFabServerModels.DeleteCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes a user's player account from a title and deletes all associated data * https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer */ - DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePlayer(request: PlayFabServerModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes push notification template for title * https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate */ - DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeletePushNotificationTemplate(request: PlayFabServerModels.DeletePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for * sharing data between a very small number of players, please see our guide: * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup */ - DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Inform the matchmaker that a Game Server Instance is removed. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/deregistergame */ - DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable */ - EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ - ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, 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. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ - GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be * evaluated with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/server/characters/getalluserscharacters */ - GetAllUsersCharacters(request: PlayFabServerModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetAllUsersCharacters(request: PlayFabServerModels.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 * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getcatalogitems */ - GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterdata */ - GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user's character which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterinternaldata */ - GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterInternalData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the specified character's current inventory of virtual goods * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getcharacterinventory */ - GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterleaderboard */ - GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterLeaderboard(request: PlayFabServerModels.GetCharacterLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user's character which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterreadonlydata */ - GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterReadOnlyData(request: PlayFabServerModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the details of all title-specific statistics for the specific character * https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterstatistics */ - GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetCharacterStatistics(request: PlayFabServerModels.GetCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned * URL will attempt to download the content. A HEAD query to the returned URL will attempt to retrieve the metadata of the @@ -163,55 +163,55 @@ declare module PlayFabServerModule { * please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply. * https://docs.microsoft.com/rest/api/playfab/server/content/getcontentdownloadurl */ - GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetContentDownloadUrl(request: PlayFabServerModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the * leaderboard * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getfriendleaderboard */ - GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendLeaderboard(request: PlayFabServerModels.GetFriendLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from * linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends. * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/getfriendslist */ - GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetFriendsList(request: PlayFabServerModels.GetFriendsListRequest, 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/server/player-data-management/getleaderboard */ - GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboard(request: PlayFabServerModels.GetLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked characters for the given statistic, centered on the requested user * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardaroundcharacter */ - GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundCharacter(request: PlayFabServerModels.GetLeaderboardAroundCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboardarounduser */ - GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardAroundUser(request: PlayFabServerModels.GetLeaderboardAroundUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a list of all of the user's characters for the given statistic. * https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardforusercharacters */ - GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetLeaderboardForUserCharacters(request: PlayFabServerModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be * returned. All parameters default to false. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo */ - GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerCombinedInfo(request: PlayFabServerModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the player's profile * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile */ - GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerProfile(request: PlayFabServerModels.GetPlayerProfileRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all segments that a player currently belongs to at this moment in time. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ - GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span @@ -220,296 +220,296 @@ declare module PlayFabServerModule { * called 30 times in one minute. You will be returned an error if you exceed this threshold. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current version and values for the indicated statistics, for the local player. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics */ - GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatistics(request: PlayFabServerModels.GetPlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the information on the available versions of the specified statistic. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatisticversions */ - GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerStatisticVersions(request: PlayFabServerModels.GetPlayerStatisticVersionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all tags with a given Namespace (optional) from a player profile. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags */ - GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, 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/server/account-management/getplayfabidsfromfacebookids */ - GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookIDs(request: PlayFabServerModels.GetPlayFabIDsFromFacebookIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookinstantgamesids */ - GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromFacebookInstantGamesIds(request: PlayFabServerModels.GetPlayFabIDsFromFacebookInstantGamesIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the * service name plus the service-specific ID for the player, as specified by the title when the generic identifier was * added to the player account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids */ - GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromGenericIDs(request: PlayFabServerModels.GetPlayFabIDsFromGenericIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoserviceaccountids */ - GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoServiceAccountIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoServiceAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids */ - GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, 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/server/account-management/getplayfabidsfrompsnaccountids */ - GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNAccountIDsRequest, 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/server/account-management/getplayfabidsfromsteamids */ - GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.GetPlayFabIDsFromSteamIDsRequest, 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: * https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser). * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromtwitchids */ - GetPlayFabIDsFromTwitchIDs(request: PlayFabServerModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromTwitchIDs(request: PlayFabServerModels.GetPlayFabIDsFromTwitchIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids */ - GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPlayFabIDsFromXboxLiveIDs(request: PlayFabServerModels.GetPlayFabIDsFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getpublisherdata */ - GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the configuration information for the specified random results tables for the title, including all ItemId * values and weights * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ - GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids */ - GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetServerCustomIDsFromPlayFabIDs(request: PlayFabServerModels.GetServerCustomIDsFromPlayFabIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all * public and private group data. Shared Groups are designed for sharing data between a very small number of players, * please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/getsharedgroupdata */ - GetSharedGroupData(request: PlayFabServerModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetSharedGroupData(request: PlayFabServerModels.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, for the specified player * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems */ - GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current server time * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettime */ - GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTime(request: PlayFabServerModels.GetTimeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitledata */ - GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the key-value store of custom internal title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitleinternaldata */ - GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleInternalData(request: PlayFabServerModels.GetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title news feed, as configured in the developer portal * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitlenews */ - GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetTitleNews(request: PlayFabServerModels.GetTitleNewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the relevant details for a specified user * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuseraccountinfo */ - GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserAccountInfo(request: PlayFabServerModels.GetUserAccountInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets all bans for a user. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getuserbans */ - GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserBans(request: PlayFabServerModels.GetUserBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserdata */ - GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserinternaldata */ - GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the specified user's current inventory of virtual goods * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getuserinventory */ - GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherdata */ - GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherinternaldata */ - GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherInternalData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherreadonlydata */ - GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserPublisherReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserreadonlydata */ - GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GetUserReadOnlyData(request: PlayFabServerModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated * with the parent PlayFabId to guarantee uniqueness. * https://docs.microsoft.com/rest/api/playfab/server/characters/grantcharactertouser */ - GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified items to the specified character's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter */ - GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified items to the specified user's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser */ - GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the specified items to the specified user inventories * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ - GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Nintendo account associated with the token to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount */ - LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid */ - LinkNintendoSwitchDeviceId(request: PlayFabServerModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkNintendoSwitchDeviceId(request: PlayFabServerModels.LinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount */ - LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the custom server identifier, generated by the title, to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid */ - LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ - LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid */ - LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithServerCustomId(request: PlayFabServerModels.LoginWithServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which * require an authenticated user * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid */ - LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxbox */ - LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithXbox(request: PlayFabServerModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API * calls which require an authenticated user * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxboxid */ - LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies the number of remaining uses of a player's inventory item * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses */ - ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Moves an item from a character's inventory into another of the users's character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter */ - MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Moves an item from a user's inventory into their character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser */ - MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Moves an item from a character's inventory into the owning user's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ - MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Informs the PlayFab match-making service that the user specified has left the Game Server Instance * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/notifymatchmakerplayerleft */ - NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ - RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Validates a Game Server session ticket and returns details about the user * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/redeemmatchmakerticket */ - RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat */ - RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Inform the matchmaker that a new Game Server Instance is added. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend */ - RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveFriend(request: PlayFabServerModels.RemoveFriendRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified generic service identifier from the player's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/removegenericid */ - RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveGenericID(request: PlayFabServerModels.RemoveGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/server/playstream/removeplayertag */ - RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemovePlayerTag(request: PlayFabServerModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the * group can remove members. If as a result of the call, zero users remain with access, the group and its associated data @@ -517,146 +517,146 @@ declare module PlayFabServerModule { * guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/removesharedgroupmembers */ - RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RemoveSharedGroupMembers(request: PlayFabServerModels.RemoveSharedGroupMembersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service * representatives for the title can take action concerning potentially toxic players. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/reportplayer */ - ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + ReportPlayer(request: PlayFabServerModels.ReportPlayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans for a user. * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokeallbansforuser */ - RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeAllBansForUser(request: PlayFabServerModels.RevokeAllBansForUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revoke all active bans specified with BanId. * https://docs.microsoft.com/rest/api/playfab/server/account-management/revokebans */ - RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeBans(request: PlayFabServerModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revokes access to an item in a user's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitem */ - RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeInventoryItem(request: PlayFabServerModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Revokes access for up to 25 items across multiple users and characters. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitems */ - RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Saves push notification template for title * https://docs.microsoft.com/rest/api/playfab/server/account-management/savepushnotificationtemplate */ - SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SavePushNotificationTemplate(request: PlayFabServerModels.SavePushNotificationTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Forces an email to be sent to the registered contact email address for the user's account based on an account recovery * email template * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendcustomaccountrecoveryemail */ - SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendCustomAccountRecoveryEmail(request: PlayFabServerModels.SendCustomAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sends an email based on an email template to a player's contact email * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendemailfromtemplate */ - SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendEmailFromTemplate(request: PlayFabServerModels.SendEmailFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotification */ - SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendPushNotification(request: PlayFabServerModels.SendPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push * Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified. * https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotificationfromtemplate */ - SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SendPushNotificationFromTemplate(request: PlayFabServerModels.SendPushNotificationFromTemplateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the tag list for a specified user in the friend list of another user * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags */ - SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the custom data of the indicated Game Server Instance * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancedata */ - SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set the state of the indicated Game Server Instance. * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancestate */ - SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Set custom tags for the specified Game Server Instance * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancetags */ - SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. * https://docs.microsoft.com/rest/api/playfab/server/authentication/setplayersecret */ - SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPlayerSecret(request: PlayFabServerModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom publisher settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/setpublisherdata */ - SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetPublisherData(request: PlayFabServerModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitledata */ - SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value store of custom title settings * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitleinternaldata */ - SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency */ - SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC * balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ - SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount */ - UnlinkNintendoServiceAccount(request: PlayFabServerModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoServiceAccount(request: PlayFabServerModels.UnlinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoswitchdeviceid */ - UnlinkNintendoSwitchDeviceId(request: PlayFabServerModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkNintendoSwitchDeviceId(request: PlayFabServerModels.UnlinkNintendoSwitchDeviceIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related PlayStation :tm: Network account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount */ - UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkPSNAccount(request: PlayFabServerModels.UnlinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the custom server identifier from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid */ - UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount */ - UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance */ - UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) @@ -664,42 +664,42 @@ declare module PlayFabServerModule { * ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem */ - UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UnlockContainerItem(request: PlayFabServerModels.UnlockContainerItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update the avatar URL of the specified player * https://docs.microsoft.com/rest/api/playfab/server/account-management/updateavatarurl */ - UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateAvatarUrl(request: PlayFabServerModels.UpdateAvatarUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates information of a list of existing bans specified with Ban Ids. * https://docs.microsoft.com/rest/api/playfab/server/account-management/updatebans */ - UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateBans(request: PlayFabServerModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user's character which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterdata */ - UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user's character which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterinternaldata */ - UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterInternalData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user's character which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterreadonlydata */ - UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterReadOnlyData(request: PlayFabServerModels.UpdateCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the specific character * https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics */ - UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics */ - UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdatePlayerStatistics(request: PlayFabServerModels.UpdatePlayerStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated * or added in this call will be readable by users not in the group. By default, data permissions are set to Private. @@ -708,57 +708,57 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/updatesharedgroupdata */ - UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateSharedGroupData(request: PlayFabServerModels.UpdateSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserdata */ - UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserinternaldata */ - UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the key-value pair data tagged to the specified item, which is read-only from the client. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata */ - UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which is readable and writable by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherdata */ - UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which cannot be accessed by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherinternaldata */ - UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the publisher-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherreadonlydata */ - UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserPublisherReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the title-specific custom data for the user which can only be read by the client * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserreadonlydata */ - UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + UpdateUserReadOnlyData(request: PlayFabServerModels.UpdateUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a character-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/server/analytics/writecharacterevent */ - WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteCharacterEvent(request: PlayFabServerModels.WriteServerCharacterEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a player-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/server/analytics/writeplayerevent */ - WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WritePlayerEvent(request: PlayFabServerModels.WriteServerPlayerEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Writes a title-based event into PlayStream. * https://docs.microsoft.com/rest/api/playfab/server/analytics/writetitleevent */ - WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): void; + WriteTitleEvent(request: PlayFabServerModels.WriteTitleEventRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -2916,7 +2916,16 @@ declare module PlayFabServerModels { ContinuationToken?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Maximum number of profiles to load. Default is 1,000. Maximum is 10,000. */ + /** + * 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 From 7671a88794cbf6121ec9abfeb8099f69cf9b6cb5 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 8 Nov 2022 21:14:58 +0000 Subject: [PATCH 166/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#221107 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 89 +++++++++++++++---- .../PlayFab/PlayFabMultiplayerApi.d.ts | 25 +++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 63 +++++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 89 +++++++++++++++---- .../PlayFab/PlayFabMultiplayerApi.d.ts | 25 +++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 63 +++++++++++-- 37 files changed, 423 insertions(+), 173 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index a2e1834a..c37bf54e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.131.221024", + "version": "1.132.221107", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index a148f777..8bc55ca9 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e089e5c9..c41edc73 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index cbcbf2aa..b99dffb7 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 642e9a7b..4a384a0a 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e11c2ff4..3a23612c 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index b01ba97d..2b8a5701 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 70d90e66..fe1e8180 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index e5b7e932..03cbb67f 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 97c7f700..bd26697e 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b479d0e9..b643e059 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 8e9a53ba..452563e8 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index c236b3e0..0d86c862 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index c0e9b3df..6cc65130 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 7e15e001..f450beaf 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 54a24ce6..04f42405 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.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 8a544d86..bfdc8cd2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1997,6 +1997,25 @@ declare module PlayFabClientModels { } + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "SteamOrFacebook" + | "Xbox" + | "SteamOrXbox" + | "FacebookOrXbox" + | "SteamOrFacebookOrXbox" + | "Psn" + | "SteamOrPsn" + | "FacebookOrPsn" + | "SteamOrFacebookOrPsn" + | "XboxOrPsn" + | "SteamOrXboxOrPsn" + | "FacebookOrXboxOrPsn" + | "SteamOrFacebookOrXboxOrPsn" + | "All"; + export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -2222,8 +2241,6 @@ declare module PlayFabClientModels { } export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** First entry in the leaderboard to be retrieved. */ @@ -2273,6 +2290,8 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2309,6 +2328,8 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2335,6 +2356,8 @@ declare module PlayFabClientModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2359,8 +2382,6 @@ declare module PlayFabClientModels { export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2659,7 +2680,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 + * in length. + */ FacebookIDs: string[]; } @@ -2671,7 +2695,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 25 in length. + */ FacebookInstantGamesIds: string[]; } @@ -2683,7 +2710,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. + * The array cannot exceed 2,000 in length. + */ GameCenterIDs: string[]; } @@ -2710,7 +2740,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ GoogleIDs: string[]; } @@ -2722,7 +2755,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. + * The array cannot exceed 2,000 in length. + */ GooglePlayGamesPlayerIDs: string[]; } @@ -2734,7 +2770,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. The + * array cannot exceed 2,000 in length. + */ KongregateIDs: string[]; } @@ -2746,7 +2785,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoAccountIds: string[]; } @@ -2758,7 +2800,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoSwitchDeviceIds: string[]; } @@ -2772,7 +2817,10 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ PSNAccountIDs: string[]; } @@ -2784,7 +2832,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ SteamStringIDs?: string[]; } @@ -2796,7 +2847,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ TwitchIds: string[]; } @@ -2810,7 +2864,10 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; - /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ XboxLiveAccountIDs: string[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index a6f74eb9..9cce5eb5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1473,13 +1473,34 @@ declare module PlayFabMultiplayerModels { } + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "SteamOrFacebook" + | "Xbox" + | "SteamOrXbox" + | "FacebookOrXbox" + | "SteamOrFacebookOrXbox" + | "Psn" + | "SteamOrPsn" + | "FacebookOrPsn" + | "SteamOrFacebookOrPsn" + | "XboxOrPsn" + | "SteamOrXboxOrPsn" + | "FacebookOrXboxOrPsn" + | "SteamOrFacebookOrXboxOrPsn" + | "All"; + export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Controls whether this query should link to friends made on the Facebook network. Defaults to false */ - ExcludeFacebookFriends: boolean; + ExcludeFacebookFriends?: boolean; /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ - ExcludeSteamFriends: boolean; + ExcludeSteamFriends?: boolean; + /** Indicates which other platforms' friends this query should link to. */ + ExternalPlatformFriends?: string; /** * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 8e2d2736..c8a334c9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1750,6 +1750,25 @@ declare module PlayFabServerModels { } + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "SteamOrFacebook" + | "Xbox" + | "SteamOrXbox" + | "FacebookOrXbox" + | "SteamOrFacebookOrXbox" + | "Psn" + | "SteamOrPsn" + | "FacebookOrPsn" + | "SteamOrFacebookOrPsn" + | "XboxOrPsn" + | "SteamOrXboxOrPsn" + | "FacebookOrXboxOrPsn" + | "SteamOrFacebookOrXboxOrPsn" + | "All"; + export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -2649,6 +2668,8 @@ declare module PlayFabServerModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2677,6 +2698,8 @@ declare module PlayFabServerModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -3011,7 +3034,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 + * in length. + */ FacebookIDs: string[]; } @@ -3023,7 +3049,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 25 in length. + */ FacebookInstantGamesIds: string[]; } @@ -3050,7 +3079,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoAccountIds: string[]; } @@ -3062,7 +3094,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoSwitchDeviceIds: string[]; } @@ -3076,7 +3111,10 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ PSNAccountIDs: string[]; } @@ -3088,7 +3126,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ SteamStringIDs?: string[]; } @@ -3100,7 +3141,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ TwitchIds: string[]; } @@ -3114,7 +3158,10 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; - /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ XboxLiveAccountIDs: string[]; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index a148f777..8bc55ca9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e089e5c9..c41edc73 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index cbcbf2aa..b99dffb7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 642e9a7b..4a384a0a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e11c2ff4..3a23612c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index b01ba97d..2b8a5701 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 70d90e66..fe1e8180 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index e5b7e932..03cbb67f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 97c7f700..bd26697e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b479d0e9..b643e059 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 8e9a53ba..452563e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index c236b3e0..0d86c862 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index c0e9b3df..6cc65130 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 7e15e001..f450beaf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 54a24ce6..04f42405 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.131.221024", + sdkVersion: "1.132.221107", requestGetParams: { - sdk: "JavaScriptSDK-1.131.221024" + sdk: "JavaScriptSDK-1.132.221107" }, sessionTicket: 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.131.221024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.132.221107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 8a544d86..bfdc8cd2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1997,6 +1997,25 @@ declare module PlayFabClientModels { } + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "SteamOrFacebook" + | "Xbox" + | "SteamOrXbox" + | "FacebookOrXbox" + | "SteamOrFacebookOrXbox" + | "Psn" + | "SteamOrPsn" + | "FacebookOrPsn" + | "SteamOrFacebookOrPsn" + | "XboxOrPsn" + | "SteamOrXboxOrPsn" + | "FacebookOrXboxOrPsn" + | "SteamOrFacebookOrXboxOrPsn" + | "All"; + export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -2222,8 +2241,6 @@ declare module PlayFabClientModels { } export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** First entry in the leaderboard to be retrieved. */ @@ -2273,6 +2290,8 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2309,6 +2328,8 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2335,6 +2356,8 @@ declare module PlayFabClientModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2359,8 +2382,6 @@ declare module PlayFabClientModels { export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character on which to center the leaderboard. */ CharacterId: string; - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** Unique identifier for the title-specific statistic for the leaderboard. */ @@ -2659,7 +2680,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 + * in length. + */ FacebookIDs: string[]; } @@ -2671,7 +2695,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 25 in length. + */ FacebookInstantGamesIds: string[]; } @@ -2683,7 +2710,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. + * The array cannot exceed 2,000 in length. + */ GameCenterIDs: string[]; } @@ -2710,7 +2740,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ GoogleIDs: string[]; } @@ -2722,7 +2755,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. + * The array cannot exceed 2,000 in length. + */ GooglePlayGamesPlayerIDs: string[]; } @@ -2734,7 +2770,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. The + * array cannot exceed 2,000 in length. + */ KongregateIDs: string[]; } @@ -2746,7 +2785,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoAccountIds: string[]; } @@ -2758,7 +2800,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoSwitchDeviceIds: string[]; } @@ -2772,7 +2817,10 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ PSNAccountIDs: string[]; } @@ -2784,7 +2832,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ SteamStringIDs?: string[]; } @@ -2796,7 +2847,10 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ TwitchIds: string[]; } @@ -2810,7 +2864,10 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; - /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ XboxLiveAccountIDs: string[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index a6f74eb9..9cce5eb5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1473,13 +1473,34 @@ declare module PlayFabMultiplayerModels { } + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "SteamOrFacebook" + | "Xbox" + | "SteamOrXbox" + | "FacebookOrXbox" + | "SteamOrFacebookOrXbox" + | "Psn" + | "SteamOrPsn" + | "FacebookOrPsn" + | "SteamOrFacebookOrPsn" + | "XboxOrPsn" + | "SteamOrXboxOrPsn" + | "FacebookOrXboxOrPsn" + | "SteamOrFacebookOrXboxOrPsn" + | "All"; + export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** Controls whether this query should link to friends made on the Facebook network. Defaults to false */ - ExcludeFacebookFriends: boolean; + ExcludeFacebookFriends?: boolean; /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ - ExcludeSteamFriends: boolean; + ExcludeSteamFriends?: boolean; + /** Indicates which other platforms' friends this query should link to. */ + ExternalPlatformFriends?: string; /** * OData style string that contains one or more filters. Only the following operators are supported: "and" (logical and), * "eq" (equal), "ne" (not equals), "ge" (greater than or equal), "gt" (greater than), "le" (less than or equal), and "lt" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 8e2d2736..c8a334c9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1750,6 +1750,25 @@ declare module PlayFabServerModels { } + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "SteamOrFacebook" + | "Xbox" + | "SteamOrXbox" + | "FacebookOrXbox" + | "SteamOrFacebookOrXbox" + | "Psn" + | "SteamOrPsn" + | "FacebookOrPsn" + | "SteamOrFacebookOrPsn" + | "XboxOrPsn" + | "SteamOrXboxOrPsn" + | "FacebookOrXboxOrPsn" + | "SteamOrFacebookOrXboxOrPsn" + | "All"; + export interface FacebookInstantGamesPlayFabIdPair { /** Unique Facebook Instant Games identifier for a user. */ FacebookInstantGamesId?: string; @@ -2649,6 +2668,8 @@ declare module PlayFabServerModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -2677,6 +2698,8 @@ declare module PlayFabServerModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Indicates which other platforms' friends should be included in the response. */ + ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; /** Indicates whether Steam service friends should be included in the response. Default is true. */ @@ -3011,7 +3034,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 + * in length. + */ FacebookIDs: string[]; } @@ -3023,7 +3049,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromFacebookInstantGamesIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Facebook Instant Games identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 25 in length. + */ FacebookInstantGamesIds: string[]; } @@ -3050,7 +3079,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoAccountIds: string[]; } @@ -3062,7 +3094,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ NintendoSwitchDeviceIds: string[]; } @@ -3076,7 +3111,10 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ PSNAccountIDs: string[]; } @@ -3088,7 +3126,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ SteamStringIDs?: string[]; } @@ -3100,7 +3141,10 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ TwitchIds: string[]; } @@ -3114,7 +3158,10 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The ID of Xbox Live sandbox. */ Sandbox?: string; - /** Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. */ + /** + * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 2,000 in length. + */ XboxLiveAccountIDs: string[]; } From 51f43864f15f8d528abf14db3c049dc434ab51f3 Mon Sep 17 00:00:00 2001 From: Emilia Date: Tue, 15 Nov 2022 17:45:05 -0500 Subject: [PATCH 167/253] Quick README npm module fix (#88) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39c1e079..76bd1f1b 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ You may install JavaScript SDK with npm by running : `npm install playfab-web-sdk` -Notice that it will install web JavaScript package as opposed to `npm install playfab` which will install NodeJS SDK. +Notice that it will install web JavaScript package as opposed to `npm install playfab-sdk` which will install NodeJS SDK. While npm is generally used for server side packages, you may use one of popular build tools to mix NPM installed packages into your clientside JS codebase. Consider Babel, Webpack, Gulp or Grunt for different approaches to building and automation. From ff2c8f438ca4428bc402e779642ad12c83745d51 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 8 Dec 2022 03:51:11 +0000 Subject: [PATCH 168/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#221207 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 26 ++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 2 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 147 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 11 -- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 35 ++--- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 12 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 26 ++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 2 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 147 ++++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 11 -- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 35 ++--- 43 files changed, 489 insertions(+), 211 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c37bf54e..b24f0bb2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.132.221107", + "version": "1.133.221207", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 8bc55ca9..00749a91 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c41edc73..9b846595 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b99dffb7..715efc95 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 4a384a0a..fae2a276 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3a23612c..3f12ac51 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 2b8a5701..6573d58a 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -333,6 +333,10 @@ PlayFab.EconomyApi = { 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); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index fe1e8180..f2b3d58a 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 03cbb67f..5de2e22d 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index bd26697e..2cd60dbf 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b643e059..bbba9049 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 452563e8..1ea46d12 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 0d86c862..2ca4e0b6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 6cc65130..76ca9e64 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index f450beaf..36d49835 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 04f42405..bdc4daa1 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.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 2fd8476f..3c976206 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2396,9 +2396,9 @@ declare module PlayFabAdminModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" - | "StorageAccountNotFound" | "PlayStreamConnectionFailed" | "InvalidEventContents" + | "InsightsV1Deprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3622,6 +3622,8 @@ declare module PlayFabAdminModels { 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 */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index bfdc8cd2..9543ba48 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2001,19 +2001,8 @@ declare module PlayFabClientModels { | "Steam" | "Facebook" - | "SteamOrFacebook" | "Xbox" - | "SteamOrXbox" - | "FacebookOrXbox" - | "SteamOrFacebookOrXbox" | "Psn" - | "SteamOrPsn" - | "FacebookOrPsn" - | "SteamOrFacebookOrPsn" - | "XboxOrPsn" - | "SteamOrXboxOrPsn" - | "FacebookOrXboxOrPsn" - | "SteamOrFacebookOrXboxOrPsn" | "All"; export interface FacebookInstantGamesPlayFabIdPair { @@ -2290,7 +2279,10 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2328,7 +2320,10 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2356,7 +2351,10 @@ declare module PlayFabClientModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index aeeadf80..279f2a8f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -736,7 +736,7 @@ declare module PlayFabCloudScriptModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ - Entity: EntityKey; + Entity?: EntityKey; /** The result of the function execution */ FunctionResult: ExecuteFunctionResult; /** The id of the scheduled task that invoked the function. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index a73a7d00..f9f6d477 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -119,6 +119,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens */ GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get transaction history. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory + */ + GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem @@ -230,6 +235,8 @@ declare module PlayFabEconomyModels { Amount: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this operation. */ + NewStackValues?: InitialValues; } @@ -242,14 +249,20 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this request. */ + NewStackValues?: InitialValues; } export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -770,6 +783,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity the request is about. Set to the caller by default. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; } @@ -790,6 +805,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ @@ -798,6 +815,8 @@ declare module PlayFabEconomyModels { } export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -851,6 +870,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** @@ -862,6 +883,8 @@ declare module PlayFabEconomyModels { } export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of the transactions that occurred as a result of the request. */ @@ -1020,6 +1043,8 @@ declare module PlayFabEconomyModels { export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The requested inventory items. */ Items?: InventoryItem[]; @@ -1187,6 +1212,30 @@ declare module PlayFabEconomyModels { } + export interface GetTransactionHistoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ + ContinuationToken?: string; + /** Number of items to retrieve. (Default = 10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** An OData filter used to refine the query. */ + Filter?: string; + + } + + export interface GetTransactionHistoryResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ + ContinuationToken?: string; + /** The requested inventory transactions. */ + Transactions?: Transaction[]; + + } + export interface GooglePlayProductPurchase { /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ ProductId?: string; @@ -1218,9 +1267,17 @@ declare module PlayFabEconomyModels { } + export interface InitialValues { + /** Game specific properties for display purposes. */ + DisplayProperties?: any; + + } + export interface InventoryItem { /** The amount of the item. */ Amount: number; + /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ + DisplayProperties?: any; /** The id of the item. This should correspond to the item id in the catalog. */ Id?: string; /** The stack id of the item. */ @@ -1321,6 +1378,8 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this operation. */ + NewStackValues?: InitialValues; /** * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or * specified Store. @@ -1345,10 +1404,14 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this request. */ + NewStackValues?: InitialValues; /** * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or * specified Store. @@ -1360,6 +1423,8 @@ declare module PlayFabEconomyModels { } export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -1781,6 +1846,8 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ @@ -1789,6 +1856,8 @@ declare module PlayFabEconomyModels { } export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -1808,6 +1877,72 @@ declare module PlayFabEconomyModels { } + export interface Transaction { + /** The API call that caused this transaction. */ + ApiName?: string; + /** The type of item that the the operation occurred on. */ + ItemType?: string; + /** The operations that occurred. */ + Operations?: TransactionOperation[]; + /** The type of operation that was run. */ + OperationType?: string; + /** Additional details about the transaction. Null if it was not a purchase operation. */ + PurchaseDetails?: TransactionPurchaseDetails; + /** Additional details about the transaction. Null if it was not a redeem operation. */ + RedeemDetails?: TransactionRedeemDetails; + /** The time this transaction occurred in UTC. */ + Timestamp: string; + /** The id of the transaction. This should be treated like an opaque token. */ + TransactionId?: string; + /** Additional details about the transaction. Null if it was not a transfer operation. */ + TransferDetails?: TransactionTransferDetails; + + } + + export interface TransactionOperation { + /** The amount of items in this transaction. */ + Amount?: number; + /** The item id of the items in this transaction. */ + ItemId?: string; + /** The type of item that the operation occurred on. */ + ItemType?: string; + /** The stack id of the items in this transaction. */ + StackId?: string; + /** The type of the operation that occurred. */ + Type?: string; + + } + + export interface TransactionPurchaseDetails { + /** The id of the Store the item was purchased from or null. */ + StoreId?: string; + + } + + export interface TransactionRedeemDetails { + /** The marketplace that the offer is being redeemed from. */ + Marketplace?: string; + /** The transaction Id returned from the marketplace. */ + MarketplaceTransactionId?: string; + /** The offer Id of the item being redeemed. */ + OfferId?: string; + + } + + export interface TransactionTransferDetails { + /** The collection id the items were transferred from or null if it was the current collection. */ + GivingCollectionId?: string; + /** The entity the items were transferred from or null if it was the current entity. */ + GivingEntity?: EntityKey; + /** The collection id the items were transferred to or null if it was the current collection. */ + ReceivingCollectionId?: string; + /** The entity the items were transferred to or null if it was the current entity. */ + ReceivingEntity?: EntityKey; + /** The id of the transfer that occurred. */ + TransferId?: string; + + } + export interface TransferInventoryItemsOperation { /** The amount to transfer. */ Amount: number; @@ -1818,6 +1953,8 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The inventory item the operation is transferring from. */ GivingItem?: InventoryItemReference; + /** The values to apply to a stack newly created by this operation. */ + NewStackValues?: InitialValues; /** The inventory item the operation is transferring to. */ ReceivingItem?: InventoryItemReference; @@ -1837,10 +1974,14 @@ declare module PlayFabEconomyModels { GivingCollectionId?: string; /** The entity the request is transferring from. Set to the caller by default. */ GivingEntity?: EntityKey; + /** ETags are used for concurrency checking when updating resources (before transferring from). */ + GivingETag?: string; /** The inventory item the request is transferring from. */ GivingItem?: InventoryItemReference; /** The idempotency id for the request. */ IdempotencyId?: string; + /** The values to apply to a stack newly created by this request. */ + NewStackValues?: InitialValues; /** The inventory collection id the request is transferring to. (Default="default") */ ReceivingCollectionId?: string; /** The entity the request is transferring to. Set to the caller by default. */ @@ -1851,6 +1992,8 @@ declare module PlayFabEconomyModels { } export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources (after transferring from). */ + GivingETag?: string; /** The ids of transactions that occurred as a result of the request's giving action. */ GivingTransactionIds?: string[]; /** The idempotency id for the request. */ @@ -1901,6 +2044,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item to update with the specified values. */ @@ -1909,6 +2054,8 @@ declare module PlayFabEconomyModels { } export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 9cce5eb5..e79ea750 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1477,19 +1477,8 @@ declare module PlayFabMultiplayerModels { | "Steam" | "Facebook" - | "SteamOrFacebook" | "Xbox" - | "SteamOrXbox" - | "FacebookOrXbox" - | "SteamOrFacebookOrXbox" | "Psn" - | "SteamOrPsn" - | "FacebookOrPsn" - | "SteamOrFacebookOrPsn" - | "XboxOrPsn" - | "SteamOrXboxOrPsn" - | "FacebookOrXboxOrPsn" - | "SteamOrFacebookOrXboxOrPsn" | "All"; export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index c8a334c9..e396bef4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1099,6 +1099,12 @@ declare module PlayFabServerModels { } + type ChurnRiskLevel = "NoData" + + | "LowRisk" + | "MediumRisk" + | "HighRisk"; + type CloudScriptRevisionOption = "Live" | "Latest" @@ -1754,19 +1760,8 @@ declare module PlayFabServerModels { | "Steam" | "Facebook" - | "SteamOrFacebook" | "Xbox" - | "SteamOrXbox" - | "FacebookOrXbox" - | "SteamOrFacebookOrXbox" | "Psn" - | "SteamOrPsn" - | "FacebookOrPsn" - | "SteamOrFacebookOrPsn" - | "XboxOrPsn" - | "SteamOrXboxOrPsn" - | "FacebookOrXboxOrPsn" - | "SteamOrFacebookOrXboxOrPsn" | "All"; export interface FacebookInstantGamesPlayFabIdPair { @@ -2351,9 +2346,9 @@ declare module PlayFabServerModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" - | "StorageAccountNotFound" | "PlayStreamConnectionFailed" | "InvalidEventContents" + | "InsightsV1Deprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2611,8 +2606,6 @@ declare module PlayFabServerModels { } export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** First entry in the leaderboard to be retrieved. */ @@ -2668,7 +2661,10 @@ declare module PlayFabServerModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2698,7 +2694,10 @@ declare module PlayFabServerModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2726,8 +2725,6 @@ declare module PlayFabServerModels { export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3975,6 +3972,8 @@ declare module PlayFabServerModels { 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 */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 8bc55ca9..00749a91 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c41edc73..9b846595 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b99dffb7..715efc95 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 4a384a0a..fae2a276 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3a23612c..3f12ac51 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 2b8a5701..6573d58a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -333,6 +333,10 @@ PlayFab.EconomyApi = { 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); + }, + PublishDraftItem: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/PublishDraftItem", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index fe1e8180..f2b3d58a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 03cbb67f..5de2e22d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index bd26697e..2cd60dbf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b643e059..bbba9049 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 452563e8..1ea46d12 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 0d86c862..2ca4e0b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 6cc65130..76ca9e64 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index f450beaf..36d49835 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 04f42405..bdc4daa1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.132.221107", + sdkVersion: "1.133.221207", requestGetParams: { - sdk: "JavaScriptSDK-1.132.221107" + sdk: "JavaScriptSDK-1.133.221207" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.132.221107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.133.221207"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 2fd8476f..3c976206 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2396,9 +2396,9 @@ declare module PlayFabAdminModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" - | "StorageAccountNotFound" | "PlayStreamConnectionFailed" | "InvalidEventContents" + | "InsightsV1Deprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3622,6 +3622,8 @@ declare module PlayFabAdminModels { 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 */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index bfdc8cd2..9543ba48 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2001,19 +2001,8 @@ declare module PlayFabClientModels { | "Steam" | "Facebook" - | "SteamOrFacebook" | "Xbox" - | "SteamOrXbox" - | "FacebookOrXbox" - | "SteamOrFacebookOrXbox" | "Psn" - | "SteamOrPsn" - | "FacebookOrPsn" - | "SteamOrFacebookOrPsn" - | "XboxOrPsn" - | "SteamOrXboxOrPsn" - | "FacebookOrXboxOrPsn" - | "SteamOrFacebookOrXboxOrPsn" | "All"; export interface FacebookInstantGamesPlayFabIdPair { @@ -2290,7 +2279,10 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardAroundPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2328,7 +2320,10 @@ declare module PlayFabClientModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2356,7 +2351,10 @@ declare module PlayFabClientModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index aeeadf80..279f2a8f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -736,7 +736,7 @@ declare module PlayFabCloudScriptModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ - Entity: EntityKey; + Entity?: EntityKey; /** The result of the function execution */ FunctionResult: ExecuteFunctionResult; /** The id of the scheduled task that invoked the function. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index a73a7d00..f9f6d477 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -119,6 +119,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens */ GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get transaction history. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory + */ + GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Initiates a publish of an item from the working catalog to the public catalog. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem @@ -230,6 +235,8 @@ declare module PlayFabEconomyModels { Amount: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this operation. */ + NewStackValues?: InitialValues; } @@ -242,14 +249,20 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this request. */ + NewStackValues?: InitialValues; } export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -770,6 +783,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity the request is about. Set to the caller by default. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; } @@ -790,6 +805,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ @@ -798,6 +815,8 @@ declare module PlayFabEconomyModels { } export interface DeleteInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -851,6 +870,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** @@ -862,6 +883,8 @@ declare module PlayFabEconomyModels { } export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of the transactions that occurred as a result of the request. */ @@ -1020,6 +1043,8 @@ declare module PlayFabEconomyModels { export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The requested inventory items. */ Items?: InventoryItem[]; @@ -1187,6 +1212,30 @@ declare module PlayFabEconomyModels { } + export interface GetTransactionHistoryRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ + ContinuationToken?: string; + /** Number of items to retrieve. (Default = 10) */ + Count: number; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** An OData filter used to refine the query. */ + Filter?: string; + + } + + export interface GetTransactionHistoryResponse extends PlayFabModule.IPlayFabResultCommon { + /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ + ContinuationToken?: string; + /** The requested inventory transactions. */ + Transactions?: Transaction[]; + + } + export interface GooglePlayProductPurchase { /** The Product ID (SKU) of the InApp product purchased from the Google Play store. */ ProductId?: string; @@ -1218,9 +1267,17 @@ declare module PlayFabEconomyModels { } + export interface InitialValues { + /** Game specific properties for display purposes. */ + DisplayProperties?: any; + + } + export interface InventoryItem { /** The amount of the item. */ Amount: number; + /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ + DisplayProperties?: any; /** The id of the item. This should correspond to the item id in the catalog. */ Id?: string; /** The stack id of the item. */ @@ -1321,6 +1378,8 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this operation. */ + NewStackValues?: InitialValues; /** * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or * specified Store. @@ -1345,10 +1404,14 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; + /** The values to apply to a stack newly created by this request. */ + NewStackValues?: InitialValues; /** * The per-item price the item is expected to be purchased at. This must match a value configured in the Catalog or * specified Store. @@ -1360,6 +1423,8 @@ declare module PlayFabEconomyModels { } export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -1781,6 +1846,8 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item the request applies to. */ @@ -1789,6 +1856,8 @@ declare module PlayFabEconomyModels { } export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ @@ -1808,6 +1877,72 @@ declare module PlayFabEconomyModels { } + export interface Transaction { + /** The API call that caused this transaction. */ + ApiName?: string; + /** The type of item that the the operation occurred on. */ + ItemType?: string; + /** The operations that occurred. */ + Operations?: TransactionOperation[]; + /** The type of operation that was run. */ + OperationType?: string; + /** Additional details about the transaction. Null if it was not a purchase operation. */ + PurchaseDetails?: TransactionPurchaseDetails; + /** Additional details about the transaction. Null if it was not a redeem operation. */ + RedeemDetails?: TransactionRedeemDetails; + /** The time this transaction occurred in UTC. */ + Timestamp: string; + /** The id of the transaction. This should be treated like an opaque token. */ + TransactionId?: string; + /** Additional details about the transaction. Null if it was not a transfer operation. */ + TransferDetails?: TransactionTransferDetails; + + } + + export interface TransactionOperation { + /** The amount of items in this transaction. */ + Amount?: number; + /** The item id of the items in this transaction. */ + ItemId?: string; + /** The type of item that the operation occurred on. */ + ItemType?: string; + /** The stack id of the items in this transaction. */ + StackId?: string; + /** The type of the operation that occurred. */ + Type?: string; + + } + + export interface TransactionPurchaseDetails { + /** The id of the Store the item was purchased from or null. */ + StoreId?: string; + + } + + export interface TransactionRedeemDetails { + /** The marketplace that the offer is being redeemed from. */ + Marketplace?: string; + /** The transaction Id returned from the marketplace. */ + MarketplaceTransactionId?: string; + /** The offer Id of the item being redeemed. */ + OfferId?: string; + + } + + export interface TransactionTransferDetails { + /** The collection id the items were transferred from or null if it was the current collection. */ + GivingCollectionId?: string; + /** The entity the items were transferred from or null if it was the current entity. */ + GivingEntity?: EntityKey; + /** The collection id the items were transferred to or null if it was the current collection. */ + ReceivingCollectionId?: string; + /** The entity the items were transferred to or null if it was the current entity. */ + ReceivingEntity?: EntityKey; + /** The id of the transfer that occurred. */ + TransferId?: string; + + } + export interface TransferInventoryItemsOperation { /** The amount to transfer. */ Amount: number; @@ -1818,6 +1953,8 @@ declare module PlayFabEconomyModels { DeleteEmptyStacks: boolean; /** The inventory item the operation is transferring from. */ GivingItem?: InventoryItemReference; + /** The values to apply to a stack newly created by this operation. */ + NewStackValues?: InitialValues; /** The inventory item the operation is transferring to. */ ReceivingItem?: InventoryItemReference; @@ -1837,10 +1974,14 @@ declare module PlayFabEconomyModels { GivingCollectionId?: string; /** The entity the request is transferring from. Set to the caller by default. */ GivingEntity?: EntityKey; + /** ETags are used for concurrency checking when updating resources (before transferring from). */ + GivingETag?: string; /** The inventory item the request is transferring from. */ GivingItem?: InventoryItemReference; /** The idempotency id for the request. */ IdempotencyId?: string; + /** The values to apply to a stack newly created by this request. */ + NewStackValues?: InitialValues; /** The inventory collection id the request is transferring to. (Default="default") */ ReceivingCollectionId?: string; /** The entity the request is transferring to. Set to the caller by default. */ @@ -1851,6 +1992,8 @@ declare module PlayFabEconomyModels { } export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources (after transferring from). */ + GivingETag?: string; /** The ids of transactions that occurred as a result of the request's giving action. */ GivingTransactionIds?: string[]; /** The idempotency id for the request. */ @@ -1901,6 +2044,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The Idempotency ID for this request. */ IdempotencyId?: string; /** The inventory item to update with the specified values. */ @@ -1909,6 +2054,8 @@ declare module PlayFabEconomyModels { } export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** ETags are used for concurrency checking when updating resources. */ + ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; /** The ids of transactions that occurred as a result of the request. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 9cce5eb5..e79ea750 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1477,19 +1477,8 @@ declare module PlayFabMultiplayerModels { | "Steam" | "Facebook" - | "SteamOrFacebook" | "Xbox" - | "SteamOrXbox" - | "FacebookOrXbox" - | "SteamOrFacebookOrXbox" | "Psn" - | "SteamOrPsn" - | "FacebookOrPsn" - | "SteamOrFacebookOrPsn" - | "XboxOrPsn" - | "SteamOrXboxOrPsn" - | "FacebookOrXboxOrPsn" - | "SteamOrFacebookOrXboxOrPsn" | "All"; export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index c8a334c9..e396bef4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1099,6 +1099,12 @@ declare module PlayFabServerModels { } + type ChurnRiskLevel = "NoData" + + | "LowRisk" + | "MediumRisk" + | "HighRisk"; + type CloudScriptRevisionOption = "Live" | "Latest" @@ -1754,19 +1760,8 @@ declare module PlayFabServerModels { | "Steam" | "Facebook" - | "SteamOrFacebook" | "Xbox" - | "SteamOrXbox" - | "FacebookOrXbox" - | "SteamOrFacebookOrXbox" | "Psn" - | "SteamOrPsn" - | "FacebookOrPsn" - | "SteamOrFacebookOrPsn" - | "XboxOrPsn" - | "SteamOrXboxOrPsn" - | "FacebookOrXboxOrPsn" - | "SteamOrFacebookOrXboxOrPsn" | "All"; export interface FacebookInstantGamesPlayFabIdPair { @@ -2351,9 +2346,9 @@ declare module PlayFabServerModels { | "AutomationRuleAlreadyExists" | "AutomationRuleLimitExceeded" | "InvalidGooglePlayGamesServerAuthCode" - | "StorageAccountNotFound" | "PlayStreamConnectionFailed" | "InvalidEventContents" + | "InsightsV1Deprecated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2611,8 +2606,6 @@ declare module PlayFabServerModels { } export interface GetCharacterLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** First entry in the leaderboard to be retrieved. */ @@ -2668,7 +2661,10 @@ declare module PlayFabServerModels { export interface GetFriendLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2698,7 +2694,10 @@ declare module PlayFabServerModels { export interface GetFriendsListRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Indicates which other platforms' friends should be included in the response. */ + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ ExternalPlatformFriends?: string; /** Indicates whether Facebook friends should be included in the response. Default is true. */ IncludeFacebookFriends?: boolean; @@ -2726,8 +2725,6 @@ declare module PlayFabServerModels { export interface GetLeaderboardAroundCharacterRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; - /** Optional character type on which to filter the leaderboard entries. */ - CharacterType?: string; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -3975,6 +3972,8 @@ declare module PlayFabServerModels { 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 */ From b93e37c937264d9fe30185371043b7766df6c4c0 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 10 Jan 2023 17:07:59 +0000 Subject: [PATCH 169/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230109 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 18 ++++++++++++++++-- .../Typings/PlayFab/PlayFabCloudScriptApi.d.ts | 4 ---- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 18 ++++++++++++++++-- .../typings/PlayFab/PlayFabCloudScriptApi.d.ts | 4 ---- 35 files changed, 153 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b24f0bb2..95aaca8b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.133.221207", + "version": "1.134.230109", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 00749a91..fa85aa90 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9b846595..0a6d6ce4 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 715efc95..c6308405 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index fae2a276..c615a1b6 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3f12ac51..f8b6f3dd 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 6573d58a..d1619846 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index f2b3d58a..aa4e1672 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 5de2e22d..a9d00a6e 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 2cd60dbf..e1a95062 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index bbba9049..b1b9419d 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 1ea46d12..f556aa63 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 2ca4e0b6..7e5fd923 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 76ca9e64..05a4036a 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 36d49835..c863bc2e 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index bdc4daa1..fc1b82f8 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.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3c976206..078a5bdb 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -486,7 +486,10 @@ declare module PlayFabAdminModule { */ SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates and updates the key-value store of custom title settings which can be read by the client + * Creates and updates the key-value store of custom title settings which can be read by the client. For example, a + * developer could choose to store values which modify the user experience, such as enemy spawn rates, weapon strengths, + * movement speeds, etc. This allows a developer to update the title without the need to create, test, and ship a new + * build. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -496,7 +499,8 @@ declare module PlayFabAdminModule { */ SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Updates the key-value store of custom title settings which cannot be read by the client + * Updates the key-value store of custom title settings which cannot be read by the client. These values can be used to + * tweak settings used by game servers and Cloud Scripts without the need to update and re-deploy. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -946,6 +950,14 @@ declare module PlayFabAdminModels { } + export interface ChurnPredictionSegmentFilter { + /** Comparison */ + Comparison?: string; + /** RiskLevel */ + RiskLevel?: string; + + } + type ChurnRiskLevel = "NoData" | "LowRisk" @@ -4118,6 +4130,8 @@ declare module PlayFabAdminModels { AdCampaignFilter?: AdCampaignSegmentFilter; /** property for all player filter. */ AllPlayersFilter?: AllPlayersSegmentFilter; + /** Filter property for player churn risk level. */ + ChurnPredictionFilter?: ChurnPredictionSegmentFilter; /** Filter property for first login date. */ FirstLoginDateFilter?: FirstLoginDateSegmentFilter; /** Filter property for first login timespan. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 279f2a8f..be44ea24 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -721,8 +721,6 @@ declare module PlayFabCloudScriptModels { export interface PostFunctionResultForPlayerTriggeredActionRequest 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; /** The result of the function execution. */ FunctionResult: ExecuteFunctionResult; /** The player profile the function was invoked with. */ @@ -735,8 +733,6 @@ declare module PlayFabCloudScriptModels { export interface PostFunctionResultForScheduledTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; /** The result of the function execution */ FunctionResult: ExecuteFunctionResult; /** The id of the scheduled task that invoked the function. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 00749a91..fa85aa90 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9b846595..0a6d6ce4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 715efc95..c6308405 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index fae2a276..c615a1b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3f12ac51..f8b6f3dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 6573d58a..d1619846 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index f2b3d58a..aa4e1672 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 5de2e22d..a9d00a6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 2cd60dbf..e1a95062 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index bbba9049..b1b9419d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 1ea46d12..f556aa63 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 2ca4e0b6..7e5fd923 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 76ca9e64..05a4036a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 36d49835..c863bc2e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index bdc4daa1..fc1b82f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.133.221207", + sdkVersion: "1.134.230109", requestGetParams: { - sdk: "JavaScriptSDK-1.133.221207" + sdk: "JavaScriptSDK-1.134.230109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.133.221207"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.134.230109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3c976206..078a5bdb 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -486,7 +486,10 @@ declare module PlayFabAdminModule { */ SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates and updates the key-value store of custom title settings which can be read by the client + * Creates and updates the key-value store of custom title settings which can be read by the client. For example, a + * developer could choose to store values which modify the user experience, such as enemy spawn rates, weapon strengths, + * movement speeds, etc. This allows a developer to update the title without the need to create, test, and ship a new + * build. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitledata */ SetTitleData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -496,7 +499,8 @@ declare module PlayFabAdminModule { */ SetTitleDataAndOverrides(request: PlayFabAdminModels.SetTitleDataAndOverridesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Updates the key-value store of custom title settings which cannot be read by the client + * Updates the key-value store of custom title settings which cannot be read by the client. These values can be used to + * tweak settings used by game servers and Cloud Scripts without the need to update and re-deploy. * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/settitleinternaldata */ SetTitleInternalData(request: PlayFabAdminModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -946,6 +950,14 @@ declare module PlayFabAdminModels { } + export interface ChurnPredictionSegmentFilter { + /** Comparison */ + Comparison?: string; + /** RiskLevel */ + RiskLevel?: string; + + } + type ChurnRiskLevel = "NoData" | "LowRisk" @@ -4118,6 +4130,8 @@ declare module PlayFabAdminModels { AdCampaignFilter?: AdCampaignSegmentFilter; /** property for all player filter. */ AllPlayersFilter?: AllPlayersSegmentFilter; + /** Filter property for player churn risk level. */ + ChurnPredictionFilter?: ChurnPredictionSegmentFilter; /** Filter property for first login date. */ FirstLoginDateFilter?: FirstLoginDateSegmentFilter; /** Filter property for first login timespan. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 279f2a8f..be44ea24 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -721,8 +721,6 @@ declare module PlayFabCloudScriptModels { export interface PostFunctionResultForPlayerTriggeredActionRequest 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; /** The result of the function execution. */ FunctionResult: ExecuteFunctionResult; /** The player profile the function was invoked with. */ @@ -735,8 +733,6 @@ declare module PlayFabCloudScriptModels { export interface PostFunctionResultForScheduledTaskRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity to perform this action on. */ - Entity?: EntityKey; /** The result of the function execution */ FunctionResult: ExecuteFunctionResult; /** The id of the scheduled task that invoked the function. */ From dae18bc1a96ccc749b52d72964fa50215e427f20 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 26 Jan 2023 19:57:52 +0000 Subject: [PATCH 170/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230123 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- 31 files changed, 121 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 95aaca8b..eee5de43 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.134.230109", + "version": "1.135.230123", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fa85aa90..cb3ebcbe 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0a6d6ce4..20965c41 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c6308405..8f6b2116 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index c615a1b6..529bb3fa 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f8b6f3dd..e249a6c8 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index d1619846..e78de8e9 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index aa4e1672..4f3c52ff 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index a9d00a6e..477768c1 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e1a95062..3ae4572e 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b1b9419d..a159c38f 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index f556aa63..19c4d6bc 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 7e5fd923..54402e6f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 05a4036a..eb55020a 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index c863bc2e..81306fb5 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fc1b82f8..e0802cb1 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.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fa85aa90..cb3ebcbe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0a6d6ce4..20965c41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c6308405..8f6b2116 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index c615a1b6..529bb3fa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f8b6f3dd..e249a6c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index d1619846..e78de8e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index aa4e1672..4f3c52ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index a9d00a6e..477768c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e1a95062..3ae4572e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b1b9419d..a159c38f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index f556aa63..19c4d6bc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 7e5fd923..54402e6f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 05a4036a..eb55020a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index c863bc2e..81306fb5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fc1b82f8..e0802cb1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.134.230109", + sdkVersion: "1.135.230123", requestGetParams: { - sdk: "JavaScriptSDK-1.134.230109" + sdk: "JavaScriptSDK-1.135.230123" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.134.230109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.135.230123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 4f9b662bf674df82e873053be4496a2336c16d75 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 7 Feb 2023 00:22:35 +0000 Subject: [PATCH 171/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230206 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 5 +++++ .../src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 16 ++++++++-------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 +++++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 5 +++++ .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 16 ++++++++-------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 +++++ 37 files changed, 157 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index eee5de43..31399f6d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.135.230123", + "version": "1.136.230206", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index cb3ebcbe..44da8875 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 20965c41..09246917 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8f6b2116..b908b1d2 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 529bb3fa..b350d2bf 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e249a6c8..7d18c419 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index e78de8e9..05520fe9 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 4f3c52ff..9a19f74a 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 477768c1..1c4ab431 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3ae4572e..47dd92ab 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index a159c38f..29a1ed84 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 19c4d6bc..cbe3dcb6 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 54402e6f..ecce092e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index eb55020a..41506f4c 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 81306fb5..21066515 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index e0802cb1..4228ab90 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.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 078a5bdb..29ed65b3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2411,6 +2411,11 @@ declare module PlayFabAdminModels { | "PlayStreamConnectionFailed" | "InvalidEventContents" | "InsightsV1Deprecated" + | "AnalysisSubscriptionNotFound" + | "AnalysisSubscriptionFailed" + | "AnalysisSubscriptionFoundAlready" + | "AnalysisSubscriptionManagementInvalidInput" + | "InvalidGameCenterId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index f9f6d477..396e398d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -232,7 +232,7 @@ declare module PlayFabEconomyModule { declare module PlayFabEconomyModels { export interface AddInventoryItemsOperation { /** The amount to add to the current item amount. */ - Amount: number; + Amount?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; /** The values to apply to a stack newly created by this operation. */ @@ -242,7 +242,7 @@ declare module PlayFabEconomyModels { export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to add for the current item. */ - Amount: number; + Amount?: number; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -1275,7 +1275,7 @@ declare module PlayFabEconomyModels { export interface InventoryItem { /** The amount of the item. */ - Amount: number; + Amount?: number; /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ DisplayProperties?: any; /** The id of the item. This should correspond to the item id in the catalog. */ @@ -1370,7 +1370,7 @@ declare module PlayFabEconomyModels { export interface PurchaseInventoryItemsOperation { /** The amount to purchase. */ - Amount: number; + Amount?: number; /** * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = * false) @@ -1392,7 +1392,7 @@ declare module PlayFabEconomyModels { export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to purchase. */ - Amount: number; + Amount?: number; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -1821,7 +1821,7 @@ declare module PlayFabEconomyModels { export interface SubtractInventoryItemsOperation { /** The amount to subtract from the current item amount. */ - Amount: number; + Amount?: number; /** * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = * false). @@ -1833,8 +1833,8 @@ declare module PlayFabEconomyModels { } export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to add for the current item. */ - Amount: number; + /** The amount to subtract for the current item. */ + Amount?: number; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e396bef4..d273d896 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2349,6 +2349,11 @@ declare module PlayFabServerModels { | "PlayStreamConnectionFailed" | "InvalidEventContents" | "InsightsV1Deprecated" + | "AnalysisSubscriptionNotFound" + | "AnalysisSubscriptionFailed" + | "AnalysisSubscriptionFoundAlready" + | "AnalysisSubscriptionManagementInvalidInput" + | "InvalidGameCenterId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index cb3ebcbe..44da8875 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 20965c41..09246917 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8f6b2116..b908b1d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 529bb3fa..b350d2bf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e249a6c8..7d18c419 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index e78de8e9..05520fe9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4f3c52ff..9a19f74a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 477768c1..1c4ab431 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3ae4572e..47dd92ab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index a159c38f..29a1ed84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 19c4d6bc..cbe3dcb6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 54402e6f..ecce092e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index eb55020a..41506f4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 81306fb5..21066515 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index e0802cb1..4228ab90 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.135.230123", + sdkVersion: "1.136.230206", requestGetParams: { - sdk: "JavaScriptSDK-1.135.230123" + sdk: "JavaScriptSDK-1.136.230206" }, sessionTicket: 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.135.230123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.136.230206"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 078a5bdb..29ed65b3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2411,6 +2411,11 @@ declare module PlayFabAdminModels { | "PlayStreamConnectionFailed" | "InvalidEventContents" | "InsightsV1Deprecated" + | "AnalysisSubscriptionNotFound" + | "AnalysisSubscriptionFailed" + | "AnalysisSubscriptionFoundAlready" + | "AnalysisSubscriptionManagementInvalidInput" + | "InvalidGameCenterId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index f9f6d477..396e398d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -232,7 +232,7 @@ declare module PlayFabEconomyModule { declare module PlayFabEconomyModels { export interface AddInventoryItemsOperation { /** The amount to add to the current item amount. */ - Amount: number; + Amount?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; /** The values to apply to a stack newly created by this operation. */ @@ -242,7 +242,7 @@ declare module PlayFabEconomyModels { export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to add for the current item. */ - Amount: number; + Amount?: number; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -1275,7 +1275,7 @@ declare module PlayFabEconomyModels { export interface InventoryItem { /** The amount of the item. */ - Amount: number; + Amount?: number; /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ DisplayProperties?: any; /** The id of the item. This should correspond to the item id in the catalog. */ @@ -1370,7 +1370,7 @@ declare module PlayFabEconomyModels { export interface PurchaseInventoryItemsOperation { /** The amount to purchase. */ - Amount: number; + Amount?: number; /** * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = * false) @@ -1392,7 +1392,7 @@ declare module PlayFabEconomyModels { export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to purchase. */ - Amount: number; + Amount?: number; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -1821,7 +1821,7 @@ declare module PlayFabEconomyModels { export interface SubtractInventoryItemsOperation { /** The amount to subtract from the current item amount. */ - Amount: number; + Amount?: number; /** * Indicates whether stacks reduced to an amount of 0 during the request should be deleted from the inventory. (Default = * false). @@ -1833,8 +1833,8 @@ declare module PlayFabEconomyModels { } export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The amount to add for the current item. */ - Amount: number; + /** The amount to subtract for the current item. */ + Amount?: number; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e396bef4..d273d896 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2349,6 +2349,11 @@ declare module PlayFabServerModels { | "PlayStreamConnectionFailed" | "InvalidEventContents" | "InsightsV1Deprecated" + | "AnalysisSubscriptionNotFound" + | "AnalysisSubscriptionFailed" + | "AnalysisSubscriptionFoundAlready" + | "AnalysisSubscriptionManagementInvalidInput" + | "InvalidGameCenterId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 958d6ed6eb92224aebde116708b1d25bb97fe04d Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 20 Feb 2023 17:56:23 +0000 Subject: [PATCH 172/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230220 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++-- .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++-- .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 39 files changed, 177 insertions(+), 125 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 31399f6d..9ad72737 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.136.230206", + "version": "1.137.230220", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 44da8875..34735fc4 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 09246917..ed300c52 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b908b1d2..83ce1509 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b350d2bf..af3b754a 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7d18c419..44d9841f 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 05520fe9..fc2cedf9 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 9a19f74a..4855b6b4 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 1c4ab431..c5a54bd4 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 47dd92ab..9327f30a 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 29a1ed84..d7f1560a 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index cbe3dcb6..c7d416fc 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index ecce092e..626da0bf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 41506f4c..4dcbae84 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 21066515..f59bd64a 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 4228ab90..f398ff21 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.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 29ed65b3..13a109ea 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2416,6 +2416,7 @@ declare module PlayFabAdminModels { | "AnalysisSubscriptionFoundAlready" | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" + | "InvalidNintendoSwitchAccountId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 396e398d..8b299507 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1945,7 +1945,7 @@ declare module PlayFabEconomyModels { export interface TransferInventoryItemsOperation { /** The amount to transfer. */ - Amount: number; + Amount?: number; /** * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = * false) @@ -1962,7 +1962,7 @@ declare module PlayFabEconomyModels { export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to transfer . */ - Amount: number; + Amount?: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index e79ea750..658c1631 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -831,6 +831,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The configuration for the VmStartupScript for the build */ + VmStartupScriptConfiguration?: VmStartupScriptParams; } @@ -881,6 +883,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -931,6 +935,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The configuration for the VmStartupScript for the build */ + VmStartupScriptConfiguration?: VmStartupScriptParams; /** The crash dump configuration for the build. */ WindowsCrashDumpConfiguration?: WindowsCrashDumpConfiguration; @@ -986,6 +992,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -1042,6 +1050,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The configuration for the VmStartupScript for the build */ + VmStartupScriptConfiguration?: VmStartupScriptParams; } @@ -1101,6 +1111,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -3340,6 +3352,18 @@ declare module PlayFabMultiplayerModels { } + export interface VmStartupScriptConfiguration { + /** Asset which contains the VmStartupScript script and any other required files. */ + VmStartupScriptAssetReference: AssetReference; + + } + + export interface VmStartupScriptParams { + /** Asset which contains the VmStartupScript script and any other required files. */ + VmStartupScriptAssetReference: AssetReferenceParams; + + } + export interface WindowsCrashDumpConfiguration { /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ CustomDumpFlags?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d273d896..601cf50c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2354,6 +2354,7 @@ declare module PlayFabServerModels { | "AnalysisSubscriptionFoundAlready" | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" + | "InvalidNintendoSwitchAccountId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 44da8875..34735fc4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 09246917..ed300c52 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b908b1d2..83ce1509 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b350d2bf..af3b754a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7d18c419..44d9841f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 05520fe9..fc2cedf9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 9a19f74a..4855b6b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 1c4ab431..c5a54bd4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 47dd92ab..9327f30a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 29a1ed84..d7f1560a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index cbe3dcb6..c7d416fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index ecce092e..626da0bf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 41506f4c..4dcbae84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 21066515..f59bd64a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 4228ab90..f398ff21 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.136.230206", + sdkVersion: "1.137.230220", requestGetParams: { - sdk: "JavaScriptSDK-1.136.230206" + sdk: "JavaScriptSDK-1.137.230220" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.136.230206"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; +PlayFab.sdkVersion = "1.137.230220"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 29ed65b3..13a109ea 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2416,6 +2416,7 @@ declare module PlayFabAdminModels { | "AnalysisSubscriptionFoundAlready" | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" + | "InvalidNintendoSwitchAccountId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 396e398d..8b299507 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1945,7 +1945,7 @@ declare module PlayFabEconomyModels { export interface TransferInventoryItemsOperation { /** The amount to transfer. */ - Amount: number; + Amount?: number; /** * Indicates whether stacks reduced to an amount of 0 during the operation should be deleted from the inventory. (Default = * false) @@ -1962,7 +1962,7 @@ declare module PlayFabEconomyModels { export interface TransferInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to transfer . */ - Amount: number; + Amount?: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index e79ea750..658c1631 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -831,6 +831,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The configuration for the VmStartupScript for the build */ + VmStartupScriptConfiguration?: VmStartupScriptParams; } @@ -881,6 +883,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -931,6 +935,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The configuration for the VmStartupScript for the build */ + VmStartupScriptConfiguration?: VmStartupScriptParams; /** The crash dump configuration for the build. */ WindowsCrashDumpConfiguration?: WindowsCrashDumpConfiguration; @@ -986,6 +992,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -1042,6 +1050,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; + /** The configuration for the VmStartupScript for the build */ + VmStartupScriptConfiguration?: VmStartupScriptParams; } @@ -1101,6 +1111,8 @@ declare module PlayFabMultiplayerModels { UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -3340,6 +3352,18 @@ declare module PlayFabMultiplayerModels { } + export interface VmStartupScriptConfiguration { + /** Asset which contains the VmStartupScript script and any other required files. */ + VmStartupScriptAssetReference: AssetReference; + + } + + export interface VmStartupScriptParams { + /** Asset which contains the VmStartupScript script and any other required files. */ + VmStartupScriptAssetReference: AssetReferenceParams; + + } + export interface WindowsCrashDumpConfiguration { /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ CustomDumpFlags?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d273d896..601cf50c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2354,6 +2354,7 @@ declare module PlayFabServerModels { | "AnalysisSubscriptionFoundAlready" | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" + | "InvalidNintendoSwitchAccountId" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 9f454164282953e56aebfa1cfe6de8765ec8e7ad Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 6 Mar 2023 23:24:25 +0000 Subject: [PATCH 173/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230306 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 13 +++++++++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 ++ .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 25 +++++++++++++++++++ .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 15 +++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- .../src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- .../src/PlayFab/PlayFabDataApi.js | 8 +++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++--- .../src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 13 +++++++++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 ++ .../typings/PlayFab/PlayFabEconomyApi.d.ts | 25 +++++++++++++++++++ .../typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 15 +++++++++-- 41 files changed, 227 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9ad72737..770ce8d2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.137.230220", + "version": "1.138.230306", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 34735fc4..5b67023a 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ed300c52..e5c1141c 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 83ce1509..b6b5983e 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index af3b754a..d6daae63 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 44d9841f..554e31b8 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index fc2cedf9..bbd65194 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 4855b6b4..1a15b132 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index c5a54bd4..6eecde74 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 9327f30a..d8af5145 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index d7f1560a..4ade9f8c 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index c7d416fc..d84314c1 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 626da0bf..3fa845e8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 4dcbae84..d8c4945a 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index f59bd64a..080526f9 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f398ff21..9981a75a 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.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 13a109ea..db178e1e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2417,6 +2417,12 @@ declare module PlayFabAdminModels { | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" | "InvalidNintendoSwitchAccountId" + | "EntityAPIKeysNotSupported" + | "IpAddressBanned" + | "EntityLineageBanned" + | "NamespaceMismatch" + | "InvalidServiceConfiguration" + | "InvalidNamespaceMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2563,6 +2569,11 @@ declare module PlayFabAdminModels { | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound" + | "TelemetryKeyNotFound" + | "TelemetryKeyInvalidName" + | "TelemetryKeyAlreadyExists" + | "TelemetryKeyInvalid" + | "TelemetryKeyCountOverLimit" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" @@ -2852,7 +2863,7 @@ declare module PlayFabAdminModels { 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). + * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). */ SecondsToLive?: number; /** Unique identifier for this segment. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 9543ba48..13796caf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3718,6 +3718,8 @@ declare module PlayFabClientModels { * (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ ServerAuthCode?: string; + /** Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true. */ + SetEmail?: boolean; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 8b299507..140b3630 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -247,6 +247,8 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** The duration to add to the current item expiration date. */ + DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; /** ETags are used for concurrency checking when updating resources. */ @@ -323,6 +325,12 @@ declare module PlayFabEconomyModels { CreatorEntity?: EntityKey; /** The set of platform specific deep links for this item. */ DeepLinks?: DeepLink[]; + /** + * The Stack Id that will be used as default for this item in Inventory when an explicit one is not provided. This + * DefaultStackId can be a static stack id or '{guid}', which will generate a unique stack id for the item. If null, + * Inventory's default stack id will be used. + */ + DefaultStackId?: string; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -385,6 +393,8 @@ declare module PlayFabEconomyModels { export interface CatalogPrice { /** The amounts of the catalog item price. */ Amounts?: CatalogPriceAmount[]; + /** The per-unit duration this price can be used to purchase. */ + UnitDurationInSeconds?: number; } @@ -1278,6 +1288,11 @@ declare module PlayFabEconomyModels { Amount?: number; /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ DisplayProperties?: any; + /** + * Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be + * available indefinitely. + */ + ExpirationDate?: string; /** The id of the item. This should correspond to the item id in the catalog. */ Id?: string; /** The stack id of the item. */ @@ -1376,6 +1391,8 @@ declare module PlayFabEconomyModels { * false) */ DeleteEmptyStacks: boolean; + /** The duration to purchase. */ + DurationInSeconds?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; /** The values to apply to a stack newly created by this operation. */ @@ -1402,6 +1419,8 @@ declare module PlayFabEconomyModels { * (Default=false) */ DeleteEmptyStacks: boolean; + /** The duration to purchase. */ + DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; /** ETags are used for concurrency checking when updating resources. */ @@ -1827,6 +1846,8 @@ declare module PlayFabEconomyModels { * false). */ DeleteEmptyStacks: boolean; + /** The duration to subtract from the current item expiration date. */ + DurationInSeconds?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; @@ -1844,6 +1865,8 @@ declare module PlayFabEconomyModels { * (Default=false) */ DeleteEmptyStacks: boolean; + /** The duration to subtract from the current item expiration date. */ + DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; /** ETags are used for concurrency checking when updating resources. */ @@ -1902,6 +1925,8 @@ declare module PlayFabEconomyModels { export interface TransactionOperation { /** The amount of items in this transaction. */ Amount?: number; + /** The duration modified in this transaction. */ + DurationInSeconds?: number; /** The item id of the items in this transaction. */ ItemId?: string; /** The type of item that the operation occurred on. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index ca19b112..bf942949 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -258,7 +258,7 @@ declare module PlayFabProfilesModels { /** The entity to perform this action on. */ Entity: EntityKey; /** The statements to include in the access policy. */ - Statements?: EntityPermissionStatement[]; + Statements: EntityPermissionStatement[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 601cf50c..1efd871c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2355,6 +2355,12 @@ declare module PlayFabServerModels { | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" | "InvalidNintendoSwitchAccountId" + | "EntityAPIKeysNotSupported" + | "IpAddressBanned" + | "EntityLineageBanned" + | "NamespaceMismatch" + | "InvalidServiceConfiguration" + | "InvalidNamespaceMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2501,6 +2507,11 @@ declare module PlayFabServerModels { | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound" + | "TelemetryKeyNotFound" + | "TelemetryKeyInvalidName" + | "TelemetryKeyAlreadyExists" + | "TelemetryKeyInvalid" + | "TelemetryKeyCountOverLimit" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" @@ -2955,7 +2966,7 @@ declare module PlayFabServerModels { 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). + * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). */ SecondsToLive?: number; /** Unique identifier for this segment. */ @@ -3735,7 +3746,7 @@ declare module PlayFabServerModels { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** The backend server identifier for this player. */ - ServerCustomId?: string; + ServerCustomId: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 34735fc4..5b67023a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ed300c52..e5c1141c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 83ce1509..b6b5983e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index af3b754a..d6daae63 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 44d9841f..554e31b8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index fc2cedf9..bbd65194 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4855b6b4..1a15b132 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index c5a54bd4..6eecde74 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 9327f30a..d8af5145 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index d7f1560a..4ade9f8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index c7d416fc..d84314c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 626da0bf..3fa845e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 4dcbae84..d8c4945a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index f59bd64a..080526f9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f398ff21..9981a75a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.137.230220", + sdkVersion: "1.138.230306", requestGetParams: { - sdk: "JavaScriptSDK-1.137.230220" + sdk: "JavaScriptSDK-1.138.230306" }, sessionTicket: 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.138.230306"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 13a109ea..db178e1e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2417,6 +2417,12 @@ declare module PlayFabAdminModels { | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" | "InvalidNintendoSwitchAccountId" + | "EntityAPIKeysNotSupported" + | "IpAddressBanned" + | "EntityLineageBanned" + | "NamespaceMismatch" + | "InvalidServiceConfiguration" + | "InvalidNamespaceMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2563,6 +2569,11 @@ declare module PlayFabAdminModels { | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound" + | "TelemetryKeyNotFound" + | "TelemetryKeyInvalidName" + | "TelemetryKeyAlreadyExists" + | "TelemetryKeyInvalid" + | "TelemetryKeyCountOverLimit" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" @@ -2852,7 +2863,7 @@ declare module PlayFabAdminModels { 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). + * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). */ SecondsToLive?: number; /** Unique identifier for this segment. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 9543ba48..13796caf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3718,6 +3718,8 @@ declare module PlayFabClientModels { * (https://developers.google.com/identity/sign-in/android/offline-access) Google client API. */ ServerAuthCode?: string; + /** Optional boolean to opt out of setting the MPA email when creating a Google account, defaults to true. */ + SetEmail?: boolean; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 8b299507..140b3630 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -247,6 +247,8 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** The duration to add to the current item expiration date. */ + DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; /** ETags are used for concurrency checking when updating resources. */ @@ -323,6 +325,12 @@ declare module PlayFabEconomyModels { CreatorEntity?: EntityKey; /** The set of platform specific deep links for this item. */ DeepLinks?: DeepLink[]; + /** + * The Stack Id that will be used as default for this item in Inventory when an explicit one is not provided. This + * DefaultStackId can be a static stack id or '{guid}', which will generate a unique stack id for the item. If null, + * Inventory's default stack id will be used. + */ + DefaultStackId?: string; /** * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is * required. @@ -385,6 +393,8 @@ declare module PlayFabEconomyModels { export interface CatalogPrice { /** The amounts of the catalog item price. */ Amounts?: CatalogPriceAmount[]; + /** The per-unit duration this price can be used to purchase. */ + UnitDurationInSeconds?: number; } @@ -1278,6 +1288,11 @@ declare module PlayFabEconomyModels { Amount?: number; /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ DisplayProperties?: any; + /** + * Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be + * available indefinitely. + */ + ExpirationDate?: string; /** The id of the item. This should correspond to the item id in the catalog. */ Id?: string; /** The stack id of the item. */ @@ -1376,6 +1391,8 @@ declare module PlayFabEconomyModels { * false) */ DeleteEmptyStacks: boolean; + /** The duration to purchase. */ + DurationInSeconds?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; /** The values to apply to a stack newly created by this operation. */ @@ -1402,6 +1419,8 @@ declare module PlayFabEconomyModels { * (Default=false) */ DeleteEmptyStacks: boolean; + /** The duration to purchase. */ + DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; /** ETags are used for concurrency checking when updating resources. */ @@ -1827,6 +1846,8 @@ declare module PlayFabEconomyModels { * false). */ DeleteEmptyStacks: boolean; + /** The duration to subtract from the current item expiration date. */ + DurationInSeconds?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; @@ -1844,6 +1865,8 @@ declare module PlayFabEconomyModels { * (Default=false) */ DeleteEmptyStacks: boolean; + /** The duration to subtract from the current item expiration date. */ + DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; /** ETags are used for concurrency checking when updating resources. */ @@ -1902,6 +1925,8 @@ declare module PlayFabEconomyModels { export interface TransactionOperation { /** The amount of items in this transaction. */ Amount?: number; + /** The duration modified in this transaction. */ + DurationInSeconds?: number; /** The item id of the items in this transaction. */ ItemId?: string; /** The type of item that the operation occurred on. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index ca19b112..bf942949 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -258,7 +258,7 @@ declare module PlayFabProfilesModels { /** The entity to perform this action on. */ Entity: EntityKey; /** The statements to include in the access policy. */ - Statements?: EntityPermissionStatement[]; + Statements: EntityPermissionStatement[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 601cf50c..1efd871c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2355,6 +2355,12 @@ declare module PlayFabServerModels { | "AnalysisSubscriptionManagementInvalidInput" | "InvalidGameCenterId" | "InvalidNintendoSwitchAccountId" + | "EntityAPIKeysNotSupported" + | "IpAddressBanned" + | "EntityLineageBanned" + | "NamespaceMismatch" + | "InvalidServiceConfiguration" + | "InvalidNamespaceMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2501,6 +2507,11 @@ declare module PlayFabServerModels { | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" | "EventSamplingRatioNotFound" + | "TelemetryKeyNotFound" + | "TelemetryKeyInvalidName" + | "TelemetryKeyAlreadyExists" + | "TelemetryKeyInvalid" + | "TelemetryKeyCountOverLimit" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" @@ -2955,7 +2966,7 @@ declare module PlayFabServerModels { 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). + * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). */ SecondsToLive?: number; /** Unique identifier for this segment. */ @@ -3735,7 +3746,7 @@ declare module PlayFabServerModels { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; /** The backend server identifier for this player. */ - ServerCustomId?: string; + ServerCustomId: string; } From 23ff653752d41133e7b633f9c68eaed976605b4c Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 3 Apr 2023 20:00:19 +0000 Subject: [PATCH 174/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230403 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 17 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 17 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 20 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 40 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 + .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 405 +++++++++++++----- .../PlayFab/PlayFabMultiplayerApi.d.ts | 17 +- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 26 ++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 44 +- .../src/PlayFab/PlayFabAdminApi.js | 17 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 17 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 20 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 12 +- .../src/PlayFab/PlayFabServerApi.js | 40 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 + .../typings/PlayFab/PlayFabEconomyApi.d.ts | 405 +++++++++++++----- .../PlayFab/PlayFabMultiplayerApi.d.ts | 17 +- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 26 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 44 +- 41 files changed, 1011 insertions(+), 351 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 770ce8d2..2d88ad41 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.138.230306", + "version": "1.141.230403", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5b67023a..2250c464 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -389,10 +389,16 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Please use MultiplayerServer/GetMultiplayerSessionLogsBySessionId instead. + */ GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -529,6 +535,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ ModifyServerBuild: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e5c1141c..f49a5965 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b6b5983e..fb849b64 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -357,6 +357,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. + */ GetCurrentGames: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCurrentGames", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -373,6 +376,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. + */ GetGameServerRegions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetGameServerRegions", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1065,6 +1071,9 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + /** + * @deprecated Please use Match/CreateMatchmakingTicket instead. + */ Matchmake: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/Matchmake", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index d6daae63..c5fc049b 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 554e31b8..7a1575fc 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index bbd65194..15166852 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1a15b132..7e59e4e2 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6eecde74..59e737da 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d8af5145..0fd4fcab 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 4ade9f8c..c8f81545 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index d84314c1..5e2cd23c 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 3fa845e8..752edea9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,18 +241,30 @@ PlayFab.MatchmakerApi = { PlayFab._internalSettings.entityToken = null; }, + /** + * @deprecated Do not use + */ AuthUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ PlayerJoined: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ PlayerLeft: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ UserInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index d8c4945a..25c6088a 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 080526f9..60fa0fee 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,10 @@ 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); + }, + SetGlobalPolicy: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 9981a75a..2b40fa27 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.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -301,6 +301,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ DeregisterGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeregisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -545,6 +548,10 @@ PlayFab.ServerApi = { 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); + }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -581,6 +588,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -589,14 +599,23 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RegisterGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -661,14 +680,23 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceTags", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -713,6 +741,10 @@ 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); + }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index db178e1e..80efd71a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2551,6 +2551,7 @@ declare module PlayFabAdminModels { | "AsyncExportNotInFlight" | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" + | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "LobbyDoesNotExist" @@ -2574,6 +2575,7 @@ declare module PlayFabAdminModels { | "TelemetryKeyAlreadyExists" | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" + | "TelemetryKeyDeactivated" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 140b3630..a38426d1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabEconomyModule { ForgetAllCredentials(): void; /** - * Add inventory items. + * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems */ AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -15,7 +15,10 @@ declare module PlayFabEconomyModule { */ CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates one or more upload URLs which can be used by the client to upload raw file data. + * Creates one or more upload URLs which can be used by the client to upload raw file data. Content URls and uploaded + * content will be garbage collected after 24 hours if not attached to a draft or published item. Detailed pricing info + * around uploading content can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/pricing/meters/catalog-meters * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls */ CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -25,7 +28,8 @@ declare module PlayFabEconomyModule { */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Delete an Inventory Collection + * Delete an Inventory Collection. More information about Inventory Collections can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/collections * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection */ DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -40,37 +44,50 @@ declare module PlayFabEconomyModule { */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Execute a list of Inventory Operations + * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is + * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced + * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title + * Entities limited to 500 requests in 10 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Gets the configuration for the catalog. + * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10 + * seconds for this API. More information about the Catalog Config can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig */ GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves an item from the working catalog. This item represents the current working state of the item. + * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem + * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note + * that item references data is cached and may take a few moments for changes to propagate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem */ GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves a paginated list of the items from the draft catalog. + * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request. + * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems */ GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves a paginated list of the items from the draft catalog created by the Entity. + * Retrieves a paginated list of the items from the draft catalog created by the Entity. Up to 50 items can be returned at + * once. You can use continuation tokens to paginate through results that return greater than the limit. + * GetEntityDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems */ GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Gets the submitted review for the specified item by the authenticated entity. + * Gets the submitted review for the specified item by the authenticated entity. Individual ratings and reviews data update + * in near real time with delays within a few seconds. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get Inventory Collection Ids + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through + * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids */ GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -80,17 +97,23 @@ declare module PlayFabEconomyModule { */ GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves an item from the public catalog. + * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when + * trying to get recent item updates. However, please note that item references data is cached and may take a few moments + * for changes to propagate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Search for a given item and return a set of bundles and stores containing the item + * Search for a given item and return a set of bundles and stores containing the item. Up to 50 items can be returned at + * once. You can use continuation tokens to paginate through results that return greater than the limit. This API is + * intended for tooling/automation scenarios and has a reduced RPS with Player Entities limited to 30 requests in 300 + * seconds and Title Entities limited to 100 requests in 10 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers */ GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Gets the moderation state for an item, including the concern category and string reason. + * Gets the moderation state for an item, including the concern category and string reason. More information about + * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate */ GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -100,17 +123,21 @@ declare module PlayFabEconomyModule { */ GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get a paginated set of reviews associated with the specified item. + * Get a paginated set of reviews associated with the specified item. Individual ratings and reviews data update in near + * real time with delays within a few seconds. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews */ GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get a summary of all reviews associated with the specified item. + * Get a summary of all ratings and reviews associated with the specified item. Summary ratings data is cached with update + * data coming within 15 minutes. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary */ GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves items from the public catalog. + * Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of + * the Catalog and should be used when trying to get recent item updates. However, please note that item references data is + * cached and may take a few moments for changes to propagate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -120,17 +147,22 @@ declare module PlayFabEconomyModule { */ GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get transaction history. + * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having + * a limit of 100 requests in 10 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Initiates a publish of an item from the working catalog to the public catalog. + * Initiates a publish of an item from the working catalog to the public catalog. You can use the GetItemPublishStatus API + * to track the state of the item publish. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Purchase an item or bundle + * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems */ PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -175,18 +207,23 @@ declare module PlayFabEconomyModule { */ ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates or updates a review for the specified item. + * Creates or updates a review for the specified item. More information around the caching surrounding item ratings and + * reviews can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/ratings#ratings-design-and-caching * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem */ ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Executes a search against the public catalog using the provided search parameters and returns a set of paginated - * results. + * results. SearchItems uses a cache of the catalog with item updates taking up to a few minutes to propagate. You should + * use the GetItem API for when trying to immediately get recent item updates. More information about the Search API can be + * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems */ SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Sets the moderation state for an item, including the concern category and string reason. + * Sets the moderation state for an item, including the concern category and string reason. More information about + * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate */ SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -206,12 +243,16 @@ declare module PlayFabEconomyModule { */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Transfer inventory items. + * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in + * progress and will complete soon. More information about item transfer scenarios can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Updates the configuration for the catalog. + * Updates the configuration for the catalog. Only Title Entities can call this API. There is a limit of 10 requests in 10 + * seconds for this API. More information about the Catalog Config can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig */ UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -233,6 +274,8 @@ declare module PlayFabEconomyModels { export interface AddInventoryItemsOperation { /** The amount to add to the current item amount. */ Amount?: number; + /** The duration to add to the current item expiration date. */ + DurationInSeconds?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; /** The values to apply to a stack newly created by this operation. */ @@ -243,7 +286,10 @@ declare module PlayFabEconomyModels { export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to add for the current item. */ Amount?: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -251,9 +297,15 @@ declare module PlayFabEconomyModels { DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -263,7 +315,10 @@ declare module PlayFabEconomyModels { } export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -289,13 +344,17 @@ declare module PlayFabEconomyModels { } export interface CatalogConfig { - /** A list of player entity keys that will have admin permissions. */ + /** A list of player entity keys that will have admin permissions. There is a maximum of 64 entities that can be added. */ AdminEntities?: EntityKey[]; /** The set of configuration that only applies to catalog items. */ Catalog?: CatalogSpecificConfig; - /** A list of deep link formats. */ + /** A list of deep link formats. Up to 10 can be added. */ DeepLinkFormats?: DeepLinkFormat[]; - /** A list of display properties to index. */ + /** + * A list of display properties to index. Up to 5 mappings can be added per Display Property Type. More info on display + * properties can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/content-types-tags-and-properties#displayproperties + */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ File?: FileConfig; @@ -303,9 +362,12 @@ declare module PlayFabEconomyModels { Image?: ImageConfig; /** Flag defining whether catalog is enabled. */ IsCatalogEnabled: boolean; - /** A list of Platforms that can be applied to catalog items. */ + /** + * A list of Platforms that can be applied to catalog items. Each platform can have a maximum character length of 40 and up + * to 128 platforms can be listed. + */ Platforms?: string[]; - /** A set of player entity keys that are allowed to review content. */ + /** A set of player entity keys that are allowed to review content. There is a maximum of 64 entities that can be added. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ UserGeneratedContent?: UserGeneratedContentSpecificConfig; @@ -313,9 +375,12 @@ declare module PlayFabEconomyModels { } export interface CatalogItem { - /** The alternate IDs associated with this item. */ + /** + * The alternate IDs associated with this item. An alternate ID can be set to 'FriendlyId' or any of the supported + * marketplace names. + */ AlternateIds?: CatalogAlternateId[]; - /** The set of contents associated with this item. */ + /** The set of content/files associated with this item. Up to 100 files can be added to an item. */ Contents?: Content[]; /** The client-defined type of the item. */ ContentType?: string; @@ -332,13 +397,16 @@ declare module PlayFabEconomyModels { */ DefaultStackId?: string; /** - * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is - * required. + * A dictionary of localized descriptions. Key is language code and localized string is the value. The NEUTRAL locale is + * required. Descriptions have a 10000 character limit per country code. */ Description?: { [key: string]: string | null }; - /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ + /** + * Game specific properties for display purposes. This is an arbitrary JSON blob. The Display Properties field has a 10000 + * byte limit per item. + */ DisplayProperties?: any; - /** The user provided version of the item for display purposes. */ + /** The user provided version of the item for display purposes. Maximum character length of 50. */ DisplayVersion?: string; /** The date of when the item will cease to be available. If not provided then the product will be available indefinitely. */ EndDate?: string; @@ -346,13 +414,22 @@ declare module PlayFabEconomyModels { ETag?: string; /** The unique ID of the item. */ Id?: string; - /** The images associated with this item. Images can be thumbnails or screenshots. */ + /** + * The images associated with this item. Images can be thumbnails or screenshots. Up to 100 images can be added to an item. + * Only .png, .jpg, .gif, and .bmp file types can be uploaded + */ Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; - /** The item references associated with this item. */ + /** + * The item references associated with this item. For example, the items in a Bundle/Store/Subscription. Every item can + * have up to 50 item references. + */ ItemReferences?: CatalogItemReference[]; - /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ + /** + * A dictionary of localized keywords. Key is language code and localized list of keywords is the value. Keywords have a 50 + * character limit per keyword and up to 32 keywords can be added per country code. + */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; @@ -360,7 +437,7 @@ declare module PlayFabEconomyModels { Moderation?: ModerationState; /** The platforms supported by this item. */ Platforms?: string[]; - /** The base price of this item. */ + /** The prices the item can be purchased for. */ PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; @@ -368,11 +445,11 @@ declare module PlayFabEconomyModels { StartDate?: string; /** Optional details for stores items. */ StoreDetails?: StoreDetails; - /** The list of tags that are associated with this item. */ + /** The list of tags that are associated with this item. Up to 32 tags can be added to an item. */ Tags?: string[]; /** - * A dictionary of localized titles. Key is language code and localized string is the value. The neutral locale is - * required. + * A dictionary of localized titles. Key is language code and localized string is the value. The NEUTRAL locale is + * required. Titles have a 512 character limit per country code. */ Title?: { [key: string]: string | null }; /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ @@ -391,9 +468,9 @@ declare module PlayFabEconomyModels { } export interface CatalogPrice { - /** The amounts of the catalog item price. */ + /** The amounts of the catalog item price. Each price can have up to 15 item amounts. */ Amounts?: CatalogPriceAmount[]; - /** The per-unit duration this price can be used to purchase. */ + /** The per-unit duration this price can be used to purchase. The maximum duration is 100 years. */ UnitDurationInSeconds?: number; } @@ -420,7 +497,7 @@ declare module PlayFabEconomyModels { } export interface CatalogPriceOptions { - /** Prices of the catalog item. */ + /** Prices of the catalog item. An item can have up to 15 prices */ Prices?: CatalogPrice[]; } @@ -438,9 +515,15 @@ declare module PlayFabEconomyModels { } export interface CatalogSpecificConfig { - /** The set of content types that will be used for validation. */ + /** + * The set of content types that will be used for validation. Each content type can have a maximum character length of 40 + * and up to 128 types can be listed. + */ ContentTypes?: string[]; - /** The set of tags that will be used for validation. */ + /** + * The set of tags that will be used for validation. Each tag can have a maximum character length of 32 and up to 1024 tags + * can be listed. + */ Tags?: string[]; } @@ -460,13 +543,22 @@ declare module PlayFabEconomyModels { export interface Content { /** The content unique ID. */ Id?: string; - /** The maximum client version that this content is compatible with. */ + /** + * The maximum client version that this content is compatible with. Client Versions can be up to 3 segments separated by + * periods(.) and each segment can have a maximum value of 65535. + */ MaxClientVersion?: string; - /** The minimum client version that this content is compatible with. */ + /** + * The minimum client version that this content is compatible with. Client Versions can be up to 3 segments separated by + * periods(.) and each segment can have a maximum value of 65535. + */ MinClientVersion?: string; - /** The list of tags that are associated with this content. */ + /** + * The list of tags that are associated with this content. Tags must be defined in the Catalog Config before being used in + * content. + */ Tags?: string[]; - /** The client-defined type of the content. */ + /** The client-defined type of the content. Content Types must be defined in the Catalog Config before being used. */ Type?: string; /** The Azure CDN URL for retrieval of the catalog item binary content. */ Url?: string; @@ -733,7 +825,7 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** Metadata describing the new catalog item to be created. */ Item?: CatalogItem; - /** Whether the item should be published immediately. */ + /** Whether the item should be published immediately. This value is optional, defaults to false. */ Publish: boolean; } @@ -793,7 +885,10 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity the request is about. Set to the caller by default. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; } @@ -809,15 +904,24 @@ declare module PlayFabEconomyModels { } export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -874,26 +978,38 @@ declare module PlayFabEconomyModels { } export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. + * a batch. Up to 10 operations can be added. */ Operations?: InventoryOperation[]; } export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -903,15 +1019,24 @@ declare module PlayFabEconomyModels { } export interface FileConfig { - /** The set of content types that will be used for validation. */ + /** + * The set of content types that will be used for validation. Each content type can have a maximum character length of 40 + * and up to 128 types can be listed. + */ ContentTypes?: string[]; - /** The set of tags that will be used for validation. */ + /** + * The set of tags that will be used for validation. Each tag can have a maximum character length of 32 and up to 1024 tags + * can be listed. + */ Tags?: string[]; } export interface FilterOptions { - /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ + /** + * The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. More info about Filter Complexity limits can be + * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits + */ Filter?: string; /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ IncludeAllItems?: boolean; @@ -974,13 +1099,16 @@ declare module PlayFabEconomyModels { * initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 10. */ + /** Number of items to retrieve. This value is optional. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** OData Filter to specify ItemType. */ + /** + * OData Filter to refine the items returned. CatalogItem properties 'type' can be used in the filter. For example: "type + * eq 'ugc'" + */ Filter?: string; } @@ -1014,7 +1142,7 @@ declare module PlayFabEconomyModels { export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of collection ids, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. (Default = 10) */ + /** Number of items to retrieve. This value is optional. The default value is 10 */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1039,13 +1167,16 @@ declare module PlayFabEconomyModels { * initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ + /** Number of items to retrieve. This value is optional. Maximum page size is 50. The default value is 10 */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** The filters to limit what is returned to the client. */ + /** + * OData Filter to refine the items returned. InventoryItem properties 'type', 'id', and 'stackId' can be used in the + * filter. For example: "type eq 'currency'" + */ Filter?: string; } @@ -1053,7 +1184,10 @@ declare module PlayFabEconomyModels { export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The requested inventory items. */ Items?: InventoryItem[]; @@ -1068,7 +1202,7 @@ declare module PlayFabEconomyModels { * initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 25. */ + /** Number of items to retrieve. This value is optional. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1146,13 +1280,16 @@ declare module PlayFabEconomyModels { AlternateId?: CatalogAlternateId; /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 200. If not specified, defaults to 10. */ + /** Number of items to retrieve. This value is optional. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The unique ID of the item. */ Id?: string; - /** An OData orderBy used to order the results of the query. */ + /** + * An OData orderBy used to order the results of the query. Possible values are Helpfulness, Rating, and Submitted (For + * example: "Submitted desc") + */ OrderBy?: string; } @@ -1227,13 +1364,16 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. (Default = 10) */ + /** Number of items to retrieve. This value is optional. The default value is 10 */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** An OData filter used to refine the query. */ + /** + * An OData filter used to refine the TransactionHistory. Transaction property 'timestamp' can be used in the filter. For + * example: "timestamp ge 'timestamp ge'" By default, a 6 month timespan from the current date is used. + */ Filter?: string; } @@ -1262,9 +1402,12 @@ declare module PlayFabEconomyModels { export interface Image { /** The image unique ID. */ Id?: string; - /** The client-defined tag associated with this image. */ + /** + * The client-defined tag associated with this image. Tags must be defined in the Catalog Config before being used in + * images + */ Tag?: string; - /** The client-defined type of this image. */ + /** Images can be defined as either a "thumbnail" or "screenshot". There can only be one "thumbnail" image per item. */ Type?: string; /** The URL for retrieval of the image. */ Url?: string; @@ -1272,13 +1415,16 @@ declare module PlayFabEconomyModels { } export interface ImageConfig { - /** The set of tags that will be used for validation. */ + /** + * The set of tags that will be used for validation. Each tag can have a maximum character length of 32 and up to 1024 tags + * can be listed. + */ Tags?: string[]; } export interface InitialValues { - /** Game specific properties for display purposes. */ + /** Game specific properties for display purposes. The Display Properties field has a 1000 byte limit. */ DisplayProperties?: any; } @@ -1286,12 +1432,12 @@ declare module PlayFabEconomyModels { export interface InventoryItem { /** The amount of the item. */ Amount?: number; - /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ - DisplayProperties?: any; /** - * Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be - * available indefinitely. + * Game specific properties for display purposes. This is an arbitrary JSON blob. The Display Properties field has a 1000 + * byte limit. */ + DisplayProperties?: any; + /** Only used for subscriptions. The date of when the item will expire in UTC. */ ExpirationDate?: string; /** The id of the item. This should correspond to the item id in the catalog. */ Id?: string; @@ -1410,7 +1556,10 @@ declare module PlayFabEconomyModels { export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to purchase. */ Amount?: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1423,9 +1572,15 @@ declare module PlayFabEconomyModels { DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -1442,7 +1597,10 @@ declare module PlayFabEconomyModels { } export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -1574,7 +1732,7 @@ declare module PlayFabEconomyModels { } export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authorization code provided by the PlayStation OAuth provider. */ + /** Auth code returned by PlayStation :tm: Network OAuth system. */ AuthorizationCode?: string; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; @@ -1582,6 +1740,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ + RedirectUri?: string; /** Optional Service Label to pass into the request. */ ServiceLabel?: string; @@ -1748,15 +1908,18 @@ declare module PlayFabEconomyModels { export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 50. Default value is 10. */ + /** Number of items to retrieve. This value is optional. Maximum page size is 50. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** An OData filter used to refine the search query. */ + /** + * An OData filter used to refine the search query (For example: "type eq 'ugc'"). More info about Filter Complexity limits + * can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits + */ Filter?: string; - /** An OData orderBy used to order the results of the search query. */ + /** An OData orderBy used to order the results of the search query. For example: "rating/average asc" */ OrderBy?: string; /** The text to search for. */ Search?: string; @@ -1856,7 +2019,10 @@ declare module PlayFabEconomyModels { export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to subtract for the current item. */ Amount?: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1869,9 +2035,15 @@ declare module PlayFabEconomyModels { DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -1879,7 +2051,10 @@ declare module PlayFabEconomyModels { } export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -1999,7 +2174,10 @@ declare module PlayFabEconomyModels { GivingCollectionId?: string; /** The entity the request is transferring from. Set to the caller by default. */ GivingEntity?: EntityKey; - /** ETags are used for concurrency checking when updating resources (before transferring from). */ + /** + * ETags are used for concurrency checking when updating resources (before transferring from). More information about using + * ETags can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ GivingETag?: string; /** The inventory item the request is transferring from. */ GivingItem?: InventoryItemReference; @@ -2017,7 +2195,10 @@ declare module PlayFabEconomyModels { } export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources (after transferring from). */ + /** + * ETags are used for concurrency checking when updating resources (after transferring from). More information about using + * ETags can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ GivingETag?: string; /** The ids of transactions that occurred as a result of the request's giving action. */ GivingTransactionIds?: string[]; @@ -2045,7 +2226,7 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** Updated metadata describing the catalog item to be updated. */ Item?: CatalogItem; - /** Whether the item should be published immediately. */ + /** Whether the item should be published immediately. This value is optional, defaults to false. */ Publish: boolean; } @@ -2063,15 +2244,24 @@ declare module PlayFabEconomyModels { } export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item to update with the specified values. */ Item?: InventoryItem; @@ -2079,7 +2269,10 @@ declare module PlayFabEconomyModels { } export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 658c1631..a3c66c06 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -825,8 +825,8 @@ declare module PlayFabMultiplayerModels { /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ ServerResourceConstraints?: ServerResourceConstraintParams; /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. + * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being + * written first to disc. */ UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ @@ -929,8 +929,8 @@ declare module PlayFabMultiplayerModels { /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. + * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being + * written first to disc. */ UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ @@ -1044,8 +1044,8 @@ declare module PlayFabMultiplayerModels { */ StartMultiplayerServerCommand: string; /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. + * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being + * written first to disc. */ UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ @@ -1784,7 +1784,10 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + /** + * The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. Please retry + * if CancellationReason is RetryRequired. + */ CancellationReasonString?: string; /** Change number used for differentiating older matchmaking status updates from newer ones. */ ChangeNumber?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index bf942949..99821e65 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -24,6 +24,11 @@ declare module PlayFabProfilesModule { * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids */ GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the title player accounts associated with the given XUIDs. + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfromxboxliveids + */ + GetTitlePlayersFromXboxLiveIDs(request: PlayFabProfilesModels.GetTitlePlayersFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy @@ -246,6 +251,27 @@ declare module PlayFabProfilesModels { } + export interface GetTitlePlayersFromProviderIDsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * Dictionary of provider identifiers mapped to title_player_account lineage. Missing lineage indicates the player either + * doesn't exist or doesn't play the requested title. + */ + TitlePlayerAccounts?: { [key: string]: EntityLineage }; + + } + + export interface GetTitlePlayersFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Xbox Sandbox the players had on their Xbox tokens. */ + Sandbox: string; + /** Optional ID of title to get players from, required if calling using a master_player_account. */ + TitleId?: string; + /** List of Xbox Live XUIDs */ + XboxLiveIds: string[]; + + } + type OperationTypes = "Created" | "Updated" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 1efd871c..4c87a51d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -420,6 +420,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid */ LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Steam account associated with the provided Steam ID to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linksteamid + */ + LinkSteamId(request: PlayFabServerModels.LinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount @@ -645,6 +650,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid */ UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the Steam account associated with the provided Steam ID to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinksteamid + */ + UnlinkSteamId(request: PlayFabServerModels.UnlinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount @@ -2489,6 +2499,7 @@ declare module PlayFabServerModels { | "AsyncExportNotInFlight" | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" + | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "LobbyDoesNotExist" @@ -2512,6 +2523,7 @@ declare module PlayFabServerModels { | "TelemetryKeyAlreadyExists" | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" + | "TelemetryKeyDeactivated" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" @@ -3662,6 +3674,22 @@ declare module PlayFabServerModels { } + export interface LinkSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId: string; + /** Unique Steam identifier for a user. */ + SteamId: string; + + } + + export interface LinkSteamIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3757,7 +3785,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Unique Steam identifier for a user */ + /** Unique Steam identifier for a user. */ SteamId: string; } @@ -3771,7 +3799,7 @@ declare module PlayFabServerModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** The id of Xbox Live sandbox. */ Sandbox: string; - /** Unique Xbox identifier for a user */ + /** Unique Xbox identifier for a user. */ XboxId: string; } @@ -4907,6 +4935,18 @@ declare module PlayFabServerModels { } + export interface UnlinkSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam account. */ + PlayFabId: string; + + } + + export interface UnlinkSteamIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5b67023a..2250c464 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -389,10 +389,16 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Please use MultiplayerServer/GetMultiplayerSessionLogsBySessionId instead. + */ GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -529,6 +535,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ ModifyServerBuild: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e5c1141c..f49a5965 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b6b5983e..fb849b64 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -357,6 +357,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. + */ GetCurrentGames: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCurrentGames", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -373,6 +376,9 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders); }, + /** + * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. + */ GetGameServerRegions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetGameServerRegions", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -1065,6 +1071,9 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, + /** + * @deprecated Please use Match/CreateMatchmakingTicket instead. + */ Matchmake: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/Matchmake", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index d6daae63..c5fc049b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 554e31b8..7a1575fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index bbd65194..15166852 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1a15b132..7e59e4e2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6eecde74..59e737da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d8af5145..0fd4fcab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 4ade9f8c..c8f81545 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index d84314c1..5e2cd23c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 3fa845e8..752edea9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,18 +241,30 @@ PlayFab.MatchmakerApi = { PlayFab._internalSettings.entityToken = null; }, + /** + * @deprecated Do not use + */ AuthUser: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ PlayerJoined: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ PlayerLeft: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ UserInfo: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index d8c4945a..25c6088a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 080526f9..60fa0fee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -257,6 +257,10 @@ 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); + }, + SetGlobalPolicy: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 9981a75a..2b40fa27 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.138.230306", + sdkVersion: "1.141.230403", requestGetParams: { - sdk: "JavaScriptSDK-1.138.230306" + sdk: "JavaScriptSDK-1.141.230403" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.138.230306"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.141.230403"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -301,6 +301,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ DeregisterGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeregisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -545,6 +548,10 @@ PlayFab.ServerApi = { 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); + }, + LinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -581,6 +588,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -589,14 +599,23 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ RegisterGame: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -661,14 +680,23 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceTags", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -713,6 +741,10 @@ 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); + }, + UnlinkXboxAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index db178e1e..80efd71a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2551,6 +2551,7 @@ declare module PlayFabAdminModels { | "AsyncExportNotInFlight" | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" + | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "LobbyDoesNotExist" @@ -2574,6 +2575,7 @@ declare module PlayFabAdminModels { | "TelemetryKeyAlreadyExists" | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" + | "TelemetryKeyDeactivated" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 140b3630..a38426d1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabEconomyModule { ForgetAllCredentials(): void; /** - * Add inventory items. + * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems */ AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -15,7 +15,10 @@ declare module PlayFabEconomyModule { */ CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates one or more upload URLs which can be used by the client to upload raw file data. + * Creates one or more upload URLs which can be used by the client to upload raw file data. Content URls and uploaded + * content will be garbage collected after 24 hours if not attached to a draft or published item. Detailed pricing info + * around uploading content can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/pricing/meters/catalog-meters * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createuploadurls */ CreateUploadUrls(request: PlayFabEconomyModels.CreateUploadUrlsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -25,7 +28,8 @@ declare module PlayFabEconomyModule { */ DeleteEntityItemReviews(request: PlayFabEconomyModels.DeleteEntityItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Delete an Inventory Collection + * Delete an Inventory Collection. More information about Inventory Collections can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/collections * https://docs.microsoft.com/rest/api/playfab/economy/inventory/deleteinventorycollection */ DeleteInventoryCollection(request: PlayFabEconomyModels.DeleteInventoryCollectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -40,37 +44,50 @@ declare module PlayFabEconomyModule { */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Execute a list of Inventory Operations + * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is + * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced + * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title + * Entities limited to 500 requests in 10 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Gets the configuration for the catalog. + * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10 + * seconds for this API. More information about the Catalog Config can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getcatalogconfig */ GetCatalogConfig(request: PlayFabEconomyModels.GetCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves an item from the working catalog. This item represents the current working state of the item. + * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem + * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note + * that item references data is cached and may take a few moments for changes to propagate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem */ GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves a paginated list of the items from the draft catalog. + * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request. + * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems */ GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves a paginated list of the items from the draft catalog created by the Entity. + * Retrieves a paginated list of the items from the draft catalog created by the Entity. Up to 50 items can be returned at + * once. You can use continuation tokens to paginate through results that return greater than the limit. + * GetEntityDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentitydraftitems */ GetEntityDraftItems(request: PlayFabEconomyModels.GetEntityDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Gets the submitted review for the specified item by the authenticated entity. + * Gets the submitted review for the specified item by the authenticated entity. Individual ratings and reviews data update + * in near real time with delays within a few seconds. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getentityitemreview */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get Inventory Collection Ids + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through + * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids */ GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -80,17 +97,23 @@ declare module PlayFabEconomyModule { */ GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves an item from the public catalog. + * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when + * trying to get recent item updates. However, please note that item references data is cached and may take a few moments + * for changes to propagate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitem */ GetItem(request: PlayFabEconomyModels.GetItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Search for a given item and return a set of bundles and stores containing the item + * Search for a given item and return a set of bundles and stores containing the item. Up to 50 items can be returned at + * once. You can use continuation tokens to paginate through results that return greater than the limit. This API is + * intended for tooling/automation scenarios and has a reduced RPS with Player Entities limited to 30 requests in 300 + * seconds and Title Entities limited to 100 requests in 10 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemcontainers */ GetItemContainers(request: PlayFabEconomyModels.GetItemContainersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Gets the moderation state for an item, including the concern category and string reason. + * Gets the moderation state for an item, including the concern category and string reason. More information about + * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemmoderationstate */ GetItemModerationState(request: PlayFabEconomyModels.GetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -100,17 +123,21 @@ declare module PlayFabEconomyModule { */ GetItemPublishStatus(request: PlayFabEconomyModels.GetItemPublishStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get a paginated set of reviews associated with the specified item. + * Get a paginated set of reviews associated with the specified item. Individual ratings and reviews data update in near + * real time with delays within a few seconds. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviews */ GetItemReviews(request: PlayFabEconomyModels.GetItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get a summary of all reviews associated with the specified item. + * Get a summary of all ratings and reviews associated with the specified item. Summary ratings data is cached with update + * data coming within 15 minutes. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitemreviewsummary */ GetItemReviewSummary(request: PlayFabEconomyModels.GetItemReviewSummaryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves items from the public catalog. + * Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of + * the Catalog and should be used when trying to get recent item updates. However, please note that item references data is + * cached and may take a few moments for changes to propagate. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -120,17 +147,22 @@ declare module PlayFabEconomyModule { */ GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get transaction history. + * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having + * a limit of 100 requests in 10 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Initiates a publish of an item from the working catalog to the public catalog. + * Initiates a publish of an item from the working catalog to the public catalog. You can use the GetItemPublishStatus API + * to track the state of the item publish. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/publishdraftitem */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Purchase an item or bundle + * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems */ PurchaseInventoryItems(request: PlayFabEconomyModels.PurchaseInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -175,18 +207,23 @@ declare module PlayFabEconomyModule { */ ReportItemReview(request: PlayFabEconomyModels.ReportItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates or updates a review for the specified item. + * Creates or updates a review for the specified item. More information around the caching surrounding item ratings and + * reviews can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/ratings#ratings-design-and-caching * https://docs.microsoft.com/rest/api/playfab/economy/catalog/reviewitem */ ReviewItem(request: PlayFabEconomyModels.ReviewItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Executes a search against the public catalog using the provided search parameters and returns a set of paginated - * results. + * results. SearchItems uses a cache of the catalog with item updates taking up to a few minutes to propagate. You should + * use the GetItem API for when trying to immediately get recent item updates. More information about the Search API can be + * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search * https://docs.microsoft.com/rest/api/playfab/economy/catalog/searchitems */ SearchItems(request: PlayFabEconomyModels.SearchItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Sets the moderation state for an item, including the concern category and string reason. + * Sets the moderation state for an item, including the concern category and string reason. More information about + * moderation states can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/ugc/moderation * https://docs.microsoft.com/rest/api/playfab/economy/catalog/setitemmoderationstate */ SetItemModerationState(request: PlayFabEconomyModels.SetItemModerationStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -206,12 +243,16 @@ declare module PlayFabEconomyModule { */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Transfer inventory items. + * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in + * progress and will complete soon. More information about item transfer scenarios can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ TransferInventoryItems(request: PlayFabEconomyModels.TransferInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Updates the configuration for the catalog. + * Updates the configuration for the catalog. Only Title Entities can call this API. There is a limit of 10 requests in 10 + * seconds for this API. More information about the Catalog Config can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/settings * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatecatalogconfig */ UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -233,6 +274,8 @@ declare module PlayFabEconomyModels { export interface AddInventoryItemsOperation { /** The amount to add to the current item amount. */ Amount?: number; + /** The duration to add to the current item expiration date. */ + DurationInSeconds?: number; /** The inventory item the operation applies to. */ Item?: InventoryItemReference; /** The values to apply to a stack newly created by this operation. */ @@ -243,7 +286,10 @@ declare module PlayFabEconomyModels { export interface AddInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to add for the current item. */ Amount?: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -251,9 +297,15 @@ declare module PlayFabEconomyModels { DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -263,7 +315,10 @@ declare module PlayFabEconomyModels { } export interface AddInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -289,13 +344,17 @@ declare module PlayFabEconomyModels { } export interface CatalogConfig { - /** A list of player entity keys that will have admin permissions. */ + /** A list of player entity keys that will have admin permissions. There is a maximum of 64 entities that can be added. */ AdminEntities?: EntityKey[]; /** The set of configuration that only applies to catalog items. */ Catalog?: CatalogSpecificConfig; - /** A list of deep link formats. */ + /** A list of deep link formats. Up to 10 can be added. */ DeepLinkFormats?: DeepLinkFormat[]; - /** A list of display properties to index. */ + /** + * A list of display properties to index. Up to 5 mappings can be added per Display Property Type. More info on display + * properties can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/content-types-tags-and-properties#displayproperties + */ DisplayPropertyIndexInfos?: DisplayPropertyIndexInfo[]; /** The set of configuration that only applies to Files. */ File?: FileConfig; @@ -303,9 +362,12 @@ declare module PlayFabEconomyModels { Image?: ImageConfig; /** Flag defining whether catalog is enabled. */ IsCatalogEnabled: boolean; - /** A list of Platforms that can be applied to catalog items. */ + /** + * A list of Platforms that can be applied to catalog items. Each platform can have a maximum character length of 40 and up + * to 128 platforms can be listed. + */ Platforms?: string[]; - /** A set of player entity keys that are allowed to review content. */ + /** A set of player entity keys that are allowed to review content. There is a maximum of 64 entities that can be added. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ UserGeneratedContent?: UserGeneratedContentSpecificConfig; @@ -313,9 +375,12 @@ declare module PlayFabEconomyModels { } export interface CatalogItem { - /** The alternate IDs associated with this item. */ + /** + * The alternate IDs associated with this item. An alternate ID can be set to 'FriendlyId' or any of the supported + * marketplace names. + */ AlternateIds?: CatalogAlternateId[]; - /** The set of contents associated with this item. */ + /** The set of content/files associated with this item. Up to 100 files can be added to an item. */ Contents?: Content[]; /** The client-defined type of the item. */ ContentType?: string; @@ -332,13 +397,16 @@ declare module PlayFabEconomyModels { */ DefaultStackId?: string; /** - * A dictionary of localized descriptions. Key is language code and localized string is the value. The neutral locale is - * required. + * A dictionary of localized descriptions. Key is language code and localized string is the value. The NEUTRAL locale is + * required. Descriptions have a 10000 character limit per country code. */ Description?: { [key: string]: string | null }; - /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ + /** + * Game specific properties for display purposes. This is an arbitrary JSON blob. The Display Properties field has a 10000 + * byte limit per item. + */ DisplayProperties?: any; - /** The user provided version of the item for display purposes. */ + /** The user provided version of the item for display purposes. Maximum character length of 50. */ DisplayVersion?: string; /** The date of when the item will cease to be available. If not provided then the product will be available indefinitely. */ EndDate?: string; @@ -346,13 +414,22 @@ declare module PlayFabEconomyModels { ETag?: string; /** The unique ID of the item. */ Id?: string; - /** The images associated with this item. Images can be thumbnails or screenshots. */ + /** + * The images associated with this item. Images can be thumbnails or screenshots. Up to 100 images can be added to an item. + * Only .png, .jpg, .gif, and .bmp file types can be uploaded + */ Images?: Image[]; /** Indicates if the item is hidden. */ IsHidden?: boolean; - /** The item references associated with this item. */ + /** + * The item references associated with this item. For example, the items in a Bundle/Store/Subscription. Every item can + * have up to 50 item references. + */ ItemReferences?: CatalogItemReference[]; - /** A dictionary of localized keywords. Key is language code and localized list of keywords is the value. */ + /** + * A dictionary of localized keywords. Key is language code and localized list of keywords is the value. Keywords have a 50 + * character limit per keyword and up to 32 keywords can be added per country code. + */ Keywords?: { [key: string]: KeywordSet }; /** The date and time this item was last updated. */ LastModifiedDate?: string; @@ -360,7 +437,7 @@ declare module PlayFabEconomyModels { Moderation?: ModerationState; /** The platforms supported by this item. */ Platforms?: string[]; - /** The base price of this item. */ + /** The prices the item can be purchased for. */ PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; @@ -368,11 +445,11 @@ declare module PlayFabEconomyModels { StartDate?: string; /** Optional details for stores items. */ StoreDetails?: StoreDetails; - /** The list of tags that are associated with this item. */ + /** The list of tags that are associated with this item. Up to 32 tags can be added to an item. */ Tags?: string[]; /** - * A dictionary of localized titles. Key is language code and localized string is the value. The neutral locale is - * required. + * A dictionary of localized titles. Key is language code and localized string is the value. The NEUTRAL locale is + * required. Titles have a 512 character limit per country code. */ Title?: { [key: string]: string | null }; /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ @@ -391,9 +468,9 @@ declare module PlayFabEconomyModels { } export interface CatalogPrice { - /** The amounts of the catalog item price. */ + /** The amounts of the catalog item price. Each price can have up to 15 item amounts. */ Amounts?: CatalogPriceAmount[]; - /** The per-unit duration this price can be used to purchase. */ + /** The per-unit duration this price can be used to purchase. The maximum duration is 100 years. */ UnitDurationInSeconds?: number; } @@ -420,7 +497,7 @@ declare module PlayFabEconomyModels { } export interface CatalogPriceOptions { - /** Prices of the catalog item. */ + /** Prices of the catalog item. An item can have up to 15 prices */ Prices?: CatalogPrice[]; } @@ -438,9 +515,15 @@ declare module PlayFabEconomyModels { } export interface CatalogSpecificConfig { - /** The set of content types that will be used for validation. */ + /** + * The set of content types that will be used for validation. Each content type can have a maximum character length of 40 + * and up to 128 types can be listed. + */ ContentTypes?: string[]; - /** The set of tags that will be used for validation. */ + /** + * The set of tags that will be used for validation. Each tag can have a maximum character length of 32 and up to 1024 tags + * can be listed. + */ Tags?: string[]; } @@ -460,13 +543,22 @@ declare module PlayFabEconomyModels { export interface Content { /** The content unique ID. */ Id?: string; - /** The maximum client version that this content is compatible with. */ + /** + * The maximum client version that this content is compatible with. Client Versions can be up to 3 segments separated by + * periods(.) and each segment can have a maximum value of 65535. + */ MaxClientVersion?: string; - /** The minimum client version that this content is compatible with. */ + /** + * The minimum client version that this content is compatible with. Client Versions can be up to 3 segments separated by + * periods(.) and each segment can have a maximum value of 65535. + */ MinClientVersion?: string; - /** The list of tags that are associated with this content. */ + /** + * The list of tags that are associated with this content. Tags must be defined in the Catalog Config before being used in + * content. + */ Tags?: string[]; - /** The client-defined type of the content. */ + /** The client-defined type of the content. Content Types must be defined in the Catalog Config before being used. */ Type?: string; /** The Azure CDN URL for retrieval of the catalog item binary content. */ Url?: string; @@ -733,7 +825,7 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** Metadata describing the new catalog item to be created. */ Item?: CatalogItem; - /** Whether the item should be published immediately. */ + /** Whether the item should be published immediately. This value is optional, defaults to false. */ Publish: boolean; } @@ -793,7 +885,10 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity the request is about. Set to the caller by default. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; } @@ -809,15 +904,24 @@ declare module PlayFabEconomyModels { } export interface DeleteInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -874,26 +978,38 @@ declare module PlayFabEconomyModels { } export interface ExecuteInventoryOperationsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. + * a batch. Up to 10 operations can be added. */ Operations?: InventoryOperation[]; } export interface ExecuteInventoryOperationsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -903,15 +1019,24 @@ declare module PlayFabEconomyModels { } export interface FileConfig { - /** The set of content types that will be used for validation. */ + /** + * The set of content types that will be used for validation. Each content type can have a maximum character length of 40 + * and up to 128 types can be listed. + */ ContentTypes?: string[]; - /** The set of tags that will be used for validation. */ + /** + * The set of tags that will be used for validation. Each tag can have a maximum character length of 32 and up to 1024 tags + * can be listed. + */ Tags?: string[]; } export interface FilterOptions { - /** The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. */ + /** + * The OData filter utilized. Mutually exclusive with 'IncludeAllItems'. More info about Filter Complexity limits can be + * found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits + */ Filter?: string; /** The flag that overrides the filter and allows for returning all catalog items. Mutually exclusive with 'Filter'. */ IncludeAllItems?: boolean; @@ -974,13 +1099,16 @@ declare module PlayFabEconomyModels { * initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 10. */ + /** Number of items to retrieve. This value is optional. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** OData Filter to specify ItemType. */ + /** + * OData Filter to refine the items returned. CatalogItem properties 'type' can be used in the filter. For example: "type + * eq 'ugc'" + */ Filter?: string; } @@ -1014,7 +1142,7 @@ declare module PlayFabEconomyModels { export interface GetInventoryCollectionIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of collection ids, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. (Default = 10) */ + /** Number of items to retrieve. This value is optional. The default value is 10 */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1039,13 +1167,16 @@ declare module PlayFabEconomyModels { * initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 50. (Default=10) */ + /** Number of items to retrieve. This value is optional. Maximum page size is 50. The default value is 10 */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** The filters to limit what is returned to the client. */ + /** + * OData Filter to refine the items returned. InventoryItem properties 'type', 'id', and 'stackId' can be used in the + * filter. For example: "type eq 'currency'" + */ Filter?: string; } @@ -1053,7 +1184,10 @@ declare module PlayFabEconomyModels { export interface GetInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The requested inventory items. */ Items?: InventoryItem[]; @@ -1068,7 +1202,7 @@ declare module PlayFabEconomyModels { * initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 25. */ + /** Number of items to retrieve. This value is optional. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1146,13 +1280,16 @@ declare module PlayFabEconomyModels { AlternateId?: CatalogAlternateId; /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 200. If not specified, defaults to 10. */ + /** Number of items to retrieve. This value is optional. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The unique ID of the item. */ Id?: string; - /** An OData orderBy used to order the results of the query. */ + /** + * An OData orderBy used to order the results of the query. Possible values are Helpfulness, Rating, and Submitted (For + * example: "Submitted desc") + */ OrderBy?: string; } @@ -1227,13 +1364,16 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. (Default = 10) */ + /** Number of items to retrieve. This value is optional. The default value is 10 */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** An OData filter used to refine the query. */ + /** + * An OData filter used to refine the TransactionHistory. Transaction property 'timestamp' can be used in the filter. For + * example: "timestamp ge 'timestamp ge'" By default, a 6 month timespan from the current date is used. + */ Filter?: string; } @@ -1262,9 +1402,12 @@ declare module PlayFabEconomyModels { export interface Image { /** The image unique ID. */ Id?: string; - /** The client-defined tag associated with this image. */ + /** + * The client-defined tag associated with this image. Tags must be defined in the Catalog Config before being used in + * images + */ Tag?: string; - /** The client-defined type of this image. */ + /** Images can be defined as either a "thumbnail" or "screenshot". There can only be one "thumbnail" image per item. */ Type?: string; /** The URL for retrieval of the image. */ Url?: string; @@ -1272,13 +1415,16 @@ declare module PlayFabEconomyModels { } export interface ImageConfig { - /** The set of tags that will be used for validation. */ + /** + * The set of tags that will be used for validation. Each tag can have a maximum character length of 32 and up to 1024 tags + * can be listed. + */ Tags?: string[]; } export interface InitialValues { - /** Game specific properties for display purposes. */ + /** Game specific properties for display purposes. The Display Properties field has a 1000 byte limit. */ DisplayProperties?: any; } @@ -1286,12 +1432,12 @@ declare module PlayFabEconomyModels { export interface InventoryItem { /** The amount of the item. */ Amount?: number; - /** Game specific properties for display purposes. This is an arbitrary JSON blob. */ - DisplayProperties?: any; /** - * Only used for subscriptions. The date of when the item will expire in UTC. If not provided then the product will be - * available indefinitely. + * Game specific properties for display purposes. This is an arbitrary JSON blob. The Display Properties field has a 1000 + * byte limit. */ + DisplayProperties?: any; + /** Only used for subscriptions. The date of when the item will expire in UTC. */ ExpirationDate?: string; /** The id of the item. This should correspond to the item id in the catalog. */ Id?: string; @@ -1410,7 +1556,10 @@ declare module PlayFabEconomyModels { export interface PurchaseInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to purchase. */ Amount?: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1423,9 +1572,15 @@ declare module PlayFabEconomyModels { DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -1442,7 +1597,10 @@ declare module PlayFabEconomyModels { } export interface PurchaseInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -1574,7 +1732,7 @@ declare module PlayFabEconomyModels { } export interface RedeemPlayStationStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Authorization code provided by the PlayStation OAuth provider. */ + /** Auth code returned by PlayStation :tm: Network OAuth system. */ AuthorizationCode?: string; /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; @@ -1582,6 +1740,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ + RedirectUri?: string; /** Optional Service Label to pass into the request. */ ServiceLabel?: string; @@ -1748,15 +1908,18 @@ declare module PlayFabEconomyModels { export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; - /** Number of items to retrieve. Maximum page size is 50. Default value is 10. */ + /** Number of items to retrieve. This value is optional. Maximum page size is 50. Default value is 10. */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** An OData filter used to refine the search query. */ + /** + * An OData filter used to refine the search query (For example: "type eq 'ugc'"). More info about Filter Complexity limits + * can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits + */ Filter?: string; - /** An OData orderBy used to order the results of the search query. */ + /** An OData orderBy used to order the results of the search query. For example: "rating/average asc" */ OrderBy?: string; /** The text to search for. */ Search?: string; @@ -1856,7 +2019,10 @@ declare module PlayFabEconomyModels { export interface SubtractInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The amount to subtract for the current item. */ Amount?: number; - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1869,9 +2035,15 @@ declare module PlayFabEconomyModels { DurationInSeconds?: number; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item the request applies to. */ Item?: InventoryItemReference; @@ -1879,7 +2051,10 @@ declare module PlayFabEconomyModels { } export interface SubtractInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; @@ -1999,7 +2174,10 @@ declare module PlayFabEconomyModels { GivingCollectionId?: string; /** The entity the request is transferring from. Set to the caller by default. */ GivingEntity?: EntityKey; - /** ETags are used for concurrency checking when updating resources (before transferring from). */ + /** + * ETags are used for concurrency checking when updating resources (before transferring from). More information about using + * ETags can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ GivingETag?: string; /** The inventory item the request is transferring from. */ GivingItem?: InventoryItemReference; @@ -2017,7 +2195,10 @@ declare module PlayFabEconomyModels { } export interface TransferInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources (after transferring from). */ + /** + * ETags are used for concurrency checking when updating resources (after transferring from). More information about using + * ETags can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ GivingETag?: string; /** The ids of transactions that occurred as a result of the request's giving action. */ GivingTransactionIds?: string[]; @@ -2045,7 +2226,7 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** Updated metadata describing the catalog item to be updated. */ Item?: CatalogItem; - /** Whether the item should be published immediately. */ + /** Whether the item should be published immediately. This value is optional, defaults to false. */ Publish: boolean; } @@ -2063,15 +2244,24 @@ declare module PlayFabEconomyModels { } export interface UpdateInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The id of the entity's collection to perform this action on. (Default="default") */ + /** + * The id of the entity's collection to perform this action on. (Default="default"). The number of inventory collections is + * unlimited. + */ CollectionId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; - /** The Idempotency ID for this request. */ + /** + * The Idempotency ID for this request. Idempotency IDs can be used to prevent operation replay in the medium term but will + * be garbage collected eventually. + */ IdempotencyId?: string; /** The inventory item to update with the specified values. */ Item?: InventoryItem; @@ -2079,7 +2269,10 @@ declare module PlayFabEconomyModels { } export interface UpdateInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { - /** ETags are used for concurrency checking when updating resources. */ + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ ETag?: string; /** The idempotency id used in the request. */ IdempotencyId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 658c1631..a3c66c06 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -825,8 +825,8 @@ declare module PlayFabMultiplayerModels { /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ ServerResourceConstraints?: ServerResourceConstraintParams; /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. + * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being + * written first to disc. */ UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ @@ -929,8 +929,8 @@ declare module PlayFabMultiplayerModels { /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. + * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being + * written first to disc. */ UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ @@ -1044,8 +1044,8 @@ declare module PlayFabMultiplayerModels { */ StartMultiplayerServerCommand: string; /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. + * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being + * written first to disc. */ UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ @@ -1784,7 +1784,10 @@ declare module PlayFabMultiplayerModels { } export interface GetMatchmakingTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. */ + /** + * The reason why the current ticket was canceled. This field is only set if the ticket is in canceled state. Please retry + * if CancellationReason is RetryRequired. + */ CancellationReasonString?: string; /** Change number used for differentiating older matchmaking status updates from newer ones. */ ChangeNumber?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index bf942949..99821e65 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -24,6 +24,11 @@ declare module PlayFabProfilesModule { * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfrommasterplayeraccountids */ GetTitlePlayersFromMasterPlayerAccountIds(request: PlayFabProfilesModels.GetTitlePlayersFromMasterPlayerAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the title player accounts associated with the given XUIDs. + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfromxboxliveids + */ + GetTitlePlayersFromXboxLiveIDs(request: PlayFabProfilesModels.GetTitlePlayersFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy @@ -246,6 +251,27 @@ declare module PlayFabProfilesModels { } + export interface GetTitlePlayersFromProviderIDsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * Dictionary of provider identifiers mapped to title_player_account lineage. Missing lineage indicates the player either + * doesn't exist or doesn't play the requested title. + */ + TitlePlayerAccounts?: { [key: string]: EntityLineage }; + + } + + export interface GetTitlePlayersFromXboxLiveIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Xbox Sandbox the players had on their Xbox tokens. */ + Sandbox: string; + /** Optional ID of title to get players from, required if calling using a master_player_account. */ + TitleId?: string; + /** List of Xbox Live XUIDs */ + XboxLiveIds: string[]; + + } + type OperationTypes = "Created" | "Updated" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 1efd871c..4c87a51d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -420,6 +420,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid */ LinkServerCustomId(request: PlayFabServerModels.LinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Steam account associated with the provided Steam ID to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linksteamid + */ + LinkSteamId(request: PlayFabServerModels.LinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount @@ -645,6 +650,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid */ UnlinkServerCustomId(request: PlayFabServerModels.UnlinkServerCustomIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the Steam account associated with the provided Steam ID to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinksteamid + */ + UnlinkSteamId(request: PlayFabServerModels.UnlinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount @@ -2489,6 +2499,7 @@ declare module PlayFabServerModels { | "AsyncExportNotInFlight" | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" + | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "LobbyDoesNotExist" @@ -2512,6 +2523,7 @@ declare module PlayFabServerModels { | "TelemetryKeyAlreadyExists" | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" + | "TelemetryKeyDeactivated" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" @@ -3662,6 +3674,22 @@ declare module PlayFabServerModels { } + export interface LinkSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + PlayFabId: string; + /** Unique Steam identifier for a user. */ + SteamId: string; + + } + + export interface LinkSteamIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3757,7 +3785,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Unique Steam identifier for a user */ + /** Unique Steam identifier for a user. */ SteamId: string; } @@ -3771,7 +3799,7 @@ declare module PlayFabServerModels { InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** The id of Xbox Live sandbox. */ Sandbox: string; - /** Unique Xbox identifier for a user */ + /** Unique Xbox identifier for a user. */ XboxId: string; } @@ -4907,6 +4935,18 @@ declare module PlayFabServerModels { } + export interface UnlinkSteamIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam account. */ + PlayFabId: string; + + } + + export interface UnlinkSteamIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From 3abf1605f3ea3b7a9235f4a5360a79d3954ab739 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 2 May 2023 19:46:50 +0000 Subject: [PATCH 175/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230428 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 12 ++++++++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 12 --------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 26 ++++++++++++++++--- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 20 +++++++------- .../src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- .../src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- .../src/PlayFab/PlayFabDataApi.js | 6 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 6 ++--- .../src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 ++--- .../src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 12 ++++++++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 12 --------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 26 ++++++++++++++++--- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 20 +++++++------- 39 files changed, 179 insertions(+), 143 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 2d88ad41..8361cfe4 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.141.230403", + "version": "1.143.230428", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 2250c464..cd99979f 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index f49a5965..8939239c 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index fb849b64..6e14de9b 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index c5fc049b..8fdd96dc 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7a1575fc..bf05a831 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 15166852..4bd04665 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 7e59e4e2..2b77a183 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 59e737da..65ee80a7 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0fd4fcab..aa6b7c0f 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c8f81545..28b1a61d 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 5e2cd23c..47d16131 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 752edea9..fc054d58 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 25c6088a..356949a9 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 60fa0fee..66ad068e 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 2b40fa27..33743578 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.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 80efd71a..c6d067fb 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2590,7 +2590,17 @@ declare module PlayFabAdminModels { | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" - | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" + | "PartitionedEventInvalid" + | "PartitionedEventCountOverLimit" + | "PlayerCustomPropertiesPropertyNameTooLong" + | "PlayerCustomPropertiesPropertyNameIsInvalid" + | "PlayerCustomPropertiesStringPropertyValueTooLong" + | "PlayerCustomPropertiesValueIsInvalidType" + | "PlayerCustomPropertiesVersionMismatch" + | "PlayerCustomPropertiesPropertyCountTooHigh" + | "PlayerCustomPropertiesDuplicatePropertyName" + | "PlayerCustomPropertiesPropertyDoesNotExist"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 13796caf..048da25f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2284,10 +2284,6 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ @@ -2325,10 +2321,6 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** @@ -2356,10 +2348,6 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index a3c66c06..b142a2ed 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1496,10 +1496,6 @@ declare module PlayFabMultiplayerModels { export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Controls whether this query should link to friends made on the Facebook network. Defaults to false */ - ExcludeFacebookFriends?: boolean; - /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ - ExcludeSteamFriends?: boolean; /** Indicates which other platforms' friends this query should link to. */ ExternalPlatformFriends?: string; /** @@ -1721,6 +1717,8 @@ declare module PlayFabMultiplayerModels { StartMultiplayerServerCommand?: string; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -3356,17 +3354,37 @@ declare module PlayFabMultiplayerModels { } export interface VmStartupScriptConfiguration { + /** Optional port requests (name/protocol) that will be used by the VmStartupScript. Max of 5 requests. */ + PortRequests?: VmStartupScriptPortRequest[]; /** Asset which contains the VmStartupScript script and any other required files. */ VmStartupScriptAssetReference: AssetReference; } export interface VmStartupScriptParams { + /** Optional port requests (name/protocol) that will be used by the VmStartupScript. Max of 5 requests. */ + PortRequests?: VmStartupScriptPortRequestParams[]; /** Asset which contains the VmStartupScript script and any other required files. */ VmStartupScriptAssetReference: AssetReferenceParams; } + export interface VmStartupScriptPortRequest { + /** The name for the port. */ + Name: string; + /** The protocol for the port. */ + Protocol: string; + + } + + export interface VmStartupScriptPortRequestParams { + /** The name for the port. */ + Name: string; + /** The protocol for the port. */ + Protocol: string; + + } + export interface WindowsCrashDumpConfiguration { /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ CustomDumpFlags?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 4c87a51d..95998edc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2538,7 +2538,17 @@ declare module PlayFabServerModels { | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" - | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" + | "PartitionedEventInvalid" + | "PartitionedEventCountOverLimit" + | "PlayerCustomPropertiesPropertyNameTooLong" + | "PlayerCustomPropertiesPropertyNameIsInvalid" + | "PlayerCustomPropertiesStringPropertyValueTooLong" + | "PlayerCustomPropertiesValueIsInvalidType" + | "PlayerCustomPropertiesVersionMismatch" + | "PlayerCustomPropertiesPropertyCountTooHigh" + | "PlayerCustomPropertiesDuplicatePropertyName" + | "PlayerCustomPropertiesPropertyDoesNotExist"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2695,10 +2705,6 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** The player whose friend leaderboard to get */ @@ -2728,10 +2734,6 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 2250c464..cd99979f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index f49a5965..8939239c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index fb849b64..6e14de9b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index c5fc049b..8fdd96dc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7a1575fc..bf05a831 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 15166852..4bd04665 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 7e59e4e2..2b77a183 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 59e737da..65ee80a7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0fd4fcab..aa6b7c0f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c8f81545..28b1a61d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 5e2cd23c..47d16131 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 752edea9..fc054d58 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 25c6088a..356949a9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 60fa0fee..66ad068e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 2b40fa27..33743578 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.141.230403", + sdkVersion: "1.143.230428", requestGetParams: { - sdk: "JavaScriptSDK-1.141.230403" + sdk: "JavaScriptSDK-1.143.230428" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.141.230403"; +PlayFab.sdkVersion = "1.143.230428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 80efd71a..c6d067fb 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2590,7 +2590,17 @@ declare module PlayFabAdminModels { | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" - | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" + | "PartitionedEventInvalid" + | "PartitionedEventCountOverLimit" + | "PlayerCustomPropertiesPropertyNameTooLong" + | "PlayerCustomPropertiesPropertyNameIsInvalid" + | "PlayerCustomPropertiesStringPropertyValueTooLong" + | "PlayerCustomPropertiesValueIsInvalidType" + | "PlayerCustomPropertiesVersionMismatch" + | "PlayerCustomPropertiesPropertyCountTooHigh" + | "PlayerCustomPropertiesDuplicatePropertyName" + | "PlayerCustomPropertiesPropertyDoesNotExist"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 13796caf..048da25f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2284,10 +2284,6 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** PlayFab unique identifier of the user to center the leaderboard around. If null will center on the logged in user. */ @@ -2325,10 +2321,6 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** Maximum number of entries to retrieve. Default 10, maximum 100. */ MaxResultsCount?: number; /** @@ -2356,10 +2348,6 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index a3c66c06..b142a2ed 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1496,10 +1496,6 @@ declare module PlayFabMultiplayerModels { export interface FindFriendLobbiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Controls whether this query should link to friends made on the Facebook network. Defaults to false */ - ExcludeFacebookFriends?: boolean; - /** Controls whether this query should link to friends made on the Steam network. Defaults to false */ - ExcludeSteamFriends?: boolean; /** Indicates which other platforms' friends this query should link to. */ ExternalPlatformFriends?: string; /** @@ -1721,6 +1717,8 @@ declare module PlayFabMultiplayerModels { StartMultiplayerServerCommand?: string; /** The VM size the build was created on. */ VmSize?: string; + /** The configuration for the VmStartupScript feature for the build */ + VmStartupScriptConfiguration?: VmStartupScriptConfiguration; } @@ -3356,17 +3354,37 @@ declare module PlayFabMultiplayerModels { } export interface VmStartupScriptConfiguration { + /** Optional port requests (name/protocol) that will be used by the VmStartupScript. Max of 5 requests. */ + PortRequests?: VmStartupScriptPortRequest[]; /** Asset which contains the VmStartupScript script and any other required files. */ VmStartupScriptAssetReference: AssetReference; } export interface VmStartupScriptParams { + /** Optional port requests (name/protocol) that will be used by the VmStartupScript. Max of 5 requests. */ + PortRequests?: VmStartupScriptPortRequestParams[]; /** Asset which contains the VmStartupScript script and any other required files. */ VmStartupScriptAssetReference: AssetReferenceParams; } + export interface VmStartupScriptPortRequest { + /** The name for the port. */ + Name: string; + /** The protocol for the port. */ + Protocol: string; + + } + + export interface VmStartupScriptPortRequestParams { + /** The name for the port. */ + Name: string; + /** The protocol for the port. */ + Protocol: string; + + } + export interface WindowsCrashDumpConfiguration { /** See https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps for valid values. */ CustomDumpFlags?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 4c87a51d..95998edc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2538,7 +2538,17 @@ declare module PlayFabServerModels { | "EventSinkDatabaseNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" - | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"; + | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" + | "PartitionedEventInvalid" + | "PartitionedEventCountOverLimit" + | "PlayerCustomPropertiesPropertyNameTooLong" + | "PlayerCustomPropertiesPropertyNameIsInvalid" + | "PlayerCustomPropertiesStringPropertyValueTooLong" + | "PlayerCustomPropertiesValueIsInvalidType" + | "PlayerCustomPropertiesVersionMismatch" + | "PlayerCustomPropertiesPropertyCountTooHigh" + | "PlayerCustomPropertiesDuplicatePropertyName" + | "PlayerCustomPropertiesPropertyDoesNotExist"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -2695,10 +2705,6 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** Maximum number of entries to retrieve. */ MaxResultsCount: number; /** The player whose friend leaderboard to get */ @@ -2728,10 +2734,6 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; - /** Indicates whether Facebook friends should be included in the response. Default is true. */ - IncludeFacebookFriends?: boolean; - /** Indicates whether Steam service friends should be included in the response. Default is true. */ - IncludeSteamFriends?: boolean; /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** From 0239facf5ab20f762937989fa19f51e86a37dea0 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 17 May 2023 15:57:47 +0000 Subject: [PATCH 176/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230512 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 37 files changed, 127 insertions(+), 123 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 8361cfe4..fa62e648 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.143.230428", + "version": "1.144.230512", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index cd99979f..537c4aed 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 8939239c..b6953f12 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6e14de9b..b9c9d148 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 8fdd96dc..ec546381 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index bf05a831..37fc9cd3 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 4bd04665..cde417cc 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 2b77a183..792ac172 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 65ee80a7..75078909 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index aa6b7c0f..626932c1 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 28b1a61d..4971aab9 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 47d16131..2206338d 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index fc054d58..8fe50f4d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 356949a9..0cb7a567 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 66ad068e..746083a4 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 33743578..09da2031 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.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index c6d067fb..62e92cf3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2576,6 +2576,7 @@ declare module PlayFabAdminModels { | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" | "TelemetryKeyDeactivated" + | "TelemetryKeyLongInsightsRetentionNotAllowed" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 105a132a..08221703 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -64,7 +64,7 @@ declare module PlayFabEventsModels { export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Collection of events to write to PlayStream. */ + /** The collection of events to write. Up to 200 events can be written per request. */ Events: EventContents[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 95998edc..746a190c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2524,6 +2524,7 @@ declare module PlayFabServerModels { | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" | "TelemetryKeyDeactivated" + | "TelemetryKeyLongInsightsRetentionNotAllowed" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index cd99979f..537c4aed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 8939239c..b6953f12 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6e14de9b..b9c9d148 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 8fdd96dc..ec546381 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index bf05a831..37fc9cd3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 4bd04665..cde417cc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 2b77a183..792ac172 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 65ee80a7..75078909 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index aa6b7c0f..626932c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 28b1a61d..4971aab9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 47d16131..2206338d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index fc054d58..8fe50f4d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 356949a9..0cb7a567 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 66ad068e..746083a4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 33743578..09da2031 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.143.230428", + sdkVersion: "1.144.230512", requestGetParams: { - sdk: "JavaScriptSDK-1.143.230428" + sdk: "JavaScriptSDK-1.144.230512" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.143.230428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.144.230512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index c6d067fb..62e92cf3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2576,6 +2576,7 @@ declare module PlayFabAdminModels { | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" | "TelemetryKeyDeactivated" + | "TelemetryKeyLongInsightsRetentionNotAllowed" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 105a132a..08221703 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -64,7 +64,7 @@ declare module PlayFabEventsModels { export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Collection of events to write to PlayStream. */ + /** The collection of events to write. Up to 200 events can be written per request. */ Events: EventContents[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 95998edc..746a190c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2524,6 +2524,7 @@ declare module PlayFabServerModels { | "TelemetryKeyInvalid" | "TelemetryKeyCountOverLimit" | "TelemetryKeyDeactivated" + | "TelemetryKeyLongInsightsRetentionNotAllowed" | "EventSinkConnectionInvalid" | "EventSinkConnectionUnauthorized" | "EventSinkRegionInvalid" From e7543b8e0ec8bf426a1c292e70d09ea0c61fd96f Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 30 May 2023 22:08:30 +0000 Subject: [PATCH 177/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230529 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 27 +++++++++++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- .../src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- .../src/PlayFab/PlayFabDataApi.js | 8 +++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++--- .../src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabServerApi.js | 8 +++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 27 +++++++++++++++++-- 33 files changed, 171 insertions(+), 125 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index fa62e648..2571325f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.144.230512", + "version": "1.145.230529", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 537c4aed..0071a628 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index b6953f12..a061a4d2 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b9c9d148..51f21df6 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ec546381..2b46b67e 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 37fc9cd3..280698b0 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index cde417cc..df0cf64e 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 792ac172..2e28eafe 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 75078909..01a60b80 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 626932c1..b69add9a 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 4971aab9..9c537674 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 2206338d..a0fa2ce6 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 8fe50f4d..0c6b8c83 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 0cb7a567..3a15c226 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 746083a4..938c73d3 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 09da2031..eb2c19df 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.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index b142a2ed..7644634b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -494,6 +494,7 @@ declare module PlayFabMultiplayerModels { | "Fsv2" | "Dasv4" | "Dav4" + | "Dadsv5" | "Eav4" | "Easv4" | "Ev4" @@ -540,6 +541,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4a_v4" | "Standard_D8a_v4" | "Standard_D16a_v4" + | "Standard_D2ads_v5" + | "Standard_D4ads_v5" + | "Standard_D8ads_v5" + | "Standard_D16ads_v5" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" @@ -1865,12 +1870,14 @@ declare module PlayFabMultiplayerModels { ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ FQDN?: string; - /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + /** The public IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ LastStateTransitionTime?: string; /** The ports the multiplayer server uses. */ Ports?: Port[]; + /** The list of public Ipv4 addresses associated with the server. */ + PublicIPV4Addresses?: PublicIpAddress[]; /** The region the multiplayer server is located in. */ Region?: string; /** The string server ID of the multiplayer server generated by PlayFab. */ @@ -2722,6 +2729,16 @@ declare module PlayFabMultiplayerModels { | "UDP"; + export interface PublicIpAddress { + /** FQDN of the public IP */ + FQDN: string; + /** Server IP Address */ + IpAddress: string; + /** Routing Type of the public IP. */ + RoutingType: string; + + } + export interface QosServer { /** The region the QoS server is located in. */ Region?: string; @@ -2838,12 +2855,14 @@ declare module PlayFabMultiplayerModels { ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ FQDN?: string; - /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + /** The public IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ LastStateTransitionTime?: string; /** The ports the multiplayer server uses. */ Ports?: Port[]; + /** The list of public Ipv4 addresses associated with the server. */ + PublicIPV4Addresses?: PublicIpAddress[]; /** The region the multiplayer server is located in. */ Region?: string; /** The string server ID of the multiplayer server generated by PlayFab. */ @@ -2873,6 +2892,10 @@ declare module PlayFabMultiplayerModels { } + type RoutingType = "Microsoft" + + | "Internet"; + export interface Schedule { /** A short description about this schedule. For example, "Game launch on July 15th". */ Description?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 537c4aed..0071a628 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index b6953f12..a061a4d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b9c9d148..51f21df6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ec546381..2b46b67e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 37fc9cd3..280698b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index cde417cc..df0cf64e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 792ac172..2e28eafe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 75078909..01a60b80 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 626932c1..b69add9a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 4971aab9..9c537674 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 2206338d..a0fa2ce6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 8fe50f4d..0c6b8c83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 0cb7a567..3a15c226 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 746083a4..938c73d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 09da2031..eb2c19df 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.144.230512", + sdkVersion: "1.145.230529", requestGetParams: { - sdk: "JavaScriptSDK-1.144.230512" + sdk: "JavaScriptSDK-1.145.230529" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.144.230512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.145.230529"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index b142a2ed..7644634b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -494,6 +494,7 @@ declare module PlayFabMultiplayerModels { | "Fsv2" | "Dasv4" | "Dav4" + | "Dadsv5" | "Eav4" | "Easv4" | "Ev4" @@ -540,6 +541,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4a_v4" | "Standard_D8a_v4" | "Standard_D16a_v4" + | "Standard_D2ads_v5" + | "Standard_D4ads_v5" + | "Standard_D8ads_v5" + | "Standard_D16ads_v5" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" @@ -1865,12 +1870,14 @@ declare module PlayFabMultiplayerModels { ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ FQDN?: string; - /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + /** The public IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ LastStateTransitionTime?: string; /** The ports the multiplayer server uses. */ Ports?: Port[]; + /** The list of public Ipv4 addresses associated with the server. */ + PublicIPV4Addresses?: PublicIpAddress[]; /** The region the multiplayer server is located in. */ Region?: string; /** The string server ID of the multiplayer server generated by PlayFab. */ @@ -2722,6 +2729,16 @@ declare module PlayFabMultiplayerModels { | "UDP"; + export interface PublicIpAddress { + /** FQDN of the public IP */ + FQDN: string; + /** Server IP Address */ + IpAddress: string; + /** Routing Type of the public IP. */ + RoutingType: string; + + } + export interface QosServer { /** The region the QoS server is located in. */ Region?: string; @@ -2838,12 +2855,14 @@ declare module PlayFabMultiplayerModels { ConnectedPlayers?: ConnectedPlayer[]; /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ FQDN?: string; - /** The IPv4 address of the virtual machine that is hosting this multiplayer server. */ + /** The public IPv4 address of the virtual machine that is hosting this multiplayer server. */ IPV4Address?: string; /** The time (UTC) at which a change in the multiplayer server state was observed. */ LastStateTransitionTime?: string; /** The ports the multiplayer server uses. */ Ports?: Port[]; + /** The list of public Ipv4 addresses associated with the server. */ + PublicIPV4Addresses?: PublicIpAddress[]; /** The region the multiplayer server is located in. */ Region?: string; /** The string server ID of the multiplayer server generated by PlayFab. */ @@ -2873,6 +2892,10 @@ declare module PlayFabMultiplayerModels { } + type RoutingType = "Microsoft" + + | "Internet"; + export interface Schedule { /** A short description about this schedule. For example, "Game launch on July 15th". */ Description?: string; From 705f27f239e6065779311feddc6edecf66e56e94 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 13 Jun 2023 16:43:21 +0000 Subject: [PATCH 178/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230609 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts | 10 ++++++++++ PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 2 ++ PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 10 ++++++++++ .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabProfilesApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 41 files changed, 151 insertions(+), 123 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 2571325f..60625464 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.145.230529", + "version": "1.146.230609", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 0071a628..70360dc6 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index a061a4d2..59cf6d86 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 51f21df6..93d62cde 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 2b46b67e..e18afe21 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 280698b0..49963656 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index df0cf64e..2ddda02a 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 2e28eafe..19f4d468 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 01a60b80..e9091e97 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index b69add9a..307018ae 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 9c537674..84483369 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a0fa2ce6..10ade524 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 0c6b8c83..72176d5a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3a15c226..8c826709 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 938c73d3..4bb255d7 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index eb2c19df..c517871f 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.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 62e92cf3..83e2fa21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2512,6 +2512,7 @@ declare module PlayFabAdminModels { | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" + | "PartySerializationError" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 048da25f..25f1d53a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3420,6 +3420,11 @@ declare module PlayFabClientModels { * 0x08 should become "08"). */ SteamTicket: string; + /** + * True if ticket was generated using ISteamUser::GetAuthTicketForWebAPI() using "AzurePlayFab" as the identity string. + * False if the ticket was generated with ISteamUser::GetAuthSessionTicket(). + */ + TicketIsServiceSpecific?: boolean; } @@ -3914,6 +3919,11 @@ declare module PlayFabClientModels { * 0x08 should become "08"). */ SteamTicket?: string; + /** + * True if ticket was generated using ISteamUser::GetAuthTicketForWebAPI() using "AzurePlayFab" as the identity string. + * False if the ticket was generated with ISteamUser::GetAuthSessionTicket(). + */ + TicketIsServiceSpecific?: boolean; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index a38426d1..9cd7a986 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -470,6 +470,8 @@ declare module PlayFabEconomyModels { export interface CatalogPrice { /** The amounts of the catalog item price. Each price can have up to 15 item amounts. */ Amounts?: CatalogPriceAmount[]; + /** The per-unit amount this price can be used to purchase. */ + UnitAmount?: number; /** The per-unit duration this price can be used to purchase. The maximum duration is 100 years. */ UnitDurationInSeconds?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 99821e65..37439441 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -170,7 +170,7 @@ declare module PlayFabProfilesModels { export interface EntityStatisticValue { /** Child statistic values */ ChildStatistics?: { [key: string]: EntityStatisticChildValue }; - /** Statistic metadata */ + /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ Name?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 746a190c..e0d8b9f9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2460,6 +2460,7 @@ declare module PlayFabServerModels { | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" + | "PartySerializationError" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 0071a628..70360dc6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index a061a4d2..59cf6d86 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 51f21df6..93d62cde 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 2b46b67e..e18afe21 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 280698b0..49963656 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index df0cf64e..2ddda02a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 2e28eafe..19f4d468 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 01a60b80..e9091e97 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index b69add9a..307018ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 9c537674..84483369 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a0fa2ce6..10ade524 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 0c6b8c83..72176d5a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3a15c226..8c826709 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 938c73d3..4bb255d7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index eb2c19df..c517871f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.145.230529", + sdkVersion: "1.146.230609", requestGetParams: { - sdk: "JavaScriptSDK-1.145.230529" + sdk: "JavaScriptSDK-1.146.230609" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.145.230529"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.146.230609"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 62e92cf3..83e2fa21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2512,6 +2512,7 @@ declare module PlayFabAdminModels { | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" + | "PartySerializationError" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 048da25f..25f1d53a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3420,6 +3420,11 @@ declare module PlayFabClientModels { * 0x08 should become "08"). */ SteamTicket: string; + /** + * True if ticket was generated using ISteamUser::GetAuthTicketForWebAPI() using "AzurePlayFab" as the identity string. + * False if the ticket was generated with ISteamUser::GetAuthSessionTicket(). + */ + TicketIsServiceSpecific?: boolean; } @@ -3914,6 +3919,11 @@ declare module PlayFabClientModels { * 0x08 should become "08"). */ SteamTicket?: string; + /** + * True if ticket was generated using ISteamUser::GetAuthTicketForWebAPI() using "AzurePlayFab" as the identity string. + * False if the ticket was generated with ISteamUser::GetAuthSessionTicket(). + */ + TicketIsServiceSpecific?: boolean; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a * title has been selected. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index a38426d1..9cd7a986 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -470,6 +470,8 @@ declare module PlayFabEconomyModels { export interface CatalogPrice { /** The amounts of the catalog item price. Each price can have up to 15 item amounts. */ Amounts?: CatalogPriceAmount[]; + /** The per-unit amount this price can be used to purchase. */ + UnitAmount?: number; /** The per-unit duration this price can be used to purchase. The maximum duration is 100 years. */ UnitDurationInSeconds?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 99821e65..37439441 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -170,7 +170,7 @@ declare module PlayFabProfilesModels { export interface EntityStatisticValue { /** Child statistic values */ ChildStatistics?: { [key: string]: EntityStatisticChildValue }; - /** Statistic metadata */ + /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ Name?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 746a190c..e0d8b9f9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2460,6 +2460,7 @@ declare module PlayFabServerModels { | "MultiplayerServerBuildReferencedByMatchmakingQueue" | "MultiplayerServerBuildReferencedByBuildAlias" | "MultiplayerServerBuildAliasReferencedByMatchmakingQueue" + | "PartySerializationError" | "ExperimentationExperimentStopped" | "ExperimentationExperimentRunning" | "ExperimentationExperimentNotFound" From e9e7ae52f2dc04f684ad50f737dfd1b1886b5995 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 26 Jun 2023 21:06:13 +0000 Subject: [PATCH 179/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230623 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++- PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 7 ++++++- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 +++- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++- .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 7 ++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 +++- 37 files changed, 115 insertions(+), 97 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 60625464..f3943c49 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.146.230609", + "version": "1.147.230623", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 70360dc6..0ff0e3dd 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 59cf6d86..d98bfae4 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 93d62cde..f9933c7b 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index e18afe21..cc0e37da 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 49963656..eecd42db 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 2ddda02a..10c5bcd6 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 19f4d468..977a6cb2 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index e9091e97..b2fc7a8e 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 307018ae..997990e8 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 84483369..2c42774a 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 10ade524..ebc3cc75 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 72176d5a..8f8d542b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 8c826709..d3c33f29 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4bb255d7..8483e686 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c517871f..fd4528ad 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.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 83e2fa21..330fcaac 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2602,7 +2602,9 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesVersionMismatch" | "PlayerCustomPropertiesPropertyCountTooHigh" | "PlayerCustomPropertiesDuplicatePropertyName" - | "PlayerCustomPropertiesPropertyDoesNotExist"; + | "PlayerCustomPropertiesPropertyDoesNotExist" + | "AddonAlreadyExists" + | "AddonDoesntExist"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 9cd7a986..c7282f3f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -452,7 +452,10 @@ declare module PlayFabEconomyModels { * required. Titles have a 512 character limit per country code. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ + /** + * The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc, + * subscription. + */ Type?: string; } @@ -1921,6 +1924,8 @@ declare module PlayFabEconomyModels { * can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits */ Filter?: string; + /** The locale to be returned in the result. */ + Language?: string; /** An OData orderBy used to order the results of the search query. For example: "rating/average asc" */ OrderBy?: string; /** The text to search for. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e0d8b9f9..8579510e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2550,7 +2550,9 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesVersionMismatch" | "PlayerCustomPropertiesPropertyCountTooHigh" | "PlayerCustomPropertiesDuplicatePropertyName" - | "PlayerCustomPropertiesPropertyDoesNotExist"; + | "PlayerCustomPropertiesPropertyDoesNotExist" + | "AddonAlreadyExists" + | "AddonDoesntExist"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 70360dc6..0ff0e3dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 59cf6d86..d98bfae4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 93d62cde..f9933c7b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index e18afe21..cc0e37da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 49963656..eecd42db 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 2ddda02a..10c5bcd6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 19f4d468..977a6cb2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index e9091e97..b2fc7a8e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 307018ae..997990e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 84483369..2c42774a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 10ade524..ebc3cc75 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 72176d5a..8f8d542b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 8c826709..d3c33f29 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4bb255d7..8483e686 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c517871f..fd4528ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.146.230609", + sdkVersion: "1.147.230623", requestGetParams: { - sdk: "JavaScriptSDK-1.146.230609" + sdk: "JavaScriptSDK-1.147.230623" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.146.230609"; +PlayFab.sdkVersion = "1.147.230623"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 83e2fa21..330fcaac 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2602,7 +2602,9 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesVersionMismatch" | "PlayerCustomPropertiesPropertyCountTooHigh" | "PlayerCustomPropertiesDuplicatePropertyName" - | "PlayerCustomPropertiesPropertyDoesNotExist"; + | "PlayerCustomPropertiesPropertyDoesNotExist" + | "AddonAlreadyExists" + | "AddonDoesntExist"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 9cd7a986..c7282f3f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -452,7 +452,10 @@ declare module PlayFabEconomyModels { * required. Titles have a 512 character limit per country code. */ Title?: { [key: string]: string | null }; - /** The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc. */ + /** + * The high-level type of the item. The following item types are supported: bundle, catalogItem, currency, store, ugc, + * subscription. + */ Type?: string; } @@ -1921,6 +1924,8 @@ declare module PlayFabEconomyModels { * can be found here: https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/search#limits */ Filter?: string; + /** The locale to be returned in the result. */ + Language?: string; /** An OData orderBy used to order the results of the search query. For example: "rating/average asc" */ OrderBy?: string; /** The text to search for. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e0d8b9f9..8579510e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2550,7 +2550,9 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesVersionMismatch" | "PlayerCustomPropertiesPropertyCountTooHigh" | "PlayerCustomPropertiesDuplicatePropertyName" - | "PlayerCustomPropertiesPropertyDoesNotExist"; + | "PlayerCustomPropertiesPropertyDoesNotExist" + | "AddonAlreadyExists" + | "AddonDoesntExist"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ From cddbd94ebf5d7ec538ec6e36d73f9c82f4b9cf79 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 10 Jul 2023 18:30:55 +0000 Subject: [PATCH 180/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230707 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 28 +++- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 7 +- .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 121 ++++++++++++++++++ .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 14 -- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 23 ++++ .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 28 +++- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 12 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 7 +- .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 121 ++++++++++++++++++ .../typings/PlayFab/PlayFabProfilesApi.d.ts | 14 -- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 23 ++++ 39 files changed, 467 insertions(+), 153 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f3943c49..927bf591 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.147.230623", + "version": "1.148.230707", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 0ff0e3dd..11eb0fc8 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d98bfae4..57412bc9 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f9933c7b..44586223 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index cc0e37da..5ade9977 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index eecd42db..421ab043 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 10c5bcd6..76bde9ba 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 977a6cb2..4e416dab 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,26 @@ PlayFab.EventsApi = { PlayFab._internalSettings.entityToken = null; }, + CreateTelemetryKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/CreateTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteTelemetryKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/DeleteTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetTelemetryKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/GetTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListTelemetryKeys: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/ListTelemetryKeys", 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 b2fc7a8e..9818e20b 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 997990e8..eff9870b 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2c42774a..4705d523 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ebc3cc75..a3ffd323 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 8f8d542b..a90535c5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index d3c33f29..a906e7d1 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 8483e686..2570990c 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fd4528ad..1d13396c 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.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -544,6 +544,10 @@ 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index c7282f3f..bcd599ff 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1376,8 +1376,11 @@ declare module PlayFabEconomyModels { /** The entity to perform this action on. */ Entity?: EntityKey; /** - * An OData filter used to refine the TransactionHistory. Transaction property 'timestamp' can be used in the filter. For - * example: "timestamp ge 'timestamp ge'" By default, a 6 month timespan from the current date is used. + * An OData filter used to refine the TransactionHistory. Transaction properties 'timestamp', 'transactionid', 'apiname' + * and 'operationtype' can be used in the filter. Properties 'transactionid', 'apiname', and 'operationtype' cannot be used + * together in a single request. The 'timestamp' property can be combined with 'apiname' or 'operationtype' in a single + * request. For example: "timestamp ge 2023-06-20T23:30Z" or "transactionid eq '10'" or "(timestamp ge 2023-06-20T23:30Z) + * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ Filter?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index 08221703..ad01e759 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -4,6 +4,31 @@ declare module PlayFabEventsModule { export interface IPlayFabEvents { ForgetAllCredentials(): void; + /** + * Creates a new telemetry key for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/createtelemetrykey + */ + CreateTelemetryKey(request: PlayFabEventsModels.CreateTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a telemetry key configured for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletetelemetrykey + */ + DeleteTelemetryKey(request: PlayFabEventsModels.DeleteTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets information about a telemetry key configured for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/gettelemetrykey + */ + GetTelemetryKey(request: PlayFabEventsModels.GetTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists all telemetry keys configured for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listtelemetrykeys + */ + ListTelemetryKeys(request: PlayFabEventsModels.ListTelemetryKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sets a telemetry key to the active or deactivated state. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/settelemetrykeyactive + */ + SetTelemetryKeyActive(request: PlayFabEventsModels.SetTelemetryKeyActiveRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents @@ -20,6 +45,38 @@ declare module PlayFabEventsModule { } declare module PlayFabEventsModels { + export interface CreateTelemetryKeyRequest 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; + /** The name of the new key. Telemetry key names must be unique within the scope of the title. */ + KeyName: string; + + } + + export interface CreateTelemetryKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Details about the newly created telemetry key. */ + NewKeyDetails?: TelemetryKeyDetails; + + } + + export interface DeleteTelemetryKeyRequest 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; + /** The name of the key to delete. */ + KeyName: string; + + } + + export interface DeleteTelemetryKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Indicates whether or not the key was deleted. If false, no key with that name existed. */ + WasKeyDeleted: boolean; + + } + export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -61,6 +118,70 @@ declare module PlayFabEventsModels { } + export interface GetTelemetryKeyRequest 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; + /** The name of the key to retrieve. */ + KeyName: string; + + } + + export interface GetTelemetryKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Details about the requested telemetry key. */ + KeyDetails?: TelemetryKeyDetails; + + } + + export interface ListTelemetryKeysRequest 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 ListTelemetryKeysResponse extends PlayFabModule.IPlayFabResultCommon { + /** The telemetry keys configured for the title. */ + KeyDetails?: TelemetryKeyDetails[]; + + } + + export interface SetTelemetryKeyActiveRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether to set the key to active (true) or deactivated (false). */ + Active: boolean; + /** 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; + /** The name of the key to update. */ + KeyName: string; + + } + + export interface SetTelemetryKeyActiveResponse extends PlayFabModule.IPlayFabResultCommon { + /** The most current details about the telemetry key that was to be updated. */ + KeyDetails?: TelemetryKeyDetails; + /** Indicates whether or not the key was updated. If false, the key was already in the desired state. */ + WasKeyUpdated: boolean; + + } + + export interface TelemetryKeyDetails { + /** When the key was created. */ + CreateTime: string; + /** Whether or not the key is currently active. Deactivated keys cannot be used for telemetry ingestion. */ + IsActive: boolean; + /** The key that can be distributed to clients for use during telemetry ingestion. */ + KeyValue?: string; + /** When the key was last updated. */ + LastUpdateTime: string; + /** The name of the key. Telemetry key names are unique within the scope of the title. */ + Name?: string; + + } + export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 37439441..7cb1c55d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -124,8 +124,6 @@ declare module PlayFabProfilesModels { Files?: { [key: string]: EntityProfileFileMetadata }; /** The language on this profile. */ Language?: string; - /** Leaderboard metadata for the entity. */ - LeaderboardMetadata?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; /** The objects on this profile. */ @@ -157,19 +155,7 @@ declare module PlayFabProfilesModels { } - export interface EntityStatisticChildValue { - /** Child name value, if child statistic */ - ChildName?: string; - /** Child statistic metadata */ - Metadata?: string; - /** Child statistic value */ - Value: number; - - } - export interface EntityStatisticValue { - /** Child statistic values */ - ChildStatistics?: { [key: string]: EntityStatisticChildValue }; /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 8579510e..04af5c4b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -415,6 +415,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the PlayStation :tm: Network account associated with the provided user id to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnid + */ + LinkPSNId(request: PlayFabServerModels.LinkPSNIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the custom server identifier, generated by the title, to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid @@ -3664,6 +3669,24 @@ declare module PlayFabServerModels { } + export interface LinkPSNIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** Id of the PlayStation :tm: Network user. */ + PSNUserId: string; + + } + + export interface LinkPSNIdResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 0ff0e3dd..11eb0fc8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d98bfae4..57412bc9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f9933c7b..44586223 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index cc0e37da..5ade9977 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index eecd42db..421ab043 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 10c5bcd6..76bde9ba 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 977a6cb2..4e416dab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,26 @@ PlayFab.EventsApi = { PlayFab._internalSettings.entityToken = null; }, + CreateTelemetryKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/CreateTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteTelemetryKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/DeleteTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + GetTelemetryKey: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/GetTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + ListTelemetryKeys: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/ListTelemetryKeys", 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/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index b2fc7a8e..9818e20b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 997990e8..eff9870b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2c42774a..4705d523 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ebc3cc75..a3ffd323 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 8f8d542b..a90535c5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index d3c33f29..a906e7d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 8483e686..2570990c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fd4528ad..1d13396c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.147.230623", + sdkVersion: "1.148.230707", requestGetParams: { - sdk: "JavaScriptSDK-1.147.230623" + sdk: "JavaScriptSDK-1.148.230707" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.147.230623"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.148.230707"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -544,6 +544,10 @@ 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index c7282f3f..bcd599ff 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1376,8 +1376,11 @@ declare module PlayFabEconomyModels { /** The entity to perform this action on. */ Entity?: EntityKey; /** - * An OData filter used to refine the TransactionHistory. Transaction property 'timestamp' can be used in the filter. For - * example: "timestamp ge 'timestamp ge'" By default, a 6 month timespan from the current date is used. + * An OData filter used to refine the TransactionHistory. Transaction properties 'timestamp', 'transactionid', 'apiname' + * and 'operationtype' can be used in the filter. Properties 'transactionid', 'apiname', and 'operationtype' cannot be used + * together in a single request. The 'timestamp' property can be combined with 'apiname' or 'operationtype' in a single + * request. For example: "timestamp ge 2023-06-20T23:30Z" or "transactionid eq '10'" or "(timestamp ge 2023-06-20T23:30Z) + * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ Filter?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index 08221703..ad01e759 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -4,6 +4,31 @@ declare module PlayFabEventsModule { export interface IPlayFabEvents { ForgetAllCredentials(): void; + /** + * Creates a new telemetry key for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/createtelemetrykey + */ + CreateTelemetryKey(request: PlayFabEventsModels.CreateTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a telemetry key configured for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletetelemetrykey + */ + DeleteTelemetryKey(request: PlayFabEventsModels.DeleteTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets information about a telemetry key configured for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/gettelemetrykey + */ + GetTelemetryKey(request: PlayFabEventsModels.GetTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists all telemetry keys configured for the title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listtelemetrykeys + */ + ListTelemetryKeys(request: PlayFabEventsModels.ListTelemetryKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sets a telemetry key to the active or deactivated state. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/settelemetrykeyactive + */ + SetTelemetryKeyActive(request: PlayFabEventsModels.SetTelemetryKeyActiveRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Write batches of entity based events to PlayStream. The namespace of the Event must be 'custom' or start with 'custom.'. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/writeevents @@ -20,6 +45,38 @@ declare module PlayFabEventsModule { } declare module PlayFabEventsModels { + export interface CreateTelemetryKeyRequest 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; + /** The name of the new key. Telemetry key names must be unique within the scope of the title. */ + KeyName: string; + + } + + export interface CreateTelemetryKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Details about the newly created telemetry key. */ + NewKeyDetails?: TelemetryKeyDetails; + + } + + export interface DeleteTelemetryKeyRequest 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; + /** The name of the key to delete. */ + KeyName: string; + + } + + export interface DeleteTelemetryKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Indicates whether or not the key was deleted. If false, no key with that name existed. */ + WasKeyDeleted: boolean; + + } + export interface EntityKey { /** Unique ID of the entity. */ Id: string; @@ -61,6 +118,70 @@ declare module PlayFabEventsModels { } + export interface GetTelemetryKeyRequest 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; + /** The name of the key to retrieve. */ + KeyName: string; + + } + + export interface GetTelemetryKeyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Details about the requested telemetry key. */ + KeyDetails?: TelemetryKeyDetails; + + } + + export interface ListTelemetryKeysRequest 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 ListTelemetryKeysResponse extends PlayFabModule.IPlayFabResultCommon { + /** The telemetry keys configured for the title. */ + KeyDetails?: TelemetryKeyDetails[]; + + } + + export interface SetTelemetryKeyActiveRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether to set the key to active (true) or deactivated (false). */ + Active: boolean; + /** 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; + /** The name of the key to update. */ + KeyName: string; + + } + + export interface SetTelemetryKeyActiveResponse extends PlayFabModule.IPlayFabResultCommon { + /** The most current details about the telemetry key that was to be updated. */ + KeyDetails?: TelemetryKeyDetails; + /** Indicates whether or not the key was updated. If false, the key was already in the desired state. */ + WasKeyUpdated: boolean; + + } + + export interface TelemetryKeyDetails { + /** When the key was created. */ + CreateTime: string; + /** Whether or not the key is currently active. Deactivated keys cannot be used for telemetry ingestion. */ + IsActive: boolean; + /** The key that can be distributed to clients for use during telemetry ingestion. */ + KeyValue?: string; + /** When the key was last updated. */ + LastUpdateTime: string; + /** The name of the key. Telemetry key names are unique within the scope of the title. */ + Name?: string; + + } + export interface WriteEventsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 37439441..7cb1c55d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -124,8 +124,6 @@ declare module PlayFabProfilesModels { Files?: { [key: string]: EntityProfileFileMetadata }; /** The language on this profile. */ Language?: string; - /** Leaderboard metadata for the entity. */ - LeaderboardMetadata?: string; /** The lineage of this profile. */ Lineage?: EntityLineage; /** The objects on this profile. */ @@ -157,19 +155,7 @@ declare module PlayFabProfilesModels { } - export interface EntityStatisticChildValue { - /** Child name value, if child statistic */ - ChildName?: string; - /** Child statistic metadata */ - Metadata?: string; - /** Child statistic value */ - Value: number; - - } - export interface EntityStatisticValue { - /** Child statistic values */ - ChildStatistics?: { [key: string]: EntityStatisticChildValue }; /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 8579510e..04af5c4b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -415,6 +415,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount */ LinkPSNAccount(request: PlayFabServerModels.LinkPSNAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the PlayStation :tm: Network account associated with the provided user id to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnid + */ + LinkPSNId(request: PlayFabServerModels.LinkPSNIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the custom server identifier, generated by the title, to the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid @@ -3664,6 +3669,24 @@ declare module PlayFabServerModels { } + export interface LinkPSNIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** Id of the PlayStation :tm: Network user. */ + PSNUserId: string; + + } + + export interface LinkPSNIdResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface LinkServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From 1101e7073ad49b4a469bd61f86caa75b82a2a1e8 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 25 Jul 2023 18:09:04 +0000 Subject: [PATCH 181/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230721 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 68 +++++++++----- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 88 +++++++++++------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 15 --- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 91 ++++++++++++------- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 68 +++++++++----- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 88 +++++++++++------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 15 --- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 91 ++++++++++++------- 39 files changed, 439 insertions(+), 327 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 927bf591..1839d857 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.148.230707", + "version": "1.150.230721", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 11eb0fc8..11995a06 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 57412bc9..909f452d 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 44586223..e2fac28c 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 5ade9977..cefc88c6 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 421ab043..efb34f38 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 76bde9ba..e64d3622 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 4e416dab..5ee86294 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 9818e20b..57b754c1 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index eff9870b..e0e0004a 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 4705d523..e06f8d65 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a3ffd323..28fe2a90 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index a90535c5..4961a55c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a906e7d1..763324ee 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2570990c..de7810e4 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1d13396c..459083de 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.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 330fcaac..33a5bf1b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -25,13 +25,15 @@ 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>; @@ -41,7 +43,8 @@ declare module PlayFabAdminModule { */ 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>; @@ -120,7 +123,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>; @@ -163,7 +167,8 @@ declare module PlayFabAdminModule { */ 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>; @@ -271,7 +276,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>; @@ -289,7 +295,8 @@ declare module PlayFabAdminModule { */ 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 +341,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 +367,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,7 +389,8 @@ 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 + * _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 */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -389,7 +400,8 @@ declare module PlayFabAdminModule { */ ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, 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 +411,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 +432,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 +448,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 +472,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 +498,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 +530,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 +541,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>; @@ -554,7 +574,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 +585,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>; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 25f1d53a..29546995 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>; @@ -130,7 +134,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 +145,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>; @@ -219,9 +225,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>; @@ -349,8 +356,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 +371,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 +407,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>; @@ -644,18 +654,21 @@ declare module PlayFabClientModule { */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Selects a payment option for purchase order created via StartPurchase + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Selects a payment option for purchase order created via StartPurchase * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/payforpurchase */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what - * the client believes the price to be. This lets the server fail the purchase if the price has changed. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as + * well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/purchaseitem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * _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 virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/redeemcoupon */ @@ -717,7 +730,8 @@ declare module PlayFabClientModule { */ ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Restores all in-app purchases based on the given restore receipt + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Restores all in-app purchases based on the given restore receipt * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -745,13 +759,15 @@ declare module PlayFabClientModule { */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates an order for a list of items from the title catalog + * _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 an order for a list of items from the title catalog * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase */ StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC - * balance negative with this API. + * _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 user's balance of the specified virtual currency by the stated amount. It is possible to make + * a VC balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -843,15 +859,17 @@ declare module PlayFabClientModule { */ UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. - * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, - * consistent with the operation of ConsumeItem. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Opens the specified container, with the specified key (when required), and returns the contents of the + * opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will + * be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an - * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it + * using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontaineritem */ @@ -903,25 +921,29 @@ declare module PlayFabClientModule { */ UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the - * purchased catalog 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._ Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches + * the purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateamazoniapreceipt */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates a Google Play purchase and gives the corresponding item to the player. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Validates a Google Play purchase and gives the corresponding item to the player. * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validategoogleplaypurchase */ ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased - * catalog 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._ Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the + * purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateiosreceipt */ ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the - * purchased catalog 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._ Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it + * matches the purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validatewindowsstorereceipt */ ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 7644634b..ca861620 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -829,11 +829,6 @@ declare module PlayFabMultiplayerModels { RegionConfigurations: BuildRegionParams[]; /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ ServerResourceConstraints?: ServerResourceConstraintParams; - /** - * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being - * written first to disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; /** The configuration for the VmStartupScript for the build */ @@ -933,11 +928,6 @@ declare module PlayFabMultiplayerModels { ServerResourceConstraints?: ServerResourceConstraintParams; /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; - /** - * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being - * written first to disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; /** The configuration for the VmStartupScript for the build */ @@ -1048,11 +1038,6 @@ declare module PlayFabMultiplayerModels { * relative to the root asset folder when unzipped. */ StartMultiplayerServerCommand: string; - /** - * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being - * written first to disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; /** The configuration for the VmStartupScript for the build */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 04af5c4b..91b5ec6e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -5,7 +5,8 @@ declare module PlayFabServerModule { ForgetAllCredentials(): void; /** - * Increments the character'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 character's balance of the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -36,7 +37,8 @@ declare module PlayFabServerModule { */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, 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/server/player-item-management/adduservirtualcurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -56,7 +58,9 @@ declare module PlayFabServerModule { */ BanUsers(request: PlayFabServerModels.BanUsersRequest, 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/server/player-item-management/consumeitem */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -96,8 +100,10 @@ declare module PlayFabServerModule { */ DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been - * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would + * have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to + * UnlockContainer. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -120,7 +126,8 @@ declare module PlayFabServerModule { */ GetAllUsersCharacters(request: PlayFabServerModels.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/server/title-wide-data-management/getcatalogitems */ GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -135,7 +142,8 @@ declare module PlayFabServerModule { */ GetCharacterInternalData(request: PlayFabServerModels.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/server/player-item-management/getcharacterinventory */ GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -292,8 +300,9 @@ declare module PlayFabServerModule { */ GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves the configuration information for the specified random results tables for the title, including all ItemId - * values and weights + * _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 configuration information for the specified random results tables for the title, including all + * ItemId values and weights * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -310,7 +319,9 @@ declare module PlayFabServerModule { */ GetSharedGroupData(request: PlayFabServerModels.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, for the specified player + * _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, for the specified + * player * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems */ GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -355,7 +366,8 @@ declare module PlayFabServerModule { */ GetUserInternalData(request: PlayFabServerModels.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/server/player-item-management/getuserinventory */ GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -386,17 +398,20 @@ declare module PlayFabServerModule { */ GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the specified items to the specified character'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._ Adds the specified items to the specified character's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter */ GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the specified items to the specified 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._ Adds the specified items to the specified user's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser */ GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, 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/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -460,22 +475,26 @@ declare module PlayFabServerModule { */ LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Modifies the number of remaining uses of a player's inventory 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._ Modifies the number of remaining uses of a player's inventory item * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses */ ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Moves an item from a character's inventory into another of the users's character'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._ Moves an item from a character's inventory into another of the users's character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter */ MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Moves an item from a user's inventory into their character'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._ Moves an item from a user's inventory into their character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser */ MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Moves an item from a character's inventory into the owning 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._ Moves an item from a character's inventory into the owning user's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -485,7 +504,8 @@ declare module PlayFabServerModule { */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * _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 virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ @@ -545,12 +565,14 @@ declare module PlayFabServerModule { */ RevokeBans(request: PlayFabServerModels.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/server/player-item-management/revokeinventoryitem */ RevokeInventoryItem(request: PlayFabServerModels.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/server/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -624,14 +646,16 @@ declare module PlayFabServerModule { */ SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC - * balance negative with this API. + * _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 character's balance of the specified virtual currency by the stated amount. It is possible to + * make a VC balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency */ SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC - * balance negative with this API. + * _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 user's balance of the specified virtual currency by the stated amount. It is possible to make + * a VC balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -666,16 +690,18 @@ declare module PlayFabServerModule { */ UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and - * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > - * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when + * required), and returns the contents of the opened container. If the container (and key when relevant) are consumable + * (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it - * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) - * are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary + * unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when + * relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of * ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem */ @@ -735,7 +761,8 @@ declare module PlayFabServerModule { */ UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Updates the key-value pair data tagged to the specified item, which is read-only from the client. + * _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 key-value pair data tagged to the specified item, which is read-only from the client. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata */ UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 11eb0fc8..11995a06 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 57412bc9..909f452d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 44586223..e2fac28c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 5ade9977..cefc88c6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 421ab043..efb34f38 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 76bde9ba..e64d3622 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4e416dab..5ee86294 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 9818e20b..57b754c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index eff9870b..e0e0004a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 4705d523..e06f8d65 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a3ffd323..28fe2a90 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index a90535c5..4961a55c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a906e7d1..763324ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2570990c..de7810e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1d13396c..459083de 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.148.230707", + sdkVersion: "1.150.230721", requestGetParams: { - sdk: "JavaScriptSDK-1.148.230707" + sdk: "JavaScriptSDK-1.150.230721" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.148.230707"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.150.230721"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 330fcaac..33a5bf1b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -25,13 +25,15 @@ 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>; @@ -41,7 +43,8 @@ declare module PlayFabAdminModule { */ 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>; @@ -120,7 +123,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>; @@ -163,7 +167,8 @@ declare module PlayFabAdminModule { */ 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>; @@ -271,7 +276,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>; @@ -289,7 +295,8 @@ declare module PlayFabAdminModule { */ 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 +341,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 +367,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,7 +389,8 @@ 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 + * _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 */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -389,7 +400,8 @@ declare module PlayFabAdminModule { */ ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, 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 +411,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 +432,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 +448,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 +472,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 +498,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 +530,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 +541,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>; @@ -554,7 +574,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 +585,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>; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 25f1d53a..29546995 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/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>; @@ -130,7 +134,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 +145,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>; @@ -219,9 +225,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>; @@ -349,8 +356,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 +371,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 +407,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>; @@ -644,18 +654,21 @@ declare module PlayFabClientModule { */ OpenTrade(request: PlayFabClientModels.OpenTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Selects a payment option for purchase order created via StartPurchase + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Selects a payment option for purchase order created via StartPurchase * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/payforpurchase */ PayForPurchase(request: PlayFabClientModels.PayForPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as well as what - * the client believes the price to be. This lets the server fail the purchase if the price has changed. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Buys a single item with virtual currency. You must specify both the virtual currency to use to purchase, as + * well as what the client believes the price to be. This lets the server fail the purchase if the price has changed. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/purchaseitem */ PurchaseItem(request: PlayFabClientModels.PurchaseItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * _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 virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/redeemcoupon */ @@ -717,7 +730,8 @@ declare module PlayFabClientModule { */ ReportPlayer(request: PlayFabClientModels.ReportPlayerClientRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Restores all in-app purchases based on the given restore receipt + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Restores all in-app purchases based on the given restore receipt * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/restoreiospurchases */ RestoreIOSPurchases(request: PlayFabClientModels.RestoreIOSPurchasesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -745,13 +759,15 @@ declare module PlayFabClientModule { */ SetPlayerSecret(request: PlayFabClientModels.SetPlayerSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates an order for a list of items from the title catalog + * _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 an order for a list of items from the title catalog * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/startpurchase */ StartPurchase(request: PlayFabClientModels.StartPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC - * balance negative with this API. + * _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 user's balance of the specified virtual currency by the stated amount. It is possible to make + * a VC balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabClientModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -843,15 +859,17 @@ declare module PlayFabClientModule { */ UnlinkXboxAccount(request: PlayFabClientModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Opens the specified container, with the specified key (when required), and returns the contents of the opened container. - * If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, - * consistent with the operation of ConsumeItem. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Opens the specified container, with the specified key (when required), and returns the contents of the + * opened container. If the container (and key when relevant) are consumable (RemainingUses > 0), their RemainingUses will + * be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabClientModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it using an - * appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Searches target inventory for an ItemInstance matching the given CatalogItemId, if necessary unlocks it + * using an appropriate key, and returns the contents of the opened container. If the container (and key when relevant) are * consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/client/player-item-management/unlockcontaineritem */ @@ -903,25 +921,29 @@ declare module PlayFabClientModule { */ UpdateUserTitleDisplayName(request: PlayFabClientModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches the - * purchased catalog 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._ Validates with Amazon that the receipt for an Amazon App Store in-app purchase is valid and that it matches + * the purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateamazoniapreceipt */ ValidateAmazonIAPReceipt(request: PlayFabClientModels.ValidateAmazonReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates a Google Play purchase and gives the corresponding item to the player. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Validates a Google Play purchase and gives the corresponding item to the player. * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validategoogleplaypurchase */ ValidateGooglePlayPurchase(request: PlayFabClientModels.ValidateGooglePlayPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the purchased - * catalog 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._ Validates with the Apple store that the receipt for an iOS in-app purchase is valid and that it matches the + * purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validateiosreceipt */ ValidateIOSReceipt(request: PlayFabClientModels.ValidateIOSReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it matches the - * purchased catalog 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._ Validates with Windows that the receipt for an Windows App Store in-app purchase is valid and that it + * matches the purchased catalog item * https://docs.microsoft.com/rest/api/playfab/client/platform-specific-methods/validatewindowsstorereceipt */ ValidateWindowsStoreReceipt(request: PlayFabClientModels.ValidateWindowsReceiptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 7644634b..ca861620 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -829,11 +829,6 @@ declare module PlayFabMultiplayerModels { RegionConfigurations: BuildRegionParams[]; /** The resource constraints to apply to each server on the VM (EXPERIMENTAL API) */ ServerResourceConstraints?: ServerResourceConstraintParams; - /** - * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being - * written first to disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; /** The configuration for the VmStartupScript for the build */ @@ -933,11 +928,6 @@ declare module PlayFabMultiplayerModels { ServerResourceConstraints?: ServerResourceConstraintParams; /** The command to run when the multiplayer server is started, including any arguments. */ StartMultiplayerServerCommand: string; - /** - * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being - * written first to disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; /** The configuration for the VmStartupScript for the build */ @@ -1048,11 +1038,6 @@ declare module PlayFabMultiplayerModels { * relative to the root asset folder when unzipped. */ StartMultiplayerServerCommand: string; - /** - * DEPRECATED - this is always true. Assets are downloaded and uncompressed in memory, without the compressedversion being - * written first to disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size to create the build on. */ VmSize?: string; /** The configuration for the VmStartupScript for the build */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 04af5c4b..91b5ec6e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -5,7 +5,8 @@ declare module PlayFabServerModule { ForgetAllCredentials(): void; /** - * Increments the character'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 character's balance of the specified virtual currency by the stated amount * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency */ AddCharacterVirtualCurrency(request: PlayFabServerModels.AddCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -36,7 +37,8 @@ declare module PlayFabServerModule { */ AddSharedGroupMembers(request: PlayFabServerModels.AddSharedGroupMembersRequest, 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/server/player-item-management/adduservirtualcurrency */ AddUserVirtualCurrency(request: PlayFabServerModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -56,7 +58,9 @@ declare module PlayFabServerModule { */ BanUsers(request: PlayFabServerModels.BanUsersRequest, 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/server/player-item-management/consumeitem */ ConsumeItem(request: PlayFabServerModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -96,8 +100,10 @@ declare module PlayFabServerModule { */ DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would have been - * added to the player inventory, if the Random Result Table were added via a Bundle or a call to UnlockContainer. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would + * have been added to the player inventory, if the Random Result Table were added via a Bundle or a call to + * UnlockContainer. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable */ EvaluateRandomResultTable(request: PlayFabServerModels.EvaluateRandomResultTableRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -120,7 +126,8 @@ declare module PlayFabServerModule { */ GetAllUsersCharacters(request: PlayFabServerModels.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/server/title-wide-data-management/getcatalogitems */ GetCatalogItems(request: PlayFabServerModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -135,7 +142,8 @@ declare module PlayFabServerModule { */ GetCharacterInternalData(request: PlayFabServerModels.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/server/player-item-management/getcharacterinventory */ GetCharacterInventory(request: PlayFabServerModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -292,8 +300,9 @@ declare module PlayFabServerModule { */ GetPublisherData(request: PlayFabServerModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Retrieves the configuration information for the specified random results tables for the title, including all ItemId - * values and weights + * _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 configuration information for the specified random results tables for the title, including all + * ItemId values and weights * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -310,7 +319,9 @@ declare module PlayFabServerModule { */ GetSharedGroupData(request: PlayFabServerModels.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, for the specified player + * _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, for the specified + * player * https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems */ GetStoreItems(request: PlayFabServerModels.GetStoreItemsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -355,7 +366,8 @@ declare module PlayFabServerModule { */ GetUserInternalData(request: PlayFabServerModels.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/server/player-item-management/getuserinventory */ GetUserInventory(request: PlayFabServerModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -386,17 +398,20 @@ declare module PlayFabServerModule { */ GrantCharacterToUser(request: PlayFabServerModels.GrantCharacterToUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the specified items to the specified character'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._ Adds the specified items to the specified character's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter */ GrantItemsToCharacter(request: PlayFabServerModels.GrantItemsToCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the specified items to the specified 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._ Adds the specified items to the specified user's inventory * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser */ GrantItemsToUser(request: PlayFabServerModels.GrantItemsToUserRequest, 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/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -460,22 +475,26 @@ declare module PlayFabServerModule { */ LoginWithXboxId(request: PlayFabServerModels.LoginWithXboxIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Modifies the number of remaining uses of a player's inventory 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._ Modifies the number of remaining uses of a player's inventory item * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses */ ModifyItemUses(request: PlayFabServerModels.ModifyItemUsesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Moves an item from a character's inventory into another of the users's character'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._ Moves an item from a character's inventory into another of the users's character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter */ MoveItemToCharacterFromCharacter(request: PlayFabServerModels.MoveItemToCharacterFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Moves an item from a user's inventory into their character'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._ Moves an item from a user's inventory into their character's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser */ MoveItemToCharacterFromUser(request: PlayFabServerModels.MoveItemToCharacterFromUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Moves an item from a character's inventory into the owning 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._ Moves an item from a character's inventory into the owning user's inventory. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -485,7 +504,8 @@ declare module PlayFabServerModule { */ NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Adds the virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the + * _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 virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the * Economy->Catalogs tab in the PlayFab Game Manager. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ @@ -545,12 +565,14 @@ declare module PlayFabServerModule { */ RevokeBans(request: PlayFabServerModels.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/server/player-item-management/revokeinventoryitem */ RevokeInventoryItem(request: PlayFabServerModels.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/server/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabServerModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -624,14 +646,16 @@ declare module PlayFabServerModule { */ SetTitleInternalData(request: PlayFabServerModels.SetTitleDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Decrements the character's balance of the specified virtual currency by the stated amount. It is possible to make a VC - * balance negative with this API. + * _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 character's balance of the specified virtual currency by the stated amount. It is possible to + * make a VC balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency */ SubtractCharacterVirtualCurrency(request: PlayFabServerModels.SubtractCharacterVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Decrements the user's balance of the specified virtual currency by the stated amount. It is possible to make a VC - * balance negative with this API. + * _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 user's balance of the specified virtual currency by the stated amount. It is possible to make + * a VC balance negative with this API. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -666,16 +690,18 @@ declare module PlayFabServerModule { */ UnlinkXboxAccount(request: PlayFabServerModels.UnlinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when required), and - * returns the contents of the opened container. If the container (and key when relevant) are consumable (RemainingUses > - * 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Opens a specific container (ContainerItemInstanceId), with a specific key (KeyItemInstanceId, when + * required), and returns the contents of the opened container. If the container (and key when relevant) are consumable + * (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance */ UnlockContainerInstance(request: PlayFabServerModels.UnlockContainerInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary unlocks it - * using any appropriate key, and returns the contents of the opened container. If the container (and key when relevant) - * are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of + * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for + * version 2._ Searches Player or Character inventory for any ItemInstance matching the given CatalogItemId, if necessary + * unlocks it using any appropriate key, and returns the contents of the opened container. If the container (and key when + * relevant) are consumable (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of * ConsumeItem. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem */ @@ -735,7 +761,8 @@ declare module PlayFabServerModule { */ UpdateUserInternalData(request: PlayFabServerModels.UpdateUserInternalDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Updates the key-value pair data tagged to the specified item, which is read-only from the client. + * _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 key-value pair data tagged to the specified item, which is read-only from the client. * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata */ UpdateUserInventoryItemCustomData(request: PlayFabServerModels.UpdateUserInventoryItemDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; From af5d8fa2e0465c9f4851c59446c943910c386038 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 7 Aug 2023 16:44:21 +0000 Subject: [PATCH 182/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230804 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 22 ++++++++++--------- .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 22 ++++++++++--------- 37 files changed, 149 insertions(+), 145 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1839d857..00e31cf7 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.150.230721", + "version": "1.151.230804", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 11995a06..6e79ea2f 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 909f452d..284e234c 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e2fac28c..a5f69e7f 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index cefc88c6..0bdb5bca 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index efb34f38..c1025385 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index e64d3622..db7a9b9f 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 5ee86294..981119c7 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 57b754c1..ee794a92 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e0e0004a..f59fa00a 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index e06f8d65..6c70540e 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 28fe2a90..3e88682d 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 4961a55c..d9e49e7a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 763324ee..f1c0a131 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index de7810e4..759194ec 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 459083de..4f1bc745 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.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 29546995..c380ae9d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -685,7 +685,7 @@ declare module PlayFabClientModule { RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which - * require an authenticated user. You must supply either a username or an email address. + * require an authenticated user. You must supply a username and an email address. * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index bcd599ff..87b479a6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -367,7 +367,7 @@ declare module PlayFabEconomyModels { * to 128 platforms can be listed. */ Platforms?: string[]; - /** A set of player entity keys that are allowed to review content. There is a maximum of 64 entities that can be added. */ + /** A set of player entity keys that are allowed to review content. There is a maximum of 128 entities that can be added. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ UserGeneratedContent?: UserGeneratedContentSpecificConfig; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index ca861620..afc2f014 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1494,15 +1494,16 @@ declare module PlayFabMultiplayerModels { * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), - * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember - * (required to equal "true"). + * lobby/memberCountRemaining (remaining number of players who can be allowed in a lobby), lobby/membershipLock (must equal + * 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and - * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance - * from the given number. This field only supports either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc", + * "lobby/memberCountRemaining desc" and "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = + * 5}` can be used to sort by distance from the given number. This field only supports either one sort clause or one + * distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1529,15 +1530,16 @@ declare module PlayFabMultiplayerModels { * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), - * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember - * (required to equal "true"). + * lobby/memberCountRemaining (remaining number of players who can be allowed in a lobby), lobby/membershipLock (must equal + * 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and - * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance - * from the given number. This field only supports either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc", + * "lobby/memberCountRemaining desc" and "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = + * 5}` can be used to sort by distance from the given number. This field only supports either one sort clause or one + * distance clause. */ OrderBy?: string; /** Request pagination information. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 11995a06..6e79ea2f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 909f452d..284e234c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e2fac28c..a5f69e7f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index cefc88c6..0bdb5bca 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index efb34f38..c1025385 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index e64d3622..db7a9b9f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 5ee86294..981119c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 57b754c1..ee794a92 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e0e0004a..f59fa00a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index e06f8d65..6c70540e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 28fe2a90..3e88682d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 4961a55c..d9e49e7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 763324ee..f1c0a131 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index de7810e4..759194ec 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 459083de..4f1bc745 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.150.230721", + sdkVersion: "1.151.230804", requestGetParams: { - sdk: "JavaScriptSDK-1.150.230721" + sdk: "JavaScriptSDK-1.151.230804" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.150.230721"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.151.230804"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 29546995..c380ae9d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -685,7 +685,7 @@ declare module PlayFabClientModule { RegisterForIOSPushNotification(request: PlayFabClientModels.RegisterForIOSPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which - * require an authenticated user. You must supply either a username or an email address. + * require an authenticated user. You must supply a username and an email address. * https://docs.microsoft.com/rest/api/playfab/client/authentication/registerplayfabuser */ RegisterPlayFabUser(request: PlayFabClientModels.RegisterPlayFabUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index bcd599ff..87b479a6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -367,7 +367,7 @@ declare module PlayFabEconomyModels { * to 128 platforms can be listed. */ Platforms?: string[]; - /** A set of player entity keys that are allowed to review content. There is a maximum of 64 entities that can be added. */ + /** A set of player entity keys that are allowed to review content. There is a maximum of 128 entities that can be added. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ UserGeneratedContent?: UserGeneratedContentSpecificConfig; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index ca861620..afc2f014 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1494,15 +1494,16 @@ declare module PlayFabMultiplayerModels { * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), - * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember - * (required to equal "true"). + * lobby/memberCountRemaining (remaining number of players who can be allowed in a lobby), lobby/membershipLock (must equal + * 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and - * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance - * from the given number. This field only supports either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc", + * "lobby/memberCountRemaining desc" and "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = + * 5}` can be used to sort by distance from the given number. This field only supports either one sort clause or one + * distance clause. */ OrderBy?: string; /** Request pagination information. */ @@ -1529,15 +1530,16 @@ declare module PlayFabMultiplayerModels { * (less than). The left-hand side of each OData logical expression should be either a search property key (e.g. * string_key1, number_key3, etc) or one of the pre-defined search keys all of which must be prefixed by "lobby/": * lobby/memberCount (number of players in a lobby), lobby/maxMemberCount (maximum number of players allowed in a lobby), - * lobby/membershipLock (must equal 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember - * (required to equal "true"). + * lobby/memberCountRemaining (remaining number of players who can be allowed in a lobby), lobby/membershipLock (must equal + * 'Unlocked' or 'Locked'), lobby/amOwner (required to equal "true"), lobby/amMember (required to equal "true"). */ Filter?: string; /** * OData style string that contains sorting for this query in either ascending ("asc") or descending ("desc") order. - * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc" and - * "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = 5}` can be used to sort by distance - * from the given number. This field only supports either one sort clause or one distance clause. + * OrderBy clauses are of the form "number_key1 asc" or the pre-defined search key "lobby/memberCount asc", + * "lobby/memberCountRemaining desc" and "lobby/maxMemberCount desc". To sort by closest, a moniker `distance{number_key1 = + * 5}` can be used to sort by distance from the given number. This field only supports either one sort clause or one + * distance clause. */ OrderBy?: string; /** Request pagination information. */ From d887a85b95e1637baec20272536efd4c40684301 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 21 Aug 2023 19:32:08 +0000 Subject: [PATCH 183/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230818 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 19 +++++++++++++++++-- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 14 ++++++++++++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 6 ++++-- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 3 ++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++++++++++++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 19 +++++++++++++++++-- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 14 ++++++++++++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 6 ++++-- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 3 ++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++++++++++++-- 41 files changed, 225 insertions(+), 139 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 00e31cf7..f908609b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.151.230804", + "version": "1.152.230818", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6e79ea2f..23d7c742 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 284e234c..1186ed1e 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index a5f69e7f..ddf4a813 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0bdb5bca..1b59d20b 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index c1025385..2bcc71ae 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index db7a9b9f..ad9ed594 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 981119c7..67f44ed5 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ee794a92..ecc0c635 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f59fa00a..2da88613 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 6c70540e..2c05dc1b 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 3e88682d..3e632f31 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index d9e49e7a..4b4819e1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index f1c0a131..6bce4053 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 759194ec..942d8d59 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 4f1bc745..650ce2e0 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.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 33a5bf1b..6d93173b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1079,7 +1079,8 @@ declare module PlayFabAdminModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -1330,7 +1331,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.). */ @@ -2617,6 +2619,11 @@ declare module PlayFabAdminModels { | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" | "PartitionedEventInvalid" | "PartitionedEventCountOverLimit" + | "ManageEventNamespaceInvalid" + | "ManageEventNameInvalid" + | "ManagedEventNotFound" + | "ManageEventsInvalidRatio" + | "ManagedEventInvalid" | "PlayerCustomPropertiesPropertyNameTooLong" | "PlayerCustomPropertiesPropertyNameIsInvalid" | "PlayerCustomPropertiesStringPropertyValueTooLong" @@ -5365,6 +5372,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 */ @@ -5539,6 +5548,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; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index c380ae9d..f33ad71a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1468,7 +1468,8 @@ declare module PlayFabClientModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -1719,7 +1720,8 @@ declare module PlayFabClientModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ @@ -5329,6 +5331,8 @@ declare module PlayFabClientModels { 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 */ @@ -5497,6 +5501,12 @@ declare module PlayFabClientModels { } + export interface UserServerCustomIdInfo { + /** Custom ID */ + CustomId?: string; + + } + export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index be44ea24..05c12d97 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -108,7 +108,8 @@ declare module PlayFabCloudScriptModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -359,7 +360,8 @@ declare module PlayFabCloudScriptModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; type EmailVerificationStatus = "Unverified" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 87b479a6..727757cc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -823,7 +823,8 @@ declare module PlayFabEconomyModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; export interface CreateDraftItemRequest 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/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 91b5ec6e..70fccee7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1201,7 +1201,8 @@ declare module PlayFabServerModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -1452,7 +1453,8 @@ declare module PlayFabServerModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ @@ -2575,6 +2577,11 @@ declare module PlayFabServerModels { | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" | "PartitionedEventInvalid" | "PartitionedEventCountOverLimit" + | "ManageEventNamespaceInvalid" + | "ManageEventNameInvalid" + | "ManagedEventNotFound" + | "ManageEventsInvalidRatio" + | "ManagedEventInvalid" | "PlayerCustomPropertiesPropertyNameTooLong" | "PlayerCustomPropertiesPropertyNameIsInvalid" | "PlayerCustomPropertiesStringPropertyValueTooLong" @@ -5296,6 +5303,8 @@ declare module PlayFabServerModels { 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 */ @@ -5464,6 +5473,12 @@ declare module PlayFabServerModels { } + export interface UserServerCustomIdInfo { + /** Custom ID */ + CustomId?: string; + + } + export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6e79ea2f..23d7c742 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 284e234c..1186ed1e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index a5f69e7f..ddf4a813 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0bdb5bca..1b59d20b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index c1025385..2bcc71ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index db7a9b9f..ad9ed594 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 981119c7..67f44ed5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ee794a92..ecc0c635 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f59fa00a..2da88613 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 6c70540e..2c05dc1b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 3e88682d..3e632f31 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index d9e49e7a..4b4819e1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index f1c0a131..6bce4053 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 759194ec..942d8d59 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 4f1bc745..650ce2e0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.151.230804", + sdkVersion: "1.152.230818", requestGetParams: { - sdk: "JavaScriptSDK-1.151.230804" + sdk: "JavaScriptSDK-1.152.230818" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.151.230804"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.152.230818"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 33a5bf1b..6d93173b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1079,7 +1079,8 @@ declare module PlayFabAdminModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -1330,7 +1331,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.). */ @@ -2617,6 +2619,11 @@ declare module PlayFabAdminModels { | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" | "PartitionedEventInvalid" | "PartitionedEventCountOverLimit" + | "ManageEventNamespaceInvalid" + | "ManageEventNameInvalid" + | "ManagedEventNotFound" + | "ManageEventsInvalidRatio" + | "ManagedEventInvalid" | "PlayerCustomPropertiesPropertyNameTooLong" | "PlayerCustomPropertiesPropertyNameIsInvalid" | "PlayerCustomPropertiesStringPropertyValueTooLong" @@ -5365,6 +5372,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 */ @@ -5539,6 +5548,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; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index c380ae9d..f33ad71a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1468,7 +1468,8 @@ declare module PlayFabClientModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -1719,7 +1720,8 @@ declare module PlayFabClientModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ @@ -5329,6 +5331,8 @@ declare module PlayFabClientModels { 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 */ @@ -5497,6 +5501,12 @@ declare module PlayFabClientModels { } + export interface UserServerCustomIdInfo { + /** Custom ID */ + CustomId?: string; + + } + export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index be44ea24..05c12d97 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -108,7 +108,8 @@ declare module PlayFabCloudScriptModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -359,7 +360,8 @@ declare module PlayFabCloudScriptModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; type EmailVerificationStatus = "Unverified" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 87b479a6..727757cc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -823,7 +823,8 @@ declare module PlayFabEconomyModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; export interface CreateDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 91b5ec6e..70fccee7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1201,7 +1201,8 @@ declare module PlayFabServerModels { | "EU" | "NA" | "OC" - | "SA"; + | "SA" + | "Unknown"; type CountryCode = "AF" @@ -1452,7 +1453,8 @@ declare module PlayFabServerModels { | "EH" | "YE" | "ZM" - | "ZW"; + | "ZW" + | "Unknown"; export interface CreateSharedGroupRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier for the shared group (a random identifier will be assigned, if one is not specified). */ @@ -2575,6 +2577,11 @@ declare module PlayFabServerModels { | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" | "PartitionedEventInvalid" | "PartitionedEventCountOverLimit" + | "ManageEventNamespaceInvalid" + | "ManageEventNameInvalid" + | "ManagedEventNotFound" + | "ManageEventsInvalidRatio" + | "ManagedEventInvalid" | "PlayerCustomPropertiesPropertyNameTooLong" | "PlayerCustomPropertiesPropertyNameIsInvalid" | "PlayerCustomPropertiesStringPropertyValueTooLong" @@ -5296,6 +5303,8 @@ declare module PlayFabServerModels { 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 */ @@ -5464,6 +5473,12 @@ declare module PlayFabServerModels { } + export interface UserServerCustomIdInfo { + /** Custom ID */ + CustomId?: string; + + } + export interface UserSettings { /** Boolean for whether this player is eligible for gathering device info. */ GatherDeviceInfo: boolean; From 332a12a81c93de2802e7419584bf53c81e51d41f Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 4 Sep 2023 18:55:23 +0000 Subject: [PATCH 184/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230901 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 12 ++++++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 19 ++++++++++++++++++- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 16 ++++++++++++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 12 ++++++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 19 ++++++++++++++++++- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 16 ++++++++++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 37 files changed, 195 insertions(+), 127 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f908609b..0a8285c9 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.152.230818", + "version": "1.153.230901", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 23d7c742..fe154824 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 1186ed1e..e5996728 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ddf4a813..29d0c25c 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 1b59d20b..e86470c1 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 2bcc71ae..f55851c0 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index ad9ed594..69f2044a 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 67f44ed5..0813f2cd 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ecc0c635..6131ba99 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 2da88613..60d5621a 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2c05dc1b..a131943d 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 3e632f31..c9fed0c9 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 4b4819e1..295e1dd1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 6bce4053..9de83b3c 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 942d8d59..18b9a78a 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 650ce2e0..49dba97c 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.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 6d93173b..497fae05 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -96,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 @@ -1642,6 +1647,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 }; @@ -2447,6 +2462,7 @@ declare module PlayFabAdminModels { | "NamespaceMismatch" | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" + | "LeaderboardColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4678,7 +4694,8 @@ declare module PlayFabAdminModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface SegmentModel { /** Segment description. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 727757cc..9f1cd0b6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -243,8 +243,11 @@ declare module PlayFabEconomyModule { */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in - * progress and will complete soon. More information about item transfer scenarios can be found here: + * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not + * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = + * 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the + * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + * here: * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ @@ -1622,6 +1625,10 @@ declare module PlayFabEconomyModels { } + export interface PurchaseOverridesInfo { + + } + export interface PurchasePriceAmount { /** The amount of the inventory item to use in the purchase . */ Amount: number; @@ -2215,6 +2222,11 @@ declare module PlayFabEconomyModels { GivingTransactionIds?: string[]; /** The idempotency id for the request. */ IdempotencyId?: string; + /** + * The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the + * response code will be 200. Otherwise, it will be 202. + */ + OperationStatus?: string; /** The ids of transactions that occurred as a result of the request's receiving action. */ ReceivingTransactionIds?: string[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 70fccee7..df15c253 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2405,6 +2405,7 @@ declare module PlayFabServerModels { | "NamespaceMismatch" | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" + | "LeaderboardColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 23d7c742..fe154824 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 1186ed1e..e5996728 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ddf4a813..29d0c25c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 1b59d20b..e86470c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 2bcc71ae..f55851c0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index ad9ed594..69f2044a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 67f44ed5..0813f2cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ecc0c635..6131ba99 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 2da88613..60d5621a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2c05dc1b..a131943d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 3e632f31..c9fed0c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 4b4819e1..295e1dd1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 6bce4053..9de83b3c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 942d8d59..18b9a78a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 650ce2e0..49dba97c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.152.230818", + sdkVersion: "1.153.230901", requestGetParams: { - sdk: "JavaScriptSDK-1.152.230818" + sdk: "JavaScriptSDK-1.153.230901" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.152.230818"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.153.230901"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 6d93173b..497fae05 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -96,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 @@ -1642,6 +1647,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 }; @@ -2447,6 +2462,7 @@ declare module PlayFabAdminModels { | "NamespaceMismatch" | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" + | "LeaderboardColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4678,7 +4694,8 @@ declare module PlayFabAdminModels { | "FacebookInstantGames" | "OpenIdConnect" | "Apple" - | "NintendoSwitchAccount"; + | "NintendoSwitchAccount" + | "GooglePlayGames"; export interface SegmentModel { /** Segment description. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 727757cc..9f1cd0b6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -243,8 +243,11 @@ declare module PlayFabEconomyModule { */ TakedownItemReviews(request: PlayFabEconomyModels.TakedownItemReviewsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer is in - * progress and will complete soon. More information about item transfer scenarios can be found here: + * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not + * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = + * 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the + * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + * here: * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ @@ -1622,6 +1625,10 @@ declare module PlayFabEconomyModels { } + export interface PurchaseOverridesInfo { + + } + export interface PurchasePriceAmount { /** The amount of the inventory item to use in the purchase . */ Amount: number; @@ -2215,6 +2222,11 @@ declare module PlayFabEconomyModels { GivingTransactionIds?: string[]; /** The idempotency id for the request. */ IdempotencyId?: string; + /** + * The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the + * response code will be 200. Otherwise, it will be 202. + */ + OperationStatus?: string; /** The ids of transactions that occurred as a result of the request's receiving action. */ ReceivingTransactionIds?: string[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 70fccee7..df15c253 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2405,6 +2405,7 @@ declare module PlayFabServerModels { | "NamespaceMismatch" | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" + | "LeaderboardColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 1faceae55a1f8de84f118d3b3955fe574a7dc28b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 19 Sep 2023 21:04:45 +0000 Subject: [PATCH 185/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230915 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 27 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 27 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 34 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 66 +----- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 144 ------------ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 190 ---------------- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 156 ------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 8 + .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 14 ++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 212 ++---------------- .../src/PlayFab/PlayFabAdminApi.js | 27 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 27 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEconomyApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 34 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 66 +----- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 144 ------------ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 190 ---------------- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 156 ------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 8 + .../typings/PlayFab/PlayFabProfilesApi.d.ts | 14 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 212 ++---------------- 43 files changed, 177 insertions(+), 1713 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0a8285c9..de59744a 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.153.230901", + "version": "1.154.230915", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fe154824..779cf76e 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -393,20 +393,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Please use MultiplayerServer/GetMultiplayerSessionLogsBySessionId instead. - */ - GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - 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); }, @@ -539,13 +525,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - ModifyServerBuild: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); - }, - RefundPurchase: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RefundPurchase", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e5996728..e848bc71 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 29d0c25c..4d37bd70 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -357,13 +357,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. - */ - 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); }, @@ -376,13 +369,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. - */ - 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); }, @@ -1071,13 +1057,6 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - /** - * @deprecated Please use Match/CreateMatchmakingTicket instead. - */ - 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index e86470c1..45ff67c4 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f55851c0..17c3bbd2 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 69f2044a..a74feb18 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 0813f2cd..07eefedd 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6131ba99..b452f067 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 60d5621a..6b865c43 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index a131943d..bd62ed90 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index c9fed0c9..1a80bced 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 295e1dd1..9e92192f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,34 +241,6 @@ PlayFab.MatchmakerApi = { PlayFab._internalSettings.entityToken = null; }, - /** - * @deprecated Do not use - */ - AuthUser: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - PlayerJoined: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - PlayerLeft: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - UserInfo: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); - }, - }; var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9de83b3c..072ebad3 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 18b9a78a..794bd33b 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 49dba97c..fc8c8a9a 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.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -301,13 +301,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - 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); }, @@ -536,6 +529,10 @@ PlayFab.ServerApi = { 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); }, @@ -592,38 +589,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - 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); }, - /** - * @deprecated Do not use - */ - RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - 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); }, @@ -684,27 +653,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 497fae05..117a5548 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -210,16 +210,6 @@ 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 @@ -399,11 +389,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, 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 - */ - ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _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. @@ -1893,25 +1878,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" @@ -2781,52 +2747,6 @@ 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 GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { - /** array of game modes available for the specified build */ - GameModes?: GameModeInfo[]; - - } - export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3532,61 +3452,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; @@ -3961,15 +3826,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 }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index f33ad71a..261f1e7d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -175,11 +175,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 @@ -198,11 +193,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 @@ -638,16 +628,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithxbox */ LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific - * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required - * parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is - * found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the - * availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be - * GameNotFound. - * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/matchmake - */ - Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. * https://docs.microsoft.com/rest/api/playfab/client/trading/opentrade @@ -1332,17 +1312,6 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - export interface CollectionFilter { - /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ - Excludes?: Container_Dictionary_String_String[]; - /** - * List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by - * one of the Exclude rule - */ - Includes?: Container_Dictionary_String_String[]; - - } - export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1455,12 +1424,6 @@ declare module PlayFabClientModels { } - export interface Container_Dictionary_String_String { - /** Content of data */ - Data?: { [key: string]: string | null }; - - } - type ContinentCode = "AF" | "AN" @@ -1899,30 +1862,6 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Build to match against. */ - BuildVersion?: string; - /** Game mode to look for. */ - GameMode?: string; - /** Region to check for Game Server Instances. */ - Region?: string; - /** Statistic name to find statistic-based matches. */ - StatisticName?: string; - /** Filter to include and/or exclude Game Server Instances associated with certain tags. */ - TagFilter?: CollectionFilter; - - } - - export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { - /** number of games running */ - GameCount: number; - /** array of games found */ - Games?: GameInfo[]; - /** total number of players across all servers */ - PlayerCount: number; - - } - export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -2080,63 +2019,6 @@ declare module PlayFabClientModels { } - export interface GameInfo { - /** build version this server is running */ - BuildVersion?: string; - /** game mode this server is running */ - GameMode?: string; - /** game session custom data */ - GameServerData?: string; - /** game specific string denoting server configuration */ - GameServerStateEnum?: string; - /** last heartbeat of the game server instance, used in external game server provider mode */ - LastHeartbeat?: string; - /** unique lobby identifier for this game server */ - LobbyID?: string; - /** maximum players this server can support */ - MaxPlayers?: number; - /** array of current player IDs on this server */ - PlayerUserIds?: string[]; - /** region to which this server is associated */ - Region?: string; - /** duration in seconds this server has been running */ - RunTime: number; - /** IPV4 address of the server */ - ServerIPV4Address?: string; - /** IPV6 address of the server */ - ServerIPV6Address?: string; - /** port number to use for non-http communications with the server */ - ServerPort?: number; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** stastic used to match this game in player statistic matchmaking */ - StatisticName?: string; - /** game session tags */ - Tags?: { [key: string]: string | null }; - - } - - type GameInstanceState = "Open" - - | "Closed"; - - export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** version of game server for which stats are being requested */ - BuildVersion: 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 GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { - /** array of regions found matching the request parameters */ - Regions?: RegionInfo[]; - - } - export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -4007,57 +3889,6 @@ declare module PlayFabClientModels { } - export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Build version to match against. [Note: Required if LobbyId is not specified] */ - BuildVersion?: string; - /** Character to use for stats based matching. Leave null to use account stats. */ - CharacterId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Game mode to match make against. [Note: Required if LobbyId is not specified] */ - GameMode?: string; - /** Lobby identifier to match make against. This is used to select a specific Game Server Instance. */ - LobbyId?: string; - /** Region to match make against. [Note: Required if LobbyId is not specified] */ - Region?: string; - /** Start a game session if one with an open slot is not found. Defaults to true. */ - StartNewIfNoneFound?: boolean; - /** Player statistic to use in finding a match. May be null for no stat-based matching. */ - StatisticName?: string; - /** Filter to include and/or exclude Game Server Instances associated with certain Tags */ - TagFilter?: CollectionFilter; - - } - - export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { - /** timestamp for when the server will expire, if applicable */ - Expires?: string; - /** unique lobby identifier of the server matched */ - LobbyID?: string; - /** time in milliseconds the application is configured to wait on matchmaking results */ - PollWaitTimeMS?: number; - /** IPV4 address of the server */ - ServerIPV4Address?: string; - /** IPV6 address of the server */ - ServerIPV6Address?: string; - /** port number to use for non-http communications with the server */ - ServerPort?: number; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** result of match making process */ - Status?: string; - /** server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) */ - Ticket?: string; - - } - - type MatchmakeStatus = "Complete" - - | "Waiting" - | "GameNotFound" - | "NoAvailableSlots" - | "SessionClosed"; - export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -4418,27 +4249,6 @@ declare module PlayFabClientModels { } - type Region = "USCentral" - - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface RegionInfo { - /** indicates whether the server specified is available in this region */ - Available: boolean; - /** name of the region */ - Name?: string; - /** url to ping to get roundtrip time */ - PingUrl?: string; - /** unique identifier for the region */ - Region?: string; - - } - export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts index 63daa491..985dea57 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -4,166 +4,10 @@ declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { ForgetAllCredentials(): void; - /** - * Validates a user with the PlayFab service - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/authuser - */ - AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerjoined - */ - PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft - */ - PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute - * effective matches - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/userinfo - */ - UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } declare module PlayFabMatchmakerModels { - export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Session Ticket provided by the client. */ - AuthorizationTicket: string; - - } - - export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { - /** Boolean indicating if the user has been authorized to use the external match-making service. */ - Authorized: boolean; - /** PlayFab unique identifier of the account that has been authorized. */ - PlayFabId?: string; - - } - - export interface ItemInstance { - /** Game specific comment associated with this instance when it was added to the user inventory. */ - Annotation?: string; - /** Array of unique items that were awarded when this catalog item was purchased. */ - BundleContents?: string[]; - /** - * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or - * container. - */ - BundleParent?: string; - /** Catalog version for the inventory item, when this instance was created. */ - CatalogVersion?: string; - /** - * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog - * item's custom data. - */ - CustomData?: { [key: string]: string | null }; - /** CatalogItem.DisplayName at the time this item was purchased. */ - DisplayName?: string; - /** Timestamp for when this instance will expire. */ - Expiration?: string; - /** Class name for the inventory item, as defined in the catalog. */ - ItemClass?: string; - /** Unique identifier for the inventory item, as defined in the catalog. */ - ItemId?: string; - /** Unique item identifier for this specific instance of the item. */ - ItemInstanceId?: string; - /** Timestamp for when this instance was purchased. */ - PurchaseDate?: string; - /** Total number of remaining uses, if this is a consumable item. */ - RemainingUses?: number; - /** Currency type for the cost of the catalog item. Not available when granting items. */ - UnitCurrency?: string; - /** Cost of the catalog item in the given currency. Not available when granting items. */ - UnitPrice: number; - /** The number of uses that were added or removed to this item in this call. */ - UsesIncrementedBy?: number; - - } - - export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the - * Matchmaker/StartGame API. - */ - LobbyId: string; - /** PlayFab unique identifier for the player joining. */ - PlayFabId: string; - - } - - export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the - * Matchmaker/StartGame API. - */ - LobbyId: string; - /** PlayFab unique identifier for the player leaving. */ - PlayFabId: string; - - } - - export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a - * catalog version of this or higher). - */ - MinCatalogVersion: number; - /** PlayFab unique identifier of the user whose information is being requested. */ - PlayFabId: string; - - } - - export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { - /** Array of inventory items in the user's current inventory. */ - Inventory?: ItemInstance[]; - /** Boolean indicating whether the user is a developer. */ - IsDeveloper: boolean; - /** PlayFab unique identifier of the user whose information was requested. */ - PlayFabId?: string; - /** Steam unique identifier, if the user has an associated Steam account. */ - SteamId?: string; - /** Title specific display name, if set. */ - TitleDisplayName?: string; - /** PlayFab unique user name. */ - Username?: string; - /** Array of virtual currency balance(s) belonging to the user. */ - VirtualCurrency?: { [key: string]: number }; - /** Array of remaining times and timestamps for virtual currencies. */ - VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; - - } - - export interface VirtualCurrencyRechargeTime { - /** - * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value - * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen - * below this value. - */ - RechargeMax: number; - /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ - RechargeTime: string; - /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - SecondsToRecharge: number; - - } - } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index afc2f014..e48c501c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2289,10 +2289,18 @@ declare module PlayFabMultiplayerModels { CustomTags?: { [key: string]: string | null }; /** The container images we want to list tags for. */ ImageName?: string; + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; } export interface ListContainerImageTagsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; /** The list of tags for a particular container image. */ Tags?: string[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 7cb1c55d..5bc2f505 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -155,11 +155,25 @@ declare module PlayFabProfilesModels { } + export interface EntityStatisticAttributeValue { + /** Metadata associated with the Statistic. */ + Metadata?: string; + /** Attribute name. */ + Name?: string; + /** Attribute Statistic scores. */ + Scores?: number[]; + + } + export interface EntityStatisticValue { + /** Attribute Statistic values. */ + AttributeStatistics?: { [key: string]: EntityStatisticAttributeValue }; /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ Name?: string; + /** Statistic scores */ + Scores?: number[]; /** Statistic value */ Value?: number; /** Statistic version */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index df15c253..60409aaf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -94,11 +94,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Inform the matchmaker that a Game Server Instance is removed. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/deregistergame - */ - DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for * version 2._ Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would @@ -420,6 +415,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount */ LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Nintendo account associated with the Nintendo Service Account subject or id to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccountsubject + */ + LinkNintendoServiceAccountSubject(request: PlayFabServerModels.LinkNintendoServiceAccountSubjectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid @@ -498,11 +498,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Informs the PlayFab match-making service that the user specified has left the Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/notifymatchmakerplayerleft - */ - NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _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 virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the @@ -510,21 +505,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Validates a Game Server session ticket and returns details about the user - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/redeemmatchmakerticket - */ - RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat - */ - RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Inform the matchmaker that a new Game Server Instance is added. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame - */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend @@ -609,21 +589,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags */ SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Sets the custom data of the indicated Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancedata - */ - SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Set the state of the indicated Game Server Instance. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancestate - */ - SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Set custom tags for the specified Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancetags - */ - SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. @@ -1677,18 +1642,6 @@ declare module PlayFabServerModels { } - export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Unique identifier for the Game Server Instance that is being deregistered. */ - LobbyId: string; - - } - - export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - - } - type EmailVerificationStatus = "Unverified" | "Pending" @@ -1851,10 +1804,6 @@ declare module PlayFabServerModels { } - type GameInstanceState = "Open" - - | "Closed"; - type GenericErrorCodes = "Success" | "UnkownError" @@ -3668,6 +3617,18 @@ declare module PlayFabServerModels { } + export interface LinkNintendoServiceAccountSubjectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Nintendo Service Account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** The Nintendo Service Account subject or id to link to the PlayFab user. */ + Subject: string; + + } + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4012,28 +3973,6 @@ declare module PlayFabServerModels { } - export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Unique identifier of the Game Instance the user is leaving. */ - LobbyId: string; - /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabId: string; - - } - - export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { - /** State of user leaving the Game Server Instance. */ - PlayerState?: string; - - } - - type PlayerConnectionState = "Unassigned" - - | "Connecting" - | "Participating" - | "Participated"; - export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -4316,84 +4255,6 @@ declare module PlayFabServerModels { } - export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ - LobbyId: string; - /** Server authorization ticket passed back from a call to Matchmake or StartGame. */ - Ticket: string; - - } - - export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** Error value if the ticket was not validated. */ - Error?: string; - /** Boolean indicating whether the ticket was validated by the PlayFab service. */ - TicketIsValid: boolean; - /** User account information for the user validated. */ - UserInfo?: UserAccountInfo; - - } - - export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ - LobbyId: string; - - } - - export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { - - } - - type Region = "USCentral" - - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the build running on the Game Server Instance. */ - Build: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - GameMode: string; - /** Previous lobby id if re-registering an existing game. */ - LobbyId?: string; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - Region: string; - /** IPV4 address of the game server instance. */ - ServerIPV4Address?: string; - /** IPV6 address (if any) of the game server instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: string; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string | null }; - - } - - export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - LobbyId?: string; - - } - export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -4678,45 +4539,6 @@ declare module PlayFabServerModels { } - export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Custom data to set for the specified game server instance. */ - GameServerData: string; - /** Unique identifier of the Game Instance to be updated, in decimal format. */ - LobbyId: string; - - } - - export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the Game Instance to be updated, in decimal format. */ - LobbyId: string; - /** State to set for the specified game server instance. */ - State: string; - - } - - export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the Game Server Instance to be updated. */ - LobbyId: string; - /** - * Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with - * the Game Server Instance. - */ - Tags: { [key: string]: string | null }; - - } - - export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { - - } - export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fe154824..779cf76e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -393,20 +393,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Please use MultiplayerServer/GetMultiplayerSessionLogsBySessionId instead. - */ - GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - 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); }, @@ -539,13 +525,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - ModifyServerBuild: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders); - }, - RefundPurchase: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RefundPurchase", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e5996728..e848bc71 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 29d0c25c..4d37bd70 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -357,13 +357,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. - */ - 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); }, @@ -376,13 +369,6 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders); }, - /** - * @deprecated Please use MultiplayerServer/ListMultiplayerServers instead. - */ - 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); }, @@ -1071,13 +1057,6 @@ PlayFab.ClientApi = { return new Promise(function(resolve){resolve(authenticationContext);}); }, - /** - * @deprecated Please use Match/CreateMatchmakingTicket instead. - */ - 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index e86470c1..45ff67c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f55851c0..17c3bbd2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 69f2044a..a74feb18 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 0813f2cd..07eefedd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6131ba99..b452f067 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 60d5621a..6b865c43 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index a131943d..bd62ed90 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index c9fed0c9..1a80bced 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 295e1dd1..9e92192f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,34 +241,6 @@ PlayFab.MatchmakerApi = { PlayFab._internalSettings.entityToken = null; }, - /** - * @deprecated Do not use - */ - AuthUser: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - PlayerJoined: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - PlayerLeft: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - UserInfo: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders); - }, - }; var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9de83b3c..072ebad3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 18b9a78a..794bd33b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 49dba97c..fc8c8a9a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.153.230901", + sdkVersion: "1.154.230915", requestGetParams: { - sdk: "JavaScriptSDK-1.153.230901" + sdk: "JavaScriptSDK-1.154.230915" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.153.230901"; +PlayFab.sdkVersion = "1.154.230915"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -301,13 +301,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - 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); }, @@ -536,6 +529,10 @@ PlayFab.ServerApi = { 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); }, @@ -592,38 +589,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - 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); }, - /** - * @deprecated Do not use - */ - RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - 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); }, @@ -684,27 +653,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - SetGameServerInstanceData: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - SetGameServerInstanceState: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders); - }, - - /** - * @deprecated Do not use - */ - 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 497fae05..117a5548 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -210,16 +210,6 @@ 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 @@ -399,11 +389,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes */ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, 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 - */ - ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _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. @@ -1893,25 +1878,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" @@ -2781,52 +2747,6 @@ 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 GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon { - /** array of game modes available for the specified build */ - GameModes?: GameModeInfo[]; - - } - export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3532,61 +3452,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; @@ -3961,15 +3826,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 }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index f33ad71a..261f1e7d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -175,11 +175,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 @@ -198,11 +193,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 @@ -638,16 +628,6 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithxbox */ LoginWithXbox(request: PlayFabClientModels.LoginWithXboxRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific - * active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required - * parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is - * found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the - * availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be - * GameNotFound. - * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/matchmake - */ - Matchmake(request: PlayFabClientModels.MatchmakeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Opens a new outstanding trade. Note that a given item instance may only be in one open trade at a time. * https://docs.microsoft.com/rest/api/playfab/client/trading/opentrade @@ -1332,17 +1312,6 @@ declare module PlayFabClientModels { | "Latest" | "Specific"; - export interface CollectionFilter { - /** List of Exclude rules, with any of which if a collection matches, it is excluded by the filter. */ - Excludes?: Container_Dictionary_String_String[]; - /** - * List of Include rules, with any of which if a collection matches, it is included by the filter, unless it is excluded by - * one of the Exclude rule - */ - Includes?: Container_Dictionary_String_String[]; - - } - export interface ConfirmPurchaseRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -1455,12 +1424,6 @@ declare module PlayFabClientModels { } - export interface Container_Dictionary_String_String { - /** Content of data */ - Data?: { [key: string]: string | null }; - - } - type ContinentCode = "AF" | "AN" @@ -1899,30 +1862,6 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; - export interface CurrentGamesRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Build to match against. */ - BuildVersion?: string; - /** Game mode to look for. */ - GameMode?: string; - /** Region to check for Game Server Instances. */ - Region?: string; - /** Statistic name to find statistic-based matches. */ - StatisticName?: string; - /** Filter to include and/or exclude Game Server Instances associated with certain tags. */ - TagFilter?: CollectionFilter; - - } - - export interface CurrentGamesResult extends PlayFabModule.IPlayFabResultCommon { - /** number of games running */ - GameCount: number; - /** array of games found */ - Games?: GameInfo[]; - /** total number of players across all servers */ - PlayerCount: number; - - } - export interface DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -2080,63 +2019,6 @@ declare module PlayFabClientModels { } - export interface GameInfo { - /** build version this server is running */ - BuildVersion?: string; - /** game mode this server is running */ - GameMode?: string; - /** game session custom data */ - GameServerData?: string; - /** game specific string denoting server configuration */ - GameServerStateEnum?: string; - /** last heartbeat of the game server instance, used in external game server provider mode */ - LastHeartbeat?: string; - /** unique lobby identifier for this game server */ - LobbyID?: string; - /** maximum players this server can support */ - MaxPlayers?: number; - /** array of current player IDs on this server */ - PlayerUserIds?: string[]; - /** region to which this server is associated */ - Region?: string; - /** duration in seconds this server has been running */ - RunTime: number; - /** IPV4 address of the server */ - ServerIPV4Address?: string; - /** IPV6 address of the server */ - ServerIPV6Address?: string; - /** port number to use for non-http communications with the server */ - ServerPort?: number; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** stastic used to match this game in player statistic matchmaking */ - StatisticName?: string; - /** game session tags */ - Tags?: { [key: string]: string | null }; - - } - - type GameInstanceState = "Open" - - | "Closed"; - - export interface GameServerRegionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** version of game server for which stats are being requested */ - BuildVersion: 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 GameServerRegionsResult extends PlayFabModule.IPlayFabResultCommon { - /** array of regions found matching the request parameters */ - Regions?: RegionInfo[]; - - } - export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ GenericId?: GenericServiceId; @@ -4007,57 +3889,6 @@ declare module PlayFabClientModels { } - export interface MatchmakeRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Build version to match against. [Note: Required if LobbyId is not specified] */ - BuildVersion?: string; - /** Character to use for stats based matching. Leave null to use account stats. */ - CharacterId?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Game mode to match make against. [Note: Required if LobbyId is not specified] */ - GameMode?: string; - /** Lobby identifier to match make against. This is used to select a specific Game Server Instance. */ - LobbyId?: string; - /** Region to match make against. [Note: Required if LobbyId is not specified] */ - Region?: string; - /** Start a game session if one with an open slot is not found. Defaults to true. */ - StartNewIfNoneFound?: boolean; - /** Player statistic to use in finding a match. May be null for no stat-based matching. */ - StatisticName?: string; - /** Filter to include and/or exclude Game Server Instances associated with certain Tags */ - TagFilter?: CollectionFilter; - - } - - export interface MatchmakeResult extends PlayFabModule.IPlayFabResultCommon { - /** timestamp for when the server will expire, if applicable */ - Expires?: string; - /** unique lobby identifier of the server matched */ - LobbyID?: string; - /** time in milliseconds the application is configured to wait on matchmaking results */ - PollWaitTimeMS?: number; - /** IPV4 address of the server */ - ServerIPV4Address?: string; - /** IPV6 address of the server */ - ServerIPV6Address?: string; - /** port number to use for non-http communications with the server */ - ServerPort?: number; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** result of match making process */ - Status?: string; - /** server authorization ticket (used by RedeemMatchmakerTicket to validate user insertion into the game) */ - Ticket?: string; - - } - - type MatchmakeStatus = "Complete" - - | "Waiting" - | "GameNotFound" - | "NoAvailableSlots" - | "SessionClosed"; - export interface MembershipModel { /** Whether this membership is active. That is, whether the MembershipExpiration time has been reached. */ IsActive: boolean; @@ -4418,27 +4249,6 @@ declare module PlayFabClientModels { } - type Region = "USCentral" - - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface RegionInfo { - /** indicates whether the server specified is available in this region */ - Available: boolean; - /** name of the region */ - Name?: string; - /** url to ping to get roundtrip time */ - PingUrl?: string; - /** unique identifier for the region */ - Region?: string; - - } - export interface RegisterForIOSPushNotificationRequest extends PlayFabModule.IPlayFabRequestCommon { /** Message to display when confirming push notification. */ ConfirmationMessage?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts index 63daa491..985dea57 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts @@ -4,166 +4,10 @@ declare module PlayFabMatchmakerModule { export interface IPlayFabMatchmaker { ForgetAllCredentials(): void; - /** - * Validates a user with the PlayFab service - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/authuser - */ - AuthUser(request: PlayFabMatchmakerModels.AuthUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Informs the PlayFab game server hosting service that the indicated user has joined the Game Server Instance specified - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerjoined - */ - PlayerJoined(request: PlayFabMatchmakerModels.PlayerJoinedRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Informs the PlayFab game server hosting service that the indicated user has left the Game Server Instance specified - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/playerleft - */ - PlayerLeft(request: PlayFabMatchmakerModels.PlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Retrieves the relevant details for a specified user, which the external match-making service can then use to compute - * effective matches - * https://docs.microsoft.com/rest/api/playfab/matchmaker/matchmaking/userinfo - */ - UserInfo(request: PlayFabMatchmakerModels.UserInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } declare module PlayFabMatchmakerModels { - export interface AuthUserRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Session Ticket provided by the client. */ - AuthorizationTicket: string; - - } - - export interface AuthUserResponse extends PlayFabModule.IPlayFabResultCommon { - /** Boolean indicating if the user has been authorized to use the external match-making service. */ - Authorized: boolean; - /** PlayFab unique identifier of the account that has been authorized. */ - PlayFabId?: string; - - } - - export interface ItemInstance { - /** Game specific comment associated with this instance when it was added to the user inventory. */ - Annotation?: string; - /** Array of unique items that were awarded when this catalog item was purchased. */ - BundleContents?: string[]; - /** - * Unique identifier for the parent inventory item, as defined in the catalog, for object which were added from a bundle or - * container. - */ - BundleParent?: string; - /** Catalog version for the inventory item, when this instance was created. */ - CatalogVersion?: string; - /** - * A set of custom key-value pairs on the instance of the inventory item, which is not to be confused with the catalog - * item's custom data. - */ - CustomData?: { [key: string]: string | null }; - /** CatalogItem.DisplayName at the time this item was purchased. */ - DisplayName?: string; - /** Timestamp for when this instance will expire. */ - Expiration?: string; - /** Class name for the inventory item, as defined in the catalog. */ - ItemClass?: string; - /** Unique identifier for the inventory item, as defined in the catalog. */ - ItemId?: string; - /** Unique item identifier for this specific instance of the item. */ - ItemInstanceId?: string; - /** Timestamp for when this instance was purchased. */ - PurchaseDate?: string; - /** Total number of remaining uses, if this is a consumable item. */ - RemainingUses?: number; - /** Currency type for the cost of the catalog item. Not available when granting items. */ - UnitCurrency?: string; - /** Cost of the catalog item in the given currency. Not available when granting items. */ - UnitPrice: number; - /** The number of uses that were added or removed to this item in this call. */ - UsesIncrementedBy?: number; - - } - - export interface PlayerJoinedRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Unique identifier of the Game Server Instance the user is joining. This must be a Game Server Instance started with the - * Matchmaker/StartGame API. - */ - LobbyId: string; - /** PlayFab unique identifier for the player joining. */ - PlayFabId: string; - - } - - export interface PlayerJoinedResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface PlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Unique identifier of the Game Server Instance the user is leaving. This must be a Game Server Instance started with the - * Matchmaker/StartGame API. - */ - LobbyId: string; - /** PlayFab unique identifier for the player leaving. */ - PlayFabId: string; - - } - - export interface PlayerLeftResponse extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface UserInfoRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Minimum catalog version for which data is requested (filters the results to only contain inventory items which have a - * catalog version of this or higher). - */ - MinCatalogVersion: number; - /** PlayFab unique identifier of the user whose information is being requested. */ - PlayFabId: string; - - } - - export interface UserInfoResponse extends PlayFabModule.IPlayFabResultCommon { - /** Array of inventory items in the user's current inventory. */ - Inventory?: ItemInstance[]; - /** Boolean indicating whether the user is a developer. */ - IsDeveloper: boolean; - /** PlayFab unique identifier of the user whose information was requested. */ - PlayFabId?: string; - /** Steam unique identifier, if the user has an associated Steam account. */ - SteamId?: string; - /** Title specific display name, if set. */ - TitleDisplayName?: string; - /** PlayFab unique user name. */ - Username?: string; - /** Array of virtual currency balance(s) belonging to the user. */ - VirtualCurrency?: { [key: string]: number }; - /** Array of remaining times and timestamps for virtual currencies. */ - VirtualCurrencyRechargeTimes?: { [key: string]: VirtualCurrencyRechargeTime }; - - } - - export interface VirtualCurrencyRechargeTime { - /** - * Maximum value to which the regenerating currency will automatically increment. Note that it can exceed this value - * through use of the AddUserVirtualCurrency API call. However, it will not regenerate automatically until it has fallen - * below this value. - */ - RechargeMax: number; - /** Server timestamp in UTC indicating the next time the virtual currency will be incremented. */ - RechargeTime: string; - /** Time remaining (in seconds) before the next recharge increment of the virtual currency. */ - SecondsToRecharge: number; - - } - } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index afc2f014..e48c501c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2289,10 +2289,18 @@ declare module PlayFabMultiplayerModels { CustomTags?: { [key: string]: string | null }; /** The container images we want to list tags for. */ ImageName?: string; + /** The page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; } export interface ListContainerImageTagsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; /** The list of tags for a particular container image. */ Tags?: string[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 7cb1c55d..5bc2f505 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -155,11 +155,25 @@ declare module PlayFabProfilesModels { } + export interface EntityStatisticAttributeValue { + /** Metadata associated with the Statistic. */ + Metadata?: string; + /** Attribute name. */ + Name?: string; + /** Attribute Statistic scores. */ + Scores?: number[]; + + } + export interface EntityStatisticValue { + /** Attribute Statistic values. */ + AttributeStatistics?: { [key: string]: EntityStatisticAttributeValue }; /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ Name?: string; + /** Statistic scores */ + Scores?: number[]; /** Statistic value */ Value?: number; /** Statistic version */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index df15c253..60409aaf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -94,11 +94,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup */ DeleteSharedGroup(request: PlayFabServerModels.DeleteSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Inform the matchmaker that a Game Server Instance is removed. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/deregistergame - */ - DeregisterGame(request: PlayFabServerModels.DeregisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for * version 2._ Returns the result of an evaluation of a Random Result Table - the ItemId from the game Catalog which would @@ -420,6 +415,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount */ LinkNintendoServiceAccount(request: PlayFabServerModels.LinkNintendoServiceAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Nintendo account associated with the Nintendo Service Account subject or id to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccountsubject + */ + LinkNintendoServiceAccountSubject(request: PlayFabServerModels.LinkNintendoServiceAccountSubjectRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the NintendoSwitchDeviceId to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid @@ -498,11 +498,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter */ MoveItemToUserFromCharacter(request: PlayFabServerModels.MoveItemToUserFromCharacterRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Informs the PlayFab match-making service that the user specified has left the Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/notifymatchmakerplayerleft - */ - NotifyMatchmakerPlayerLeft(request: PlayFabServerModels.NotifyMatchmakerPlayerLeftRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _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 virtual goods associated with the coupon to the user's inventory. Coupons can be generated via the @@ -510,21 +505,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon */ RedeemCoupon(request: PlayFabServerModels.RedeemCouponRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Validates a Game Server session ticket and returns details about the user - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/redeemmatchmakerticket - */ - RedeemMatchmakerTicket(request: PlayFabServerModels.RedeemMatchmakerTicketRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Set the state of the indicated Game Server Instance. Also update the heartbeat for the instance. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/refreshgameserverinstanceheartbeat - */ - RefreshGameServerInstanceHeartbeat(request: PlayFabServerModels.RefreshGameServerInstanceHeartbeatRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Inform the matchmaker that a new Game Server Instance is added. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/registergame - */ - RegisterGame(request: PlayFabServerModels.RegisterGameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Removes the specified friend from the the user's friend list * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend @@ -609,21 +589,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags */ SetFriendTags(request: PlayFabServerModels.SetFriendTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Sets the custom data of the indicated Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancedata - */ - SetGameServerInstanceData(request: PlayFabServerModels.SetGameServerInstanceDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Set the state of the indicated Game Server Instance. - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancestate - */ - SetGameServerInstanceState(request: PlayFabServerModels.SetGameServerInstanceStateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Set custom tags for the specified Game Server Instance - * https://docs.microsoft.com/rest/api/playfab/server/matchmaking/setgameserverinstancetags - */ - SetGameServerInstanceTags(request: PlayFabServerModels.SetGameServerInstanceTagsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's * secret use the Admin or Server API method SetPlayerSecret. @@ -1677,18 +1642,6 @@ declare module PlayFabServerModels { } - export interface DeregisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Unique identifier for the Game Server Instance that is being deregistered. */ - LobbyId: string; - - } - - export interface DeregisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - - } - type EmailVerificationStatus = "Unverified" | "Pending" @@ -1851,10 +1804,6 @@ declare module PlayFabServerModels { } - type GameInstanceState = "Open" - - | "Closed"; - type GenericErrorCodes = "Success" | "UnkownError" @@ -3668,6 +3617,18 @@ declare module PlayFabServerModels { } + export interface LinkNintendoServiceAccountSubjectRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Nintendo Service Account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + /** The Nintendo Service Account subject or id to link to the PlayFab user. */ + Subject: string; + + } + export interface LinkNintendoSwitchDeviceIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4012,28 +3973,6 @@ declare module PlayFabServerModels { } - export interface NotifyMatchmakerPlayerLeftRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Unique identifier of the Game Instance the user is leaving. */ - LobbyId: string; - /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ - PlayFabId: string; - - } - - export interface NotifyMatchmakerPlayerLeftResult extends PlayFabModule.IPlayFabResultCommon { - /** State of user leaving the Game Server Instance. */ - PlayerState?: string; - - } - - type PlayerConnectionState = "Unassigned" - - | "Connecting" - | "Participating" - | "Participated"; - export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -4316,84 +4255,6 @@ declare module PlayFabServerModels { } - export interface RedeemMatchmakerTicketRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** Unique identifier of the Game Server Instance that is asking for validation of the authorization ticket. */ - LobbyId: string; - /** Server authorization ticket passed back from a call to Matchmake or StartGame. */ - Ticket: string; - - } - - export interface RedeemMatchmakerTicketResult extends PlayFabModule.IPlayFabResultCommon { - /** Error value if the ticket was not validated. */ - Error?: string; - /** Boolean indicating whether the ticket was validated by the PlayFab service. */ - TicketIsValid: boolean; - /** User account information for the user validated. */ - UserInfo?: UserAccountInfo; - - } - - export interface RefreshGameServerInstanceHeartbeatRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the Game Server Instance for which the heartbeat is updated. */ - LobbyId: string; - - } - - export interface RefreshGameServerInstanceHeartbeatResult extends PlayFabModule.IPlayFabResultCommon { - - } - - type Region = "USCentral" - - | "USEast" - | "EUWest" - | "Singapore" - | "Japan" - | "Brazil" - | "Australia"; - - export interface RegisterGameRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the build running on the Game Server Instance. */ - Build: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * Game Mode the Game Server instance is running. Note that this must be defined in the Game Modes tab in the PlayFab Game - * Manager, along with the Build ID (the same Game Mode can be defined for multiple Build IDs). - */ - GameMode: string; - /** Previous lobby id if re-registering an existing game. */ - LobbyId?: string; - /** - * Region in which the Game Server Instance is running. For matchmaking using non-AWS region names, set this to any AWS - * region and use Tags (below) to specify your custom region. - */ - Region: string; - /** IPV4 address of the game server instance. */ - ServerIPV4Address?: string; - /** IPV6 address (if any) of the game server instance. */ - ServerIPV6Address?: string; - /** Port number for communication with the Game Server Instance. */ - ServerPort: string; - /** Public DNS name (if any) of the server */ - ServerPublicDNSName?: string; - /** Tags for the Game Server Instance */ - Tags?: { [key: string]: string | null }; - - } - - export interface RegisterGameResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * Unique identifier generated for the Game Server Instance that is registered. If LobbyId is specified in request and the - * game still exists in PlayFab, the LobbyId in request is returned. Otherwise a new lobby id will be returned. - */ - LobbyId?: string; - - } - export interface RemoveFriendRequest extends PlayFabModule.IPlayFabRequestCommon { /** PlayFab identifier of the friend account which is to be removed. */ FriendPlayFabId: string; @@ -4678,45 +4539,6 @@ declare module PlayFabServerModels { } - export interface SetGameServerInstanceDataRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Custom data to set for the specified game server instance. */ - GameServerData: string; - /** Unique identifier of the Game Instance to be updated, in decimal format. */ - LobbyId: string; - - } - - export interface SetGameServerInstanceDataResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetGameServerInstanceStateRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the Game Instance to be updated, in decimal format. */ - LobbyId: string; - /** State to set for the specified game server instance. */ - State: string; - - } - - export interface SetGameServerInstanceStateResult extends PlayFabModule.IPlayFabResultCommon { - - } - - export interface SetGameServerInstanceTagsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Unique identifier of the Game Server Instance to be updated. */ - LobbyId: string; - /** - * Tags to set for the specified Game Server Instance. Note that this is the complete list of tags to be associated with - * the Game Server Instance. - */ - Tags: { [key: string]: string | null }; - - } - - export interface SetGameServerInstanceTagsResult extends PlayFabModule.IPlayFabResultCommon { - - } - export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Player secret that is used to verify API request signatures (Enterprise Only). */ PlayerSecret?: string; From 1036d76086c1fa44251e95261f745e932a95fd25 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 2 Oct 2023 21:58:54 +0000 Subject: [PATCH 186/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#230929 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 19 +++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 107 +++++++++++++++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 84 ++++++++++++++ .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 4 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 7 ++ PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 - PlayFabTestingExample/PlayFabApiTest.csproj | 2 - PlayFabTestingExample/index.html | 1 - .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 19 +++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 12 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 - .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 107 +++++++++++++++++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 84 ++++++++++++++ .../typings/PlayFab/PlayFabProfilesApi.d.ts | 4 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 7 ++ 41 files changed, 535 insertions(+), 134 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index de59744a..8b16c0b2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.154.230915", + "version": "1.156.230929", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 779cf76e..ceffd06d 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e848bc71..ce6b577a 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 4d37bd70..8e8fe0c5 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1087,8 +1087,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); diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 45ff67c4..14e0d545 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 17c3bbd2..cd933da3 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index a74feb18..6616fbb4 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 07eefedd..79fba4d7 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index b452f067..ab5d66d5 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 6b865c43..670d064a 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index bd62ed90..9f5c765c 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 1a80bced..4d57854b 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 072ebad3..fdf623af 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -505,6 +505,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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 794bd33b..3c618dd7 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fc8c8a9a..29a47d27 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.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 117a5548..0a1c9ef7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -633,9 +633,31 @@ declare module PlayFabAdminModels { } + export interface Action { + /** Action content to ban player */ + BanPlayerContent?: BanPlayerContent; + /** 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; + + } + 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; @@ -804,6 +826,14 @@ declare module PlayFabAdminModels { } + 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; + + } + export interface BanPlayerSegmentAction { /** Ban hours duration. */ BanHours?: number; @@ -1664,6 +1694,10 @@ declare module PlayFabAdminModels { } + export interface DeletePlayerContent { + + } + export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1783,6 +1817,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; @@ -1833,6 +1877,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; @@ -2429,6 +2483,7 @@ declare module PlayFabAdminModels { | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" + | "InvalidStatisticScore" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2573,6 +2628,12 @@ declare module PlayFabAdminModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" + | "LobbyAssociatedServerMismatch" + | "LobbyAssociatedServerNotFound" + | "LobbyAssociatedToDifferentServer" + | "LobbyServerAlreadyAssociated" + | "LobbyIsNotClientOwned" + | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" @@ -3162,6 +3223,16 @@ declare module PlayFabAdminModels { } + export interface GrantItemContent { + /** Publish cloudscript results as playstream event */ + CatalogVersion?: string; + /** Publish cloudscript results as playstream event */ + ItemId?: string; + /** Publish cloudscript results as playstream event */ + ItemQuantity: number; + + } + export interface GrantItemSegmentAction { /** Item catalog id. */ CatelogId?: string; @@ -3188,6 +3259,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; @@ -3212,6 +3291,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; @@ -3751,6 +3838,16 @@ declare module PlayFabAdminModels { } + 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"; @@ -4619,6 +4716,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 }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index e48c501c..5e5671db 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -343,6 +343,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestmultiplayerserver */ RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Request a party session. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestpartyservice + */ + RequestPartyService(request: PlayFabMultiplayerModels.RequestPartyServiceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Rolls over the credentials to the container registry. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials @@ -1430,6 +1435,16 @@ declare module PlayFabMultiplayerModels { } + type DirectPeerConnectivityOptions = "None" + + | "SamePlatformType" + | "DifferentPlatformType" + | "AnyPlatformType" + | "SameEntityLoginProvider" + | "DifferentEntityLoginProvider" + | "AnyEntityLoginProvider" + | "AnyPlatformTypeAndEntityLoginProvider"; + export interface DynamicStandbySettings { /** * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, @@ -2710,6 +2725,45 @@ declare module PlayFabMultiplayerModels { } + export interface PartyInvitationConfiguration { + /** + * The list of PlayFab EntityKeys that the invitation allows to authenticate into the network. If this list is empty, all + * users are allowed to authenticate using the invitation's identifier. This list may contain no more than 1024 items. + */ + EntityKeys?: EntityKey[]; + /** The invite identifier for this party. If this value is specified, it must be no longer than 127 characters. */ + Identifier?: string; + /** Controls which participants can revoke this invite. */ + Revocability?: string; + + } + + type PartyInvitationRevocability = "Creator" + + | "Anyone"; + + export interface PartyNetworkConfiguration { + /** Controls whether and how to support direct peer-to-peer connection attempts among devices in the network. */ + DirectPeerConnectivityOptions?: string; + /** The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive. */ + MaxDevices: number; + /** The maximum number of devices allowed per user. Must be greater than 0. */ + MaxDevicesPerUser: number; + /** The maximum number of endpoints allowed per device. Must be between 0 and 32, inclusive. */ + MaxEndpointsPerDevice: number; + /** The maximum number of unique users allowed in the network. Must be greater than 0. */ + MaxUsers: number; + /** The maximum number of users allowed per device. Must be between 1 and 8, inclusive. */ + MaxUsersPerDevice: number; + /** + * An optionally-specified configuration for the initial invitation for this party. If not provided, default configuration + * values will be used: a title-unique invitation identifier will be generated, the revocability will be Anyone, and the + * EntityID list will be empty. + */ + PartyInvitationConfiguration?: PartyInvitationConfiguration; + + } + export interface Port { /** The name for the port. */ Name: string; @@ -2871,6 +2925,34 @@ declare module PlayFabMultiplayerModels { } + export interface RequestPartyServiceRequest 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 network configuration for this request. */ + NetworkConfiguration: PartyNetworkConfiguration; + /** A guid string party ID created track the party session over its life. */ + PartyId?: string; + /** + * The preferred regions to request a party session from. The party service will iterate through the regions in the + * specified order and allocate a party session from the first one that is available. + */ + PreferredRegions: string[]; + + } + + export interface RequestPartyServiceResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The invitation identifier supplied in the PartyInvitationConfiguration, or the PlayFab-generated guid if none was + * supplied. + */ + InvitationId?: string; + /** The guid string party ID of the party session. */ + PartyId?: string; + /** A base-64 encoded string containing the serialized network descriptor for this party. */ + SerializedNetworkDescriptor?: string; + + } + export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3356,6 +3438,8 @@ declare module PlayFabMultiplayerModels { export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Forces the certificate renewal if the certificate already exists. Default is false */ + ForceUpdate?: boolean; /** The game certificate to upload. */ GameCertificate: Certificate; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 5bc2f505..3bb525f7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -161,7 +161,7 @@ declare module PlayFabProfilesModels { /** Attribute name. */ Name?: string; /** Attribute Statistic scores. */ - Scores?: number[]; + Scores?: string[]; } @@ -173,7 +173,7 @@ declare module PlayFabProfilesModels { /** Statistic name */ Name?: string; /** Statistic scores */ - Scores?: number[]; + Scores?: string[]; /** Statistic value */ Value?: number; /** Statistic version */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 60409aaf..54dfb36c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2355,6 +2355,7 @@ declare module PlayFabServerModels { | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" + | "InvalidStatisticScore" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2499,6 +2500,12 @@ declare module PlayFabServerModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" + | "LobbyAssociatedServerMismatch" + | "LobbyAssociatedServerNotFound" + | "LobbyAssociatedToDifferentServer" + | "LobbyServerAlreadyAssociated" + | "LobbyIsNotClientOwned" + | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 1e1ad849..83b58b30 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -1,6 +1,5 @@ /// /// -/// /// /// /// @@ -48,7 +47,6 @@ declare var PlayFab: { settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; ClientApi: PlayFabClientModule.IPlayFabClient; - MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; ServerApi: PlayFabServerModule.IPlayFabServer; AuthenticationApi: PlayFabAuthenticationModule.IPlayFabAuthentication; CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; @@ -66,7 +64,6 @@ declare var PlayFab: { // Continue to support older usage declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; -declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthentication; declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 13c18c2d..dd1c9eba 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -26,7 +26,6 @@ - @@ -46,7 +45,6 @@ - diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index d58cc3c7..724b0b69 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -12,7 +12,6 @@ - diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 779cf76e..ceffd06d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e848bc71..ce6b577a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 4d37bd70..8e8fe0c5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -1087,8 +1087,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); diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 45ff67c4..14e0d545 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 17c3bbd2..cd933da3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index a74feb18..6616fbb4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 07eefedd..79fba4d7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index b452f067..ab5d66d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 6b865c43..670d064a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index bd62ed90..9f5c765c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 1a80bced..4d57854b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 072ebad3..fdf623af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -505,6 +505,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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 794bd33b..3c618dd7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fc8c8a9a..29a47d27 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.156.230929", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.156.230929" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.156.230929"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 1e1ad849..83b58b30 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -1,6 +1,5 @@ /// /// -/// /// /// /// @@ -48,7 +47,6 @@ declare var PlayFab: { settings: PlayFabModule.ISettings; AdminApi: PlayFabAdminModule.IPlayFabAdmin; ClientApi: PlayFabClientModule.IPlayFabClient; - MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; ServerApi: PlayFabServerModule.IPlayFabServer; AuthenticationApi: PlayFabAuthenticationModule.IPlayFabAuthentication; CloudScriptApi: PlayFabCloudScriptModule.IPlayFabCloudScript; @@ -66,7 +64,6 @@ declare var PlayFab: { // Continue to support older usage declare var PlayFabAdminSDK: PlayFabAdminModule.IPlayFabAdmin; declare var PlayFabClientSDK: PlayFabClientModule.IPlayFabClient; -declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabServerSDK: PlayFabServerModule.IPlayFabServer; declare var PlayFabAuthenticationSDK: PlayFabAuthenticationModule.IPlayFabAuthentication; declare var PlayFabCloudScriptSDK: PlayFabCloudScriptModule.IPlayFabCloudScript; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 117a5548..0a1c9ef7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -633,9 +633,31 @@ declare module PlayFabAdminModels { } + export interface Action { + /** Action content to ban player */ + BanPlayerContent?: BanPlayerContent; + /** 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; + + } + 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; @@ -804,6 +826,14 @@ declare module PlayFabAdminModels { } + 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; + + } + export interface BanPlayerSegmentAction { /** Ban hours duration. */ BanHours?: number; @@ -1664,6 +1694,10 @@ declare module PlayFabAdminModels { } + export interface DeletePlayerContent { + + } + export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -1783,6 +1817,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; @@ -1833,6 +1877,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; @@ -2429,6 +2483,7 @@ declare module PlayFabAdminModels { | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" + | "InvalidStatisticScore" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2573,6 +2628,12 @@ declare module PlayFabAdminModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" + | "LobbyAssociatedServerMismatch" + | "LobbyAssociatedServerNotFound" + | "LobbyAssociatedToDifferentServer" + | "LobbyServerAlreadyAssociated" + | "LobbyIsNotClientOwned" + | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" @@ -3162,6 +3223,16 @@ declare module PlayFabAdminModels { } + export interface GrantItemContent { + /** Publish cloudscript results as playstream event */ + CatalogVersion?: string; + /** Publish cloudscript results as playstream event */ + ItemId?: string; + /** Publish cloudscript results as playstream event */ + ItemQuantity: number; + + } + export interface GrantItemSegmentAction { /** Item catalog id. */ CatelogId?: string; @@ -3188,6 +3259,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; @@ -3212,6 +3291,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; @@ -3751,6 +3838,16 @@ declare module PlayFabAdminModels { } + 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"; @@ -4619,6 +4716,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 }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index e48c501c..5e5671db 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -343,6 +343,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestmultiplayerserver */ RequestMultiplayerServer(request: PlayFabMultiplayerModels.RequestMultiplayerServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Request a party session. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/requestpartyservice + */ + RequestPartyService(request: PlayFabMultiplayerModels.RequestPartyServiceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Rolls over the credentials to the container registry. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/rollovercontainerregistrycredentials @@ -1430,6 +1435,16 @@ declare module PlayFabMultiplayerModels { } + type DirectPeerConnectivityOptions = "None" + + | "SamePlatformType" + | "DifferentPlatformType" + | "AnyPlatformType" + | "SameEntityLoginProvider" + | "DifferentEntityLoginProvider" + | "AnyEntityLoginProvider" + | "AnyPlatformTypeAndEntityLoginProvider"; + export interface DynamicStandbySettings { /** * List of auto standing by trigger values and corresponding standing by multiplier. Defaults to 1.5X at 50%, 3X at 25%, @@ -2710,6 +2725,45 @@ declare module PlayFabMultiplayerModels { } + export interface PartyInvitationConfiguration { + /** + * The list of PlayFab EntityKeys that the invitation allows to authenticate into the network. If this list is empty, all + * users are allowed to authenticate using the invitation's identifier. This list may contain no more than 1024 items. + */ + EntityKeys?: EntityKey[]; + /** The invite identifier for this party. If this value is specified, it must be no longer than 127 characters. */ + Identifier?: string; + /** Controls which participants can revoke this invite. */ + Revocability?: string; + + } + + type PartyInvitationRevocability = "Creator" + + | "Anyone"; + + export interface PartyNetworkConfiguration { + /** Controls whether and how to support direct peer-to-peer connection attempts among devices in the network. */ + DirectPeerConnectivityOptions?: string; + /** The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive. */ + MaxDevices: number; + /** The maximum number of devices allowed per user. Must be greater than 0. */ + MaxDevicesPerUser: number; + /** The maximum number of endpoints allowed per device. Must be between 0 and 32, inclusive. */ + MaxEndpointsPerDevice: number; + /** The maximum number of unique users allowed in the network. Must be greater than 0. */ + MaxUsers: number; + /** The maximum number of users allowed per device. Must be between 1 and 8, inclusive. */ + MaxUsersPerDevice: number; + /** + * An optionally-specified configuration for the initial invitation for this party. If not provided, default configuration + * values will be used: a title-unique invitation identifier will be generated, the revocability will be Anyone, and the + * EntityID list will be empty. + */ + PartyInvitationConfiguration?: PartyInvitationConfiguration; + + } + export interface Port { /** The name for the port. */ Name: string; @@ -2871,6 +2925,34 @@ declare module PlayFabMultiplayerModels { } + export interface RequestPartyServiceRequest 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 network configuration for this request. */ + NetworkConfiguration: PartyNetworkConfiguration; + /** A guid string party ID created track the party session over its life. */ + PartyId?: string; + /** + * The preferred regions to request a party session from. The party service will iterate through the regions in the + * specified order and allocate a party session from the first one that is available. + */ + PreferredRegions: string[]; + + } + + export interface RequestPartyServiceResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * The invitation identifier supplied in the PartyInvitationConfiguration, or the PlayFab-generated guid if none was + * supplied. + */ + InvitationId?: string; + /** The guid string party ID of the party session. */ + PartyId?: string; + /** A base-64 encoded string containing the serialized network descriptor for this party. */ + SerializedNetworkDescriptor?: string; + + } + export interface RolloverContainerRegistryCredentialsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3356,6 +3438,8 @@ declare module PlayFabMultiplayerModels { export interface UploadCertificateRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Forces the certificate renewal if the certificate already exists. Default is false */ + ForceUpdate?: boolean; /** The game certificate to upload. */ GameCertificate: Certificate; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 5bc2f505..3bb525f7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -161,7 +161,7 @@ declare module PlayFabProfilesModels { /** Attribute name. */ Name?: string; /** Attribute Statistic scores. */ - Scores?: number[]; + Scores?: string[]; } @@ -173,7 +173,7 @@ declare module PlayFabProfilesModels { /** Statistic name */ Name?: string; /** Statistic scores */ - Scores?: number[]; + Scores?: string[]; /** Statistic value */ Value?: number; /** Statistic version */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 60409aaf..54dfb36c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2355,6 +2355,7 @@ declare module PlayFabServerModels { | "InvalidServiceConfiguration" | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" + | "InvalidStatisticScore" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2499,6 +2500,12 @@ declare module PlayFabServerModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" + | "LobbyAssociatedServerMismatch" + | "LobbyAssociatedServerNotFound" + | "LobbyAssociatedToDifferentServer" + | "LobbyServerAlreadyAssociated" + | "LobbyIsNotClientOwned" + | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" | "EventSamplingInvalidEventNamespace" | "EventSamplingInvalidEventName" From d7af348b154230d914cb4be20362d43ee0344d1a Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 16 Oct 2023 21:10:52 +0000 Subject: [PATCH 187/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#231013 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 10 ++++++++++ .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 3 ++- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 10 ++++++++++ .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 3 ++- 33 files changed, 137 insertions(+), 115 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 8b16c0b2..47fd9abf 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.156.230929", + "version": "1.157.231013", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ceffd06d..205f5ec6 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ce6b577a..b140dc64 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8e8fe0c5..6be1bc95 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 14e0d545..0231f22f 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index cd933da3..41efdefe 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 6616fbb4..aa44398c 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 79fba4d7..cc6576cd 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ab5d66d5..25c5ecb5 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 670d064a..f8518325 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 9f5c765c..8c6da0c7 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4d57854b..53ed149e 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index fdf623af..9d47bc6e 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3c618dd7..cd2dc687 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 29a47d27..26e96b73 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.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 0a1c9ef7..9ba2985c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -1420,6 +1420,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; } @@ -3571,8 +3573,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; } @@ -5121,10 +5127,14 @@ 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; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5e5671db..319c290b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -488,7 +488,8 @@ declare module PlayFabMultiplayerModels { | "WestUs2" | "CentralIndia" | "UaeNorth" - | "UkSouth"; + | "UkSouth" + | "SwedenCentral"; type AzureVmFamily = "A" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ceffd06d..205f5ec6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ce6b577a..b140dc64 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8e8fe0c5..6be1bc95 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 14e0d545..0231f22f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index cd933da3..41efdefe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 6616fbb4..aa44398c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 79fba4d7..cc6576cd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ab5d66d5..25c5ecb5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 670d064a..f8518325 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 9f5c765c..8c6da0c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4d57854b..53ed149e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index fdf623af..9d47bc6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3c618dd7..cd2dc687 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 29a47d27..26e96b73 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.156.230929", + sdkVersion: "1.157.231013", requestGetParams: { - sdk: "JavaScriptSDK-1.156.230929" + sdk: "JavaScriptSDK-1.157.231013" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.156.230929"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.157.231013"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 0a1c9ef7..9ba2985c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -1420,6 +1420,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; } @@ -3571,8 +3573,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; } @@ -5121,10 +5127,14 @@ 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; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 5e5671db..319c290b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -488,7 +488,8 @@ declare module PlayFabMultiplayerModels { | "WestUs2" | "CentralIndia" | "UaeNorth" - | "UkSouth"; + | "UkSouth" + | "SwedenCentral"; type AzureVmFamily = "A" From 1b3641ca1a397382cf945a0117d78f164ec66667 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 30 Oct 2023 21:14:14 +0000 Subject: [PATCH 188/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#231027 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 7 +++++-- PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 5 ++++- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 7 +++++-- .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 5 ++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++- 35 files changed, 139 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 47fd9abf..6d6b974a 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.157.231013", + "version": "1.158.231027", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 205f5ec6..6a565b21 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index b140dc64..d8aeeaf8 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6be1bc95..f5aae82f 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0231f22f..2e7d26ed 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 41efdefe..33be29cb 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index aa44398c..dced0d79 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index cc6576cd..68c46e1e 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 25c5ecb5..3e861f83 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f8518325..d83df3b5 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 8c6da0c7..7d5f079f 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 53ed149e..a0d931ca 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9d47bc6e..bf7fc247 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index cd2dc687..502427c5 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 26e96b73..5a99c97d 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.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9ba2985c..a9bbb375 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -828,7 +828,7 @@ declare module PlayFabAdminModels { export interface BanPlayerContent { /** Duration(in hours) to ban a player. If not provided, the player will be banned permanently. */ - BanDurationHours: number; + BanDurationHours?: number; /** Reason to ban a player */ BanReason?: string; @@ -2659,6 +2659,7 @@ declare module PlayFabAdminModels { | "EventSinkTenantNotFound" | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" + | "EventSinkTitleUnauthorized" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2678,7 +2679,9 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesDuplicatePropertyName" | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" - | "AddonDoesntExist"; + | "AddonDoesntExist" + | "CopilotDisabled" + | "CopilotInvalidRequest"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 9f1cd0b6..31e9d94e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1710,7 +1710,10 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** Xbox Token used for delegated business partner authentication. */ + /** + * Xbox Token used for delegated business partner authentication. Token provided by the Xbox Live SDK method + * GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). + */ XboxToken?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 54dfb36c..93f03852 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2529,6 +2529,7 @@ declare module PlayFabServerModels { | "EventSinkTenantNotFound" | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" + | "EventSinkTitleUnauthorized" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2548,7 +2549,9 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesDuplicatePropertyName" | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" - | "AddonDoesntExist"; + | "AddonDoesntExist" + | "CopilotDisabled" + | "CopilotInvalidRequest"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 205f5ec6..6a565b21 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index b140dc64..d8aeeaf8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6be1bc95..f5aae82f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0231f22f..2e7d26ed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 41efdefe..33be29cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index aa44398c..dced0d79 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index cc6576cd..68c46e1e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 25c5ecb5..3e861f83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f8518325..d83df3b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 8c6da0c7..7d5f079f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 53ed149e..a0d931ca 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9d47bc6e..bf7fc247 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index cd2dc687..502427c5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 26e96b73..5a99c97d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.157.231013", + sdkVersion: "1.158.231027", requestGetParams: { - sdk: "JavaScriptSDK-1.157.231013" + sdk: "JavaScriptSDK-1.158.231027" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.157.231013"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.158.231027"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9ba2985c..a9bbb375 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -828,7 +828,7 @@ declare module PlayFabAdminModels { export interface BanPlayerContent { /** Duration(in hours) to ban a player. If not provided, the player will be banned permanently. */ - BanDurationHours: number; + BanDurationHours?: number; /** Reason to ban a player */ BanReason?: string; @@ -2659,6 +2659,7 @@ declare module PlayFabAdminModels { | "EventSinkTenantNotFound" | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" + | "EventSinkTitleUnauthorized" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2678,7 +2679,9 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesDuplicatePropertyName" | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" - | "AddonDoesntExist"; + | "AddonDoesntExist" + | "CopilotDisabled" + | "CopilotInvalidRequest"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 9f1cd0b6..31e9d94e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1710,7 +1710,10 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** Xbox Token used for delegated business partner authentication. */ + /** + * Xbox Token used for delegated business partner authentication. Token provided by the Xbox Live SDK method + * GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). + */ XboxToken?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 54dfb36c..93f03852 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2529,6 +2529,7 @@ declare module PlayFabServerModels { | "EventSinkTenantNotFound" | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" + | "EventSinkTitleUnauthorized" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2548,7 +2549,9 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesDuplicatePropertyName" | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" - | "AddonDoesntExist"; + | "AddonDoesntExist" + | "CopilotDisabled" + | "CopilotInvalidRequest"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ From 16326a69efd3922a76e1964c64bc9d1157adb00b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 16 Nov 2023 19:16:04 +0000 Subject: [PATCH 189/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#231110 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 51 +++++++++++++++++-- .../PlayFab/PlayFabMultiplayerApi.d.ts | 14 ++--- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEconomyApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 51 +++++++++++++++++-- .../PlayFab/PlayFabMultiplayerApi.d.ts | 14 ++--- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 35 files changed, 225 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 6d6b974a..b55f75de 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.158.231027", + "version": "1.160.231110", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6a565b21..27a8b1ad 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d8aeeaf8..b56f83f6 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f5aae82f..7b95c739 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 2e7d26ed..87670ca4 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 33be29cb..ca70c689 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index dced0d79..1fb72267 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 68c46e1e..89e1361e 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 3e861f83..364d05cb 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d83df3b5..aed05d3e 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 7d5f079f..7a3a0446 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a0d931ca..2e32df94 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index bf7fc247..4f30646c 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 502427c5..7965a166 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5a99c97d..f94d44f3 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.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index a9bbb375..af8d8013 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -634,8 +634,12 @@ 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 */ @@ -652,6 +656,8 @@ declare module PlayFabAdminModels { PushNotificationContent?: PushNotificationContent; /** Action content to send email */ SendEmailContent?: SendEmailContent; + /** Action content to Subtract Inventory item v2 */ + SubtractInventoryItemV2Content?: SubtractInventoryItemV2Content; } @@ -721,6 +727,20 @@ declare module PlayFabAdminModels { } + 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; @@ -1645,6 +1665,16 @@ declare module PlayFabAdminModels { } + 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; @@ -2486,6 +2516,7 @@ declare module PlayFabAdminModels { | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" + | "LeaderboardColumnsNotSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3229,11 +3260,11 @@ declare module PlayFabAdminModels { } export interface GrantItemContent { - /** Publish cloudscript results as playstream event */ + /** The catalog version of the item to be granted to the player */ CatalogVersion?: string; - /** Publish cloudscript results as playstream event */ + /** The id of item to be granted to the player */ ItemId?: string; - /** Publish cloudscript results as playstream event */ + /** Quantity of the item to be granted to a player */ ItemQuantity: number; } @@ -4969,6 +5000,20 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; + 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; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 319c290b..d2a23d45 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1124,7 +1124,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * The private key-value pairs which are only visible to members of the lobby. At most 30 key-value pairs may be stored + * The private key-value pairs which are visible to all entities in the lobby. At most 30 key-value pairs may be stored * here, keys are limited to 30 characters and values to 1000. The total size of all lobbyData values may not exceed 4096 * bytes. Keys are case sensitive. */ @@ -2072,7 +2072,7 @@ declare module PlayFabMultiplayerModels { MaxPlayers: number; /** * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all - * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * entities in the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to * 1000. The total size of all memberData values may not exceed 4096 bytes. Keys are case sensitive. */ MemberData?: { [key: string]: string | null }; @@ -2105,7 +2105,7 @@ declare module PlayFabMultiplayerModels { CustomTags?: { [key: string]: string | null }; /** * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all - * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * entities in the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to * 1000. The total size of all memberData values may not exceed 4096 bytes.Keys are case sensitive. */ MemberData?: { [key: string]: string | null }; @@ -3369,7 +3369,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * The private key-value pairs which are only visible to members of the lobby. Optional. Sets or updates key-value pairs on + * The private key-value pairs which are visible to all entities in the lobby. Optional. Sets or updates key-value pairs on * the lobby. Only the current lobby owner can set lobby data. Keys may be an arbitrary string of at most 30 characters. * The total size of all lobbyData values may not exceed 4096 bytes. Values are not individually limited. There can be up * to 30 key-value pairs stored here. Keys are case sensitive. @@ -3388,9 +3388,9 @@ declare module PlayFabMultiplayerModels { /** * The private key-value pairs used by the member to communicate information to other members and the owner. Optional. Sets * or updates new key-value pairs on the caller's member data. New keys will be added with their values and existing keys - * will be updated with the new values. Visible to all members of the lobby. At most 30 key-value pairs may be stored here, - * keys are limited to 30 characters and values to 1000. The total size of all memberData values may not exceed 4096 bytes. - * Keys are case sensitive. Servers cannot specifiy this. + * will be updated with the new values. Visible to all entities in the lobby. At most 30 key-value pairs may be stored + * here, keys are limited to 30 characters and values to 1000. The total size of all memberData values may not exceed 4096 + * bytes. Keys are case sensitive. Servers cannot specifiy this. */ MemberData?: { [key: string]: string | null }; /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 93f03852..8ead2e8e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2356,6 +2356,7 @@ declare module PlayFabServerModels { | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" + | "LeaderboardColumnsNotSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6a565b21..27a8b1ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d8aeeaf8..b56f83f6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f5aae82f..7b95c739 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 2e7d26ed..87670ca4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 33be29cb..ca70c689 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index dced0d79..1fb72267 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 68c46e1e..89e1361e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 3e861f83..364d05cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d83df3b5..aed05d3e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 7d5f079f..7a3a0446 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a0d931ca..2e32df94 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index bf7fc247..4f30646c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 502427c5..7965a166 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5a99c97d..f94d44f3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.158.231027", + sdkVersion: "1.160.231110", requestGetParams: { - sdk: "JavaScriptSDK-1.158.231027" + sdk: "JavaScriptSDK-1.160.231110" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.158.231027"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.160.231110"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index a9bbb375..af8d8013 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -634,8 +634,12 @@ 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 */ @@ -652,6 +656,8 @@ declare module PlayFabAdminModels { PushNotificationContent?: PushNotificationContent; /** Action content to send email */ SendEmailContent?: SendEmailContent; + /** Action content to Subtract Inventory item v2 */ + SubtractInventoryItemV2Content?: SubtractInventoryItemV2Content; } @@ -721,6 +727,20 @@ declare module PlayFabAdminModels { } + 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; @@ -1645,6 +1665,16 @@ declare module PlayFabAdminModels { } + 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; @@ -2486,6 +2516,7 @@ declare module PlayFabAdminModels { | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" + | "LeaderboardColumnsNotSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3229,11 +3260,11 @@ declare module PlayFabAdminModels { } export interface GrantItemContent { - /** Publish cloudscript results as playstream event */ + /** The catalog version of the item to be granted to the player */ CatalogVersion?: string; - /** Publish cloudscript results as playstream event */ + /** The id of item to be granted to the player */ ItemId?: string; - /** Publish cloudscript results as playstream event */ + /** Quantity of the item to be granted to a player */ ItemQuantity: number; } @@ -4969,6 +5000,20 @@ declare module PlayFabAdminModels { | "FreeTrial" | "PaymentPending"; + 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; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 319c290b..d2a23d45 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1124,7 +1124,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * The private key-value pairs which are only visible to members of the lobby. At most 30 key-value pairs may be stored + * The private key-value pairs which are visible to all entities in the lobby. At most 30 key-value pairs may be stored * here, keys are limited to 30 characters and values to 1000. The total size of all lobbyData values may not exceed 4096 * bytes. Keys are case sensitive. */ @@ -2072,7 +2072,7 @@ declare module PlayFabMultiplayerModels { MaxPlayers: number; /** * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all - * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * entities in the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to * 1000. The total size of all memberData values may not exceed 4096 bytes. Keys are case sensitive. */ MemberData?: { [key: string]: string | null }; @@ -2105,7 +2105,7 @@ declare module PlayFabMultiplayerModels { CustomTags?: { [key: string]: string | null }; /** * The private key-value pairs used by the member to communicate information to other members and the owner. Visible to all - * members of the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to + * entities in the lobby. At most 30 key-value pairs may be stored here, keys are limited to 30 characters and values to * 1000. The total size of all memberData values may not exceed 4096 bytes.Keys are case sensitive. */ MemberData?: { [key: string]: string | null }; @@ -3369,7 +3369,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * The private key-value pairs which are only visible to members of the lobby. Optional. Sets or updates key-value pairs on + * The private key-value pairs which are visible to all entities in the lobby. Optional. Sets or updates key-value pairs on * the lobby. Only the current lobby owner can set lobby data. Keys may be an arbitrary string of at most 30 characters. * The total size of all lobbyData values may not exceed 4096 bytes. Values are not individually limited. There can be up * to 30 key-value pairs stored here. Keys are case sensitive. @@ -3388,9 +3388,9 @@ declare module PlayFabMultiplayerModels { /** * The private key-value pairs used by the member to communicate information to other members and the owner. Optional. Sets * or updates new key-value pairs on the caller's member data. New keys will be added with their values and existing keys - * will be updated with the new values. Visible to all members of the lobby. At most 30 key-value pairs may be stored here, - * keys are limited to 30 characters and values to 1000. The total size of all memberData values may not exceed 4096 bytes. - * Keys are case sensitive. Servers cannot specifiy this. + * will be updated with the new values. Visible to all entities in the lobby. At most 30 key-value pairs may be stored + * here, keys are limited to 30 characters and values to 1000. The total size of all memberData values may not exceed 4096 + * bytes. Keys are case sensitive. Servers cannot specifiy this. */ MemberData?: { [key: string]: string | null }; /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 93f03852..8ead2e8e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2356,6 +2356,7 @@ declare module PlayFabServerModels { | "InvalidNamespaceMismatch" | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" + | "LeaderboardColumnsNotSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 3a042557861de7ea87c0dc95b4bd4726a1d5d90d Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 27 Nov 2023 17:29:30 +0000 Subject: [PATCH 190/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#231124 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 15 ++++++++------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 11 ++++++----- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 15 ++++++++------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 11 ++++++----- 33 files changed, 141 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b55f75de..1d3f74ba 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.160.231110", + "version": "1.161.231124", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 27a8b1ad..731b37c6 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index b56f83f6..b73383ef 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 7b95c739..e0e18fc5 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 87670ca4..d7f24356 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index ca70c689..294f50a2 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 1fb72267..a010f7b0 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 89e1361e..42c788c9 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 364d05cb..e1d6d229 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index aed05d3e..a04e75cc 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 7a3a0446..7f8a2517 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 2e32df94..acd87f26 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 4f30646c..077f0bed 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 7965a166..e1e9af84 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f94d44f3..3c0eb743 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.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index af8d8013..f10cb271 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -634,7 +634,7 @@ declare module PlayFabAdminModels { } export interface Action { - /** Action content to Add Inventory item v2 */ + /** Action content to add inventory item v2 */ AddInventoryItemV2Content?: AddInventoryItemV2Content; /** Action content to ban player */ BanPlayerContent?: BanPlayerContent; @@ -656,7 +656,7 @@ declare module PlayFabAdminModels { PushNotificationContent?: PushNotificationContent; /** Action content to send email */ SendEmailContent?: SendEmailContent; - /** Action content to Subtract Inventory item v2 */ + /** Action content to subtract inventory item v2 */ SubtractInventoryItemV2Content?: SubtractInventoryItemV2Content; } @@ -2661,10 +2661,10 @@ declare module PlayFabAdminModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" - | "LobbyAssociatedServerMismatch" - | "LobbyAssociatedServerNotFound" - | "LobbyAssociatedToDifferentServer" - | "LobbyServerAlreadyAssociated" + | "LobbyServerMismatch" + | "LobbyServerNotFound" + | "LobbyDifferentServerAlreadyJoined" + | "LobbyServerAlreadyJoined" | "LobbyIsNotClientOwned" | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" @@ -2712,7 +2712,8 @@ declare module PlayFabAdminModels { | "AddonAlreadyExists" | "AddonDoesntExist" | "CopilotDisabled" - | "CopilotInvalidRequest"; + | "CopilotInvalidRequest" + | "TrueSkillUnauthorized"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 8ead2e8e..40a1c24e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2501,10 +2501,10 @@ declare module PlayFabServerModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" - | "LobbyAssociatedServerMismatch" - | "LobbyAssociatedServerNotFound" - | "LobbyAssociatedToDifferentServer" - | "LobbyServerAlreadyAssociated" + | "LobbyServerMismatch" + | "LobbyServerNotFound" + | "LobbyDifferentServerAlreadyJoined" + | "LobbyServerAlreadyJoined" | "LobbyIsNotClientOwned" | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" @@ -2552,7 +2552,8 @@ declare module PlayFabServerModels { | "AddonAlreadyExists" | "AddonDoesntExist" | "CopilotDisabled" - | "CopilotInvalidRequest"; + | "CopilotInvalidRequest" + | "TrueSkillUnauthorized"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 27a8b1ad..731b37c6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index b56f83f6..b73383ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 7b95c739..e0e18fc5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 87670ca4..d7f24356 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index ca70c689..294f50a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 1fb72267..a010f7b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 89e1361e..42c788c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 364d05cb..e1d6d229 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index aed05d3e..a04e75cc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 7a3a0446..7f8a2517 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 2e32df94..acd87f26 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 4f30646c..077f0bed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 7965a166..e1e9af84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f94d44f3..3c0eb743 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.160.231110", + sdkVersion: "1.161.231124", requestGetParams: { - sdk: "JavaScriptSDK-1.160.231110" + sdk: "JavaScriptSDK-1.161.231124" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.160.231110"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.161.231124"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index af8d8013..f10cb271 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -634,7 +634,7 @@ declare module PlayFabAdminModels { } export interface Action { - /** Action content to Add Inventory item v2 */ + /** Action content to add inventory item v2 */ AddInventoryItemV2Content?: AddInventoryItemV2Content; /** Action content to ban player */ BanPlayerContent?: BanPlayerContent; @@ -656,7 +656,7 @@ declare module PlayFabAdminModels { PushNotificationContent?: PushNotificationContent; /** Action content to send email */ SendEmailContent?: SendEmailContent; - /** Action content to Subtract Inventory item v2 */ + /** Action content to subtract inventory item v2 */ SubtractInventoryItemV2Content?: SubtractInventoryItemV2Content; } @@ -2661,10 +2661,10 @@ declare module PlayFabAdminModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" - | "LobbyAssociatedServerMismatch" - | "LobbyAssociatedServerNotFound" - | "LobbyAssociatedToDifferentServer" - | "LobbyServerAlreadyAssociated" + | "LobbyServerMismatch" + | "LobbyServerNotFound" + | "LobbyDifferentServerAlreadyJoined" + | "LobbyServerAlreadyJoined" | "LobbyIsNotClientOwned" | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" @@ -2712,7 +2712,8 @@ declare module PlayFabAdminModels { | "AddonAlreadyExists" | "AddonDoesntExist" | "CopilotDisabled" - | "CopilotInvalidRequest"; + | "CopilotInvalidRequest" + | "TrueSkillUnauthorized"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 8ead2e8e..40a1c24e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2501,10 +2501,10 @@ declare module PlayFabServerModels { | "LobbyNewOwnerMustBeConnected" | "LobbyCurrentOwnerStillConnected" | "LobbyMemberIsNotOwner" - | "LobbyAssociatedServerMismatch" - | "LobbyAssociatedServerNotFound" - | "LobbyAssociatedToDifferentServer" - | "LobbyServerAlreadyAssociated" + | "LobbyServerMismatch" + | "LobbyServerNotFound" + | "LobbyDifferentServerAlreadyJoined" + | "LobbyServerAlreadyJoined" | "LobbyIsNotClientOwned" | "LobbyDoesNotUseConnections" | "EventSamplingInvalidRatio" @@ -2552,7 +2552,8 @@ declare module PlayFabServerModels { | "AddonAlreadyExists" | "AddonDoesntExist" | "CopilotDisabled" - | "CopilotInvalidRequest"; + | "CopilotInvalidRequest" + | "TrueSkillUnauthorized"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ From 4523febb5646483d646c45d85378a058bfa033fd Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 11 Dec 2023 23:59:41 +0000 Subject: [PATCH 191/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#231208 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 20 +++- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 46 +++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 96 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 20 +++- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 46 +++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 96 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 + 35 files changed, 425 insertions(+), 113 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1d3f74ba..34c94b85 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.161.231124", + "version": "1.162.231208", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 731b37c6..c77ed9e4 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index b73383ef..4225092f 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e0e18fc5..e9456938 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index d7f24356..bb25b6cb 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 294f50a2..90eab54b 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index a010f7b0..67dc21c8 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 42c788c9..213a6853 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index e1d6d229..61dcba33 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a04e75cc..6b7d02ce 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 7f8a2517..2a4e21b4 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index acd87f26..7d3fa8d5 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 077f0bed..a32a9ede 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -425,6 +425,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 +437,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); }, @@ -561,6 +569,10 @@ 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index e1e9af84..124b5d78 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 3c0eb743..c8e2a53c 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.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f10cb271..b58fa262 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -727,6 +727,20 @@ 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; @@ -1665,6 +1679,16 @@ declare module PlayFabAdminModels { } + 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; @@ -2517,6 +2541,7 @@ declare module PlayFabAdminModels { | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" + | "LeaderboardMaxSizeTooLarge" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2560,6 +2585,7 @@ declare module PlayFabAdminModels { | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" + | "InvalidCatalogItemConfiguration" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -4720,8 +4746,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. */ @@ -4740,6 +4770,8 @@ declare module PlayFabAdminModels { IncrementPlayerStatisticAction?: IncrementPlayerStatisticSegmentAction; /** Push notification segment trigger action. */ PushNotificationAction?: PushNotificationSegmentAction; + /** Subtract inventory item v2 segment trigger action. */ + SubtractInventoryItemsV2Action?: SubtractInventoryItemsV2SegmentAction; } @@ -5001,6 +5033,20 @@ 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; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index d2a23d45..753a2bb0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -239,6 +239,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobby */ JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Preview: Join a lobby as a server entity. This is restricted to client lobbies which are using connections. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobbyasserver + */ + JoinLobbyAsServer(request: PlayFabMultiplayerModels.JoinLobbyAsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket @@ -249,6 +254,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobby */ LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Preview: Request for server to leave a lobby. This is restricted to client owned lobbies which are using connections. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobbyasserver + */ + LeaveLobbyAsServer(request: PlayFabMultiplayerModels.LeaveLobbyAsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists archived multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers @@ -413,6 +423,13 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobby */ UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Preview: Update fields related to a joined server in the lobby the server is in. Servers can keep a lobby from expiring + * by being the one to "update" the lobby in some way. Servers have no impact on last member leave/last member disconnect + * behavior. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobbyasserver + */ + UpdateLobbyAsServer(request: PlayFabMultiplayerModels.UpdateLobbyAsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Uploads a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate @@ -2098,6 +2115,41 @@ declare module PlayFabMultiplayerModels { } + export interface JoinLobbyAsServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * A field which indicates which lobby the game_server will be joining. This field is opaque to everyone except the Lobby + * service. + */ + ConnectionString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs which are visible to all entities in the lobby but can only be modified by the joined + * server.At most 30 key - value pairs may be stored here, keys are limited to 30 characters and values to 1000.The total + * size of all serverData values may not exceed 4096 bytes. + */ + ServerData?: { [key: string]: string | null }; + /** + * The game_server entity which is joining the Lobby. If a different game_server entity has already joined the request will + * fail unless the joined entity is disconnected, in which case the incoming game_server entity will replace the + * disconnected entity. + */ + ServerEntity: EntityKey; + + } + + export interface JoinLobbyAsServerResult extends PlayFabModule.IPlayFabResultCommon { + /** Successfully joined lobby's id. */ + LobbyId: string; + /** + * A setting that describes the state of the ServerData after JoinLobbyAsServer call is completed. It is "Initialized", the + * first time a server joins the lobby. It is "Ignored" in any subsequent JoinLobbyAsServer calls after it has been + * initialized. Any new server taking over should call UpdateLobbyAsServer to update ServerData fields. + */ + ServerDataStatus: string; + + } + export interface JoinLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { /** A field which indicates which lobby the user will be joining. This field is opaque to everyone except the Lobby service. */ ConnectionString?: string; @@ -2136,6 +2188,19 @@ declare module PlayFabMultiplayerModels { } + export interface LeaveLobbyAsServerRequest 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 id of the lobby. */ + LobbyId: string; + /** + * The game_server entity leaving the lobby. If the game_server was subscribed to notifications, it will be unsubscribed. + * If a the given game_server entity is not in the lobby, it will fail. + */ + ServerEntity: EntityKey; + + } + export interface LeaveLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3001,6 +3066,10 @@ declare module PlayFabMultiplayerModels { } + type ServerDataStatus = "Initialized" + + | "Ignored"; + export interface ServerDetails { /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ Fqdn?: string; @@ -3357,6 +3426,33 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateLobbyAsServerRequest 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 id of the lobby. */ + LobbyId: string; + /** + * The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined + * server). When changing the server the previous server will automatically be unsubscribed. + */ + Server?: EntityKey; + /** + * The private key-value pairs which are visible to all entities in the lobby and modifiable by the joined server. + * Optional. Sets or updates key-value pairs on the lobby. Only the current lobby lobby server can set serverData. Keys may + * be an arbitrary string of at most 30 characters. The total size of all serverData values may not exceed 4096 bytes. + * Values are not individually limited. There can be up to 30 key-value pairs stored here. Keys are case sensitive. + */ + ServerData?: { [key: string]: string | null }; + /** + * The keys to delete from the lobby serverData. Optional. Optional. Deletes key-value pairs on the lobby. Only the current + * joined lobby server can delete serverData. All the specified keys will be removed from the serverData. Keys that do not + * exist in the lobby are a no-op. If the key to delete exists in the serverData (same request) it will result in a bad + * request. + */ + ServerDataToDelete?: string[]; + + } + export interface UpdateLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 40a1c24e..16681d2b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2357,6 +2357,7 @@ declare module PlayFabServerModels { | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" + | "LeaderboardMaxSizeTooLarge" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2400,6 +2401,7 @@ declare module PlayFabServerModels { | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" + | "InvalidCatalogItemConfiguration" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 731b37c6..c77ed9e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index b73383ef..4225092f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e0e18fc5..e9456938 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index d7f24356..bb25b6cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 294f50a2..90eab54b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index a010f7b0..67dc21c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 42c788c9..213a6853 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index e1d6d229..61dcba33 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a04e75cc..6b7d02ce 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 7f8a2517..2a4e21b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index acd87f26..7d3fa8d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 077f0bed..a32a9ede 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -425,6 +425,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 +437,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); }, @@ -561,6 +569,10 @@ 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index e1e9af84..124b5d78 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 3c0eb743..c8e2a53c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.161.231124", + sdkVersion: "1.162.231208", requestGetParams: { - sdk: "JavaScriptSDK-1.161.231124" + sdk: "JavaScriptSDK-1.162.231208" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.161.231124"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.162.231208"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f10cb271..b58fa262 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -727,6 +727,20 @@ 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; @@ -1665,6 +1679,16 @@ declare module PlayFabAdminModels { } + 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; @@ -2517,6 +2541,7 @@ declare module PlayFabAdminModels { | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" + | "LeaderboardMaxSizeTooLarge" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2560,6 +2585,7 @@ declare module PlayFabAdminModels { | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" + | "InvalidCatalogItemConfiguration" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" @@ -4720,8 +4746,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. */ @@ -4740,6 +4770,8 @@ declare module PlayFabAdminModels { IncrementPlayerStatisticAction?: IncrementPlayerStatisticSegmentAction; /** Push notification segment trigger action. */ PushNotificationAction?: PushNotificationSegmentAction; + /** Subtract inventory item v2 segment trigger action. */ + SubtractInventoryItemsV2Action?: SubtractInventoryItemsV2SegmentAction; } @@ -5001,6 +5033,20 @@ 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; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index d2a23d45..753a2bb0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -239,6 +239,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobby */ JoinLobby(request: PlayFabMultiplayerModels.JoinLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Preview: Join a lobby as a server entity. This is restricted to client lobbies which are using connections. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/joinlobbyasserver + */ + JoinLobbyAsServer(request: PlayFabMultiplayerModels.JoinLobbyAsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Join a matchmaking ticket. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/joinmatchmakingticket @@ -249,6 +254,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobby */ LeaveLobby(request: PlayFabMultiplayerModels.LeaveLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Preview: Request for server to leave a lobby. This is restricted to client owned lobbies which are using connections. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/leavelobbyasserver + */ + LeaveLobbyAsServer(request: PlayFabMultiplayerModels.LeaveLobbyAsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists archived multiplayer server sessions for a build. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listarchivedmultiplayerservers @@ -413,6 +423,13 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobby */ UpdateLobby(request: PlayFabMultiplayerModels.UpdateLobbyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Preview: Update fields related to a joined server in the lobby the server is in. Servers can keep a lobby from expiring + * by being the one to "update" the lobby in some way. Servers have no impact on last member leave/last member disconnect + * behavior. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/lobby/updatelobbyasserver + */ + UpdateLobbyAsServer(request: PlayFabMultiplayerModels.UpdateLobbyAsServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Uploads a multiplayer server game certificate. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate @@ -2098,6 +2115,41 @@ declare module PlayFabMultiplayerModels { } + export interface JoinLobbyAsServerRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * A field which indicates which lobby the game_server will be joining. This field is opaque to everyone except the Lobby + * service. + */ + ConnectionString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The private key-value pairs which are visible to all entities in the lobby but can only be modified by the joined + * server.At most 30 key - value pairs may be stored here, keys are limited to 30 characters and values to 1000.The total + * size of all serverData values may not exceed 4096 bytes. + */ + ServerData?: { [key: string]: string | null }; + /** + * The game_server entity which is joining the Lobby. If a different game_server entity has already joined the request will + * fail unless the joined entity is disconnected, in which case the incoming game_server entity will replace the + * disconnected entity. + */ + ServerEntity: EntityKey; + + } + + export interface JoinLobbyAsServerResult extends PlayFabModule.IPlayFabResultCommon { + /** Successfully joined lobby's id. */ + LobbyId: string; + /** + * A setting that describes the state of the ServerData after JoinLobbyAsServer call is completed. It is "Initialized", the + * first time a server joins the lobby. It is "Ignored" in any subsequent JoinLobbyAsServer calls after it has been + * initialized. Any new server taking over should call UpdateLobbyAsServer to update ServerData fields. + */ + ServerDataStatus: string; + + } + export interface JoinLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { /** A field which indicates which lobby the user will be joining. This field is opaque to everyone except the Lobby service. */ ConnectionString?: string; @@ -2136,6 +2188,19 @@ declare module PlayFabMultiplayerModels { } + export interface LeaveLobbyAsServerRequest 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 id of the lobby. */ + LobbyId: string; + /** + * The game_server entity leaving the lobby. If the game_server was subscribed to notifications, it will be unsubscribed. + * If a the given game_server entity is not in the lobby, it will fail. + */ + ServerEntity: EntityKey; + + } + export interface LeaveLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3001,6 +3066,10 @@ declare module PlayFabMultiplayerModels { } + type ServerDataStatus = "Initialized" + + | "Ignored"; + export interface ServerDetails { /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ Fqdn?: string; @@ -3357,6 +3426,33 @@ declare module PlayFabMultiplayerModels { } + export interface UpdateLobbyAsServerRequest 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 id of the lobby. */ + LobbyId: string; + /** + * The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined + * server). When changing the server the previous server will automatically be unsubscribed. + */ + Server?: EntityKey; + /** + * The private key-value pairs which are visible to all entities in the lobby and modifiable by the joined server. + * Optional. Sets or updates key-value pairs on the lobby. Only the current lobby lobby server can set serverData. Keys may + * be an arbitrary string of at most 30 characters. The total size of all serverData values may not exceed 4096 bytes. + * Values are not individually limited. There can be up to 30 key-value pairs stored here. Keys are case sensitive. + */ + ServerData?: { [key: string]: string | null }; + /** + * The keys to delete from the lobby serverData. Optional. Optional. Deletes key-value pairs on the lobby. Only the current + * joined lobby server can delete serverData. All the specified keys will be removed from the serverData. Keys that do not + * exist in the lobby are a no-op. If the key to delete exists in the serverData (same request) it will result in a bad + * request. + */ + ServerDataToDelete?: string[]; + + } + export interface UpdateLobbyRequest extends PlayFabModule.IPlayFabRequestCommon { /** * The policy indicating who is allowed to join the lobby, and the visibility to queries. May be 'Public', 'Friends' or diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 40a1c24e..16681d2b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2357,6 +2357,7 @@ declare module PlayFabServerModels { | "LeaderboardColumnLengthMismatch" | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" + | "LeaderboardMaxSizeTooLarge" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2400,6 +2401,7 @@ declare module PlayFabServerModels { | "CatalogItemTypeInvalid" | "CatalogBadRequest" | "CatalogTooManyRequests" + | "InvalidCatalogItemConfiguration" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" From 887c7e1e84881fb35fa0ef44486e23a7ec8bd312 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 9 Jan 2024 23:52:02 +0000 Subject: [PATCH 192/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240105 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 21 ++++++++++++++++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 21 ++++++++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 21 ++++++++++++++++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 21 ++++++++++++++++++- 33 files changed, 193 insertions(+), 117 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 34c94b85..c75da764 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.162.231208", + "version": "1.163.240105", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index c77ed9e4..734bb3e1 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 4225092f..60649bbe 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e9456938..0ed0739a 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index bb25b6cb..22f9882e 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 90eab54b..0134bcb9 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 67dc21c8..6a8e6efe 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 213a6853..d5063f13 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 61dcba33..2bacdc36 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 6b7d02ce..29f06de8 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2a4e21b4..dc23bd38 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7d3fa8d5..9f0dcb83 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a32a9ede..41751ad7 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 124b5d78..eff6a510 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c8e2a53c..0bf3eb6e 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.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b58fa262..6cf58c32 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2542,6 +2542,7 @@ declare module PlayFabAdminModels { | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" + | "InvalidAttributeStatisticsSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2717,6 +2718,8 @@ declare module PlayFabAdminModels { | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" | "EventSinkTitleUnauthorized" + | "EventSinkInsufficientRoleAssignment" + | "EventSinkContainerNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2739,7 +2742,23 @@ declare module PlayFabAdminModels { | "AddonDoesntExist" | "CopilotDisabled" | "CopilotInvalidRequest" - | "TrueSkillUnauthorized"; + | "TrueSkillUnauthorized" + | "TrueSkillBadRequest" + | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillDuplicatePlayerInMatchResult" + | "TrueSkillInvalidRanksInMatchResult" + | "TrueSkillNoWinnerInMatchResult" + | "TrueSkillMissingRequiredConditionInMatchResult" + | "TrueSkillMissingRequiredEventInMatchResult" + | "TrueSkillUnknownEventInMatchResult" + | "TrueSkillUnknownConditionName" + | "TrueSkillUnknownConditionValue" + | "TrueSkillUnknownScenarioId" + | "TrueSkillUnknownModelId" + | "TrueSkillNoActiveModelInScenario" + | "StateShareUnauthorized" + | "StateShareStateNotFound" + | "StateShareLinkNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 16681d2b..0ba0a329 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2358,6 +2358,7 @@ declare module PlayFabServerModels { | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" + | "InvalidAttributeStatisticsSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2533,6 +2534,8 @@ declare module PlayFabServerModels { | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" | "EventSinkTitleUnauthorized" + | "EventSinkInsufficientRoleAssignment" + | "EventSinkContainerNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2555,7 +2558,23 @@ declare module PlayFabServerModels { | "AddonDoesntExist" | "CopilotDisabled" | "CopilotInvalidRequest" - | "TrueSkillUnauthorized"; + | "TrueSkillUnauthorized" + | "TrueSkillBadRequest" + | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillDuplicatePlayerInMatchResult" + | "TrueSkillInvalidRanksInMatchResult" + | "TrueSkillNoWinnerInMatchResult" + | "TrueSkillMissingRequiredConditionInMatchResult" + | "TrueSkillMissingRequiredEventInMatchResult" + | "TrueSkillUnknownEventInMatchResult" + | "TrueSkillUnknownConditionName" + | "TrueSkillUnknownConditionValue" + | "TrueSkillUnknownScenarioId" + | "TrueSkillUnknownModelId" + | "TrueSkillNoActiveModelInScenario" + | "StateShareUnauthorized" + | "StateShareStateNotFound" + | "StateShareLinkNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index c77ed9e4..734bb3e1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 4225092f..60649bbe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e9456938..0ed0739a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index bb25b6cb..22f9882e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 90eab54b..0134bcb9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 67dc21c8..6a8e6efe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 213a6853..d5063f13 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 61dcba33..2bacdc36 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 6b7d02ce..29f06de8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2a4e21b4..dc23bd38 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7d3fa8d5..9f0dcb83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a32a9ede..41751ad7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 124b5d78..eff6a510 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c8e2a53c..0bf3eb6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.162.231208", + sdkVersion: "1.163.240105", requestGetParams: { - sdk: "JavaScriptSDK-1.162.231208" + sdk: "JavaScriptSDK-1.163.240105" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.162.231208"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.163.240105"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b58fa262..6cf58c32 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2542,6 +2542,7 @@ declare module PlayFabAdminModels { | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" + | "InvalidAttributeStatisticsSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2717,6 +2718,8 @@ declare module PlayFabAdminModels { | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" | "EventSinkTitleUnauthorized" + | "EventSinkInsufficientRoleAssignment" + | "EventSinkContainerNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2739,7 +2742,23 @@ declare module PlayFabAdminModels { | "AddonDoesntExist" | "CopilotDisabled" | "CopilotInvalidRequest" - | "TrueSkillUnauthorized"; + | "TrueSkillUnauthorized" + | "TrueSkillBadRequest" + | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillDuplicatePlayerInMatchResult" + | "TrueSkillInvalidRanksInMatchResult" + | "TrueSkillNoWinnerInMatchResult" + | "TrueSkillMissingRequiredConditionInMatchResult" + | "TrueSkillMissingRequiredEventInMatchResult" + | "TrueSkillUnknownEventInMatchResult" + | "TrueSkillUnknownConditionName" + | "TrueSkillUnknownConditionValue" + | "TrueSkillUnknownScenarioId" + | "TrueSkillUnknownModelId" + | "TrueSkillNoActiveModelInScenario" + | "StateShareUnauthorized" + | "StateShareStateNotFound" + | "StateShareLinkNotFound"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 16681d2b..0ba0a329 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2358,6 +2358,7 @@ declare module PlayFabServerModels { | "InvalidStatisticScore" | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" + | "InvalidAttributeStatisticsSpecified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2533,6 +2534,8 @@ declare module PlayFabServerModels { | "EventSinkAadNotFound" | "EventSinkDatabaseNotFound" | "EventSinkTitleUnauthorized" + | "EventSinkInsufficientRoleAssignment" + | "EventSinkContainerNotFound" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2555,7 +2558,23 @@ declare module PlayFabServerModels { | "AddonDoesntExist" | "CopilotDisabled" | "CopilotInvalidRequest" - | "TrueSkillUnauthorized"; + | "TrueSkillUnauthorized" + | "TrueSkillBadRequest" + | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillDuplicatePlayerInMatchResult" + | "TrueSkillInvalidRanksInMatchResult" + | "TrueSkillNoWinnerInMatchResult" + | "TrueSkillMissingRequiredConditionInMatchResult" + | "TrueSkillMissingRequiredEventInMatchResult" + | "TrueSkillUnknownEventInMatchResult" + | "TrueSkillUnknownConditionName" + | "TrueSkillUnknownConditionValue" + | "TrueSkillUnknownScenarioId" + | "TrueSkillUnknownModelId" + | "TrueSkillNoActiveModelInScenario" + | "StateShareUnauthorized" + | "StateShareStateNotFound" + | "StateShareLinkNotFound"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ From ea684e1c8694fe437a8a97eb09dc74365e97a4f6 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 22 Jan 2024 18:42:51 +0000 Subject: [PATCH 193/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240119 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 34 +++++++++++-------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 34 +++++++++++-------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ 35 files changed, 159 insertions(+), 143 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c75da764..cfe11ce1 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.163.240105", + "version": "1.165.240119", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 734bb3e1..791ccde2 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 60649bbe..61012d04 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 0ed0739a..e57eb0ef 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 22f9882e..2ecbf382 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 0134bcb9..f962d670 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 6a8e6efe..01ebc5b9 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d5063f13..6b7069b1 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 2bacdc36..26a18e9a 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 29f06de8..a7e46c19 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index dc23bd38..a9ff67af 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 9f0dcb83..d08025d5 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 41751ad7..9db58ef3 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index eff6a510..40f126d5 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0bf3eb6e..cfd24cb8 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.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 6cf58c32..22082a56 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2543,6 +2543,8 @@ declare module PlayFabAdminModels { | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" | "InvalidAttributeStatisticsSpecified" + | "LeaderboardNotFound" + | "TokenSigningKeyNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 753a2bb0..e58706d0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2141,12 +2141,6 @@ declare module PlayFabMultiplayerModels { export interface JoinLobbyAsServerResult extends PlayFabModule.IPlayFabResultCommon { /** Successfully joined lobby's id. */ LobbyId: string; - /** - * A setting that describes the state of the ServerData after JoinLobbyAsServer call is completed. It is "Initialized", the - * first time a server joins the lobby. It is "Ignored" in any subsequent JoinLobbyAsServer calls after it has been - * initialized. Any new server taking over should call UpdateLobbyAsServer to update ServerData fields. - */ - ServerDataStatus: string; } @@ -2463,6 +2457,8 @@ declare module PlayFabMultiplayerModels { * deployed for the title. */ IncludeAllRegions?: boolean; + /** Indicates the Routing Preference used by the Qos servers. The default Routing Preference is Microsoft */ + RoutingPreference?: string; } @@ -2559,6 +2555,8 @@ declare module PlayFabMultiplayerModels { PubSubConnectionHandle?: string; /** Search data. */ SearchData?: { [key: string]: string | null }; + /** Preview: Lobby joined server. This is not the server owner, rather the server that has joined a client owned lobby. */ + Server?: LobbyServer; /** A flag which determines if connections are used. Defaults to true. Only set on create. */ UseConnections: boolean; @@ -2568,6 +2566,16 @@ declare module PlayFabMultiplayerModels { } + export interface LobbyServer { + /** Opaque string, stored on a Subscribe call, which indicates the connection a joined server has with PubSub. */ + PubSubConnectionHandle?: string; + /** Key-value pairs specific to the joined server. */ + ServerData?: { [key: string]: string | null }; + /** The server entity key. */ + ServerEntity?: EntityKey; + + } + export interface LobbySummary { /** * A string used to join the lobby.This field is populated by the Lobby service.Invites are performed by communicating this @@ -3066,10 +3074,6 @@ declare module PlayFabMultiplayerModels { } - type ServerDataStatus = "Initialized" - - | "Ignored"; - export interface ServerDetails { /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ Fqdn?: string; @@ -3431,11 +3435,6 @@ declare module PlayFabMultiplayerModels { CustomTags?: { [key: string]: string | null }; /** The id of the lobby. */ LobbyId: string; - /** - * The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined - * server). When changing the server the previous server will automatically be unsubscribed. - */ - Server?: EntityKey; /** * The private key-value pairs which are visible to all entities in the lobby and modifiable by the joined server. * Optional. Sets or updates key-value pairs on the lobby. Only the current lobby lobby server can set serverData. Keys may @@ -3450,6 +3449,11 @@ declare module PlayFabMultiplayerModels { * request. */ ServerDataToDelete?: string[]; + /** + * The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined + * server). When changing the server the previous server will automatically be unsubscribed. + */ + ServerEntity?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 0ba0a329..07760cfa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2359,6 +2359,8 @@ declare module PlayFabServerModels { | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" | "InvalidAttributeStatisticsSpecified" + | "LeaderboardNotFound" + | "TokenSigningKeyNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 734bb3e1..791ccde2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 60649bbe..61012d04 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 0ed0739a..e57eb0ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 22f9882e..2ecbf382 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 0134bcb9..f962d670 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 6a8e6efe..01ebc5b9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d5063f13..6b7069b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 2bacdc36..26a18e9a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 29f06de8..a7e46c19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index dc23bd38..a9ff67af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 9f0dcb83..d08025d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 41751ad7..9db58ef3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index eff6a510..40f126d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0bf3eb6e..cfd24cb8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.163.240105", + sdkVersion: "1.165.240119", requestGetParams: { - sdk: "JavaScriptSDK-1.163.240105" + sdk: "JavaScriptSDK-1.165.240119" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.163.240105"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.165.240119"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 6cf58c32..22082a56 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2543,6 +2543,8 @@ declare module PlayFabAdminModels { | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" | "InvalidAttributeStatisticsSpecified" + | "LeaderboardNotFound" + | "TokenSigningKeyNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 753a2bb0..e58706d0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2141,12 +2141,6 @@ declare module PlayFabMultiplayerModels { export interface JoinLobbyAsServerResult extends PlayFabModule.IPlayFabResultCommon { /** Successfully joined lobby's id. */ LobbyId: string; - /** - * A setting that describes the state of the ServerData after JoinLobbyAsServer call is completed. It is "Initialized", the - * first time a server joins the lobby. It is "Ignored" in any subsequent JoinLobbyAsServer calls after it has been - * initialized. Any new server taking over should call UpdateLobbyAsServer to update ServerData fields. - */ - ServerDataStatus: string; } @@ -2463,6 +2457,8 @@ declare module PlayFabMultiplayerModels { * deployed for the title. */ IncludeAllRegions?: boolean; + /** Indicates the Routing Preference used by the Qos servers. The default Routing Preference is Microsoft */ + RoutingPreference?: string; } @@ -2559,6 +2555,8 @@ declare module PlayFabMultiplayerModels { PubSubConnectionHandle?: string; /** Search data. */ SearchData?: { [key: string]: string | null }; + /** Preview: Lobby joined server. This is not the server owner, rather the server that has joined a client owned lobby. */ + Server?: LobbyServer; /** A flag which determines if connections are used. Defaults to true. Only set on create. */ UseConnections: boolean; @@ -2568,6 +2566,16 @@ declare module PlayFabMultiplayerModels { } + export interface LobbyServer { + /** Opaque string, stored on a Subscribe call, which indicates the connection a joined server has with PubSub. */ + PubSubConnectionHandle?: string; + /** Key-value pairs specific to the joined server. */ + ServerData?: { [key: string]: string | null }; + /** The server entity key. */ + ServerEntity?: EntityKey; + + } + export interface LobbySummary { /** * A string used to join the lobby.This field is populated by the Lobby service.Invites are performed by communicating this @@ -3066,10 +3074,6 @@ declare module PlayFabMultiplayerModels { } - type ServerDataStatus = "Initialized" - - | "Ignored"; - export interface ServerDetails { /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ Fqdn?: string; @@ -3431,11 +3435,6 @@ declare module PlayFabMultiplayerModels { CustomTags?: { [key: string]: string | null }; /** The id of the lobby. */ LobbyId: string; - /** - * The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined - * server). When changing the server the previous server will automatically be unsubscribed. - */ - Server?: EntityKey; /** * The private key-value pairs which are visible to all entities in the lobby and modifiable by the joined server. * Optional. Sets or updates key-value pairs on the lobby. Only the current lobby lobby server can set serverData. Keys may @@ -3450,6 +3449,11 @@ declare module PlayFabMultiplayerModels { * request. */ ServerDataToDelete?: string[]; + /** + * The lobby server. Optional. Set a different server as the joined server of the lobby (there can only be 1 joined + * server). When changing the server the previous server will automatically be unsubscribed. + */ + ServerEntity?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 0ba0a329..07760cfa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2359,6 +2359,8 @@ declare module PlayFabServerModels { | "LeaderboardColumnsNotSpecified" | "LeaderboardMaxSizeTooLarge" | "InvalidAttributeStatisticsSpecified" + | "LeaderboardNotFound" + | "TokenSigningKeyNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 842af2337cd1bc0ff3461442153483395334850b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 5 Feb 2024 18:41:06 +0000 Subject: [PATCH 194/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240202 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 12 ++++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 33 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 33 +++++++++++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 12 ++++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 33 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 33 +++++++++++++++++++ 33 files changed, 261 insertions(+), 113 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index cfe11ce1..d5a4b7d6 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.165.240119", + "version": "1.166.240202", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 791ccde2..31b39483 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 61012d04..216441e8 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e57eb0ef..da0fab7e 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -461,6 +461,10 @@ PlayFab.ClientApi = { 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 2ecbf382..89a6b399 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f962d670..97a7d00c 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 01ebc5b9..e11810e1 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6b7069b1..02c26b6e 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 26a18e9a..5d5200ac 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a7e46c19..d11cbe0b 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index a9ff67af..1f755fef 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index d08025d5..790d0661 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9db58ef3..05be388f 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 40f126d5..108f13a4 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index cfd24cb8..5ffa38d0 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.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -425,6 +425,10 @@ PlayFab.ServerApi = { 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); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 261f1e7d..98ac3a84 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -322,6 +322,11 @@ declare module PlayFabClientModule { * 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. @@ -2723,6 +2728,23 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ + PSNOnlineIDs: string[]; + + } + + export interface GetPlayFabIDsFromPSNOnlineIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ + Data?: PSNOnlinePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4168,6 +4190,17 @@ declare module PlayFabClientModels { } + export interface PSNOnlinePlayFabIdPair { + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ + PlayFabId?: string; + /** Unique PlayStation :tm: Network identifier for a user. */ + PSNOnlineId?: string; + + } + export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 07760cfa..f0529327 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -271,6 +271,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.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/server/account-management/getplayfabidsfrompsnonlineids + */ + GetPlayFabIDsFromPSNOnlineIDs(request: PlayFabServerModels.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. @@ -3181,6 +3186,23 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ + PSNOnlineIDs: string[]; + + } + + export interface GetPlayFabIDsFromPSNOnlineIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ + Data?: PSNOnlinePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4224,6 +4246,17 @@ declare module PlayFabServerModels { } + export interface PSNOnlinePlayFabIdPair { + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ + PlayFabId?: string; + /** Unique PlayStation :tm: Network identifier for a user. */ + PSNOnlineId?: string; + + } + export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 791ccde2..31b39483 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 61012d04..216441e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e57eb0ef..da0fab7e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -461,6 +461,10 @@ PlayFab.ClientApi = { 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 2ecbf382..89a6b399 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f962d670..97a7d00c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 01ebc5b9..e11810e1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6b7069b1..02c26b6e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 26a18e9a..5d5200ac 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a7e46c19..d11cbe0b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index a9ff67af..1f755fef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index d08025d5..790d0661 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9db58ef3..05be388f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 40f126d5..108f13a4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index cfd24cb8..5ffa38d0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.165.240119", + sdkVersion: "1.166.240202", requestGetParams: { - sdk: "JavaScriptSDK-1.165.240119" + sdk: "JavaScriptSDK-1.166.240202" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.165.240119"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.166.240202"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -425,6 +425,10 @@ PlayFab.ServerApi = { 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); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 261f1e7d..98ac3a84 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -322,6 +322,11 @@ declare module PlayFabClientModule { * 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. @@ -2723,6 +2728,23 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ + PSNOnlineIDs: string[]; + + } + + export interface GetPlayFabIDsFromPSNOnlineIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ + Data?: PSNOnlinePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4168,6 +4190,17 @@ declare module PlayFabClientModels { } + export interface PSNOnlinePlayFabIdPair { + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ + PlayFabId?: string; + /** Unique PlayStation :tm: Network identifier for a user. */ + PSNOnlineId?: string; + + } + export interface PurchaseItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** Catalog version for the items to be purchased (defaults to most recent version. */ CatalogVersion?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 07760cfa..f0529327 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -271,6 +271,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids */ GetPlayFabIDsFromPSNAccountIDs(request: PlayFabServerModels.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/server/account-management/getplayfabidsfrompsnonlineids + */ + GetPlayFabIDsFromPSNOnlineIDs(request: PlayFabServerModels.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. @@ -3181,6 +3186,23 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** + * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array + * cannot exceed 2,000 in length. + */ + PSNOnlineIDs: string[]; + + } + + export interface GetPlayFabIDsFromPSNOnlineIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of PlayStation :tm: Network identifiers to PlayFab identifiers. */ + Data?: PSNOnlinePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4224,6 +4246,17 @@ declare module PlayFabServerModels { } + export interface PSNOnlinePlayFabIdPair { + /** + * Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the PlayStation :tm: Network + * identifier. + */ + PlayFabId?: string; + /** Unique PlayStation :tm: Network identifier for a user. */ + PSNOnlineId?: string; + + } + export interface PushNotificationPackage { /** Numerical badge to display on App icon (iOS only) */ Badge: number; From f1e7eb5e5fcec0cd1b53615c038f38a841ee9706 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 5 Mar 2024 00:23:43 +0000 Subject: [PATCH 195/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240301 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 3 +++ .../src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++++ .../src/Typings/PlayFab/PlayFabProfilesApi.d.ts | 14 -------------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 3 +++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 3 +++ .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++++ .../src/typings/PlayFab/PlayFabProfilesApi.d.ts | 14 -------------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 3 +++ 37 files changed, 133 insertions(+), 141 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index d5a4b7d6..14f538b3 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.166.240202", + "version": "1.167.240301", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 31b39483..28d046d5 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 216441e8..fcd4d102 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index da0fab7e..bf039a31 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 89a6b399..9988aba7 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 97a7d00c..fadc35c8 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index e11810e1..40edd1d3 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 02c26b6e..63bc6c01 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 5d5200ac..2aab0edd 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d11cbe0b..4bdbbce3 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 1f755fef..60fbe7de 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 790d0661..3636a373 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 05be388f..9caa94a2 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 108f13a4..73bf6897 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5ffa38d0..79b7ecd1 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.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 22082a56..3b0a3a33 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2545,6 +2545,9 @@ declare module PlayFabAdminModels { | "InvalidAttributeStatisticsSpecified" | "LeaderboardNotFound" | "TokenSigningKeyNotFound" + | "LeaderboardNameConflict" + | "LinkedStatisticColumnMismatch" + | "NoLinkedStatisticToLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 31e9d94e..d23ef5e1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1657,6 +1657,10 @@ declare module PlayFabEconomyModels { } + export interface RealMoneyPriceDetails { + + } + export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 3bb525f7..96e73a36 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -155,27 +155,13 @@ declare module PlayFabProfilesModels { } - export interface EntityStatisticAttributeValue { - /** Metadata associated with the Statistic. */ - Metadata?: string; - /** Attribute name. */ - Name?: string; - /** Attribute Statistic scores. */ - Scores?: string[]; - - } - export interface EntityStatisticValue { - /** Attribute Statistic values. */ - AttributeStatistics?: { [key: string]: EntityStatisticAttributeValue }; /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ Name?: string; /** Statistic scores */ Scores?: string[]; - /** Statistic value */ - Value?: number; /** Statistic version */ Version: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f0529327..cbf7df91 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2366,6 +2366,9 @@ declare module PlayFabServerModels { | "InvalidAttributeStatisticsSpecified" | "LeaderboardNotFound" | "TokenSigningKeyNotFound" + | "LeaderboardNameConflict" + | "LinkedStatisticColumnMismatch" + | "NoLinkedStatisticToLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 31b39483..28d046d5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 216441e8..fcd4d102 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index da0fab7e..bf039a31 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 89a6b399..9988aba7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 97a7d00c..fadc35c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index e11810e1..40edd1d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 02c26b6e..63bc6c01 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 5d5200ac..2aab0edd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d11cbe0b..4bdbbce3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 1f755fef..60fbe7de 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 790d0661..3636a373 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 05be388f..9caa94a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 108f13a4..73bf6897 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5ffa38d0..79b7ecd1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.166.240202", + sdkVersion: "1.167.240301", requestGetParams: { - sdk: "JavaScriptSDK-1.166.240202" + sdk: "JavaScriptSDK-1.167.240301" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.166.240202"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.167.240301"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 22082a56..3b0a3a33 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2545,6 +2545,9 @@ declare module PlayFabAdminModels { | "InvalidAttributeStatisticsSpecified" | "LeaderboardNotFound" | "TokenSigningKeyNotFound" + | "LeaderboardNameConflict" + | "LinkedStatisticColumnMismatch" + | "NoLinkedStatisticToLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 31e9d94e..d23ef5e1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1657,6 +1657,10 @@ declare module PlayFabEconomyModels { } + export interface RealMoneyPriceDetails { + + } + export interface RedeemAppleAppStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 3bb525f7..96e73a36 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -155,27 +155,13 @@ declare module PlayFabProfilesModels { } - export interface EntityStatisticAttributeValue { - /** Metadata associated with the Statistic. */ - Metadata?: string; - /** Attribute name. */ - Name?: string; - /** Attribute Statistic scores. */ - Scores?: string[]; - - } - export interface EntityStatisticValue { - /** Attribute Statistic values. */ - AttributeStatistics?: { [key: string]: EntityStatisticAttributeValue }; /** Metadata associated with the Statistic. */ Metadata?: string; /** Statistic name */ Name?: string; /** Statistic scores */ Scores?: string[]; - /** Statistic value */ - Value?: number; /** Statistic version */ Version: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f0529327..cbf7df91 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2366,6 +2366,9 @@ declare module PlayFabServerModels { | "InvalidAttributeStatisticsSpecified" | "LeaderboardNotFound" | "TokenSigningKeyNotFound" + | "LeaderboardNameConflict" + | "LinkedStatisticColumnMismatch" + | "NoLinkedStatisticToLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 8f18123c34d36211fa542545b69ffdb20bc48211 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 18 Mar 2024 18:56:58 +0000 Subject: [PATCH 196/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240315 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 8 ++++++++ .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 20 ++++++++++++++++--- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 8 ++++++++ .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 8 ++++++++ .../typings/PlayFab/PlayFabEconomyApi.d.ts | 20 ++++++++++++++++--- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 8 ++++++++ 35 files changed, 179 insertions(+), 119 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 14f538b3..96c45673 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.167.240301", + "version": "1.168.240315", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 28d046d5..11661749 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index fcd4d102..4c8399c9 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index bf039a31..adcf191c 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 9988aba7..ccf457f7 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index fadc35c8..8ebebd15 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 40edd1d3..a53ffb67 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 63bc6c01..6557e10e 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 2aab0edd..07dfca72 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 4bdbbce3..1c5bb258 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 60fbe7de..56f6bdce 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 3636a373..e656b613 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9caa94a2..ff3a4d97 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 73bf6897..b03adf7a 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 79b7ecd1..f3935a5d 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.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3b0a3a33..6fcd8228 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -851,6 +851,8 @@ declare module PlayFabAdminModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; + /** Whether or not the Microsoft family members are included in the ban. */ + IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -879,6 +881,8 @@ declare module PlayFabAdminModels { export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2548,6 +2552,8 @@ declare module PlayFabAdminModels { | "LeaderboardNameConflict" | "LinkedStatisticColumnMismatch" | "NoLinkedStatisticToLeaderboard" + | "StatDefinitionAlreadyLinkedToLeaderboard" + | "LinkingStatsNotAllowedForEntityType" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -5176,6 +5182,8 @@ declare module PlayFabAdminModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index d23ef5e1..b77392d4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -245,9 +245,7 @@ declare module PlayFabEconomyModule { /** * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = - * 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the - * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found - * here: + * 'InProgress'. More information about item transfer scenarios can be found here: * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ @@ -1387,6 +1385,11 @@ declare module PlayFabEconomyModels { * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ Filter?: string; + /** + * An OData orderby to order TransactionHistory results. The only supported values are 'timestamp asc' or 'timestamp desc'. + * Default orderby is 'timestamp asc' + */ + OrderBy?: string; } @@ -1512,6 +1515,15 @@ declare module PlayFabEconomyModels { } + export interface Permissions { + /** + * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player + * must be in at least one of the segments listed for the purchase to be allowed. + */ + SegmentIds?: string[]; + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1987,6 +1999,8 @@ declare module PlayFabEconomyModels { export interface StoreDetails { /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ FilterOptions?: FilterOptions; + /** The permissions that control which players can purchase from the store. */ + Permissions?: Permissions; /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ PriceOptionsOverride?: CatalogPriceOptionsOverride; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index cbf7df91..4703e982 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -934,6 +934,8 @@ declare module PlayFabServerModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; + /** Whether or not the Microsoft family members are included in the ban. */ + IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -946,6 +948,8 @@ declare module PlayFabServerModels { export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2369,6 +2373,8 @@ declare module PlayFabServerModels { | "LeaderboardNameConflict" | "LinkedStatisticColumnMismatch" | "NoLinkedStatisticToLeaderboard" + | "StatDefinitionAlreadyLinkedToLeaderboard" + | "LinkingStatsNotAllowedForEntityType" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4982,6 +4988,8 @@ declare module PlayFabServerModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 28d046d5..11661749 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index fcd4d102..4c8399c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index bf039a31..adcf191c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 9988aba7..ccf457f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index fadc35c8..8ebebd15 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 40edd1d3..a53ffb67 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 63bc6c01..6557e10e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 2aab0edd..07dfca72 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 4bdbbce3..1c5bb258 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 60fbe7de..56f6bdce 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 3636a373..e656b613 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9caa94a2..ff3a4d97 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 73bf6897..b03adf7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 79b7ecd1..f3935a5d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.167.240301", + sdkVersion: "1.168.240315", requestGetParams: { - sdk: "JavaScriptSDK-1.167.240301" + sdk: "JavaScriptSDK-1.168.240315" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.167.240301"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.168.240315"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3b0a3a33..6fcd8228 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -851,6 +851,8 @@ declare module PlayFabAdminModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; + /** Whether or not the Microsoft family members are included in the ban. */ + IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -879,6 +881,8 @@ declare module PlayFabAdminModels { export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2548,6 +2552,8 @@ declare module PlayFabAdminModels { | "LeaderboardNameConflict" | "LinkedStatisticColumnMismatch" | "NoLinkedStatisticToLeaderboard" + | "StatDefinitionAlreadyLinkedToLeaderboard" + | "LinkingStatsNotAllowedForEntityType" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -5176,6 +5182,8 @@ declare module PlayFabAdminModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index d23ef5e1..b77392d4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -245,9 +245,7 @@ declare module PlayFabEconomyModule { /** * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = - * 'InProgress'. You can check on the operation status at anytime within 30 days of the request by passing the - * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found - * here: + * 'InProgress'. More information about item transfer scenarios can be found here: * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ @@ -1387,6 +1385,11 @@ declare module PlayFabEconomyModels { * and (apiname eq 'AddInventoryItems')". By default, a 6 month timespan from the current date is used. */ Filter?: string; + /** + * An OData orderby to order TransactionHistory results. The only supported values are 'timestamp asc' or 'timestamp desc'. + * Default orderby is 'timestamp asc' + */ + OrderBy?: string; } @@ -1512,6 +1515,15 @@ declare module PlayFabEconomyModels { } + export interface Permissions { + /** + * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player + * must be in at least one of the segments listed for the purchase to be allowed. + */ + SegmentIds?: string[]; + + } + export interface PublishDraftItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -1987,6 +1999,8 @@ declare module PlayFabEconomyModels { export interface StoreDetails { /** The options for the filter in filter-based stores. These options are mutually exclusive with item references. */ FilterOptions?: FilterOptions; + /** The permissions that control which players can purchase from the store. */ + Permissions?: Permissions; /** The global prices utilized in the store. These options are mutually exclusive with price options in item references. */ PriceOptionsOverride?: CatalogPriceOptionsOverride; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index cbf7df91..4703e982 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -934,6 +934,8 @@ declare module PlayFabServerModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; + /** Whether or not the Microsoft family members are included in the ban. */ + IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -946,6 +948,8 @@ declare module PlayFabServerModels { export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; + /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ + IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ @@ -2369,6 +2373,8 @@ declare module PlayFabServerModels { | "LeaderboardNameConflict" | "LinkedStatisticColumnMismatch" | "NoLinkedStatisticToLeaderboard" + | "StatDefinitionAlreadyLinkedToLeaderboard" + | "LinkingStatsNotAllowedForEntityType" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -4982,6 +4988,8 @@ declare module PlayFabServerModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; + /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ + IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ From a011e68d7c7e90cee2b8480397c1158ea45fcae9 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 1 Apr 2024 20:09:48 +0000 Subject: [PATCH 197/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240401 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 16 +++- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 96 ++++++++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 16 +++- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 96 ++++++++++++++++++- 31 files changed, 319 insertions(+), 115 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 96c45673..d119d12f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.168.240315", + "version": "1.169.240401", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 11661749..49279081 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 4c8399c9..24876425 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index adcf191c..70647a80 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ccf457f7..bfe2e5e9 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 8ebebd15..8b68e33a 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index a53ffb67..76811b71 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6557e10e..a0a6cdfa 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 07dfca72..820ba71a 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 1c5bb258..dbbae3d7 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 56f6bdce..1d45b578 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e656b613..72bf3cd4 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index ff3a4d97..2823a85d 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index b03adf7a..294b8028 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f3935a5d..526d75b1 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.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index b77392d4..3b82eaa8 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -52,6 +52,14 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Transfer a list of inventory items. A maximum list of 50 operations can be performed by a single request. When the + * response code is 202, one or more operations did not complete within the timeframe of the request. You can identify the + * pending operations by looking for OperationStatus = 'InProgress'. You can check on the operation status at anytime + * within 1 day of the request by passing the TransactionToken to the GetInventoryOperationStatus API. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executetransferoperations + */ + ExecuteTransferOperations(request: PlayFabEconomyModels.ExecuteTransferOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10 * seconds for this API. More information about the Catalog Config can be found here: @@ -96,6 +104,12 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems */ GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the status of an inventory operation using an OperationToken. You can check on the operation status at anytime + * within 1 day of the request by passing the TransactionToken to the this API. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryoperationstatus + */ + GetInventoryOperationStatus(request: PlayFabEconomyModels.GetInventoryOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when * trying to get recent item updates. However, please note that item references data is cached and may take a few moments @@ -245,7 +259,9 @@ declare module PlayFabEconomyModule { /** * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = - * 'InProgress'. More information about item transfer scenarios can be found here: + * 'InProgress'. You can check on the operation status at anytime within 1 day of the request by passing the + * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + * here: * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ @@ -1025,6 +1041,63 @@ declare module PlayFabEconomyModels { } + export interface ExecuteTransferOperationsRequest 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 inventory collection id the request is transferring from. (Default="default") */ + GivingCollectionId?: string; + /** The entity the request is transferring from. Set to the caller by default. */ + GivingEntity?: EntityKey; + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ + GivingETag?: string; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** + * The transfer operations to run transactionally. The operations will be executed in-order sequentially and will succeed + * or fail as a batch. Up to 50 operations can be added. + */ + Operations?: TransferInventoryItemsOperation[]; + /** The inventory collection id the request is transferring to. (Default="default") */ + ReceivingCollectionId?: string; + /** The entity the request is transferring to. Set to the caller by default. */ + ReceivingEntity?: EntityKey; + + } + + export interface ExecuteTransferOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * ETags are used for concurrency checking when updating resources (before transferring from). This value will be empty if + * the operation has not completed yet. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ + GivingETag?: string; + /** The ids of transactions that occurred as a result of the request's giving action. */ + GivingTransactionIds?: string[]; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** + * The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the + * response code will be 200. Otherwise, it will be 202. + */ + OperationStatus?: string; + /** + * The token that can be used to get the status of the transfer operation. This will only have a value if OperationStatus + * is 'InProgress'. + */ + OperationToken?: string; + /** + * ETags are used for concurrency checking when updating resources (before transferring to). This value will be empty if + * the operation has not completed yet. + */ + ReceivingETag?: string; + /** The ids of transactions that occurred as a result of the request's receiving action. */ + ReceivingTransactionIds?: string[]; + + } + export interface FileConfig { /** * The set of content types that will be used for validation. Each content type can have a maximum character length of 40 @@ -1201,6 +1274,22 @@ declare module PlayFabEconomyModels { } + export interface GetInventoryOperationStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface GetInventoryOperationStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** The inventory operation status. */ + OperationStatus?: string; + + } + export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -2248,6 +2337,11 @@ declare module PlayFabEconomyModels { * response code will be 200. Otherwise, it will be 202. */ OperationStatus?: string; + /** + * The token that can be used to get the status of the transfer operation. This will only have a value if OperationStatus + * is 'InProgress'. + */ + OperationToken?: string; /** The ids of transactions that occurred as a result of the request's receiving action. */ ReceivingTransactionIds?: string[]; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 11661749..49279081 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 4c8399c9..24876425 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index adcf191c..70647a80 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ccf457f7..bfe2e5e9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 8ebebd15..8b68e33a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index a53ffb67..76811b71 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6557e10e..a0a6cdfa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 07dfca72..820ba71a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 1c5bb258..dbbae3d7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 56f6bdce..1d45b578 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e656b613..72bf3cd4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index ff3a4d97..2823a85d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index b03adf7a..294b8028 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f3935a5d..526d75b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.168.240315", + sdkVersion: "1.169.240401", requestGetParams: { - sdk: "JavaScriptSDK-1.168.240315" + sdk: "JavaScriptSDK-1.169.240401" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.168.240315"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.169.240401"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index b77392d4..3b82eaa8 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -52,6 +52,14 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Transfer a list of inventory items. A maximum list of 50 operations can be performed by a single request. When the + * response code is 202, one or more operations did not complete within the timeframe of the request. You can identify the + * pending operations by looking for OperationStatus = 'InProgress'. You can check on the operation status at anytime + * within 1 day of the request by passing the TransactionToken to the GetInventoryOperationStatus API. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executetransferoperations + */ + ExecuteTransferOperations(request: PlayFabEconomyModels.ExecuteTransferOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the configuration for the catalog. Only Title Entities can call this API. There is a limit of 100 requests in 10 * seconds for this API. More information about the Catalog Config can be found here: @@ -96,6 +104,12 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryitems */ GetInventoryItems(request: PlayFabEconomyModels.GetInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the status of an inventory operation using an OperationToken. You can check on the operation status at anytime + * within 1 day of the request by passing the TransactionToken to the this API. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventoryoperationstatus + */ + GetInventoryOperationStatus(request: PlayFabEconomyModels.GetInventoryOperationStatusRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an item from the public catalog. GetItem does not work off a cache of the Catalog and should be used when * trying to get recent item updates. However, please note that item references data is cached and may take a few moments @@ -245,7 +259,9 @@ declare module PlayFabEconomyModule { /** * Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not * complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = - * 'InProgress'. More information about item transfer scenarios can be found here: + * 'InProgress'. You can check on the operation status at anytime within 1 day of the request by passing the + * TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found + * here: * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items * https://docs.microsoft.com/rest/api/playfab/economy/inventory/transferinventoryitems */ @@ -1025,6 +1041,63 @@ declare module PlayFabEconomyModels { } + export interface ExecuteTransferOperationsRequest 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 inventory collection id the request is transferring from. (Default="default") */ + GivingCollectionId?: string; + /** The entity the request is transferring from. Set to the caller by default. */ + GivingEntity?: EntityKey; + /** + * ETags are used for concurrency checking when updating resources. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ + GivingETag?: string; + /** The idempotency id for the request. */ + IdempotencyId?: string; + /** + * The transfer operations to run transactionally. The operations will be executed in-order sequentially and will succeed + * or fail as a batch. Up to 50 operations can be added. + */ + Operations?: TransferInventoryItemsOperation[]; + /** The inventory collection id the request is transferring to. (Default="default") */ + ReceivingCollectionId?: string; + /** The entity the request is transferring to. Set to the caller by default. */ + ReceivingEntity?: EntityKey; + + } + + export interface ExecuteTransferOperationsResponse extends PlayFabModule.IPlayFabResultCommon { + /** + * ETags are used for concurrency checking when updating resources (before transferring from). This value will be empty if + * the operation has not completed yet. More information about using ETags can be found here: + * https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/catalog/etags + */ + GivingETag?: string; + /** The ids of transactions that occurred as a result of the request's giving action. */ + GivingTransactionIds?: string[]; + /** The Idempotency ID for this request. */ + IdempotencyId?: string; + /** + * The transfer operation status. Possible values are 'InProgress' or 'Completed'. If the operation has completed, the + * response code will be 200. Otherwise, it will be 202. + */ + OperationStatus?: string; + /** + * The token that can be used to get the status of the transfer operation. This will only have a value if OperationStatus + * is 'InProgress'. + */ + OperationToken?: string; + /** + * ETags are used for concurrency checking when updating resources (before transferring to). This value will be empty if + * the operation has not completed yet. + */ + ReceivingETag?: string; + /** The ids of transactions that occurred as a result of the request's receiving action. */ + ReceivingTransactionIds?: string[]; + + } + export interface FileConfig { /** * The set of content types that will be used for validation. Each content type can have a maximum character length of 40 @@ -1201,6 +1274,22 @@ declare module PlayFabEconomyModels { } + export interface GetInventoryOperationStatusRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + + } + + export interface GetInventoryOperationStatusResponse extends PlayFabModule.IPlayFabResultCommon { + /** The inventory operation status. */ + OperationStatus?: string; + + } + export interface GetItemContainersRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; @@ -2248,6 +2337,11 @@ declare module PlayFabEconomyModels { * response code will be 200. Otherwise, it will be 202. */ OperationStatus?: string; + /** + * The token that can be used to get the status of the transfer operation. This will only have a value if OperationStatus + * is 'InProgress'. + */ + OperationToken?: string; /** The ids of transactions that occurred as a result of the request's receiving action. */ ReceivingTransactionIds?: string[]; From daf71e1e8089dfebd1d2650e56fe09ab05e13e4b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 17 Apr 2024 17:33:04 +0000 Subject: [PATCH 198/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240412 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 22 ++++++++++++++----- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 22 ++++++++++++++----- .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 8 +++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 22 ++++++++++++++----- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 22 ++++++++++++++----- 35 files changed, 185 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index d119d12f..0a420e1b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.169.240401", + "version": "1.170.240412", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 49279081..68a50847 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 24876425..1d090c2b 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 70647a80..1978a62b 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index bfe2e5e9..7d686f60 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 8b68e33a..99951860 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 76811b71..c9e37432 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a0a6cdfa..39b653c4 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 820ba71a..26450fbc 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index dbbae3d7..efb4025d 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 1d45b578..eabcf3a2 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 72bf3cd4..ea399860 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 2823a85d..367f903c 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 294b8028..06677293 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 526d75b1..67597d0b 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.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 6fcd8228..f29deadf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2759,14 +2759,24 @@ declare module PlayFabAdminModels { | "TrueSkillDuplicatePlayerInMatchResult" | "TrueSkillInvalidRanksInMatchResult" | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredConditionInMatchResult" - | "TrueSkillMissingRequiredEventInMatchResult" - | "TrueSkillUnknownEventInMatchResult" - | "TrueSkillUnknownConditionName" + | "TrueSkillMissingRequiredCondition" + | "TrueSkillMissingRequiredEvent" + | "TrueSkillUnknownEventName" + | "TrueSkillUnknownConditionKey" | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownScenarioId" | "TrueSkillUnknownModelId" - | "TrueSkillNoActiveModelInScenario" + | "TrueSkillNoPlayerInMatchResultTeam" + | "TrueSkillPlayersInMatchResultExceedingLimit" + | "TrueSkillInvalidPreMatchPartyInMatchResult" + | "TrueSkillInvalidTimestampInMatchResult" + | "TrueSkillInvalidPlayerSecondsPlayedInMatchResult" + | "TrueSkillNoTeamInMatchResult" + | "TrueSkillNotEnoughTeamsInMatchResult" + | "TrueSkillScenarioConfigDoesNotExist" + | "TrueSkillNoModelInScenario" + | "TrueSkillNotSupportedForTitle" + | "TrueSkillModelIsNotActive" + | "TrueSkillUnauthorizedToQueryOtherPlayerSkills" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 3b82eaa8..2e9d39da 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2230,6 +2230,8 @@ declare module PlayFabEconomyModels { Amount?: number; /** The duration modified in this transaction. */ DurationInSeconds?: number; + /** The friendly id of the items in this transaction. */ + ItemFriendlyId?: string; /** The item id of the items in this transaction. */ ItemId?: string; /** The type of item that the operation occurred on. */ @@ -2242,6 +2244,8 @@ declare module PlayFabEconomyModels { } export interface TransactionPurchaseDetails { + /** The friendly id of the Store the item was purchased from or null. */ + StoreFriendlyId?: string; /** The id of the Store the item was purchased from or null. */ StoreId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 4703e982..4c6c27da 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2580,14 +2580,24 @@ declare module PlayFabServerModels { | "TrueSkillDuplicatePlayerInMatchResult" | "TrueSkillInvalidRanksInMatchResult" | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredConditionInMatchResult" - | "TrueSkillMissingRequiredEventInMatchResult" - | "TrueSkillUnknownEventInMatchResult" - | "TrueSkillUnknownConditionName" + | "TrueSkillMissingRequiredCondition" + | "TrueSkillMissingRequiredEvent" + | "TrueSkillUnknownEventName" + | "TrueSkillUnknownConditionKey" | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownScenarioId" | "TrueSkillUnknownModelId" - | "TrueSkillNoActiveModelInScenario" + | "TrueSkillNoPlayerInMatchResultTeam" + | "TrueSkillPlayersInMatchResultExceedingLimit" + | "TrueSkillInvalidPreMatchPartyInMatchResult" + | "TrueSkillInvalidTimestampInMatchResult" + | "TrueSkillInvalidPlayerSecondsPlayedInMatchResult" + | "TrueSkillNoTeamInMatchResult" + | "TrueSkillNotEnoughTeamsInMatchResult" + | "TrueSkillScenarioConfigDoesNotExist" + | "TrueSkillNoModelInScenario" + | "TrueSkillNotSupportedForTitle" + | "TrueSkillModelIsNotActive" + | "TrueSkillUnauthorizedToQueryOtherPlayerSkills" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 49279081..68a50847 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 24876425..1d090c2b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 70647a80..1978a62b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index bfe2e5e9..7d686f60 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 8b68e33a..99951860 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 76811b71..c9e37432 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a0a6cdfa..39b653c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 820ba71a..26450fbc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index dbbae3d7..efb4025d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 1d45b578..eabcf3a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 72bf3cd4..ea399860 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 2823a85d..367f903c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 294b8028..06677293 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 526d75b1..67597d0b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.169.240401", + sdkVersion: "1.170.240412", requestGetParams: { - sdk: "JavaScriptSDK-1.169.240401" + sdk: "JavaScriptSDK-1.170.240412" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.169.240401"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.170.240412"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 6fcd8228..f29deadf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2759,14 +2759,24 @@ declare module PlayFabAdminModels { | "TrueSkillDuplicatePlayerInMatchResult" | "TrueSkillInvalidRanksInMatchResult" | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredConditionInMatchResult" - | "TrueSkillMissingRequiredEventInMatchResult" - | "TrueSkillUnknownEventInMatchResult" - | "TrueSkillUnknownConditionName" + | "TrueSkillMissingRequiredCondition" + | "TrueSkillMissingRequiredEvent" + | "TrueSkillUnknownEventName" + | "TrueSkillUnknownConditionKey" | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownScenarioId" | "TrueSkillUnknownModelId" - | "TrueSkillNoActiveModelInScenario" + | "TrueSkillNoPlayerInMatchResultTeam" + | "TrueSkillPlayersInMatchResultExceedingLimit" + | "TrueSkillInvalidPreMatchPartyInMatchResult" + | "TrueSkillInvalidTimestampInMatchResult" + | "TrueSkillInvalidPlayerSecondsPlayedInMatchResult" + | "TrueSkillNoTeamInMatchResult" + | "TrueSkillNotEnoughTeamsInMatchResult" + | "TrueSkillScenarioConfigDoesNotExist" + | "TrueSkillNoModelInScenario" + | "TrueSkillNotSupportedForTitle" + | "TrueSkillModelIsNotActive" + | "TrueSkillUnauthorizedToQueryOtherPlayerSkills" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 3b82eaa8..2e9d39da 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2230,6 +2230,8 @@ declare module PlayFabEconomyModels { Amount?: number; /** The duration modified in this transaction. */ DurationInSeconds?: number; + /** The friendly id of the items in this transaction. */ + ItemFriendlyId?: string; /** The item id of the items in this transaction. */ ItemId?: string; /** The type of item that the operation occurred on. */ @@ -2242,6 +2244,8 @@ declare module PlayFabEconomyModels { } export interface TransactionPurchaseDetails { + /** The friendly id of the Store the item was purchased from or null. */ + StoreFriendlyId?: string; /** The id of the Store the item was purchased from or null. */ StoreId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 4703e982..4c6c27da 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2580,14 +2580,24 @@ declare module PlayFabServerModels { | "TrueSkillDuplicatePlayerInMatchResult" | "TrueSkillInvalidRanksInMatchResult" | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredConditionInMatchResult" - | "TrueSkillMissingRequiredEventInMatchResult" - | "TrueSkillUnknownEventInMatchResult" - | "TrueSkillUnknownConditionName" + | "TrueSkillMissingRequiredCondition" + | "TrueSkillMissingRequiredEvent" + | "TrueSkillUnknownEventName" + | "TrueSkillUnknownConditionKey" | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownScenarioId" | "TrueSkillUnknownModelId" - | "TrueSkillNoActiveModelInScenario" + | "TrueSkillNoPlayerInMatchResultTeam" + | "TrueSkillPlayersInMatchResultExceedingLimit" + | "TrueSkillInvalidPreMatchPartyInMatchResult" + | "TrueSkillInvalidTimestampInMatchResult" + | "TrueSkillInvalidPlayerSecondsPlayedInMatchResult" + | "TrueSkillNoTeamInMatchResult" + | "TrueSkillNotEnoughTeamsInMatchResult" + | "TrueSkillScenarioConfigDoesNotExist" + | "TrueSkillNoModelInScenario" + | "TrueSkillNotSupportedForTitle" + | "TrueSkillModelIsNotActive" + | "TrueSkillUnauthorizedToQueryOtherPlayerSkills" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; From 4c44a50b6a5bb1d88267e5a1ef6f5933ff1a37d5 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 30 Apr 2024 02:50:50 +0000 Subject: [PATCH 199/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240426 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 16 ++- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 20 +++- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 64 +++++++++--- .../PlayFab/PlayFabCloudScriptApi.d.ts | 41 +++++++- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 18 +++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 97 +++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 64 +++++++++--- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 16 ++- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 20 +++- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 64 +++++++++--- .../PlayFab/PlayFabCloudScriptApi.d.ts | 41 +++++++- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 18 +++- .../PlayFab/PlayFabMultiplayerApi.d.ts | 97 +++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 64 +++++++++--- 39 files changed, 657 insertions(+), 177 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0a420e1b..56de5329 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.170.240412", + "version": "1.171.240426", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 68a50847..71f491be 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 1d090c2b..f26abacf 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1978a62b..38fd2b45 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 7d686f60..f71bf8c9 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; 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 99951860..11e328f4 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index c9e37432..89dacbe5 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 39b653c4..1a1918a8 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 26450fbc..6118bb23 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index efb4025d..ba7d8718 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index eabcf3a2..1869750a 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ea399860..6780e313 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 367f903c..9a4fbeaf 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; 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); }, @@ -489,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); }, @@ -577,6 +585,10 @@ PlayFab.MultiplayerApi = { 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 06677293..252fd00a 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 67597d0b..35c8f661 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.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f29deadf..16e6ab1a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -851,14 +851,14 @@ declare module PlayFabAdminModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** Whether or not the Microsoft family members are included in the ban. */ - IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; + /** The family type of the suer that is included in the ban. */ + UserFamilyType?: string; } @@ -881,14 +881,14 @@ declare module PlayFabAdminModels { export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ - IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ 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; } @@ -2554,6 +2554,12 @@ declare module PlayFabAdminModels { | "NoLinkedStatisticToLeaderboard" | "StatDefinitionAlreadyLinkedToLeaderboard" | "LinkingStatsNotAllowedForEntityType" + | "LeaderboardCountLimitExceeded" + | "LeaderboardSizeLimitExceeded" + | "LeaderboardDefinitionModificationNotAllowedWhileLinked" + | "StatisticDefinitionModificationNotAllowedWhileLinked" + | "LeaderboardUpdateNotAllowedWhileLinked" + | "CloudScriptAzureFunctionsEventHubRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2754,29 +2760,52 @@ declare module PlayFabAdminModels { | "CopilotDisabled" | "CopilotInvalidRequest" | "TrueSkillUnauthorized" - | "TrueSkillBadRequest" + | "TrueSkillInvalidTitleId" + | "TrueSkillInvalidScenarioId" + | "TrueSkillInvalidModelId" + | "TrueSkillInvalidModelName" + | "TrueSkillInvalidPlayerIds" + | "TrueSkillInvalidEntityKey" + | "TrueSkillInvalidConditionKey" + | "TrueSkillInvalidConditionValue" + | "TrueSkillInvalidConditionAffinityWeight" + | "TrueSkillInvalidEventName" + | "TrueSkillMatchResultCreated" | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillBadPlayerIdInMatchResult" + | "TrueSkillInvalidBotIdInMatchResult" | "TrueSkillDuplicatePlayerInMatchResult" - | "TrueSkillInvalidRanksInMatchResult" - | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredCondition" - | "TrueSkillMissingRequiredEvent" - | "TrueSkillUnknownEventName" - | "TrueSkillUnknownConditionKey" - | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownModelId" | "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" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; @@ -5192,14 +5221,14 @@ declare module PlayFabAdminModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ - IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ 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; } @@ -5559,6 +5588,11 @@ declare module PlayFabAdminModels { } + type UserFamilyType = "None" + + | "Xbox" + | "Steam"; + export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 05c12d97..653468c2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -21,6 +21,11 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/getfunction */ GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists all currently registered Event Hub triggered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listeventhubfunctions + */ + ListEventHubFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions @@ -56,6 +61,11 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforscheduledtask */ PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Registers an event hub triggered Azure Function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registereventhubfunction + */ + RegisterEventHubFunction(request: PlayFabCloudScriptModels.RegisterEventHubFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers an HTTP triggered Azure function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerhttpfunction @@ -380,6 +390,16 @@ declare module PlayFabCloudScriptModels { } + export interface EventHubFunctionModel { + /** The connection string for the event hub. */ + ConnectionString?: string; + /** The name of the event hub that triggers the Azure Function. */ + EventHubName?: string; + /** The name the function was registered under. */ + FunctionName?: string; + + } + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -537,6 +557,12 @@ declare module PlayFabCloudScriptModels { } + export interface ListEventHubFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of EventHub triggered functions that are currently registered for the title. */ + Functions?: EventHubFunctionModel[]; + + } + export interface ListFunctionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -764,6 +790,18 @@ declare module PlayFabCloudScriptModels { } + export interface RegisterEventHubFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A connection string for the namespace of the event hub for the Azure Function. */ + ConnectionString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The name of the event hub for the Azure Function. */ + EventHubName: string; + /** The name of the function to register */ + FunctionName: string; + + } + export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -845,7 +883,8 @@ declare module PlayFabCloudScriptModels { type TriggerType = "HTTP" - | "Queue"; + | "Queue" + | "EventHub"; export interface UnregisterFunctionRequest 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/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 2e9d39da..4da1b82a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -384,6 +384,8 @@ declare module PlayFabEconomyModels { * to 128 platforms can be listed. */ Platforms?: string[]; + /** The set of configuration that only applies to Ratings and Reviews. */ + Review?: ReviewConfig; /** A set of player entity keys that are allowed to review content. There is a maximum of 128 entities that can be added. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ @@ -550,6 +552,12 @@ declare module PlayFabEconomyModels { } + export interface CategoryRatingConfig { + /** Name of the category. */ + Name?: string; + + } + type ConcernCategory = "None" | "OffensiveContent" @@ -1864,7 +1872,7 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code. */ RedirectUri?: string; /** Optional Service Label to pass into the request. */ ServiceLabel?: string; @@ -1966,6 +1974,8 @@ declare module PlayFabEconomyModels { } export interface Review { + /** The star rating associated with each selected category in this review. */ + CategoryRatings?: { [key: string]: number }; /** The number of negative helpfulness votes for this review. */ HelpfulNegative: number; /** The number of positive helpfulness votes for this review. */ @@ -1995,6 +2005,12 @@ declare module PlayFabEconomyModels { } + export interface ReviewConfig { + /** A set of categories that can be applied toward ratings and reviews. */ + CategoryRatings?: CategoryRatingConfig[]; + + } + export interface ReviewItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index e58706d0..0038df7f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -117,6 +117,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser */ DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a multiplayer server game secret. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletesecret + */ + DeleteSecret(request: PlayFabMultiplayerModels.DeleteSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Enables the multiplayer server feature for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle @@ -322,6 +327,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists multiplayer server game secrets for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listsecretsummaries + */ + ListSecretSummaries(request: PlayFabMultiplayerModels.ListSecretSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all server backfill ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer @@ -435,6 +445,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate */ UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Uploads a multiplayer server game secret. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadsecret + */ + UploadSecret(request: PlayFabMultiplayerModels.UploadSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -835,6 +850,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReferenceParams[]; /** The Linux instrumentation configuration for the build. */ LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** @@ -881,6 +898,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** The Linux instrumentation configuration for this build. */ LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ @@ -927,6 +946,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReferenceParams[]; /** * The directory containing the game executable. This would be the start path of the game assets that contain the main game * server executable. If not provided, a best effort will be made to extract it from the start game command. @@ -978,6 +999,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** * The directory containing the game executable. This would be the start path of the game assets that contain the main game * server executable. If not provided, a best effort will be made to extract it from the start game command. @@ -1029,6 +1052,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReferenceParams[]; /** * The working directory for the game process. If this is not provided, the working directory will be set based on the * mount path of the game server executable. @@ -1086,6 +1111,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** * The working directory for the game process. If this is not provided, the working directory will be set based on the * mount path of the game server executable. @@ -1417,6 +1444,14 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteSecretRequest 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 name of the secret. */ + Name: string; + + } + export interface DifferenceRule { /** Description of the attribute used by this rule to match tickets. */ Attribute: QueueRuleAttribute; @@ -1641,6 +1676,18 @@ declare module PlayFabMultiplayerModels { } + export interface GameSecretReference { + /** The name of the game secret. This name should match the name of a secret that was previously added to this title. */ + Name?: string; + + } + + export interface GameSecretReferenceParams { + /** The name of the game secret. This name should match the name of a secret that was previously added to this title. */ + Name: string; + + } + export interface GetAssetDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -2472,6 +2519,26 @@ declare module PlayFabMultiplayerModels { } + export interface ListSecretSummariesRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + export interface ListSecretSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of game secret. */ + SecretSummaries?: SecretSummary[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3074,6 +3141,26 @@ declare module PlayFabMultiplayerModels { } + export interface Secret { + /** Optional secret expiration date. */ + ExpirationDate?: string; + /** A name for the secret. This is used to reference secrets in build configurations. */ + Name: string; + /** Secret value. */ + Value: string; + + } + + export interface SecretSummary { + /** Optional secret expiration date. */ + ExpirationDate?: string; + /** The name of the secret. */ + Name?: string; + /** The secret version auto-generated after upload. */ + Version?: string; + + } + export interface ServerDetails { /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ Fqdn?: string; @@ -3546,6 +3633,16 @@ declare module PlayFabMultiplayerModels { } + export interface UploadSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Forces the secret renewal if the secret already exists. Default is false */ + ForceUpdate?: boolean; + /** The game secret to add. */ + GameSecret: Secret; + + } + export interface VirtualMachineSummary { /** The virtual machine health status. */ HealthStatus?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 4c6c27da..370814de 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -934,28 +934,28 @@ declare module PlayFabServerModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** Whether or not the Microsoft family members are included in the ban. */ - IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; + /** The family type of the suer that is included in the ban. */ + UserFamilyType?: string; } export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ - IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ 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; } @@ -2375,6 +2375,12 @@ declare module PlayFabServerModels { | "NoLinkedStatisticToLeaderboard" | "StatDefinitionAlreadyLinkedToLeaderboard" | "LinkingStatsNotAllowedForEntityType" + | "LeaderboardCountLimitExceeded" + | "LeaderboardSizeLimitExceeded" + | "LeaderboardDefinitionModificationNotAllowedWhileLinked" + | "StatisticDefinitionModificationNotAllowedWhileLinked" + | "LeaderboardUpdateNotAllowedWhileLinked" + | "CloudScriptAzureFunctionsEventHubRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2575,29 +2581,52 @@ declare module PlayFabServerModels { | "CopilotDisabled" | "CopilotInvalidRequest" | "TrueSkillUnauthorized" - | "TrueSkillBadRequest" + | "TrueSkillInvalidTitleId" + | "TrueSkillInvalidScenarioId" + | "TrueSkillInvalidModelId" + | "TrueSkillInvalidModelName" + | "TrueSkillInvalidPlayerIds" + | "TrueSkillInvalidEntityKey" + | "TrueSkillInvalidConditionKey" + | "TrueSkillInvalidConditionValue" + | "TrueSkillInvalidConditionAffinityWeight" + | "TrueSkillInvalidEventName" + | "TrueSkillMatchResultCreated" | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillBadPlayerIdInMatchResult" + | "TrueSkillInvalidBotIdInMatchResult" | "TrueSkillDuplicatePlayerInMatchResult" - | "TrueSkillInvalidRanksInMatchResult" - | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredCondition" - | "TrueSkillMissingRequiredEvent" - | "TrueSkillUnknownEventName" - | "TrueSkillUnknownConditionKey" - | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownModelId" | "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" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; @@ -4998,14 +5027,14 @@ declare module PlayFabServerModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ - IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ 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; } @@ -5279,6 +5308,11 @@ declare module PlayFabServerModels { } + type UserFamilyType = "None" + + | "Xbox" + | "Steam"; + export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 68a50847..71f491be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 1d090c2b..f26abacf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1978a62b..38fd2b45 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 7d686f60..f71bf8c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; 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/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 99951860..11e328f4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index c9e37432..89dacbe5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 39b653c4..1a1918a8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 26450fbc..6118bb23 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index efb4025d..ba7d8718 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index eabcf3a2..1869750a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ea399860..6780e313 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 367f903c..9a4fbeaf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; 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); }, @@ -489,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); }, @@ -577,6 +585,10 @@ PlayFab.MultiplayerApi = { 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/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 06677293..252fd00a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 67597d0b..35c8f661 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.170.240412", + sdkVersion: "1.171.240426", requestGetParams: { - sdk: "JavaScriptSDK-1.170.240412" + sdk: "JavaScriptSDK-1.171.240426" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.170.240412"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.171.240426"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f29deadf..16e6ab1a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -851,14 +851,14 @@ declare module PlayFabAdminModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** Whether or not the Microsoft family members are included in the ban. */ - IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; + /** The family type of the suer that is included in the ban. */ + UserFamilyType?: string; } @@ -881,14 +881,14 @@ declare module PlayFabAdminModels { export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ - IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ 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; } @@ -2554,6 +2554,12 @@ declare module PlayFabAdminModels { | "NoLinkedStatisticToLeaderboard" | "StatDefinitionAlreadyLinkedToLeaderboard" | "LinkingStatsNotAllowedForEntityType" + | "LeaderboardCountLimitExceeded" + | "LeaderboardSizeLimitExceeded" + | "LeaderboardDefinitionModificationNotAllowedWhileLinked" + | "StatisticDefinitionModificationNotAllowedWhileLinked" + | "LeaderboardUpdateNotAllowedWhileLinked" + | "CloudScriptAzureFunctionsEventHubRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2754,29 +2760,52 @@ declare module PlayFabAdminModels { | "CopilotDisabled" | "CopilotInvalidRequest" | "TrueSkillUnauthorized" - | "TrueSkillBadRequest" + | "TrueSkillInvalidTitleId" + | "TrueSkillInvalidScenarioId" + | "TrueSkillInvalidModelId" + | "TrueSkillInvalidModelName" + | "TrueSkillInvalidPlayerIds" + | "TrueSkillInvalidEntityKey" + | "TrueSkillInvalidConditionKey" + | "TrueSkillInvalidConditionValue" + | "TrueSkillInvalidConditionAffinityWeight" + | "TrueSkillInvalidEventName" + | "TrueSkillMatchResultCreated" | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillBadPlayerIdInMatchResult" + | "TrueSkillInvalidBotIdInMatchResult" | "TrueSkillDuplicatePlayerInMatchResult" - | "TrueSkillInvalidRanksInMatchResult" - | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredCondition" - | "TrueSkillMissingRequiredEvent" - | "TrueSkillUnknownEventName" - | "TrueSkillUnknownConditionKey" - | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownModelId" | "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" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; @@ -5192,14 +5221,14 @@ declare module PlayFabAdminModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ - IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ 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; } @@ -5559,6 +5588,11 @@ declare module PlayFabAdminModels { } + type UserFamilyType = "None" + + | "Xbox" + | "Steam"; + export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 05c12d97..653468c2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -21,6 +21,11 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/getfunction */ GetFunction(request: PlayFabCloudScriptModels.GetFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists all currently registered Event Hub triggered Azure Functions for a given title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listeventhubfunctions + */ + ListEventHubFunctions(request: PlayFabCloudScriptModels.ListFunctionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all currently registered Azure Functions for a given title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/listfunctions @@ -56,6 +61,11 @@ declare module PlayFabCloudScriptModule { * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/postfunctionresultforscheduledtask */ PostFunctionResultForScheduledTask(request: PlayFabCloudScriptModels.PostFunctionResultForScheduledTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Registers an event hub triggered Azure Function with a title. + * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registereventhubfunction + */ + RegisterEventHubFunction(request: PlayFabCloudScriptModels.RegisterEventHubFunctionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers an HTTP triggered Azure function with a title. * https://docs.microsoft.com/rest/api/playfab/cloudscript/server-side-cloud-script/registerhttpfunction @@ -380,6 +390,16 @@ declare module PlayFabCloudScriptModels { } + export interface EventHubFunctionModel { + /** The connection string for the event hub. */ + ConnectionString?: string; + /** The name of the event hub that triggers the Azure Function. */ + EventHubName?: string; + /** The name the function was registered under. */ + FunctionName?: string; + + } + export interface ExecuteCloudScriptResult extends PlayFabModule.IPlayFabResultCommon { /** Number of PlayFab API requests issued by the CloudScript function */ APIRequestsIssued: number; @@ -537,6 +557,12 @@ declare module PlayFabCloudScriptModels { } + export interface ListEventHubFunctionsResult extends PlayFabModule.IPlayFabResultCommon { + /** The list of EventHub triggered functions that are currently registered for the title. */ + Functions?: EventHubFunctionModel[]; + + } + export interface ListFunctionsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -764,6 +790,18 @@ declare module PlayFabCloudScriptModels { } + export interface RegisterEventHubFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** A connection string for the namespace of the event hub for the Azure Function. */ + ConnectionString: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The name of the event hub for the Azure Function. */ + EventHubName: string; + /** The name of the function to register */ + FunctionName: string; + + } + export interface RegisterHttpFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -845,7 +883,8 @@ declare module PlayFabCloudScriptModels { type TriggerType = "HTTP" - | "Queue"; + | "Queue" + | "EventHub"; export interface UnregisterFunctionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 2e9d39da..4da1b82a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -384,6 +384,8 @@ declare module PlayFabEconomyModels { * to 128 platforms can be listed. */ Platforms?: string[]; + /** The set of configuration that only applies to Ratings and Reviews. */ + Review?: ReviewConfig; /** A set of player entity keys that are allowed to review content. There is a maximum of 128 entities that can be added. */ ReviewerEntities?: EntityKey[]; /** The set of configuration that only applies to user generated contents. */ @@ -550,6 +552,12 @@ declare module PlayFabEconomyModels { } + export interface CategoryRatingConfig { + /** Name of the category. */ + Name?: string; + + } + type ConcernCategory = "None" | "OffensiveContent" @@ -1864,7 +1872,7 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; - /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code. */ RedirectUri?: string; /** Optional Service Label to pass into the request. */ ServiceLabel?: string; @@ -1966,6 +1974,8 @@ declare module PlayFabEconomyModels { } export interface Review { + /** The star rating associated with each selected category in this review. */ + CategoryRatings?: { [key: string]: number }; /** The number of negative helpfulness votes for this review. */ HelpfulNegative: number; /** The number of positive helpfulness votes for this review. */ @@ -1995,6 +2005,12 @@ declare module PlayFabEconomyModels { } + export interface ReviewConfig { + /** A set of categories that can be applied toward ratings and reviews. */ + CategoryRatings?: CategoryRatingConfig[]; + + } + export interface ReviewItemRequest extends PlayFabModule.IPlayFabRequestCommon { /** An alternate ID associated with this item. */ AlternateId?: CatalogAlternateId; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index e58706d0..0038df7f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -117,6 +117,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deleteremoteuser */ DeleteRemoteUser(request: PlayFabMultiplayerModels.DeleteRemoteUserRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a multiplayer server game secret. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/deletesecret + */ + DeleteSecret(request: PlayFabMultiplayerModels.DeleteSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Enables the multiplayer server feature for a title. * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/enablemultiplayerserversfortitle @@ -322,6 +327,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listqosserversfortitle */ ListQosServersForTitle(request: PlayFabMultiplayerModels.ListQosServersForTitleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists multiplayer server game secrets for a title. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/listsecretsummaries + */ + ListSecretSummaries(request: PlayFabMultiplayerModels.ListSecretSummariesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * List all server backfill ticket Ids the user is a member of. * https://docs.microsoft.com/rest/api/playfab/multiplayer/matchmaking/listserverbackfillticketsforplayer @@ -435,6 +445,11 @@ declare module PlayFabMultiplayerModule { * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadcertificate */ UploadCertificate(request: PlayFabMultiplayerModels.UploadCertificateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Uploads a multiplayer server game secret. + * https://docs.microsoft.com/rest/api/playfab/multiplayer/multiplayerserver/uploadsecret + */ + UploadSecret(request: PlayFabMultiplayerModels.UploadSecretRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -835,6 +850,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReferenceParams[]; /** The Linux instrumentation configuration for the build. */ LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** @@ -881,6 +898,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** The Linux instrumentation configuration for this build. */ LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ @@ -927,6 +946,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReferenceParams[]; /** * The directory containing the game executable. This would be the start path of the game assets that contain the main game * server executable. If not provided, a best effort will be made to extract it from the start game command. @@ -978,6 +999,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** * The directory containing the game executable. This would be the start path of the game assets that contain the main game * server executable. If not provided, a best effort will be made to extract it from the start game command. @@ -1029,6 +1052,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences: AssetReferenceParams[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReferenceParams[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReferenceParams[]; /** * The working directory for the game process. If this is not provided, the working directory will be set based on the * mount path of the game server executable. @@ -1086,6 +1111,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** * The working directory for the game process. If this is not provided, the working directory will be set based on the * mount path of the game server executable. @@ -1417,6 +1444,14 @@ declare module PlayFabMultiplayerModels { } + export interface DeleteSecretRequest 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 name of the secret. */ + Name: string; + + } + export interface DifferenceRule { /** Description of the attribute used by this rule to match tickets. */ Attribute: QueueRuleAttribute; @@ -1641,6 +1676,18 @@ declare module PlayFabMultiplayerModels { } + export interface GameSecretReference { + /** The name of the game secret. This name should match the name of a secret that was previously added to this title. */ + Name?: string; + + } + + export interface GameSecretReferenceParams { + /** The name of the game secret. This name should match the name of a secret that was previously added to this title. */ + Name: string; + + } + export interface GetAssetDownloadUrlRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -2472,6 +2519,26 @@ declare module PlayFabMultiplayerModels { } + export interface ListSecretSummariesRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; + + } + + export interface ListSecretSummariesResponse extends PlayFabModule.IPlayFabResultCommon { + /** The page size on the response. */ + PageSize: number; + /** The list of game secret. */ + SecretSummaries?: SecretSummary[]; + /** The skip token for the paged response. */ + SkipToken?: string; + + } + export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3074,6 +3141,26 @@ declare module PlayFabMultiplayerModels { } + export interface Secret { + /** Optional secret expiration date. */ + ExpirationDate?: string; + /** A name for the secret. This is used to reference secrets in build configurations. */ + Name: string; + /** Secret value. */ + Value: string; + + } + + export interface SecretSummary { + /** Optional secret expiration date. */ + ExpirationDate?: string; + /** The name of the secret. */ + Name?: string; + /** The secret version auto-generated after upload. */ + Version?: string; + + } + export interface ServerDetails { /** The fully qualified domain name of the virtual machine that is hosting this multiplayer server. */ Fqdn?: string; @@ -3546,6 +3633,16 @@ declare module PlayFabMultiplayerModels { } + export interface UploadSecretRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Forces the secret renewal if the secret already exists. Default is false */ + ForceUpdate?: boolean; + /** The game secret to add. */ + GameSecret: Secret; + + } + export interface VirtualMachineSummary { /** The virtual machine health status. */ HealthStatus?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 4c6c27da..370814de 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -934,28 +934,28 @@ declare module PlayFabServerModels { Created?: string; /** The time when this ban expires. Permanent bans do not have expiration date. */ Expires?: string; - /** Whether or not the Microsoft family members are included in the ban. */ - IncludeMicrosoftFamily?: boolean; /** The IP address on which the ban was applied. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; + /** The family type of the suer that is included in the ban. */ + UserFamilyType?: string; } export interface BanRequest { /** The duration in hours for the ban. Leave this blank for a permanent ban. */ DurationInHours?: number; - /** Whether the Microsoft family members should be included in the ban. May affect multiple players. */ - IncludeMicrosoftFamily?: boolean; /** IP address to be banned. May affect multiple players. */ IPAddress?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ 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; } @@ -2375,6 +2375,12 @@ declare module PlayFabServerModels { | "NoLinkedStatisticToLeaderboard" | "StatDefinitionAlreadyLinkedToLeaderboard" | "LinkingStatsNotAllowedForEntityType" + | "LeaderboardCountLimitExceeded" + | "LeaderboardSizeLimitExceeded" + | "LeaderboardDefinitionModificationNotAllowedWhileLinked" + | "StatisticDefinitionModificationNotAllowedWhileLinked" + | "LeaderboardUpdateNotAllowedWhileLinked" + | "CloudScriptAzureFunctionsEventHubRequestError" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2575,29 +2581,52 @@ declare module PlayFabServerModels { | "CopilotDisabled" | "CopilotInvalidRequest" | "TrueSkillUnauthorized" - | "TrueSkillBadRequest" + | "TrueSkillInvalidTitleId" + | "TrueSkillInvalidScenarioId" + | "TrueSkillInvalidModelId" + | "TrueSkillInvalidModelName" + | "TrueSkillInvalidPlayerIds" + | "TrueSkillInvalidEntityKey" + | "TrueSkillInvalidConditionKey" + | "TrueSkillInvalidConditionValue" + | "TrueSkillInvalidConditionAffinityWeight" + | "TrueSkillInvalidEventName" + | "TrueSkillMatchResultCreated" | "TrueSkillMatchResultAlreadySubmitted" + | "TrueSkillBadPlayerIdInMatchResult" + | "TrueSkillInvalidBotIdInMatchResult" | "TrueSkillDuplicatePlayerInMatchResult" - | "TrueSkillInvalidRanksInMatchResult" - | "TrueSkillNoWinnerInMatchResult" - | "TrueSkillMissingRequiredCondition" - | "TrueSkillMissingRequiredEvent" - | "TrueSkillUnknownEventName" - | "TrueSkillUnknownConditionKey" - | "TrueSkillUnknownConditionValue" - | "TrueSkillUnknownModelId" | "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" | "StateShareUnauthorized" | "StateShareStateNotFound" | "StateShareLinkNotFound"; @@ -4998,14 +5027,14 @@ declare module PlayFabServerModels { BanId: string; /** The updated expiration date for the ban. Null for no change. */ Expires?: string; - /** The updated decision to ban the Microsoft family members to be updated. Null for no change. */ - IncludeMicrosoftFamily?: boolean; /** The updated IP address for the ban. Null for no change. */ IPAddress?: string; /** Whether to make this ban permanent. Set to true to make this ban permanent. This will not modify Active state. */ 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; } @@ -5279,6 +5308,11 @@ declare module PlayFabServerModels { } + type UserFamilyType = "None" + + | "Xbox" + | "Steam"; + export interface UserGameCenterInfo { /** Gamecenter identifier */ GameCenterId?: string; From 560c4641631ed0504a5dc977db00e3d1d210fbb3 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 14 May 2024 22:33:46 +0000 Subject: [PATCH 200/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240514 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++++---- .../PlayFab/PlayFabMultiplayerApi.d.ts | 22 ++++++++++++++++--- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 22 +++++++++++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 8 +++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++---- .../src/PlayFab/PlayFabClientApi.js | 8 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++---- .../src/PlayFab/PlayFabDataApi.js | 8 +++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++---- .../src/PlayFab/PlayFabEventsApi.js | 8 +++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++---- .../src/PlayFab/PlayFabServerApi.js | 12 ++++++---- .../PlayFab/PlayFabMultiplayerApi.d.ts | 22 ++++++++++++++++--- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 22 +++++++++++++++++++ 33 files changed, 203 insertions(+), 119 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 56de5329..7dd3aece 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.171.240426", + "version": "1.172.240514", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 71f491be..49ed77b6 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index f26abacf..d00252ce 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 38fd2b45..8585e31a 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index f71bf8c9..ae7c0667 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 11e328f4..e56a258a 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 89dacbe5..4c247118 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 1a1918a8..2f5c9566 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6118bb23..06359709 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index ba7d8718..9aff0d1d 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 1869750a..f17e9075 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 6780e313..833bbf97 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9a4fbeaf..f4646120 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 252fd00a..83314bd7 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 35c8f661..2506027c 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.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -561,6 +561,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0038df7f..36df8a3e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -542,7 +542,9 @@ declare module PlayFabMultiplayerModels { | "NCasT4_v3" | "Ddv4" | "Ddsv4" - | "HBv3"; + | "HBv3" + | "Ddv5" + | "Ddsv5"; type AzureVmSize = "Standard_A1" @@ -613,7 +615,17 @@ declare module PlayFabMultiplayerModels { | "Standard_HB120_32rs_v3" | "Standard_HB120_64rs_v3" | "Standard_HB120_96rs_v3" - | "Standard_HB120rs_v3"; + | "Standard_HB120rs_v3" + | "Standard_D2d_v5" + | "Standard_D4d_v5" + | "Standard_D8d_v5" + | "Standard_D16d_v5" + | "Standard_D32d_v5" + | "Standard_D2ds_v5" + | "Standard_D4ds_v5" + | "Standard_D8ds_v5" + | "Standard_D16ds_v5" + | "Standard_D32ds_v5"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -1059,13 +1071,15 @@ declare module PlayFabMultiplayerModels { * mount path of the game server executable. */ GameWorkingDirectory?: string; - /** The instrumentation configuration for the build. */ + /** The instrumentation configuration for the Build. Used only if it is a Windows Build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** * Indicates whether this build will be created using the OS Preview versionPreview OS is recommended for dev builds to * detect any breaking changes before they are released to retail. Retail builds should set this value to false. */ IsOSPreview?: boolean; + /** The Linux instrumentation configuration for the Build. Used only if it is a Linux Build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -1125,6 +1139,8 @@ declare module PlayFabMultiplayerModels { * detect any breaking changes before they are released to retail. Retail builds should set this value to false. */ IsOSPreview?: boolean; + /** The Linux instrumentation configuration for this build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The configuration for the monitoring application for the build */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 370814de..3cbc79ad 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -455,6 +455,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithpsn + */ + LoginWithPSN(request: PlayFabServerModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. @@ -3894,6 +3900,22 @@ declare module PlayFabServerModels { | "NintendoSwitchAccount" | "GooglePlayGames"; + export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ + AuthCode: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ + RedirectUri: string; + + } + export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 71f491be..49ed77b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index f26abacf..d00252ce 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 38fd2b45..8585e31a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index f71bf8c9..ae7c0667 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 11e328f4..e56a258a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 89dacbe5..4c247118 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 1a1918a8..2f5c9566 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6118bb23..06359709 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index ba7d8718..9aff0d1d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 1869750a..f17e9075 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 6780e313..833bbf97 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9a4fbeaf..f4646120 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 252fd00a..83314bd7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 35c8f661..2506027c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.171.240426", + sdkVersion: "1.172.240514", requestGetParams: { - sdk: "JavaScriptSDK-1.171.240426" + sdk: "JavaScriptSDK-1.172.240514" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.171.240426"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.172.240514"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -561,6 +561,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 0038df7f..36df8a3e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -542,7 +542,9 @@ declare module PlayFabMultiplayerModels { | "NCasT4_v3" | "Ddv4" | "Ddsv4" - | "HBv3"; + | "HBv3" + | "Ddv5" + | "Ddsv5"; type AzureVmSize = "Standard_A1" @@ -613,7 +615,17 @@ declare module PlayFabMultiplayerModels { | "Standard_HB120_32rs_v3" | "Standard_HB120_64rs_v3" | "Standard_HB120_96rs_v3" - | "Standard_HB120rs_v3"; + | "Standard_HB120rs_v3" + | "Standard_D2d_v5" + | "Standard_D4d_v5" + | "Standard_D8d_v5" + | "Standard_D16d_v5" + | "Standard_D32d_v5" + | "Standard_D2ds_v5" + | "Standard_D4ds_v5" + | "Standard_D8ds_v5" + | "Standard_D16ds_v5" + | "Standard_D32ds_v5"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ @@ -1059,13 +1071,15 @@ declare module PlayFabMultiplayerModels { * mount path of the game server executable. */ GameWorkingDirectory?: string; - /** The instrumentation configuration for the build. */ + /** The instrumentation configuration for the Build. Used only if it is a Windows Build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** * Indicates whether this build will be created using the OS Preview versionPreview OS is recommended for dev builds to * detect any breaking changes before they are released to retail. Retail builds should set this value to false. */ IsOSPreview?: boolean; + /** The Linux instrumentation configuration for the Build. Used only if it is a Linux Build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** * Metadata to tag the build. The keys are case insensitive. The build metadata is made available to the server through * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 @@ -1125,6 +1139,8 @@ declare module PlayFabMultiplayerModels { * detect any breaking changes before they are released to retail. Retail builds should set this value to false. */ IsOSPreview?: boolean; + /** The Linux instrumentation configuration for this build. */ + LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; /** The configuration for the monitoring application for the build */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 370814de..3cbc79ad 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -455,6 +455,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithpsn + */ + LoginWithPSN(request: PlayFabServerModels.LoginWithPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID * and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account. @@ -3894,6 +3900,22 @@ declare module PlayFabServerModels { | "NintendoSwitchAccount" | "GooglePlayGames"; + export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ + AuthCode: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + IssuerId?: number; + /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ + RedirectUri: string; + + } + export interface LoginWithServerCustomIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; From f44216d22631d6c7fe2d7b3573af1436769260c0 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 27 May 2024 22:21:43 +0000 Subject: [PATCH 201/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240524 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- 29 files changed, 113 insertions(+), 113 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 7dd3aece..39e6d2c3 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.172.240514", + "version": "1.173.240524", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 49ed77b6..89c9bced 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d00252ce..bcecb165 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8585e31a..6e219b7a 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ae7c0667..8d8c467c 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e56a258a..1e693ce4 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 4c247118..2e3b13f4 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 2f5c9566..88de153d 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 06359709..435f3d4c 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 9aff0d1d..e1db94e6 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index f17e9075..63611d09 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 833bbf97..b9c3ced4 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index f4646120..1be4dd4c 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 83314bd7..2b2f964b 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 2506027c..6f98cf84 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.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 49ed77b6..89c9bced 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d00252ce..bcecb165 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8585e31a..6e219b7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ae7c0667..8d8c467c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e56a258a..1e693ce4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 4c247118..2e3b13f4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 2f5c9566..88de153d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 06359709..435f3d4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 9aff0d1d..e1db94e6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index f17e9075..63611d09 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 833bbf97..b9c3ced4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index f4646120..1be4dd4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 83314bd7..2b2f964b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 2506027c..6f98cf84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.172.240514", + sdkVersion: "1.173.240524", requestGetParams: { - sdk: "JavaScriptSDK-1.172.240514" + sdk: "JavaScriptSDK-1.173.240524" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.172.240514"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.173.240524"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From cadcaecbb69a83f9e53a83bfd29950766b64f055 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 25 Jun 2024 01:59:11 +0000 Subject: [PATCH 202/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240621 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 30 ++++++++++++++++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 12 ++++++-- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 6 ++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 23 +++++++------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 4 ++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 30 ++++++++++++++++--- .../src/PlayFab/PlayFabAdminApi.js | 6 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++-- .../src/PlayFab/PlayFabClientApi.js | 6 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++-- .../src/PlayFab/PlayFabDataApi.js | 6 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 6 ++-- .../src/PlayFab/PlayFabEventsApi.js | 6 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 6 ++-- .../src/PlayFab/PlayFabServerApi.js | 6 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 30 ++++++++++++++++--- .../PlayFab/PlayFabAuthenticationApi.d.ts | 12 ++++++-- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 6 ++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 23 +++++++------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 4 ++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 30 ++++++++++++++++--- 43 files changed, 249 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 39e6d2c3..6a10f457 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.173.240524", + "version": "1.174.240621", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 89c9bced..cda6c17b 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index bcecb165..d8e17b7d 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6e219b7a..63062e0b 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 8d8c467c..e30cb4ff 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 1e693ce4..7c1b295d 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 2e3b13f4..1d20541c 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 88de153d..965dcc85 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 435f3d4c..384652e6 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e1db94e6..b5a67e1c 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 63611d09..dd6b325d 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index b9c3ced4..0c80eceb 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1be4dd4c..9422d480 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2b2f964b..2e2dc645 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 6f98cf84..7231f52f 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.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 16e6ab1a..fe3d6875 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2560,6 +2560,8 @@ declare module PlayFabAdminModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" + | "LeaderboardRateLimitExceeded" + | "ExternalEntityNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2806,9 +2808,27 @@ declare module PlayFabAdminModels { | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" - | "StateShareUnauthorized" + | "TrueSkillActiveModelLimitExceeded" + | "TrueSkillTotalModelLimitExceeded" + | "TrueSkillUnknownInitialModelId" + | "TrueSkillUnauthorizedForJob" + | "TrueSkillInvalidScenarioName" + | "TrueSkillConditionStateIsRequired" + | "TrueSkillEventStateIsRequired" + | "TrueSkillDuplicateEvent" + | "TrueSkillDuplicateCondition" + | "TrueSkillInvalidAnomalyThreshold" + | "TrueSkillConditionKeyLimitExceeded" + | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillEventLimitExceeded" + | "StateShareForbidden" + | "StateShareTitleNotInFlight" | "StateShareStateNotFound" - | "StateShareLinkNotFound"; + | "StateShareLinkNotFound" + | "StateShareStateRedemptionLimitExceeded" + | "StateShareStateRedemptionLimitNotUpdated" + | "StateShareCreatedStatesLimitExceeded" + | "StateShareIdMissingOrMalformed"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3625,7 +3645,8 @@ declare module PlayFabAdminModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -5683,7 +5704,8 @@ declare module PlayFabAdminModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 37464940..f9dcb3bf 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,8 @@ declare module PlayFabAuthenticationModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 98ac3a84..e4b44a8a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3436,7 +3436,8 @@ declare module PlayFabClientModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -5328,7 +5329,8 @@ declare module PlayFabClientModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 653468c2..496d74f1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -623,7 +623,8 @@ declare module PlayFabCloudScriptModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 4da1b82a..e36564e0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabEconomyModule { ForgetAllCredentials(): void; /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems */ AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -44,11 +44,10 @@ declare module PlayFabEconomyModule { */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -94,8 +93,9 @@ declare module PlayFabEconomyModule { */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids */ GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -161,10 +161,9 @@ declare module PlayFabEconomyModule { */ GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -175,7 +174,7 @@ declare module PlayFabEconomyModule { */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems */ @@ -1030,7 +1029,7 @@ declare module PlayFabEconomyModels { IdempotencyId?: string; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. Up to 10 operations can be added. + * a batch. Up to 50 operations can be added. */ Operations?: InventoryOperation[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 36df8a3e..aa2a52e7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3186,6 +3186,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The server's region. */ Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; } @@ -3242,7 +3244,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; + MatchmakingQueue: MatchmakingQueueConfig; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 3cbc79ad..516a6824 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2387,6 +2387,8 @@ declare module PlayFabServerModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" + | "LeaderboardRateLimitExceeded" + | "ExternalEntityNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2633,9 +2635,27 @@ declare module PlayFabServerModels { | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" - | "StateShareUnauthorized" + | "TrueSkillActiveModelLimitExceeded" + | "TrueSkillTotalModelLimitExceeded" + | "TrueSkillUnknownInitialModelId" + | "TrueSkillUnauthorizedForJob" + | "TrueSkillInvalidScenarioName" + | "TrueSkillConditionStateIsRequired" + | "TrueSkillEventStateIsRequired" + | "TrueSkillDuplicateEvent" + | "TrueSkillDuplicateCondition" + | "TrueSkillInvalidAnomalyThreshold" + | "TrueSkillConditionKeyLimitExceeded" + | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillEventLimitExceeded" + | "StateShareForbidden" + | "StateShareTitleNotInFlight" | "StateShareStateNotFound" - | "StateShareLinkNotFound"; + | "StateShareLinkNotFound" + | "StateShareStateRedemptionLimitExceeded" + | "StateShareStateRedemptionLimitNotUpdated" + | "StateShareCreatedStatesLimitExceeded" + | "StateShareIdMissingOrMalformed"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -3898,7 +3918,8 @@ declare module PlayFabServerModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ @@ -5425,7 +5446,8 @@ declare module PlayFabServerModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 89c9bced..cda6c17b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index bcecb165..d8e17b7d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6e219b7a..63062e0b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 8d8c467c..e30cb4ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 1e693ce4..7c1b295d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 2e3b13f4..1d20541c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 88de153d..965dcc85 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 435f3d4c..384652e6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e1db94e6..b5a67e1c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 63611d09..dd6b325d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index b9c3ced4..0c80eceb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1be4dd4c..9422d480 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2b2f964b..2e2dc645 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 6f98cf84..7231f52f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.173.240524", + sdkVersion: "1.174.240621", requestGetParams: { - sdk: "JavaScriptSDK-1.173.240524" + sdk: "JavaScriptSDK-1.174.240621" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.173.240524"; +PlayFab.sdkVersion = "1.174.240621"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 16e6ab1a..fe3d6875 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2560,6 +2560,8 @@ declare module PlayFabAdminModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" + | "LeaderboardRateLimitExceeded" + | "ExternalEntityNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2806,9 +2808,27 @@ declare module PlayFabAdminModels { | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" - | "StateShareUnauthorized" + | "TrueSkillActiveModelLimitExceeded" + | "TrueSkillTotalModelLimitExceeded" + | "TrueSkillUnknownInitialModelId" + | "TrueSkillUnauthorizedForJob" + | "TrueSkillInvalidScenarioName" + | "TrueSkillConditionStateIsRequired" + | "TrueSkillEventStateIsRequired" + | "TrueSkillDuplicateEvent" + | "TrueSkillDuplicateCondition" + | "TrueSkillInvalidAnomalyThreshold" + | "TrueSkillConditionKeyLimitExceeded" + | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillEventLimitExceeded" + | "StateShareForbidden" + | "StateShareTitleNotInFlight" | "StateShareStateNotFound" - | "StateShareLinkNotFound"; + | "StateShareLinkNotFound" + | "StateShareStateRedemptionLimitExceeded" + | "StateShareStateRedemptionLimitNotUpdated" + | "StateShareCreatedStatesLimitExceeded" + | "StateShareIdMissingOrMalformed"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3625,7 +3645,8 @@ declare module PlayFabAdminModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -5683,7 +5704,8 @@ declare module PlayFabAdminModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 37464940..f9dcb3bf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/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,8 @@ declare module PlayFabAuthenticationModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 98ac3a84..e4b44a8a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3436,7 +3436,8 @@ declare module PlayFabClientModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -5328,7 +5329,8 @@ declare module PlayFabClientModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 653468c2..496d74f1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -623,7 +623,8 @@ declare module PlayFabCloudScriptModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 4da1b82a..e36564e0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -5,7 +5,7 @@ declare module PlayFabEconomyModule { ForgetAllCredentials(): void; /** - * Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + * Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems */ AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -44,11 +44,10 @@ declare module PlayFabEconomyModule { */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - * also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - * RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - * Entities limited to 500 requests in 10 seconds. + * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations */ ExecuteInventoryOperations(request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -94,8 +93,9 @@ declare module PlayFabEconomyModule { */ GetEntityItemReview(request: PlayFabEconomyModels.GetEntityItemReviewRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - * results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + * Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + * use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + * new collection Ids to show up. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids */ GetInventoryCollectionIds(request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -161,10 +161,9 @@ declare module PlayFabEconomyModule { */ GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - * a limit of 100 requests in 10 seconds. + * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -175,7 +174,7 @@ declare module PlayFabEconomyModule { */ PublishDraftItem(request: PlayFabEconomyModels.PublishDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + * Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is * uncapped. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems */ @@ -1030,7 +1029,7 @@ declare module PlayFabEconomyModels { IdempotencyId?: string; /** * The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - * a batch. Up to 10 operations can be added. + * a batch. Up to 50 operations can be added. */ Operations?: InventoryOperation[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 36df8a3e..aa2a52e7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3186,6 +3186,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; /** The server's region. */ Region?: string; + /** The string server ID of the multiplayer server generated by PlayFab. */ + ServerId?: string; } @@ -3242,7 +3244,7 @@ declare module PlayFabMultiplayerModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The matchmaking queue config. */ - MatchmakingQueue?: MatchmakingQueueConfig; + MatchmakingQueue: MatchmakingQueueConfig; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 3cbc79ad..516a6824 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2387,6 +2387,8 @@ declare module PlayFabServerModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" + | "LeaderboardRateLimitExceeded" + | "ExternalEntityNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2633,9 +2635,27 @@ declare module PlayFabServerModels { | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" - | "StateShareUnauthorized" + | "TrueSkillActiveModelLimitExceeded" + | "TrueSkillTotalModelLimitExceeded" + | "TrueSkillUnknownInitialModelId" + | "TrueSkillUnauthorizedForJob" + | "TrueSkillInvalidScenarioName" + | "TrueSkillConditionStateIsRequired" + | "TrueSkillEventStateIsRequired" + | "TrueSkillDuplicateEvent" + | "TrueSkillDuplicateCondition" + | "TrueSkillInvalidAnomalyThreshold" + | "TrueSkillConditionKeyLimitExceeded" + | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillEventLimitExceeded" + | "StateShareForbidden" + | "StateShareTitleNotInFlight" | "StateShareStateNotFound" - | "StateShareLinkNotFound"; + | "StateShareLinkNotFound" + | "StateShareStateRedemptionLimitExceeded" + | "StateShareStateRedemptionLimitNotUpdated" + | "StateShareCreatedStatesLimitExceeded" + | "StateShareIdMissingOrMalformed"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -3898,7 +3918,8 @@ declare module PlayFabServerModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ @@ -5425,7 +5446,8 @@ declare module PlayFabServerModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserPrivateAccountInfo { /** user email address */ From 6af685547691595df69523291df4d1e93df966d1 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 22 Jul 2024 21:40:53 +0000 Subject: [PATCH 203/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240719 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 20 ++++++++++++++++++- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 3 ++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 20 ++++++++++++++++++- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 20 ++++++++++++++++++- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 3 ++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 20 ++++++++++++++++++- 37 files changed, 195 insertions(+), 121 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 6a10f457..b0097777 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.174.240621", + "version": "1.175.240719", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index cda6c17b..39b83a8b 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d8e17b7d..eff9e7b9 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 63062e0b..214ed874 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index e30cb4ff..55ea90cf 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7c1b295d..81a18c4e 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 1d20541c..b9f164e5 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 965dcc85..9fa6f08b 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 384652e6..581acf2d 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index b5a67e1c..c770f22a 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index dd6b325d..d35419f1 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0c80eceb..3f50e88c 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9422d480..4fcb043b 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2e2dc645..a8156391 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7231f52f..37554061 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.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index fe3d6875..5edaef47 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2560,8 +2560,16 @@ declare module PlayFabAdminModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" - | "LeaderboardRateLimitExceeded" | "ExternalEntityNotAllowedForTier" + | "InvalidBaseTimeForInterval" + | "EntityTypeMismatchWithStatDefinition" + | "SpecifiedVersionLeaderboardNotFound" + | "LeaderboardColumnLengthMismatchWithStatDefinition" + | "DuplicateColumnNameFound" + | "LinkedStatisticColumnNotFound" + | "LinkedStatisticColumnRequired" + | "MultipleLinkedStatisticsNotAllowed" + | "MaxQueryableVerionsValueNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2739,6 +2747,7 @@ declare module PlayFabAdminModels { | "EventSinkTitleUnauthorized" | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" + | "EventSinkTenantIdInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2820,7 +2829,16 @@ declare module PlayFabAdminModels { | "TrueSkillInvalidAnomalyThreshold" | "TrueSkillConditionKeyLimitExceeded" | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillInvalidTimestamp" | "TrueSkillEventLimitExceeded" + | "TrueSkillInvalidPlayers" + | "TrueSkillTrueSkillPlayerNull" + | "TrueSkillInvalidPlayerId" + | "TrueSkillInvalidSquadSize" + | "TrueSkillConditionSetNotInModel" + | "GameSaveManifestNotFound" + | "GameSaveManifestVersionAlreadyExists" + | "GameSaveConflictUpdatingManifest" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index e36564e0..903f2539 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -44,7 +44,7 @@ declare module PlayFabEconomyModule { */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * Execute a list of Inventory Operations. A maximum list of 50 operations can be performed by a single request. There is * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index aa2a52e7..36df0cae 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1512,7 +1512,8 @@ declare module PlayFabMultiplayerModels { | "SameEntityLoginProvider" | "DifferentEntityLoginProvider" | "AnyEntityLoginProvider" - | "AnyPlatformTypeAndEntityLoginProvider"; + | "AnyPlatformTypeAndEntityLoginProvider" + | "OnlyServers"; export interface DynamicStandbySettings { /** diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 516a6824..4ff9b455 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2387,8 +2387,16 @@ declare module PlayFabServerModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" - | "LeaderboardRateLimitExceeded" | "ExternalEntityNotAllowedForTier" + | "InvalidBaseTimeForInterval" + | "EntityTypeMismatchWithStatDefinition" + | "SpecifiedVersionLeaderboardNotFound" + | "LeaderboardColumnLengthMismatchWithStatDefinition" + | "DuplicateColumnNameFound" + | "LinkedStatisticColumnNotFound" + | "LinkedStatisticColumnRequired" + | "MultipleLinkedStatisticsNotAllowed" + | "MaxQueryableVerionsValueNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2566,6 +2574,7 @@ declare module PlayFabServerModels { | "EventSinkTitleUnauthorized" | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" + | "EventSinkTenantIdInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2647,7 +2656,16 @@ declare module PlayFabServerModels { | "TrueSkillInvalidAnomalyThreshold" | "TrueSkillConditionKeyLimitExceeded" | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillInvalidTimestamp" | "TrueSkillEventLimitExceeded" + | "TrueSkillInvalidPlayers" + | "TrueSkillTrueSkillPlayerNull" + | "TrueSkillInvalidPlayerId" + | "TrueSkillInvalidSquadSize" + | "TrueSkillConditionSetNotInModel" + | "GameSaveManifestNotFound" + | "GameSaveManifestVersionAlreadyExists" + | "GameSaveConflictUpdatingManifest" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index cda6c17b..39b83a8b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d8e17b7d..eff9e7b9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 63062e0b..214ed874 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index e30cb4ff..55ea90cf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7c1b295d..81a18c4e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 1d20541c..b9f164e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 965dcc85..9fa6f08b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 384652e6..581acf2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index b5a67e1c..c770f22a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index dd6b325d..d35419f1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0c80eceb..3f50e88c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9422d480..4fcb043b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2e2dc645..a8156391 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7231f52f..37554061 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.174.240621", + sdkVersion: "1.175.240719", requestGetParams: { - sdk: "JavaScriptSDK-1.174.240621" + sdk: "JavaScriptSDK-1.175.240719" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.174.240621"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.175.240719"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index fe3d6875..5edaef47 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2560,8 +2560,16 @@ declare module PlayFabAdminModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" - | "LeaderboardRateLimitExceeded" | "ExternalEntityNotAllowedForTier" + | "InvalidBaseTimeForInterval" + | "EntityTypeMismatchWithStatDefinition" + | "SpecifiedVersionLeaderboardNotFound" + | "LeaderboardColumnLengthMismatchWithStatDefinition" + | "DuplicateColumnNameFound" + | "LinkedStatisticColumnNotFound" + | "LinkedStatisticColumnRequired" + | "MultipleLinkedStatisticsNotAllowed" + | "MaxQueryableVerionsValueNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2739,6 +2747,7 @@ declare module PlayFabAdminModels { | "EventSinkTitleUnauthorized" | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" + | "EventSinkTenantIdInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2820,7 +2829,16 @@ declare module PlayFabAdminModels { | "TrueSkillInvalidAnomalyThreshold" | "TrueSkillConditionKeyLimitExceeded" | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillInvalidTimestamp" | "TrueSkillEventLimitExceeded" + | "TrueSkillInvalidPlayers" + | "TrueSkillTrueSkillPlayerNull" + | "TrueSkillInvalidPlayerId" + | "TrueSkillInvalidSquadSize" + | "TrueSkillConditionSetNotInModel" + | "GameSaveManifestNotFound" + | "GameSaveManifestVersionAlreadyExists" + | "GameSaveConflictUpdatingManifest" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index e36564e0..903f2539 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -44,7 +44,7 @@ declare module PlayFabEconomyModule { */ DeleteItem(request: PlayFabEconomyModels.DeleteItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + * Execute a list of Inventory Operations. A maximum list of 50 operations can be performed by a single request. There is * also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items * counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced * RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index aa2a52e7..36df0cae 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1512,7 +1512,8 @@ declare module PlayFabMultiplayerModels { | "SameEntityLoginProvider" | "DifferentEntityLoginProvider" | "AnyEntityLoginProvider" - | "AnyPlatformTypeAndEntityLoginProvider"; + | "AnyPlatformTypeAndEntityLoginProvider" + | "OnlyServers"; export interface DynamicStandbySettings { /** diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 516a6824..4ff9b455 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2387,8 +2387,16 @@ declare module PlayFabServerModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" - | "LeaderboardRateLimitExceeded" | "ExternalEntityNotAllowedForTier" + | "InvalidBaseTimeForInterval" + | "EntityTypeMismatchWithStatDefinition" + | "SpecifiedVersionLeaderboardNotFound" + | "LeaderboardColumnLengthMismatchWithStatDefinition" + | "DuplicateColumnNameFound" + | "LinkedStatisticColumnNotFound" + | "LinkedStatisticColumnRequired" + | "MultipleLinkedStatisticsNotAllowed" + | "MaxQueryableVerionsValueNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2566,6 +2574,7 @@ declare module PlayFabServerModels { | "EventSinkTitleUnauthorized" | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" + | "EventSinkTenantIdInvalid" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2647,7 +2656,16 @@ declare module PlayFabServerModels { | "TrueSkillInvalidAnomalyThreshold" | "TrueSkillConditionKeyLimitExceeded" | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillInvalidTimestamp" | "TrueSkillEventLimitExceeded" + | "TrueSkillInvalidPlayers" + | "TrueSkillTrueSkillPlayerNull" + | "TrueSkillInvalidPlayerId" + | "TrueSkillInvalidSquadSize" + | "TrueSkillConditionSetNotInModel" + | "GameSaveManifestNotFound" + | "GameSaveManifestVersionAlreadyExists" + | "GameSaveConflictUpdatingManifest" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 4456cc6f8acbfd27640c0752cd3ca009e5bc696b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 5 Aug 2024 22:22:47 +0000 Subject: [PATCH 204/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240802 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLeaderboardsApi.js | 335 +++++++++ .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 + .../PlayFab/PlayFabLeaderboardsApi.d.ts | 680 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 +- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 + PlayFabTestingExample/PlayFabApiTest.csproj | 2 + PlayFabTestingExample/index.html | 1 + .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLeaderboardsApi.js | 335 +++++++++ .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFab.d.ts | 3 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 + .../PlayFab/PlayFabLeaderboardsApi.d.ts | 680 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 +- 41 files changed, 2170 insertions(+), 115 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabLeaderboardsApi.js create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabLeaderboardsApi.d.ts create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabLeaderboardsApi.js create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabLeaderboardsApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b0097777..62571259 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.175.240719", + "version": "1.176.240802", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 39b83a8b..2085abfc 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index eff9e7b9..114bf710 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 214ed874..b3bc6c4a 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 55ea90cf..e9d19a2c 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 81a18c4e..f75a22b0 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index b9f164e5..cef1a5c3 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 9fa6f08b..775507b9 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 581acf2d..1b83781e 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index c770f22a..a3dc3c03 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index d35419f1..ffed01c1 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLeaderboardsApi.js b/PlayFabSdk/src/PlayFab/PlayFabLeaderboardsApi.js new file mode 100644 index 00000000..a1c296fd --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabLeaderboardsApi.js @@ -0,0 +1,335 @@ +/// + +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.176.240802", + requestGetParams: { + sdk: "JavaScriptSDK-1.176.240802" + }, + sessionTicket: 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_117"; +PlayFab.sdkVersion = "1.176.240802"; +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.LeaderboardsApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateLeaderboardDefinition: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/CreateLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateStatisticDefinition: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/CreateStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteLeaderboardDefinition: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardDefinition", request, "X-EntityToken", 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); + }, + + GetStatisticDefinitions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinitions", 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); + }, + + UnlinkLeaderboardFromStatistic: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UnlinkLeaderboardFromStatistic", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateLeaderboardEntries: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardEntries", 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 PlayFabLeaderboardsSDK = PlayFab.LeaderboardsApi; + diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 3f50e88c..83b82e4f 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 4fcb043b..9c590960 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index a8156391..6451bc46 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 37554061..e0d6024e 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.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 5edaef47..ca3fde7d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2569,7 +2569,11 @@ declare module PlayFabAdminModels { | "LinkedStatisticColumnNotFound" | "LinkedStatisticColumnRequired" | "MultipleLinkedStatisticsNotAllowed" + | "DuplicateLinkedStatisticColumnNameFound" + | "AggregationTypeNotAllowedForMultiColumnStatistic" | "MaxQueryableVerionsValueNotAllowedForTier" + | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" + | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabLeaderboardsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabLeaderboardsApi.d.ts new file mode 100644 index 00000000..6c2e7695 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabLeaderboardsApi.d.ts @@ -0,0 +1,680 @@ +/// + +declare module PlayFabLeaderboardsModule { + export interface IPlayFabLeaderboards { + ForgetAllCredentials(): void; + + /** + * Creates a new leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/createleaderboarddefinition + */ + CreateLeaderboardDefinition(request: PlayFabLeaderboardsModels.CreateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Create a new entity statistic definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/createstatisticdefinition + */ + CreateStatisticDefinition(request: PlayFabLeaderboardsModels.CreateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboarddefinition + */ + DeleteLeaderboardDefinition(request: PlayFabLeaderboardsModels.DeleteLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes the specified entries from the given leaderboard. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboardentries + */ + DeleteLeaderboardEntries(request: PlayFabLeaderboardsModels.DeleteLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Delete an entity statistic definition. Will delete all statistics on entity profiles and leaderboards. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatisticdefinition + */ + DeleteStatisticDefinition(request: PlayFabLeaderboardsModels.DeleteStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Delete statistics on an entity profile. This will remove all rankings from associated leaderboards. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatistics + */ + DeleteStatistics(request: PlayFabLeaderboardsModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getfriendleaderboardforentity + */ + GetFriendLeaderboardForEntity(request: PlayFabLeaderboardsModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the leaderboard for a specific entity type and statistic. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboard + */ + GetLeaderboard(request: PlayFabLeaderboardsModels.GetEntityLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the leaderboard around a specific entity. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardaroundentity + */ + GetLeaderboardAroundEntity(request: PlayFabLeaderboardsModels.GetLeaderboardAroundEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets the specified leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/getleaderboarddefinition + */ + GetLeaderboardDefinition(request: PlayFabLeaderboardsModels.GetLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the leaderboard limited to a set of entities. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardforentities + */ + GetLeaderboardForEntities(request: PlayFabLeaderboardsModels.GetLeaderboardForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get current statistic definition information + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinition + */ + GetStatisticDefinition(request: PlayFabLeaderboardsModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get all current statistic definitions information + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinitions + */ + GetStatisticDefinitions(request: PlayFabLeaderboardsModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets statistics for the specified entity. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatistics + */ + GetStatistics(request: PlayFabLeaderboardsModels.GetStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets statistics for the specified collection of entities. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticsforentities + */ + GetStatisticsForEntities(request: PlayFabLeaderboardsModels.GetStatisticsForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Increment a leaderboard version. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/incrementleaderboardversion + */ + IncrementLeaderboardVersion(request: PlayFabLeaderboardsModels.IncrementLeaderboardVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Increment an entity statistic definition version. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/incrementstatisticversion + */ + IncrementStatisticVersion(request: PlayFabLeaderboardsModels.IncrementStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists the leaderboard definitions defined for the Title. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/listleaderboarddefinitions + */ + ListLeaderboardDefinitions(request: PlayFabLeaderboardsModels.ListLeaderboardDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get all current statistic definitions information + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/liststatisticdefinitions + */ + ListStatisticDefinitions(request: PlayFabLeaderboardsModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks a leaderboard definition from it's linked statistic definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/unlinkleaderboardfromstatistic + */ + UnlinkLeaderboardFromStatistic(request: PlayFabLeaderboardsModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Adds or updates entries on the specified leaderboard. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/updateleaderboardentries + */ + UpdateLeaderboardEntries(request: PlayFabLeaderboardsModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on + * various leaderboards. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/updatestatistics + */ + UpdateStatistics(request: PlayFabLeaderboardsModels.UpdateStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + + } +} + +declare module PlayFabLeaderboardsModels { + export interface CreateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Leaderboard columns describing the sort directions, cannot be changed after creation. */ + Columns: LeaderboardColumn[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The entity type being represented on the leaderboard. If it doesn't correspond to the PlayFab entity types, use + * 'external' as the type. + */ + EntityType: string; + /** A name for the leaderboard, unique per title. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration: VersionConfiguration; + + } + + export interface CreateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity type allowed to have score(s) for this statistic. */ + EntityType?: string; + /** Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + Name: string; + /** The version reset configuration for the statistic definition. */ + VersionConfiguration?: VersionConfiguration; + + } + + export interface DeleteLeaderboardDefinitionRequest 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 name of the leaderboard definition to delete. */ + Name: string; + + } + + export interface DeleteLeaderboardEntriesRequest 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 unique Ids of the entries to delete from the leaderboard. */ + EntityIds?: string[]; + /** The name of the leaderboard. */ + Name: string; + + } + + export interface DeleteStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic to delete. */ + Name: string; + + } + + export interface DeleteStatisticsRequest 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; + /** Collection of statistics to remove from this entity. */ + Statistics: StatisticDelete[]; + + } + + export interface DeleteStatisticsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + + } + + export interface EmptyResponse 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 EntityLeaderboardEntry { + /** Entity's display name. */ + DisplayName?: string; + /** Entity identifier. */ + Entity?: EntityKey; + /** The time at which the last update to the entry was recorded on the server. */ + LastUpdated: string; + /** An opaque blob of data stored on the leaderboard entry. Note that the metadata is not used for ranking purposes. */ + Metadata?: string; + /** Position on the leaderboard. */ + Rank: number; + /** Scores for the entry. */ + Scores?: string[]; + + } + + export interface EntityStatistics { + /** Entity key */ + EntityKey?: EntityKey; + /** All statistics for the given entitykey */ + Statistics?: EntityStatisticValue[]; + + } + + export interface EntityStatisticValue { + /** Metadata associated with the Statistic. */ + Metadata?: string; + /** Statistic name */ + Name?: string; + /** Statistic scores */ + Scores?: string[]; + /** Statistic version */ + Version: number; + + } + + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "Xbox" + | "Psn" + | "All"; + + export interface GetEntityLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** Maximum number of results to return from the leaderboard. Minimum 1, maximum 1,000. */ + PageSize: number; + /** Index position to start from. 1 is beginning of leaderboard. */ + StartingPosition?: number; + /** Optional version of the leaderboard, defaults to current version. */ + Version?: number; + + } + + export interface GetEntityLeaderboardResponse extends PlayFabModule.IPlayFabResultCommon { + /** Leaderboard columns describing the sort directions, */ + Columns?: LeaderboardColumn[]; + /** Individual entity rankings in the leaderboard, in sorted order by rank. */ + Rankings?: EntityLeaderboardEntry[]; + /** Version of the leaderboard being returned. */ + Version: number; + + } + + export interface GetFriendLeaderboardForEntityRequest 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; + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ + ExternalFriendSources?: string; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** Optional version of the leaderboard, defaults to current version. */ + Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; + + } + + export interface GetLeaderboardAroundEntityRequest 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; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** + * Number of surrounding entries to return (in addition to specified entity). In general, the number of ranks above and + * below will be split into half. For example, if the specified value is 10, 5 ranks above and 5 ranks below will be + * retrieved. However, the numbers will get skewed in either direction when the specified entity is towards the top or + * bottom of the leaderboard. Also, the number of entries returned can be lower than the value specified for entries at the + * bottom of the leaderboard. + */ + MaxSurroundingEntries: number; + /** Optional version of the leaderboard, defaults to current. */ + Version?: number; + + } + + export interface GetLeaderboardDefinitionRequest 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 name of the leaderboard to retrieve the definition for. */ + Name: string; + + } + + export interface GetLeaderboardDefinitionResponse extends PlayFabModule.IPlayFabResultCommon { + /** Sort direction of the leaderboard columns, cannot be changed after creation. */ + Columns: LeaderboardColumn[]; + /** Created time, in UTC */ + Created: string; + /** + * The entity type being represented on the leaderboard. If it doesn't correspond to the PlayFab entity types, use + * 'external' as the type. + */ + EntityType: string; + /** Last time, in UTC, leaderboard version was incremented. */ + LastResetTime?: string; + /** A name for the leaderboard, unique per title. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit: number; + /** Latest Leaderboard version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration: VersionConfiguration; + + } + + export interface GetLeaderboardForEntitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Collection of Entity IDs to include in the leaderboard. */ + EntityIds: string[]; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** Optional version of the leaderboard, defaults to current. */ + Version?: number; + + } + + export interface GetStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic. Must be less than 50 characters. */ + Name: string; + + } + + export interface GetStatisticDefinitionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + /** Created time, in UTC */ + Created: string; + /** The entity type that can have this statistic. */ + EntityType?: string; + /** Last time, in UTC, statistic version was incremented. */ + LastResetTime?: string; + /** The list of leaderboards that are linked to this statistic definition. */ + LinkedLeaderboardNames?: string[]; + /** Name of the statistic. */ + Name?: string; + /** Statistic version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration?: VersionConfiguration; + + } + + export interface GetStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of statistic definitions for the title. */ + StatisticDefinitions?: StatisticDefinition[]; + + } + + export interface GetStatisticsForEntitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Collection of Entity IDs to retrieve statistics for. */ + Entities: EntityKey[]; + + } + + export interface GetStatisticsForEntitiesResponse extends PlayFabModule.IPlayFabResultCommon { + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + ColumnDetails?: { [key: string]: StatisticColumnCollection }; + /** List of entities mapped to their statistics. Only the latest version of a statistic is returned. */ + EntitiesStatistics?: EntityStatistics[]; + + } + + export interface GetStatisticsRequest 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 GetStatisticsResponse extends PlayFabModule.IPlayFabResultCommon { + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + ColumnDetails?: { [key: string]: StatisticColumnCollection }; + /** The entity id and type. */ + Entity?: EntityKey; + /** List of statistics keyed by Name. Only the latest version of a statistic is returned. */ + Statistics?: { [key: string]: EntityStatisticValue }; + + } + + export interface IncrementLeaderboardVersionRequest 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 name of the leaderboard to increment the version for. */ + Name: string; + + } + + export interface IncrementLeaderboardVersionResponse extends PlayFabModule.IPlayFabResultCommon { + /** New Leaderboard version. */ + Version: number; + + } + + export interface IncrementStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic to increment the version of. */ + Name: string; + + } + + export interface IncrementStatisticVersionResponse extends PlayFabModule.IPlayFabResultCommon { + /** New statistic version. */ + Version: number; + + } + + export interface LeaderboardColumn { + /** + * If the value for this column is sourced from a statistic, details of the linked column. Null if the leaderboard is not + * linked. + */ + LinkedStatisticColumn?: LinkedStatisticColumn; + /** A name for the leaderboard column, unique per leaderboard definition. */ + Name: string; + /** The sort direction for this column. */ + SortDirection: string; + + } + + export interface LeaderboardDefinition { + /** Sort direction of the leaderboard columns, cannot be changed after creation. */ + Columns: LeaderboardColumn[]; + /** Created time, in UTC */ + Created: string; + /** + * The entity type being represented on the leaderboard. If it doesn't correspond to the PlayFab entity types, use + * 'external' as the type. + */ + EntityType: string; + /** Last time, in UTC, leaderboard version was incremented. */ + LastResetTime?: string; + /** A name for the leaderboard, unique per title. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit: number; + /** Latest Leaderboard version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration: VersionConfiguration; + + } + + export interface LeaderboardEntryUpdate { + /** The unique Id for the entry. If using PlayFab Entities, this would be the entityId of the entity. */ + EntityId: string; + /** + * Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs. Must be less + * than 50 UTF8 encoded characters. + */ + Metadata?: string; + /** + * The scores for the leaderboard. The number of values provided here must match the number of columns in the Leaderboard + * definition. + */ + Scores?: string[]; + + } + + type LeaderboardSortDirection = "Descending" + + | "Ascending"; + + export interface LinkedStatisticColumn { + /** The name of the statistic column that this leaderboard column is sourced from. */ + LinkedStatisticColumnName: string; + /** The name of the statistic. */ + LinkedStatisticName: string; + + } + + export interface ListLeaderboardDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListLeaderboardDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of leaderboard definitions for the title. */ + LeaderboardDefinitions?: LeaderboardDefinition[]; + + } + + export interface ListStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** List of statistic definitions for the title. */ + StatisticDefinitions?: StatisticDefinition[]; + + } + + type ResetInterval = "Manual" + + | "Hour" + | "Day" + | "Week" + | "Month"; + + type StatisticAggregationMethod = "Last" + + | "Min" + | "Max" + | "Sum"; + + export interface StatisticColumn { + /** Aggregation method for calculating new value of a statistic. */ + AggregationMethod: string; + /** Name of the statistic column, as originally configured. */ + Name: string; + + } + + export interface StatisticColumnCollection { + /** Columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + + } + + export interface StatisticDefinition { + /** The columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + /** Created time, in UTC */ + Created: string; + /** The entity type that can have this statistic. */ + EntityType?: string; + /** Last time, in UTC, statistic version was incremented. */ + LastResetTime?: string; + /** The list of leaderboards that are linked to this statistic definition. */ + LinkedLeaderboardNames?: string[]; + /** Name of the statistic. */ + Name?: string; + /** Statistic version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration?: VersionConfiguration; + + } + + export interface StatisticDelete { + /** Name of the statistic, as originally configured. */ + Name: string; + + } + + export interface StatisticUpdate { + /** + * Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. Must be less than 50 + * UTF8 encoded characters. + */ + Metadata?: string; + /** Name of the statistic, as originally configured. */ + Name: string; + /** + * Statistic scores for the entity. This will be used in accordance with the aggregation method configured for the + * statistics.The maximum value allowed for each individual score is 9223372036854775807. The minimum value for each + * individual score is -9223372036854775807The values are formatted as strings to avoid interop issues with client + * libraries unable to handle 64bit integers. + */ + Scores?: string[]; + /** Optional field to indicate the version of the statistic to set. When empty defaults to the statistic's current version. */ + Version?: number; + + } + + export interface UnlinkLeaderboardFromStatisticRequest 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 name of the leaderboard definition to unlink. */ + Name: string; + /** The name of the statistic definition to unlink. */ + StatisticName: string; + + } + + export interface UpdateLeaderboardEntriesRequest 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 entries to add or update on the leaderboard. */ + Entries?: LeaderboardEntryUpdate[]; + /** The name of the leaderboard. */ + LeaderboardName: string; + + } + + export interface UpdateStatisticsRequest 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; + /** Collection of statistics to update, maximum 50. */ + Statistics: StatisticUpdate[]; + + } + + export interface UpdateStatisticsResponse extends PlayFabModule.IPlayFabResultCommon { + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + ColumnDetails?: { [key: string]: StatisticColumnCollection }; + /** The entity id and type. */ + Entity?: EntityKey; + /** Updated entity profile statistics. */ + Statistics?: { [key: string]: EntityStatisticValue }; + + } + + export interface VersionConfiguration { + /** The maximum number of versions of this leaderboard/statistic that can be queried. */ + MaxQueryableVersions: number; + /** + * Reset interval that statistics or leaderboards will reset on. When using Manual intervalthe reset can only be increased + * by calling the Increase version API. When using Hour interval the resetwill occur at the start of the next hour UTC + * time. When using Day interval the reset will occur at thestart of the next day in UTC time. When using the Week interval + * the reset will occur at the start ofthe next Monday in UTC time. When using Month interval the reset will occur at the + * start of the nextmonth in UTC time. + */ + ResetInterval: string; + + } + + +} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 4ff9b455..9b2be511 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2396,7 +2396,11 @@ declare module PlayFabServerModels { | "LinkedStatisticColumnNotFound" | "LinkedStatisticColumnRequired" | "MultipleLinkedStatisticsNotAllowed" + | "DuplicateLinkedStatisticColumnNameFound" + | "AggregationTypeNotAllowedForMultiColumnStatistic" | "MaxQueryableVerionsValueNotAllowedForTier" + | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" + | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3823,7 +3827,7 @@ declare module PlayFabServerModels { IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** Id of the PlayStation :tm: Network user. */ + /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index 83b58b30..c646e249 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -9,6 +9,7 @@ /// /// /// +/// /// /// /// @@ -56,6 +57,7 @@ declare var PlayFab: { ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; InsightsApi: PlayFabInsightsModule.IPlayFabInsights; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; + LeaderboardsApi: PlayFabLeaderboardsModule.IPlayFabLeaderboards; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; @@ -73,6 +75,7 @@ declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; +declare var PlayFabLeaderboardsSDK: PlayFabLeaderboardsModule.IPlayFabLeaderboards; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index dd1c9eba..6d80b641 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -35,6 +35,7 @@ + @@ -54,6 +55,7 @@ + diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 724b0b69..3c6b3272 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -21,6 +21,7 @@ + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 39b83a8b..2085abfc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index eff9e7b9..114bf710 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 214ed874..b3bc6c4a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 55ea90cf..e9d19a2c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 81a18c4e..f75a22b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index b9f164e5..cef1a5c3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 9fa6f08b..775507b9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 581acf2d..1b83781e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index c770f22a..a3dc3c03 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index d35419f1..ffed01c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLeaderboardsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLeaderboardsApi.js new file mode 100644 index 00000000..a1c296fd --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLeaderboardsApi.js @@ -0,0 +1,335 @@ +/// + +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.176.240802", + requestGetParams: { + sdk: "JavaScriptSDK-1.176.240802" + }, + sessionTicket: 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_117"; +PlayFab.sdkVersion = "1.176.240802"; +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.LeaderboardsApi = { + ForgetAllCredentials: function () { + PlayFab._internalSettings.sessionTicket = null; + PlayFab._internalSettings.entityToken = null; + }, + + CreateLeaderboardDefinition: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/CreateLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + CreateStatisticDefinition: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/CreateStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + DeleteLeaderboardDefinition: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardDefinition", request, "X-EntityToken", 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); + }, + + GetStatisticDefinitions: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinitions", 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); + }, + + UnlinkLeaderboardFromStatistic: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UnlinkLeaderboardFromStatistic", request, "X-EntityToken", callback, customData, extraHeaders); + }, + + UpdateLeaderboardEntries: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardEntries", 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 PlayFabLeaderboardsSDK = PlayFab.LeaderboardsApi; + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 3f50e88c..83b82e4f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 4fcb043b..9c590960 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index a8156391..6451bc46 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 37554061..e0d6024e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.175.240719", + sdkVersion: "1.176.240802", requestGetParams: { - sdk: "JavaScriptSDK-1.175.240719" + sdk: "JavaScriptSDK-1.176.240802" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.175.240719"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.176.240802"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index 83b58b30..c646e249 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -9,6 +9,7 @@ /// /// /// +/// /// /// /// @@ -56,6 +57,7 @@ declare var PlayFab: { ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; InsightsApi: PlayFabInsightsModule.IPlayFabInsights; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; + LeaderboardsApi: PlayFabLeaderboardsModule.IPlayFabLeaderboards; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; @@ -73,6 +75,7 @@ declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; +declare var PlayFabLeaderboardsSDK: PlayFabLeaderboardsModule.IPlayFabLeaderboards; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 5edaef47..ca3fde7d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2569,7 +2569,11 @@ declare module PlayFabAdminModels { | "LinkedStatisticColumnNotFound" | "LinkedStatisticColumnRequired" | "MultipleLinkedStatisticsNotAllowed" + | "DuplicateLinkedStatisticColumnNameFound" + | "AggregationTypeNotAllowedForMultiColumnStatistic" | "MaxQueryableVerionsValueNotAllowedForTier" + | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" + | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLeaderboardsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLeaderboardsApi.d.ts new file mode 100644 index 00000000..6c2e7695 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabLeaderboardsApi.d.ts @@ -0,0 +1,680 @@ +/// + +declare module PlayFabLeaderboardsModule { + export interface IPlayFabLeaderboards { + ForgetAllCredentials(): void; + + /** + * Creates a new leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/createleaderboarddefinition + */ + CreateLeaderboardDefinition(request: PlayFabLeaderboardsModels.CreateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Create a new entity statistic definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/createstatisticdefinition + */ + CreateStatisticDefinition(request: PlayFabLeaderboardsModels.CreateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboarddefinition + */ + DeleteLeaderboardDefinition(request: PlayFabLeaderboardsModels.DeleteLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes the specified entries from the given leaderboard. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboardentries + */ + DeleteLeaderboardEntries(request: PlayFabLeaderboardsModels.DeleteLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Delete an entity statistic definition. Will delete all statistics on entity profiles and leaderboards. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatisticdefinition + */ + DeleteStatisticDefinition(request: PlayFabLeaderboardsModels.DeleteStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Delete statistics on an entity profile. This will remove all rankings from associated leaderboards. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatistics + */ + DeleteStatistics(request: PlayFabLeaderboardsModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getfriendleaderboardforentity + */ + GetFriendLeaderboardForEntity(request: PlayFabLeaderboardsModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the leaderboard for a specific entity type and statistic. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboard + */ + GetLeaderboard(request: PlayFabLeaderboardsModels.GetEntityLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the leaderboard around a specific entity. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardaroundentity + */ + GetLeaderboardAroundEntity(request: PlayFabLeaderboardsModels.GetLeaderboardAroundEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets the specified leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/getleaderboarddefinition + */ + GetLeaderboardDefinition(request: PlayFabLeaderboardsModels.GetLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get the leaderboard limited to a set of entities. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardforentities + */ + GetLeaderboardForEntities(request: PlayFabLeaderboardsModels.GetLeaderboardForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get current statistic definition information + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinition + */ + GetStatisticDefinition(request: PlayFabLeaderboardsModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get all current statistic definitions information + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinitions + */ + GetStatisticDefinitions(request: PlayFabLeaderboardsModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets statistics for the specified entity. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatistics + */ + GetStatistics(request: PlayFabLeaderboardsModels.GetStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets statistics for the specified collection of entities. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticsforentities + */ + GetStatisticsForEntities(request: PlayFabLeaderboardsModels.GetStatisticsForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Increment a leaderboard version. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/incrementleaderboardversion + */ + IncrementLeaderboardVersion(request: PlayFabLeaderboardsModels.IncrementLeaderboardVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Increment an entity statistic definition version. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/incrementstatisticversion + */ + IncrementStatisticVersion(request: PlayFabLeaderboardsModels.IncrementStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Lists the leaderboard definitions defined for the Title. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/listleaderboarddefinitions + */ + ListLeaderboardDefinitions(request: PlayFabLeaderboardsModels.ListLeaderboardDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Get all current statistic definitions information + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/liststatisticdefinitions + */ + ListStatisticDefinitions(request: PlayFabLeaderboardsModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks a leaderboard definition from it's linked statistic definition. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/unlinkleaderboardfromstatistic + */ + UnlinkLeaderboardFromStatistic(request: PlayFabLeaderboardsModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Adds or updates entries on the specified leaderboard. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/updateleaderboardentries + */ + UpdateLeaderboardEntries(request: PlayFabLeaderboardsModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on + * various leaderboards. + * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/updatestatistics + */ + UpdateStatistics(request: PlayFabLeaderboardsModels.UpdateStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + + } +} + +declare module PlayFabLeaderboardsModels { + export interface CreateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Leaderboard columns describing the sort directions, cannot be changed after creation. */ + Columns: LeaderboardColumn[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The entity type being represented on the leaderboard. If it doesn't correspond to the PlayFab entity types, use + * 'external' as the type. + */ + EntityType: string; + /** A name for the leaderboard, unique per title. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration: VersionConfiguration; + + } + + export interface CreateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity type allowed to have score(s) for this statistic. */ + EntityType?: string; + /** Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + Name: string; + /** The version reset configuration for the statistic definition. */ + VersionConfiguration?: VersionConfiguration; + + } + + export interface DeleteLeaderboardDefinitionRequest 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 name of the leaderboard definition to delete. */ + Name: string; + + } + + export interface DeleteLeaderboardEntriesRequest 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 unique Ids of the entries to delete from the leaderboard. */ + EntityIds?: string[]; + /** The name of the leaderboard. */ + Name: string; + + } + + export interface DeleteStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic to delete. */ + Name: string; + + } + + export interface DeleteStatisticsRequest 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; + /** Collection of statistics to remove from this entity. */ + Statistics: StatisticDelete[]; + + } + + export interface DeleteStatisticsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The entity id and type. */ + Entity?: EntityKey; + + } + + export interface EmptyResponse 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 EntityLeaderboardEntry { + /** Entity's display name. */ + DisplayName?: string; + /** Entity identifier. */ + Entity?: EntityKey; + /** The time at which the last update to the entry was recorded on the server. */ + LastUpdated: string; + /** An opaque blob of data stored on the leaderboard entry. Note that the metadata is not used for ranking purposes. */ + Metadata?: string; + /** Position on the leaderboard. */ + Rank: number; + /** Scores for the entry. */ + Scores?: string[]; + + } + + export interface EntityStatistics { + /** Entity key */ + EntityKey?: EntityKey; + /** All statistics for the given entitykey */ + Statistics?: EntityStatisticValue[]; + + } + + export interface EntityStatisticValue { + /** Metadata associated with the Statistic. */ + Metadata?: string; + /** Statistic name */ + Name?: string; + /** Statistic scores */ + Scores?: string[]; + /** Statistic version */ + Version: number; + + } + + type ExternalFriendSources = "None" + + | "Steam" + | "Facebook" + | "Xbox" + | "Psn" + | "All"; + + export interface GetEntityLeaderboardRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** Maximum number of results to return from the leaderboard. Minimum 1, maximum 1,000. */ + PageSize: number; + /** Index position to start from. 1 is beginning of leaderboard. */ + StartingPosition?: number; + /** Optional version of the leaderboard, defaults to current version. */ + Version?: number; + + } + + export interface GetEntityLeaderboardResponse extends PlayFabModule.IPlayFabResultCommon { + /** Leaderboard columns describing the sort directions, */ + Columns?: LeaderboardColumn[]; + /** Individual entity rankings in the leaderboard, in sorted order by rank. */ + Rankings?: EntityLeaderboardEntry[]; + /** Version of the leaderboard being returned. */ + Version: number; + + } + + export interface GetFriendLeaderboardForEntityRequest 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; + /** + * Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a + * comma-separated list of platforms. + */ + ExternalFriendSources?: string; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** Optional version of the leaderboard, defaults to current version. */ + Version?: number; + /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + XboxToken?: string; + + } + + export interface GetLeaderboardAroundEntityRequest 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; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** + * Number of surrounding entries to return (in addition to specified entity). In general, the number of ranks above and + * below will be split into half. For example, if the specified value is 10, 5 ranks above and 5 ranks below will be + * retrieved. However, the numbers will get skewed in either direction when the specified entity is towards the top or + * bottom of the leaderboard. Also, the number of entries returned can be lower than the value specified for entries at the + * bottom of the leaderboard. + */ + MaxSurroundingEntries: number; + /** Optional version of the leaderboard, defaults to current. */ + Version?: number; + + } + + export interface GetLeaderboardDefinitionRequest 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 name of the leaderboard to retrieve the definition for. */ + Name: string; + + } + + export interface GetLeaderboardDefinitionResponse extends PlayFabModule.IPlayFabResultCommon { + /** Sort direction of the leaderboard columns, cannot be changed after creation. */ + Columns: LeaderboardColumn[]; + /** Created time, in UTC */ + Created: string; + /** + * The entity type being represented on the leaderboard. If it doesn't correspond to the PlayFab entity types, use + * 'external' as the type. + */ + EntityType: string; + /** Last time, in UTC, leaderboard version was incremented. */ + LastResetTime?: string; + /** A name for the leaderboard, unique per title. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit: number; + /** Latest Leaderboard version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration: VersionConfiguration; + + } + + export interface GetLeaderboardForEntitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Collection of Entity IDs to include in the leaderboard. */ + EntityIds: string[]; + /** Name of the leaderboard. */ + LeaderboardName: string; + /** Optional version of the leaderboard, defaults to current. */ + Version?: number; + + } + + export interface GetStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic. Must be less than 50 characters. */ + Name: string; + + } + + export interface GetStatisticDefinitionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + /** Created time, in UTC */ + Created: string; + /** The entity type that can have this statistic. */ + EntityType?: string; + /** Last time, in UTC, statistic version was incremented. */ + LastResetTime?: string; + /** The list of leaderboards that are linked to this statistic definition. */ + LinkedLeaderboardNames?: string[]; + /** Name of the statistic. */ + Name?: string; + /** Statistic version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration?: VersionConfiguration; + + } + + export interface GetStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface GetStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of statistic definitions for the title. */ + StatisticDefinitions?: StatisticDefinition[]; + + } + + export interface GetStatisticsForEntitiesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Collection of Entity IDs to retrieve statistics for. */ + Entities: EntityKey[]; + + } + + export interface GetStatisticsForEntitiesResponse extends PlayFabModule.IPlayFabResultCommon { + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + ColumnDetails?: { [key: string]: StatisticColumnCollection }; + /** List of entities mapped to their statistics. Only the latest version of a statistic is returned. */ + EntitiesStatistics?: EntityStatistics[]; + + } + + export interface GetStatisticsRequest 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 GetStatisticsResponse extends PlayFabModule.IPlayFabResultCommon { + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + ColumnDetails?: { [key: string]: StatisticColumnCollection }; + /** The entity id and type. */ + Entity?: EntityKey; + /** List of statistics keyed by Name. Only the latest version of a statistic is returned. */ + Statistics?: { [key: string]: EntityStatisticValue }; + + } + + export interface IncrementLeaderboardVersionRequest 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 name of the leaderboard to increment the version for. */ + Name: string; + + } + + export interface IncrementLeaderboardVersionResponse extends PlayFabModule.IPlayFabResultCommon { + /** New Leaderboard version. */ + Version: number; + + } + + export interface IncrementStatisticVersionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic to increment the version of. */ + Name: string; + + } + + export interface IncrementStatisticVersionResponse extends PlayFabModule.IPlayFabResultCommon { + /** New statistic version. */ + Version: number; + + } + + export interface LeaderboardColumn { + /** + * If the value for this column is sourced from a statistic, details of the linked column. Null if the leaderboard is not + * linked. + */ + LinkedStatisticColumn?: LinkedStatisticColumn; + /** A name for the leaderboard column, unique per leaderboard definition. */ + Name: string; + /** The sort direction for this column. */ + SortDirection: string; + + } + + export interface LeaderboardDefinition { + /** Sort direction of the leaderboard columns, cannot be changed after creation. */ + Columns: LeaderboardColumn[]; + /** Created time, in UTC */ + Created: string; + /** + * The entity type being represented on the leaderboard. If it doesn't correspond to the PlayFab entity types, use + * 'external' as the type. + */ + EntityType: string; + /** Last time, in UTC, leaderboard version was incremented. */ + LastResetTime?: string; + /** A name for the leaderboard, unique per title. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit: number; + /** Latest Leaderboard version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration: VersionConfiguration; + + } + + export interface LeaderboardEntryUpdate { + /** The unique Id for the entry. If using PlayFab Entities, this would be the entityId of the entity. */ + EntityId: string; + /** + * Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs. Must be less + * than 50 UTF8 encoded characters. + */ + Metadata?: string; + /** + * The scores for the leaderboard. The number of values provided here must match the number of columns in the Leaderboard + * definition. + */ + Scores?: string[]; + + } + + type LeaderboardSortDirection = "Descending" + + | "Ascending"; + + export interface LinkedStatisticColumn { + /** The name of the statistic column that this leaderboard column is sourced from. */ + LinkedStatisticColumnName: string; + /** The name of the statistic. */ + LinkedStatisticName: string; + + } + + export interface ListLeaderboardDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListLeaderboardDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** List of leaderboard definitions for the title. */ + LeaderboardDefinitions?: LeaderboardDefinition[]; + + } + + export interface ListStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** List of statistic definitions for the title. */ + StatisticDefinitions?: StatisticDefinition[]; + + } + + type ResetInterval = "Manual" + + | "Hour" + | "Day" + | "Week" + | "Month"; + + type StatisticAggregationMethod = "Last" + + | "Min" + | "Max" + | "Sum"; + + export interface StatisticColumn { + /** Aggregation method for calculating new value of a statistic. */ + AggregationMethod: string; + /** Name of the statistic column, as originally configured. */ + Name: string; + + } + + export interface StatisticColumnCollection { + /** Columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + + } + + export interface StatisticDefinition { + /** The columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + /** Created time, in UTC */ + Created: string; + /** The entity type that can have this statistic. */ + EntityType?: string; + /** Last time, in UTC, statistic version was incremented. */ + LastResetTime?: string; + /** The list of leaderboards that are linked to this statistic definition. */ + LinkedLeaderboardNames?: string[]; + /** Name of the statistic. */ + Name?: string; + /** Statistic version. */ + Version: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration?: VersionConfiguration; + + } + + export interface StatisticDelete { + /** Name of the statistic, as originally configured. */ + Name: string; + + } + + export interface StatisticUpdate { + /** + * Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. Must be less than 50 + * UTF8 encoded characters. + */ + Metadata?: string; + /** Name of the statistic, as originally configured. */ + Name: string; + /** + * Statistic scores for the entity. This will be used in accordance with the aggregation method configured for the + * statistics.The maximum value allowed for each individual score is 9223372036854775807. The minimum value for each + * individual score is -9223372036854775807The values are formatted as strings to avoid interop issues with client + * libraries unable to handle 64bit integers. + */ + Scores?: string[]; + /** Optional field to indicate the version of the statistic to set. When empty defaults to the statistic's current version. */ + Version?: number; + + } + + export interface UnlinkLeaderboardFromStatisticRequest 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 name of the leaderboard definition to unlink. */ + Name: string; + /** The name of the statistic definition to unlink. */ + StatisticName: string; + + } + + export interface UpdateLeaderboardEntriesRequest 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 entries to add or update on the leaderboard. */ + Entries?: LeaderboardEntryUpdate[]; + /** The name of the leaderboard. */ + LeaderboardName: string; + + } + + export interface UpdateStatisticsRequest 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; + /** Collection of statistics to update, maximum 50. */ + Statistics: StatisticUpdate[]; + + } + + export interface UpdateStatisticsResponse extends PlayFabModule.IPlayFabResultCommon { + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + ColumnDetails?: { [key: string]: StatisticColumnCollection }; + /** The entity id and type. */ + Entity?: EntityKey; + /** Updated entity profile statistics. */ + Statistics?: { [key: string]: EntityStatisticValue }; + + } + + export interface VersionConfiguration { + /** The maximum number of versions of this leaderboard/statistic that can be queried. */ + MaxQueryableVersions: number; + /** + * Reset interval that statistics or leaderboards will reset on. When using Manual intervalthe reset can only be increased + * by calling the Increase version API. When using Hour interval the resetwill occur at the start of the next hour UTC + * time. When using Day interval the reset will occur at thestart of the next day in UTC time. When using the Week interval + * the reset will occur at the start ofthe next Monday in UTC time. When using Month interval the reset will occur at the + * start of the nextmonth in UTC time. + */ + ResetInterval: string; + + } + + +} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 4ff9b455..9b2be511 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2396,7 +2396,11 @@ declare module PlayFabServerModels { | "LinkedStatisticColumnNotFound" | "LinkedStatisticColumnRequired" | "MultipleLinkedStatisticsNotAllowed" + | "DuplicateLinkedStatisticColumnNameFound" + | "AggregationTypeNotAllowedForMultiColumnStatistic" | "MaxQueryableVerionsValueNotAllowedForTier" + | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" + | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3823,7 +3827,7 @@ declare module PlayFabServerModels { IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; - /** Id of the PlayStation :tm: Network user. */ + /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; } From aa59ab5ea033e61f2caefff19ffa84e7e5422320 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 22 Aug 2024 00:35:12 +0000 Subject: [PATCH 205/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240816 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 355 ++++++++++ PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- ...rboardsApi.js => PlayFabProgressionApi.js} | 14 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 642 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 6 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 4 +- ...rdsApi.d.ts => PlayFabProgressionApi.d.ts} | 94 +-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 + PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 12 +- PlayFabTestingExample/PlayFabApiTest.csproj | 8 +- PlayFabTestingExample/index.html | 4 +- .../src/PlayFab/PlayFabAddonApi.js | 355 ++++++++++ .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- ...rboardsApi.js => PlayFabProgressionApi.js} | 14 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFab.d.ts | 12 +- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 642 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 6 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 4 +- ...rdsApi.d.ts => PlayFabProgressionApi.d.ts} | 94 +-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 + 49 files changed, 2280 insertions(+), 240 deletions(-) create mode 100644 PlayFabSdk/src/PlayFab/PlayFabAddonApi.js rename PlayFabSdk/src/PlayFab/{PlayFabLeaderboardsApi.js => PlayFabProgressionApi.js} (98%) create mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts rename PlayFabSdk/src/Typings/PlayFab/{PlayFabLeaderboardsApi.d.ts => PlayFabProgressionApi.d.ts} (72%) create mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js rename PlayFabTestingExample/src/PlayFab/{PlayFabLeaderboardsApi.js => PlayFabProgressionApi.js} (98%) create mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts rename PlayFabTestingExample/src/typings/PlayFab/{PlayFabLeaderboardsApi.d.ts => PlayFabProgressionApi.d.ts} (72%) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 62571259..836ce5af 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.176.240802", + "version": "1.178.240816", "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..e3a39cfa --- /dev/null +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -0,0 +1,355 @@ +/// + +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.178.240816", + requestGetParams: { + sdk: "JavaScriptSDK-1.178.240816" + }, + sessionTicket: 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_115"; +PlayFab.sdkVersion = "1.178.240816"; +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); + }, + + 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); + }, + + 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); + }, + + 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 2085abfc..51f0bbe8 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 114bf710..218ca150 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b3bc6c4a..9ee11d86 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index e9d19a2c..b70fcb4a 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f75a22b0..bce8b796 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index cef1a5c3..46d5f780 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 775507b9..22bceb71 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 1b83781e..17e4f297 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a3dc3c03..4d43ec4b 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index ffed01c1..5656202b 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 83b82e4f..fa497963 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js index 9e92192f..3698e8f7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9c590960..d6bb7c48 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 6451bc46..1ef06b3c 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLeaderboardsApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js similarity index 98% rename from PlayFabSdk/src/PlayFab/PlayFabLeaderboardsApi.js rename to PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index a1c296fd..3005ed79 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLeaderboardsApi.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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -235,7 +235,7 @@ PlayFab.GenerateErrorReport = function (error) { return fullErrors; }; -PlayFab.LeaderboardsApi = { +PlayFab.ProgressionApi = { ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; PlayFab._internalSettings.entityToken = null; @@ -331,5 +331,5 @@ PlayFab.LeaderboardsApi = { }; -var PlayFabLeaderboardsSDK = PlayFab.LeaderboardsApi; +var PlayFabProgressionSDK = PlayFab.ProgressionApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index e0d6024e..d38e393d 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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts new file mode 100644 index 00000000..3ad358a5 --- /dev/null +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -0,0 +1,642 @@ +/// + +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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/createorupdatesteam + */ + CreateOrUpdateSteam(request: PlayFabAddonModels.CreateOrUpdateSteamRequest, 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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/deletesteam + */ + DeleteSteam(request: PlayFabAddonModels.DeleteSteamRequest, 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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/getsteam + */ + GetSteam(request: PlayFabAddonModels.GetSteamRequest, 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/null/gettwitch + */ + GetTwitch(request: PlayFabAddonModels.GetTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + + } +} + +declare module PlayFabAddonModels { + export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** iOS App Bundle ID obtained after setting up your app in the App Store. */ + AppBundleId: 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; + /** 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; + /** 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; + + } + + 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 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 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; + + } + + 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[]; + + } + + 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 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 ca3fde7d..f4905f32 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2843,6 +2843,12 @@ declare module PlayFabAdminModels { | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" + | "GameSaveManifestUpdatesNotAllowed" + | "GameSaveFileAlreadyExists" + | "GameSaveManifestVersionNotFinalized" + | "GameSaveUnknownFileInManifest" + | "GameSaveFileExceededReportedSize" + | "GameSaveFileNotUploaded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index e4b44a8a..9f4d559f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3573,7 +3573,9 @@ declare module PlayFabClientModels { export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ - AccessToken: string; + AccessToken?: string; + /** Token used for limited login authentication. */ + AuthenticationToken?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabLeaderboardsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts similarity index 72% rename from PlayFabSdk/src/Typings/PlayFab/PlayFabLeaderboardsApi.d.ts rename to PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index 6c2e7695..28e3d4c3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabLeaderboardsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -1,125 +1,125 @@ /// -declare module PlayFabLeaderboardsModule { - export interface IPlayFabLeaderboards { +declare module PlayFabProgressionModule { + export interface IPlayFabProgression { ForgetAllCredentials(): void; /** * Creates a new leaderboard definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/createleaderboarddefinition + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/createleaderboarddefinition */ - CreateLeaderboardDefinition(request: PlayFabLeaderboardsModels.CreateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + CreateLeaderboardDefinition(request: PlayFabProgressionModels.CreateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a new entity statistic definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/createstatisticdefinition + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/createstatisticdefinition */ - CreateStatisticDefinition(request: PlayFabLeaderboardsModels.CreateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + CreateStatisticDefinition(request: PlayFabProgressionModels.CreateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a leaderboard definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboarddefinition + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboarddefinition */ - DeleteLeaderboardDefinition(request: PlayFabLeaderboardsModels.DeleteLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteLeaderboardDefinition(request: PlayFabProgressionModels.DeleteLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes the specified entries from the given leaderboard. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboardentries + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboardentries */ - DeleteLeaderboardEntries(request: PlayFabLeaderboardsModels.DeleteLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteLeaderboardEntries(request: PlayFabProgressionModels.DeleteLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete an entity statistic definition. Will delete all statistics on entity profiles and leaderboards. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatisticdefinition + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatisticdefinition */ - DeleteStatisticDefinition(request: PlayFabLeaderboardsModels.DeleteStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteStatisticDefinition(request: PlayFabProgressionModels.DeleteStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete statistics on an entity profile. This will remove all rankings from associated leaderboards. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatistics + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatistics */ - DeleteStatistics(request: PlayFabLeaderboardsModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteStatistics(request: PlayFabProgressionModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getfriendleaderboardforentity + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getfriendleaderboardforentity */ - GetFriendLeaderboardForEntity(request: PlayFabLeaderboardsModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetFriendLeaderboardForEntity(request: PlayFabProgressionModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the leaderboard for a specific entity type and statistic. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboard + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboard */ - GetLeaderboard(request: PlayFabLeaderboardsModels.GetEntityLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboard(request: PlayFabProgressionModels.GetEntityLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the leaderboard around a specific entity. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardaroundentity + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardaroundentity */ - GetLeaderboardAroundEntity(request: PlayFabLeaderboardsModels.GetLeaderboardAroundEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboardAroundEntity(request: PlayFabProgressionModels.GetLeaderboardAroundEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the specified leaderboard definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/getleaderboarddefinition + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboarddefinition */ - GetLeaderboardDefinition(request: PlayFabLeaderboardsModels.GetLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboardDefinition(request: PlayFabProgressionModels.GetLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the leaderboard limited to a set of entities. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardforentities + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardforentities */ - GetLeaderboardForEntities(request: PlayFabLeaderboardsModels.GetLeaderboardForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboardForEntities(request: PlayFabProgressionModels.GetLeaderboardForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get current statistic definition information - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinition + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinition */ - GetStatisticDefinition(request: PlayFabLeaderboardsModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatisticDefinition(request: PlayFabProgressionModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all current statistic definitions information - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinitions + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinitions */ - GetStatisticDefinitions(request: PlayFabLeaderboardsModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatisticDefinitions(request: PlayFabProgressionModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets statistics for the specified entity. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatistics + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatistics */ - GetStatistics(request: PlayFabLeaderboardsModels.GetStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatistics(request: PlayFabProgressionModels.GetStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets statistics for the specified collection of entities. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticsforentities + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticsforentities */ - GetStatisticsForEntities(request: PlayFabLeaderboardsModels.GetStatisticsForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatisticsForEntities(request: PlayFabProgressionModels.GetStatisticsForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Increment a leaderboard version. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/incrementleaderboardversion + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/incrementleaderboardversion */ - IncrementLeaderboardVersion(request: PlayFabLeaderboardsModels.IncrementLeaderboardVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + IncrementLeaderboardVersion(request: PlayFabProgressionModels.IncrementLeaderboardVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Increment an entity statistic definition version. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/incrementstatisticversion + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/incrementstatisticversion */ - IncrementStatisticVersion(request: PlayFabLeaderboardsModels.IncrementStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + IncrementStatisticVersion(request: PlayFabProgressionModels.IncrementStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists the leaderboard definitions defined for the Title. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/listleaderboarddefinitions + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/listleaderboarddefinitions */ - ListLeaderboardDefinitions(request: PlayFabLeaderboardsModels.ListLeaderboardDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + ListLeaderboardDefinitions(request: PlayFabProgressionModels.ListLeaderboardDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all current statistic definitions information - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/liststatisticdefinitions + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/liststatisticdefinitions */ - ListStatisticDefinitions(request: PlayFabLeaderboardsModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + ListStatisticDefinitions(request: PlayFabProgressionModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks a leaderboard definition from it's linked statistic definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/unlinkleaderboardfromstatistic + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic */ - UnlinkLeaderboardFromStatistic(request: PlayFabLeaderboardsModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UnlinkLeaderboardFromStatistic(request: PlayFabProgressionModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds or updates entries on the specified leaderboard. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/updateleaderboardentries + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboardentries */ - UpdateLeaderboardEntries(request: PlayFabLeaderboardsModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UpdateLeaderboardEntries(request: PlayFabProgressionModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on * various leaderboards. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/updatestatistics + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatistics */ - UpdateStatistics(request: PlayFabLeaderboardsModels.UpdateStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UpdateStatistics(request: PlayFabProgressionModels.UpdateStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } -declare module PlayFabLeaderboardsModels { +declare module PlayFabProgressionModels { export interface CreateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Leaderboard columns describing the sort directions, cannot be changed after creation. */ Columns: LeaderboardColumn[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 9b2be511..64b7b5fa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2670,6 +2670,12 @@ declare module PlayFabServerModels { | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" + | "GameSaveManifestUpdatesNotAllowed" + | "GameSaveFileAlreadyExists" + | "GameSaveManifestVersionNotFinalized" + | "GameSaveUnknownFileInManifest" + | "GameSaveFileExceededReportedSize" + | "GameSaveFileNotUploaded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index c646e249..f2ce678f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -9,10 +9,12 @@ /// /// /// -/// +/// /// /// /// +/// +/// declare module PlayFabModule { export interface ISettings { @@ -57,10 +59,12 @@ declare var PlayFab: { ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; InsightsApi: PlayFabInsightsModule.IPlayFabInsights; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; - LeaderboardsApi: PlayFabLeaderboardsModule.IPlayFabLeaderboards; + ProgressionApi: PlayFabProgressionModule.IPlayFabProgression; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; + MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; + AddonApi: PlayFabAddonModule.IPlayFabAddon; }; // Continue to support older usage @@ -75,8 +79,10 @@ declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; -declare var PlayFabLeaderboardsSDK: PlayFabLeaderboardsModule.IPlayFabLeaderboards; +declare var PlayFabProgressionSDK: PlayFabProgressionModule.IPlayFabProgression; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; +declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; +declare var PlayFabAddonSDK: PlayFabAddonModule.IPlayFabAddon; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 6d80b641..9809f5c8 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -35,10 +35,12 @@ - + + +
      @@ -55,10 +57,12 @@ - + + + diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index 3c6b3272..a00c6a34 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -21,10 +21,12 @@ - + + + diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js new file mode 100644 index 00000000..e3a39cfa --- /dev/null +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -0,0 +1,355 @@ +/// + +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.178.240816", + requestGetParams: { + sdk: "JavaScriptSDK-1.178.240816" + }, + sessionTicket: 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_115"; +PlayFab.sdkVersion = "1.178.240816"; +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); + }, + + 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); + }, + + 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); + }, + + 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/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 2085abfc..51f0bbe8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 114bf710..218ca150 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b3bc6c4a..9ee11d86 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index e9d19a2c..b70fcb4a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f75a22b0..bce8b796 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index cef1a5c3..46d5f780 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 775507b9..22bceb71 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 1b83781e..17e4f297 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a3dc3c03..4d43ec4b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index ffed01c1..5656202b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 83b82e4f..fa497963 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js index 9e92192f..3698e8f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.154.230915", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.154.230915" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.154.230915"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9c590960..d6bb7c48 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 6451bc46..1ef06b3c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLeaderboardsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js similarity index 98% rename from PlayFabTestingExample/src/PlayFab/PlayFabLeaderboardsApi.js rename to PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index a1c296fd..3005ed79 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLeaderboardsApi.js +++ b/PlayFabTestingExample/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.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -235,7 +235,7 @@ PlayFab.GenerateErrorReport = function (error) { return fullErrors; }; -PlayFab.LeaderboardsApi = { +PlayFab.ProgressionApi = { ForgetAllCredentials: function () { PlayFab._internalSettings.sessionTicket = null; PlayFab._internalSettings.entityToken = null; @@ -331,5 +331,5 @@ PlayFab.LeaderboardsApi = { }; -var PlayFabLeaderboardsSDK = PlayFab.LeaderboardsApi; +var PlayFabProgressionSDK = PlayFab.ProgressionApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index e0d6024e..d38e393d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.176.240802", + sdkVersion: "1.178.240816", requestGetParams: { - sdk: "JavaScriptSDK-1.176.240802" + sdk: "JavaScriptSDK-1.178.240816" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.176.240802"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.178.240816"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index c646e249..f2ce678f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -9,10 +9,12 @@ /// /// /// -/// +/// /// /// /// +/// +/// declare module PlayFabModule { export interface ISettings { @@ -57,10 +59,12 @@ declare var PlayFab: { ExperimentationApi: PlayFabExperimentationModule.IPlayFabExperimentation; InsightsApi: PlayFabInsightsModule.IPlayFabInsights; GroupsApi: PlayFabGroupsModule.IPlayFabGroups; - LeaderboardsApi: PlayFabLeaderboardsModule.IPlayFabLeaderboards; + ProgressionApi: PlayFabProgressionModule.IPlayFabProgression; LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; + MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; + AddonApi: PlayFabAddonModule.IPlayFabAddon; }; // Continue to support older usage @@ -75,8 +79,10 @@ declare var PlayFabEventsSDK: PlayFabEventsModule.IPlayFabEvents; declare var PlayFabExperimentationSDK: PlayFabExperimentationModule.IPlayFabExperimentation; declare var PlayFabInsightsSDK: PlayFabInsightsModule.IPlayFabInsights; declare var PlayFabGroupsSDK: PlayFabGroupsModule.IPlayFabGroups; -declare var PlayFabLeaderboardsSDK: PlayFabLeaderboardsModule.IPlayFabLeaderboards; +declare var PlayFabProgressionSDK: PlayFabProgressionModule.IPlayFabProgression; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; +declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; +declare var PlayFabAddonSDK: PlayFabAddonModule.IPlayFabAddon; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts new file mode 100644 index 00000000..3ad358a5 --- /dev/null +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -0,0 +1,642 @@ +/// + +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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/createorupdatesteam + */ + CreateOrUpdateSteam(request: PlayFabAddonModels.CreateOrUpdateSteamRequest, 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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/deletesteam + */ + DeleteSteam(request: PlayFabAddonModels.DeleteSteamRequest, 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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/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/null/getsteam + */ + GetSteam(request: PlayFabAddonModels.GetSteamRequest, 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/null/gettwitch + */ + GetTwitch(request: PlayFabAddonModels.GetTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + + } +} + +declare module PlayFabAddonModels { + export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** iOS App Bundle ID obtained after setting up your app in the App Store. */ + AppBundleId: 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; + /** 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; + /** 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; + + } + + 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 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 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; + + } + + 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[]; + + } + + 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 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/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ca3fde7d..f4905f32 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2843,6 +2843,12 @@ declare module PlayFabAdminModels { | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" + | "GameSaveManifestUpdatesNotAllowed" + | "GameSaveFileAlreadyExists" + | "GameSaveManifestVersionNotFinalized" + | "GameSaveUnknownFileInManifest" + | "GameSaveFileExceededReportedSize" + | "GameSaveFileNotUploaded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index e4b44a8a..9f4d559f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3573,7 +3573,9 @@ declare module PlayFabClientModels { export interface LoginWithFacebookRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ - AccessToken: string; + AccessToken?: string; + /** Token used for limited login authentication. */ + AuthenticationToken?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLeaderboardsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts similarity index 72% rename from PlayFabTestingExample/src/typings/PlayFab/PlayFabLeaderboardsApi.d.ts rename to PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index 6c2e7695..28e3d4c3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabLeaderboardsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -1,125 +1,125 @@ /// -declare module PlayFabLeaderboardsModule { - export interface IPlayFabLeaderboards { +declare module PlayFabProgressionModule { + export interface IPlayFabProgression { ForgetAllCredentials(): void; /** * Creates a new leaderboard definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/createleaderboarddefinition + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/createleaderboarddefinition */ - CreateLeaderboardDefinition(request: PlayFabLeaderboardsModels.CreateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + CreateLeaderboardDefinition(request: PlayFabProgressionModels.CreateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Create a new entity statistic definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/createstatisticdefinition + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/createstatisticdefinition */ - CreateStatisticDefinition(request: PlayFabLeaderboardsModels.CreateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + CreateStatisticDefinition(request: PlayFabProgressionModels.CreateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a leaderboard definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboarddefinition + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboarddefinition */ - DeleteLeaderboardDefinition(request: PlayFabLeaderboardsModels.DeleteLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteLeaderboardDefinition(request: PlayFabProgressionModels.DeleteLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes the specified entries from the given leaderboard. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/deleteleaderboardentries + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/deleteleaderboardentries */ - DeleteLeaderboardEntries(request: PlayFabLeaderboardsModels.DeleteLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteLeaderboardEntries(request: PlayFabProgressionModels.DeleteLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete an entity statistic definition. Will delete all statistics on entity profiles and leaderboards. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatisticdefinition + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatisticdefinition */ - DeleteStatisticDefinition(request: PlayFabLeaderboardsModels.DeleteStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteStatisticDefinition(request: PlayFabProgressionModels.DeleteStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Delete statistics on an entity profile. This will remove all rankings from associated leaderboards. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/deletestatistics + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/deletestatistics */ - DeleteStatistics(request: PlayFabLeaderboardsModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + DeleteStatistics(request: PlayFabProgressionModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getfriendleaderboardforentity + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getfriendleaderboardforentity */ - GetFriendLeaderboardForEntity(request: PlayFabLeaderboardsModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetFriendLeaderboardForEntity(request: PlayFabProgressionModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the leaderboard for a specific entity type and statistic. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboard + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboard */ - GetLeaderboard(request: PlayFabLeaderboardsModels.GetEntityLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboard(request: PlayFabProgressionModels.GetEntityLeaderboardRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the leaderboard around a specific entity. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardaroundentity + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardaroundentity */ - GetLeaderboardAroundEntity(request: PlayFabLeaderboardsModels.GetLeaderboardAroundEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboardAroundEntity(request: PlayFabProgressionModels.GetLeaderboardAroundEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets the specified leaderboard definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/getleaderboarddefinition + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboarddefinition */ - GetLeaderboardDefinition(request: PlayFabLeaderboardsModels.GetLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboardDefinition(request: PlayFabProgressionModels.GetLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the leaderboard limited to a set of entities. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getleaderboardforentities + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getleaderboardforentities */ - GetLeaderboardForEntities(request: PlayFabLeaderboardsModels.GetLeaderboardForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetLeaderboardForEntities(request: PlayFabProgressionModels.GetLeaderboardForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get current statistic definition information - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinition + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinition */ - GetStatisticDefinition(request: PlayFabLeaderboardsModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatisticDefinition(request: PlayFabProgressionModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all current statistic definitions information - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticdefinitions + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinitions */ - GetStatisticDefinitions(request: PlayFabLeaderboardsModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatisticDefinitions(request: PlayFabProgressionModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets statistics for the specified entity. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatistics + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatistics */ - GetStatistics(request: PlayFabLeaderboardsModels.GetStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatistics(request: PlayFabProgressionModels.GetStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets statistics for the specified collection of entities. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/getstatisticsforentities + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticsforentities */ - GetStatisticsForEntities(request: PlayFabLeaderboardsModels.GetStatisticsForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + GetStatisticsForEntities(request: PlayFabProgressionModels.GetStatisticsForEntitiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Increment a leaderboard version. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/incrementleaderboardversion + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/incrementleaderboardversion */ - IncrementLeaderboardVersion(request: PlayFabLeaderboardsModels.IncrementLeaderboardVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + IncrementLeaderboardVersion(request: PlayFabProgressionModels.IncrementLeaderboardVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Increment an entity statistic definition version. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/incrementstatisticversion + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/incrementstatisticversion */ - IncrementStatisticVersion(request: PlayFabLeaderboardsModels.IncrementStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + IncrementStatisticVersion(request: PlayFabProgressionModels.IncrementStatisticVersionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists the leaderboard definitions defined for the Title. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/listleaderboarddefinitions + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/listleaderboarddefinitions */ - ListLeaderboardDefinitions(request: PlayFabLeaderboardsModels.ListLeaderboardDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + ListLeaderboardDefinitions(request: PlayFabProgressionModels.ListLeaderboardDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get all current statistic definitions information - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/liststatisticdefinitions + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/liststatisticdefinitions */ - ListStatisticDefinitions(request: PlayFabLeaderboardsModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + ListStatisticDefinitions(request: PlayFabProgressionModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks a leaderboard definition from it's linked statistic definition. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/unlinkleaderboardfromstatistic + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic */ - UnlinkLeaderboardFromStatistic(request: PlayFabLeaderboardsModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UnlinkLeaderboardFromStatistic(request: PlayFabProgressionModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds or updates entries on the specified leaderboard. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/leaderboards/updateleaderboardentries + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboardentries */ - UpdateLeaderboardEntries(request: PlayFabLeaderboardsModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UpdateLeaderboardEntries(request: PlayFabProgressionModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on * various leaderboards. - * https://docs.microsoft.com/rest/api/playfab/leaderboards/statistics-and-leaderboards/updatestatistics + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatistics */ - UpdateStatistics(request: PlayFabLeaderboardsModels.UpdateStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UpdateStatistics(request: PlayFabProgressionModels.UpdateStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } -declare module PlayFabLeaderboardsModels { +declare module PlayFabProgressionModels { export interface CreateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** Leaderboard columns describing the sort directions, cannot be changed after creation. */ Columns: LeaderboardColumn[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 9b2be511..64b7b5fa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2670,6 +2670,12 @@ declare module PlayFabServerModels { | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" + | "GameSaveManifestUpdatesNotAllowed" + | "GameSaveFileAlreadyExists" + | "GameSaveManifestVersionNotFinalized" + | "GameSaveUnknownFileInManifest" + | "GameSaveFileExceededReportedSize" + | "GameSaveFileNotUploaded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 4e41f344029dc9e3747fdcc0c80cee26860864f6 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 3 Sep 2024 09:41:58 +0000 Subject: [PATCH 206/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240830 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 247 ------------------ .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 66 +++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 15 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 8 +- .../Typings/PlayFab/PlayFabMatchmakerApi.d.ts | 13 - .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 17 +- .../src/PlayFab/PlayFabAddonApi.js | 8 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMatchmakerApi.js | 247 ------------------ .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 66 +++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 15 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 8 +- .../typings/PlayFab/PlayFabMatchmakerApi.d.ts | 13 - .../src/typings/PlayFab/PlayFabServerApi.d.ts | 17 +- 47 files changed, 255 insertions(+), 739 deletions(-) delete mode 100644 PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js delete mode 100644 PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts delete mode 100644 PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js delete mode 100644 PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 836ce5af..41e965ea 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.178.240816", + "version": "1.179.240830", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index e3a39cfa..53ba1279 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 51f0bbe8..c631a780 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 218ca150..2816f19d 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 9ee11d86..56f98da3 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b70fcb4a..b775907f 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index bce8b796..1b867416 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 46d5f780..4b054f49 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 22bceb71..0df3ea3e 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 17e4f297..9993291b 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 4d43ec4b..94e4ae36 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 5656202b..2150b6a4 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index fa497963..ec80e493 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js deleted file mode 100644 index 3698e8f7..00000000 --- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js +++ /dev/null @@ -1,247 +0,0 @@ -/// - -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.178.240816", - requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" - }, - sessionTicket: 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_115"; -PlayFab.sdkVersion = "1.178.240816"; -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.MatchmakerApi = { - ForgetAllCredentials: function () { - PlayFab._internalSettings.sessionTicket = null; - PlayFab._internalSettings.entityToken = null; - }, - -}; - -var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; - diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index d6bb7c48..aa43a0a1 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 1ef06b3c..d2328ae6 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 3005ed79..3bd3d2c3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d38e393d..62f110c4 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.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index 3ad358a5..a8999451 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -6,137 +6,137 @@ declare module PlayFabAddonModule { /** * Creates the Apple addon on a title, or updates it if it already exists. - * https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdateapple + * 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/null/createorupdatefacebook + * 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/null/createorupdatefacebookinstantgames + * 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/null/createorupdategoogle + * 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/null/createorupdatekongregate + * 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/null/createorupdatenintendo + * 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/null/createorupdatepsn + * 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/null/createorupdatesteam + * 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 Twitch addon on a title, or updates it if it already exists. - * https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatetwitch + * 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/null/deleteapple + * 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/null/deletefacebook + * 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/null/deletefacebookinstantgames + * 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/null/deletegoogle + * 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/null/deletekongregate + * 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/null/deletenintendo + * 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/null/deletepsn + * 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/null/deletesteam + * 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 Twitch addon on a title. - * https://docs.microsoft.com/rest/api/playfab/addon/null/deletetwitch + * 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/null/getapple + * 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/null/getfacebook + * 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/null/getfacebookinstantgames + * 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/null/getgoogle + * 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/null/getkongregate + * 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/null/getnintendo + * 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/null/getpsn + * 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/null/getsteam + * 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 Twitch addon on a title, omits secrets. - * https://docs.microsoft.com/rest/api/playfab/addon/null/gettwitch + * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch */ GetTwitch(request: PlayFabAddonModels.GetTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -234,6 +234,12 @@ declare module PlayFabAddonModels { * 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; @@ -536,6 +542,12 @@ declare module PlayFabAddonModels { * 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; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f4905f32..f7bb4c8e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2571,7 +2571,7 @@ declare module PlayFabAdminModels { | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" - | "MaxQueryableVerionsValueNotAllowedForTier" + | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 9f4d559f..d8ba6488 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -1990,20 +1990,23 @@ declare module PlayFabClientModels { } export interface FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ PSNInfo?: UserPsnInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ Tags?: string[]; @@ -2011,7 +2014,7 @@ declare module PlayFabClientModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ XboxInfo?: UserXboxInfo; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 903f2539..24e01593 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1913,18 +1913,18 @@ declare module PlayFabEconomyModels { FailureCode?: string; /** The marketplace error details explaining why the offer failed to redeem. */ FailureDetails?: string; + /** The Marketplace Alternate ID being redeemed. */ + MarketplaceAlternateId?: string; /** The transaction id in the external marketplace. */ MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; } export interface RedemptionSuccess { + /** The Marketplace Alternate ID being redeemed. */ + MarketplaceAlternateId?: string; /** The transaction id in the external marketplace. */ MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; /** The timestamp for when the redeem was completed. */ SuccessTimestamp: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts deleted file mode 100644 index 985dea57..00000000 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// - -declare module PlayFabMatchmakerModule { - export interface IPlayFabMatchmaker { - ForgetAllCredentials(): void; - - - } -} - -declare module PlayFabMatchmakerModels { - -} diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 64b7b5fa..ad6e2779 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -1793,20 +1793,23 @@ declare module PlayFabServerModels { } export interface FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ PSNInfo?: UserPsnInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ Tags?: string[]; @@ -1814,7 +1817,7 @@ declare module PlayFabServerModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ XboxInfo?: UserXboxInfo; } @@ -2398,7 +2401,7 @@ declare module PlayFabServerModels { | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" - | "MaxQueryableVerionsValueNotAllowedForTier" + | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index e3a39cfa..53ba1279 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 51f0bbe8..c631a780 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 218ca150..2816f19d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 9ee11d86..56f98da3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b70fcb4a..b775907f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index bce8b796..1b867416 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 46d5f780..4b054f49 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 22bceb71..0df3ea3e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 17e4f297..9993291b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 4d43ec4b..94e4ae36 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 5656202b..2150b6a4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index fa497963..ec80e493 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js deleted file mode 100644 index 3698e8f7..00000000 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMatchmakerApi.js +++ /dev/null @@ -1,247 +0,0 @@ -/// - -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.178.240816", - requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" - }, - sessionTicket: 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_115"; -PlayFab.sdkVersion = "1.178.240816"; -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.MatchmakerApi = { - ForgetAllCredentials: function () { - PlayFab._internalSettings.sessionTicket = null; - PlayFab._internalSettings.entityToken = null; - }, - -}; - -var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi; - diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index d6bb7c48..aa43a0a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 1ef06b3c..d2328ae6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 3005ed79..3bd3d2c3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d38e393d..62f110c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.178.240816", + sdkVersion: "1.179.240830", requestGetParams: { - sdk: "JavaScriptSDK-1.178.240816" + sdk: "JavaScriptSDK-1.179.240830" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.178.240816"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.179.240830"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index 3ad358a5..a8999451 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -6,137 +6,137 @@ declare module PlayFabAddonModule { /** * Creates the Apple addon on a title, or updates it if it already exists. - * https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdateapple + * 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/null/createorupdatefacebook + * 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/null/createorupdatefacebookinstantgames + * 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/null/createorupdategoogle + * 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/null/createorupdatekongregate + * 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/null/createorupdatenintendo + * 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/null/createorupdatepsn + * 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/null/createorupdatesteam + * 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 Twitch addon on a title, or updates it if it already exists. - * https://docs.microsoft.com/rest/api/playfab/addon/null/createorupdatetwitch + * 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/null/deleteapple + * 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/null/deletefacebook + * 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/null/deletefacebookinstantgames + * 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/null/deletegoogle + * 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/null/deletekongregate + * 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/null/deletenintendo + * 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/null/deletepsn + * 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/null/deletesteam + * 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 Twitch addon on a title. - * https://docs.microsoft.com/rest/api/playfab/addon/null/deletetwitch + * 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/null/getapple + * 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/null/getfacebook + * 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/null/getfacebookinstantgames + * 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/null/getgoogle + * 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/null/getkongregate + * 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/null/getnintendo + * 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/null/getpsn + * 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/null/getsteam + * 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 Twitch addon on a title, omits secrets. - * https://docs.microsoft.com/rest/api/playfab/addon/null/gettwitch + * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch */ GetTwitch(request: PlayFabAddonModels.GetTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -234,6 +234,12 @@ declare module PlayFabAddonModels { * 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; @@ -536,6 +542,12 @@ declare module PlayFabAddonModels { * 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; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f4905f32..f7bb4c8e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2571,7 +2571,7 @@ declare module PlayFabAdminModels { | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" - | "MaxQueryableVerionsValueNotAllowedForTier" + | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 9f4d559f..d8ba6488 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -1990,20 +1990,23 @@ declare module PlayFabClientModels { } export interface FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ PSNInfo?: UserPsnInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ Tags?: string[]; @@ -2011,7 +2014,7 @@ declare module PlayFabClientModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ XboxInfo?: UserXboxInfo; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 903f2539..24e01593 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1913,18 +1913,18 @@ declare module PlayFabEconomyModels { FailureCode?: string; /** The marketplace error details explaining why the offer failed to redeem. */ FailureDetails?: string; + /** The Marketplace Alternate ID being redeemed. */ + MarketplaceAlternateId?: string; /** The transaction id in the external marketplace. */ MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; } export interface RedemptionSuccess { + /** The Marketplace Alternate ID being redeemed. */ + MarketplaceAlternateId?: string; /** The transaction id in the external marketplace. */ MarketplaceTransactionId?: string; - /** The ID of the offer being redeemed. */ - OfferId?: string; /** The timestamp for when the redeem was completed. */ SuccessTimestamp: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts deleted file mode 100644 index 985dea57..00000000 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMatchmakerApi.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// - -declare module PlayFabMatchmakerModule { - export interface IPlayFabMatchmaker { - ForgetAllCredentials(): void; - - - } -} - -declare module PlayFabMatchmakerModels { - -} diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 64b7b5fa..ad6e2779 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -1793,20 +1793,23 @@ declare module PlayFabServerModels { } export interface FriendInfo { - /** Available Facebook information (if the user and PlayFab friend are also connected in Facebook). */ + /** Available Facebook information (if the user and connected Facebook friend both have PlayFab Accounts in the same title). */ FacebookInfo?: UserFacebookInfo; /** PlayFab unique identifier for this friend. */ FriendPlayFabId?: string; - /** Available Game Center information (if the user and PlayFab friend are also connected in Game Center). */ + /** + * Available Game Center information (if the user and connected Game Center friend both have PlayFab Accounts in the same + * title). + */ GameCenterInfo?: UserGameCenterInfo; /** The profile of the user, if requested. */ Profile?: PlayerProfileModel; /** - * Available PlayStation :tm: Network information, if the user and PlayFab friend are both connected to PlayStation :tm: - * Network. + * Available PlayStation :tm: Network information, if the user connected PlayStation :tm Network friend both have PlayFab + * Accounts in the same title. */ PSNInfo?: UserPsnInfo; - /** Available Steam information (if the user and PlayFab friend are also connected in Steam). */ + /** Available Steam information (if the user and connected Steam friend both have PlayFab Accounts in the same title). */ SteamInfo?: UserSteamInfo; /** Tags which have been associated with this friend. */ Tags?: string[]; @@ -1814,7 +1817,7 @@ declare module PlayFabServerModels { TitleDisplayName?: string; /** PlayFab unique username for this friend. */ Username?: string; - /** Available Xbox information, if the user and PlayFab friend are both connected to Xbox Live. */ + /** Available Xbox information, (if the user and connected Xbox Live friend both have PlayFab Accounts in the same title). */ XboxInfo?: UserXboxInfo; } @@ -2398,7 +2401,7 @@ declare module PlayFabServerModels { | "MultipleLinkedStatisticsNotAllowed" | "DuplicateLinkedStatisticColumnNameFound" | "AggregationTypeNotAllowedForMultiColumnStatistic" - | "MaxQueryableVerionsValueNotAllowedForTier" + | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" | "MatchmakingEntityInvalid" From 2c753fba5cef95c1a5060f10c4d0638bfa92928b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 16 Sep 2024 22:52:16 +0000 Subject: [PATCH 207/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240913 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 10 +++++--- .../src/PlayFab/PlayFabProgressionApi.js | 10 +++----- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 6 +++-- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 6 +++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 ++- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 25 +++++++++++++++++++ .../PlayFab/PlayFabProgressionApi.d.ts | 17 ------------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 +++-- PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts | 3 --- PlayFabTestingExample/PlayFabApiTest.csproj | 2 -- PlayFabTestingExample/index.html | 1 - .../src/PlayFab/PlayFabAddonApi.js | 6 ++--- .../src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- .../src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- .../src/PlayFab/PlayFabDataApi.js | 6 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 6 ++--- .../src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 10 +++++--- .../src/PlayFab/PlayFabProgressionApi.js | 10 +++----- .../src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/typings/PlayFab/PlayFab.d.ts | 3 --- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 6 +++-- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 6 +++-- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 ++- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 25 +++++++++++++++++++ .../PlayFab/PlayFabProgressionApi.d.ts | 17 ------------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 +++-- 51 files changed, 187 insertions(+), 164 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 41e965ea..82bbd541 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.179.240830", + "version": "1.180.240913", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 53ba1279..36965321 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index c631a780..082f48ae 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2816f19d..136dd9c1 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 56f98da3..c77c07ca 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b775907f..71594f08 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 1b867416..6d118167 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 4b054f49..fcb31e13 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 0df3ea3e..f744ca8e 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 9993291b..436bb645 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 94e4ae36..41f6555c 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2150b6a4..f56a9958 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ec80e493..9b876e19 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index aa43a0a1..63bd045d 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index d2328ae6..09f5d8dd 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -261,6 +261,10 @@ PlayFab.ProfilesApi = { 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/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 3bd3d2c3..947bb61a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -289,10 +289,6 @@ PlayFab.ProgressionApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetStatisticDefinitions: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinitions", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 62f110c4..bff9ad07 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.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f7bb4c8e..cc024db7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3674,7 +3674,8 @@ declare module PlayFabAdminModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -5733,7 +5734,8 @@ declare module PlayFabAdminModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index f9dcb3bf..ee55306a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -148,7 +148,8 @@ declare module PlayFabAuthenticationModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; 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 d8ba6488..8367ae44 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3440,7 +3440,8 @@ declare module PlayFabClientModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -5335,7 +5336,8 @@ declare module PlayFabClientModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 496d74f1..9076c837 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -624,7 +624,8 @@ declare module PlayFabCloudScriptModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index 96e73a36..f28ed924 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -29,6 +29,11 @@ declare module PlayFabProfilesModule { * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfromxboxliveids */ GetTitlePlayersFromXboxLiveIDs(request: PlayFabProfilesModels.GetTitlePlayersFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Update the display name of the entity + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setdisplayname + */ + SetDisplayName(request: PlayFabProfilesModels.SetDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy @@ -264,6 +269,26 @@ declare module PlayFabProfilesModels { | "Deleted" | "None"; + export interface SetDisplayNameRequest 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 new value to be set on Entity Profile's display name */ + DisplayName?: string; + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ + Entity?: EntityKey; + /** The expected version of a profile to perform this update on */ + ExpectedVersion?: number; + + } + + export interface SetDisplayNameResponse extends PlayFabModule.IPlayFabResultCommon { + /** The type of operation that occured on the profile's display name */ + OperationResult?: string; + /** The updated version of the profile after the display name update */ + VersionNumber?: number; + + } + export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index 28e3d4c3..ced13b81 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -64,11 +64,6 @@ declare module PlayFabProgressionModule { * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinition */ GetStatisticDefinition(request: PlayFabProgressionModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Get all current statistic definitions information - * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinitions - */ - GetStatisticDefinitions(request: PlayFabProgressionModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets statistics for the specified entity. * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatistics @@ -385,18 +380,6 @@ declare module PlayFabProgressionModels { } - export interface GetStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface GetStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { - /** List of statistic definitions for the title. */ - StatisticDefinitions?: StatisticDefinition[]; - - } - export interface GetStatisticsForEntitiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ad6e2779..6281a7bf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3950,7 +3950,8 @@ declare module PlayFabServerModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ @@ -5478,7 +5479,8 @@ declare module PlayFabServerModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts index f2ce678f..441d70ef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/Playfab.d.ts @@ -13,7 +13,6 @@ /// /// /// -/// /// declare module PlayFabModule { @@ -63,7 +62,6 @@ declare var PlayFab: { LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; - MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; AddonApi: PlayFabAddonModule.IPlayFabAddon; }; @@ -83,6 +81,5 @@ declare var PlayFabProgressionSDK: PlayFabProgressionModule.IPlayFabProgression; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; -declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabAddonSDK: PlayFabAddonModule.IPlayFabAddon; diff --git a/PlayFabTestingExample/PlayFabApiTest.csproj b/PlayFabTestingExample/PlayFabApiTest.csproj index 9809f5c8..3d733211 100644 --- a/PlayFabTestingExample/PlayFabApiTest.csproj +++ b/PlayFabTestingExample/PlayFabApiTest.csproj @@ -39,7 +39,6 @@ - @@ -61,7 +60,6 @@ - diff --git a/PlayFabTestingExample/index.html b/PlayFabTestingExample/index.html index a00c6a34..a60aec41 100644 --- a/PlayFabTestingExample/index.html +++ b/PlayFabTestingExample/index.html @@ -25,7 +25,6 @@ - diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 53ba1279..36965321 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index c631a780..082f48ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2816f19d..136dd9c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 56f98da3..c77c07ca 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b775907f..71594f08 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 1b867416..6d118167 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 4b054f49..fcb31e13 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 0df3ea3e..f744ca8e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 9993291b..436bb645 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 94e4ae36..41f6555c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2150b6a4..f56a9958 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ec80e493..9b876e19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index aa43a0a1..63bd045d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index d2328ae6..09f5d8dd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -261,6 +261,10 @@ PlayFab.ProfilesApi = { 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/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 3bd3d2c3..947bb61a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -289,10 +289,6 @@ PlayFab.ProgressionApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders); }, - GetStatisticDefinitions: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinitions", request, "X-EntityToken", callback, customData, extraHeaders); - }, - GetStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatistics", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 62f110c4..bff9ad07 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.179.240830", + sdkVersion: "1.180.240913", requestGetParams: { - sdk: "JavaScriptSDK-1.179.240830" + sdk: "JavaScriptSDK-1.180.240913" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.179.240830"; +PlayFab.sdkVersion = "1.180.240913"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts index f2ce678f..441d70ef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFab.d.ts @@ -13,7 +13,6 @@ /// /// /// -/// /// declare module PlayFabModule { @@ -63,7 +62,6 @@ declare var PlayFab: { LocalizationApi: PlayFabLocalizationModule.IPlayFabLocalization; MultiplayerApi: PlayFabMultiplayerModule.IPlayFabMultiplayer; ProfilesApi: PlayFabProfilesModule.IPlayFabProfiles; - MatchmakerApi: PlayFabMatchmakerModule.IPlayFabMatchmaker; AddonApi: PlayFabAddonModule.IPlayFabAddon; }; @@ -83,6 +81,5 @@ declare var PlayFabProgressionSDK: PlayFabProgressionModule.IPlayFabProgression; declare var PlayFabLocalizationSDK: PlayFabLocalizationModule.IPlayFabLocalization; declare var PlayFabMultiplayerSDK: PlayFabMultiplayerModule.IPlayFabMultiplayer; declare var PlayFabProfilesSDK: PlayFabProfilesModule.IPlayFabProfiles; -declare var PlayFabMatchmakerSDK: PlayFabMatchmakerModule.IPlayFabMatchmaker; declare var PlayFabAddonSDK: PlayFabAddonModule.IPlayFabAddon; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f7bb4c8e..cc024db7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3674,7 +3674,8 @@ declare module PlayFabAdminModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ @@ -5733,7 +5734,8 @@ declare module PlayFabAdminModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index f9dcb3bf..ee55306a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -148,7 +148,8 @@ declare module PlayFabAuthenticationModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; 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/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index d8ba6488..8367ae44 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3440,7 +3440,8 @@ declare module PlayFabClientModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -5335,7 +5336,8 @@ declare module PlayFabClientModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 496d74f1..9076c837 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -624,7 +624,8 @@ declare module PlayFabCloudScriptModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index 96e73a36..f28ed924 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -29,6 +29,11 @@ declare module PlayFabProfilesModule { * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/gettitleplayersfromxboxliveids */ GetTitlePlayersFromXboxLiveIDs(request: PlayFabProfilesModels.GetTitlePlayersFromXboxLiveIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Update the display name of the entity + * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setdisplayname + */ + SetDisplayName(request: PlayFabProfilesModels.SetDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets the global title access policy * https://docs.microsoft.com/rest/api/playfab/profiles/account-management/setglobalpolicy @@ -264,6 +269,26 @@ declare module PlayFabProfilesModels { | "Deleted" | "None"; + export interface SetDisplayNameRequest 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 new value to be set on Entity Profile's display name */ + DisplayName?: string; + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ + Entity?: EntityKey; + /** The expected version of a profile to perform this update on */ + ExpectedVersion?: number; + + } + + export interface SetDisplayNameResponse extends PlayFabModule.IPlayFabResultCommon { + /** The type of operation that occured on the profile's display name */ + OperationResult?: string; + /** The updated version of the profile after the display name update */ + VersionNumber?: number; + + } + export interface SetEntityProfilePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index 28e3d4c3..ced13b81 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -64,11 +64,6 @@ declare module PlayFabProgressionModule { * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinition */ GetStatisticDefinition(request: PlayFabProgressionModels.GetStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Get all current statistic definitions information - * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatisticdefinitions - */ - GetStatisticDefinitions(request: PlayFabProgressionModels.GetStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets statistics for the specified entity. * https://docs.microsoft.com/rest/api/playfab/progression/statistics/getstatistics @@ -385,18 +380,6 @@ declare module PlayFabProgressionModels { } - export interface GetStatisticDefinitionsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface GetStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { - /** List of statistic definitions for the title. */ - StatisticDefinitions?: StatisticDefinition[]; - - } - export interface GetStatisticsForEntitiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ad6e2779..6281a7bf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3950,7 +3950,8 @@ declare module PlayFabServerModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ @@ -5478,7 +5479,8 @@ declare module PlayFabServerModels { | "Apple" | "NintendoSwitchAccount" | "GooglePlayGames" - | "XboxMobileStore"; + | "XboxMobileStore" + | "King"; export interface UserPrivateAccountInfo { /** user email address */ From a587ff6a9758be871c4b7847cc1be004dc838ce2 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 14 Oct 2024 20:08:51 +0000 Subject: [PATCH 208/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#241014 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 ++++ .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabProgressionApi.d.ts | 10 ++++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 ++++ PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 ++++ .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabProgressionApi.d.ts | 10 ++++++---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 ++++ 41 files changed, 159 insertions(+), 139 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 82bbd541..2d99cf0f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.180.240913", + "version": "1.181.241014", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 36965321..9bf856bf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 082f48ae..9c0f2a2d 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 136dd9c1..73e28235 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c77c07ca..b1ee7179 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 71594f08..b7712c47 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 6d118167..1f0756ab 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index fcb31e13..f12e9da0 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index f744ca8e..e287c9fc 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 436bb645..6829434e 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 41f6555c..39b505d7 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index f56a9958..30e75657 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 9b876e19..fe3a4688 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 63bd045d..a004256e 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 09f5d8dd..8e91a742 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 947bb61a..76862fb1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index bff9ad07..104fea0c 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.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index cc024db7..ed1a4baa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2840,6 +2840,8 @@ declare module PlayFabAdminModels { | "TrueSkillInvalidPlayerId" | "TrueSkillInvalidSquadSize" | "TrueSkillConditionSetNotInModel" + | "TrueSkillModelStateInvalidForOperation" + | "TrueSkillScenarioContainsActiveModel" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2849,6 +2851,8 @@ declare module PlayFabAdminModels { | "GameSaveUnknownFileInManifest" | "GameSaveFileExceededReportedSize" | "GameSaveFileNotUploaded" + | "GameSaveBadRequest" + | "GameSaveOperationNotAllowed" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 36df0cae..c976740b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2903,7 +2903,7 @@ declare module PlayFabMultiplayerModels { export interface PartyNetworkConfiguration { /** Controls whether and how to support direct peer-to-peer connection attempts among devices in the network. */ DirectPeerConnectivityOptions?: string; - /** The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive. */ + /** The maximum number of devices allowed to connect to the network. Must be between 1 and 128, inclusive. */ MaxDevices: number; /** The maximum number of devices allowed per user. Must be greater than 0. */ MaxDevicesPerUser: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index ced13b81..aeef7940 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -35,7 +35,7 @@ declare module PlayFabProgressionModule { */ DeleteStatistics(request: PlayFabProgressionModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. + * Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard. * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getfriendleaderboardforentity */ GetFriendLeaderboardForEntity(request: PlayFabProgressionModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -141,7 +141,7 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** The entity type allowed to have score(s) for this statistic. */ EntityType?: string; - /** Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ Name: string; /** The version reset configuration for the statistic definition. */ VersionConfiguration?: VersionConfiguration; @@ -261,8 +261,10 @@ declare module PlayFabProgressionModels { } export interface GetEntityLeaderboardResponse extends PlayFabModule.IPlayFabResultCommon { - /** Leaderboard columns describing the sort directions, */ + /** Leaderboard columns describing the sort directions. */ Columns?: LeaderboardColumn[]; + /** The number of entries on the leaderboard. */ + EntryCount: number; /** Individual entity rankings in the leaderboard, in sorted order by rank. */ Rankings?: EntityLeaderboardEntry[]; /** Version of the leaderboard being returned. */ @@ -355,7 +357,7 @@ declare module PlayFabProgressionModels { export interface GetStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Name of the statistic. Must be less than 50 characters. */ + /** Name of the statistic. Must be less than 150 characters. */ Name: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 6281a7bf..7bbd64f2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2670,6 +2670,8 @@ declare module PlayFabServerModels { | "TrueSkillInvalidPlayerId" | "TrueSkillInvalidSquadSize" | "TrueSkillConditionSetNotInModel" + | "TrueSkillModelStateInvalidForOperation" + | "TrueSkillScenarioContainsActiveModel" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2679,6 +2681,8 @@ declare module PlayFabServerModels { | "GameSaveUnknownFileInManifest" | "GameSaveFileExceededReportedSize" | "GameSaveFileNotUploaded" + | "GameSaveBadRequest" + | "GameSaveOperationNotAllowed" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 36965321..9bf856bf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 082f48ae..9c0f2a2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 136dd9c1..73e28235 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c77c07ca..b1ee7179 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 71594f08..b7712c47 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 6d118167..1f0756ab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index fcb31e13..f12e9da0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index f744ca8e..e287c9fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 436bb645..6829434e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 41f6555c..39b505d7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index f56a9958..30e75657 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 9b876e19..fe3a4688 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 63bd045d..a004256e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 09f5d8dd..8e91a742 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 947bb61a..76862fb1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index bff9ad07..104fea0c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.180.240913", + sdkVersion: "1.181.241014", requestGetParams: { - sdk: "JavaScriptSDK-1.180.240913" + sdk: "JavaScriptSDK-1.181.241014" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.180.240913"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.181.241014"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index cc024db7..ed1a4baa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2840,6 +2840,8 @@ declare module PlayFabAdminModels { | "TrueSkillInvalidPlayerId" | "TrueSkillInvalidSquadSize" | "TrueSkillConditionSetNotInModel" + | "TrueSkillModelStateInvalidForOperation" + | "TrueSkillScenarioContainsActiveModel" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2849,6 +2851,8 @@ declare module PlayFabAdminModels { | "GameSaveUnknownFileInManifest" | "GameSaveFileExceededReportedSize" | "GameSaveFileNotUploaded" + | "GameSaveBadRequest" + | "GameSaveOperationNotAllowed" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 36df0cae..c976740b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -2903,7 +2903,7 @@ declare module PlayFabMultiplayerModels { export interface PartyNetworkConfiguration { /** Controls whether and how to support direct peer-to-peer connection attempts among devices in the network. */ DirectPeerConnectivityOptions?: string; - /** The maximum number of devices allowed to connect to the network. Must be between 1 and 32, inclusive. */ + /** The maximum number of devices allowed to connect to the network. Must be between 1 and 128, inclusive. */ MaxDevices: number; /** The maximum number of devices allowed per user. Must be greater than 0. */ MaxDevicesPerUser: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index ced13b81..aeef7940 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -35,7 +35,7 @@ declare module PlayFabProgressionModule { */ DeleteStatistics(request: PlayFabProgressionModels.DeleteStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get the friend leaderboard for the specified entity. A maximum of 100 friend entries are listed in the leaderboard. + * Get the friend leaderboard for the specified entity. A maximum of 25 friend entries are listed in the leaderboard. * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/getfriendleaderboardforentity */ GetFriendLeaderboardForEntity(request: PlayFabProgressionModels.GetFriendLeaderboardForEntityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -141,7 +141,7 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** The entity type allowed to have score(s) for this statistic. */ EntityType?: string; - /** Name of the statistic. Must be less than 50 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ Name: string; /** The version reset configuration for the statistic definition. */ VersionConfiguration?: VersionConfiguration; @@ -261,8 +261,10 @@ declare module PlayFabProgressionModels { } export interface GetEntityLeaderboardResponse extends PlayFabModule.IPlayFabResultCommon { - /** Leaderboard columns describing the sort directions, */ + /** Leaderboard columns describing the sort directions. */ Columns?: LeaderboardColumn[]; + /** The number of entries on the leaderboard. */ + EntryCount: number; /** Individual entity rankings in the leaderboard, in sorted order by rank. */ Rankings?: EntityLeaderboardEntry[]; /** Version of the leaderboard being returned. */ @@ -355,7 +357,7 @@ declare module PlayFabProgressionModels { export interface GetStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Name of the statistic. Must be less than 50 characters. */ + /** Name of the statistic. Must be less than 150 characters. */ Name: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 6281a7bf..7bbd64f2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2670,6 +2670,8 @@ declare module PlayFabServerModels { | "TrueSkillInvalidPlayerId" | "TrueSkillInvalidSquadSize" | "TrueSkillConditionSetNotInModel" + | "TrueSkillModelStateInvalidForOperation" + | "TrueSkillScenarioContainsActiveModel" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2679,6 +2681,8 @@ declare module PlayFabServerModels { | "GameSaveUnknownFileInManifest" | "GameSaveFileExceededReportedSize" | "GameSaveFileNotUploaded" + | "GameSaveBadRequest" + | "GameSaveOperationNotAllowed" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 88907969e9a6caf1ad6314e3864eac26d7c63694 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 30 Oct 2024 17:56:16 +0000 Subject: [PATCH 209/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#241025 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ 37 files changed, 137 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 2d99cf0f..6486f06f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.181.241014", + "version": "1.182.241025", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 9bf856bf..654a5bf0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 9c0f2a2d..34461d8a 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 73e28235..a6d43738 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b1ee7179..31bd2161 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b7712c47..3a782546 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 1f0756ab..ba205b22 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index f12e9da0..8e0d4e3c 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index e287c9fc..ad20f74f 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6829434e..ab2355d2 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 39b505d7..731f581f 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 30e75657..8a407c78 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index fe3a4688..c2d50a7f 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a004256e..80f7c6bd 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 8e91a742..1f335764 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 76862fb1..2495785f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 104fea0c..bfc0b507 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.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index ed1a4baa..5ece3d5b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2574,6 +2574,8 @@ declare module PlayFabAdminModels { | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" + | "InvalidExternalEntityId" + | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 7bbd64f2..393a0a58 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2404,6 +2404,8 @@ declare module PlayFabServerModels { | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" + | "InvalidExternalEntityId" + | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 9bf856bf..654a5bf0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 9c0f2a2d..34461d8a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 73e28235..a6d43738 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b1ee7179..31bd2161 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b7712c47..3a782546 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 1f0756ab..ba205b22 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index f12e9da0..8e0d4e3c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index e287c9fc..ad20f74f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6829434e..ab2355d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 39b505d7..731f581f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 30e75657..8a407c78 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index fe3a4688..c2d50a7f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a004256e..80f7c6bd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 8e91a742..1f335764 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 76862fb1..2495785f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 104fea0c..bfc0b507 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.181.241014", + sdkVersion: "1.182.241025", requestGetParams: { - sdk: "JavaScriptSDK-1.181.241014" + sdk: "JavaScriptSDK-1.182.241025" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.181.241014"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.182.241025"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ed1a4baa..5ece3d5b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2574,6 +2574,8 @@ declare module PlayFabAdminModels { | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" + | "InvalidExternalEntityId" + | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 7bbd64f2..393a0a58 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2404,6 +2404,8 @@ declare module PlayFabServerModels { | "MaxQueryableVersionsValueNotAllowedForTier" | "StatisticDefinitionHasNullOrEmptyVersionConfiguration" | "StatisticColumnLengthMismatch" + | "InvalidExternalEntityId" + | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 37a8005670408c0aa278f823ea88c2341434822d Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 13 Nov 2024 18:42:43 +0000 Subject: [PATCH 210/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#241108 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 11 +++++++++-- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 11 +++++++++-- 35 files changed, 147 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 6486f06f..cd20ebf7 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.182.241025", + "version": "1.183.241108", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 654a5bf0..27376b7d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 34461d8a..3c58281c 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index a6d43738..d522e028 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 31bd2161..43482eda 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 3a782546..6d54df71 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index ba205b22..7d1c1892 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 8e0d4e3c..4a2376b9 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index ad20f74f..c680116c 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ab2355d2..aa022367 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 731f581f..0c58dc10 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 8a407c78..6ce5da41 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index c2d50a7f..6e2037c6 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 80f7c6bd..9c710fbc 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 1f335764..72ee1b82 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 2495785f..2af85832 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index bfc0b507..db8f33e0 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.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index c976740b..91f3b8c9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3326,11 +3326,18 @@ declare module PlayFabMultiplayerModels { EntityKey: EntityKey; /** Opaque string, given to a client upon creating a connection with PubSub. */ PubSubConnectionHandle: string; - /** The name of the resource to subscribe to. */ + /** + * The name of the resource to subscribe to. For LobbyChange subscriptions this is the lobbyId. For LobbyInvite + * subscriptions this should always be "@me". + */ ResourceId: string; /** Version number for the subscription of this resource. */ SubscriptionVersion: number; - /** Subscription type. */ + /** + * Subscription type. "LobbyChange" subscriptions allow a member or owner to receive notifications of lobby data, member or + * owner changes. "LobbyInvite" subscriptions allow a player to receive invites to lobbies. A player does not need to be a + * member of a lobby to receive lobby invites. + */ Type: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 654a5bf0..27376b7d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 34461d8a..3c58281c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index a6d43738..d522e028 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 31bd2161..43482eda 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 3a782546..6d54df71 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index ba205b22..7d1c1892 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 8e0d4e3c..4a2376b9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index ad20f74f..c680116c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ab2355d2..aa022367 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 731f581f..0c58dc10 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 8a407c78..6ce5da41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index c2d50a7f..6e2037c6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 80f7c6bd..9c710fbc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 1f335764..72ee1b82 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 2495785f..2af85832 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index bfc0b507..db8f33e0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.182.241025", + sdkVersion: "1.183.241108", requestGetParams: { - sdk: "JavaScriptSDK-1.182.241025" + sdk: "JavaScriptSDK-1.183.241108" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.182.241025"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.183.241108"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index c976740b..91f3b8c9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3326,11 +3326,18 @@ declare module PlayFabMultiplayerModels { EntityKey: EntityKey; /** Opaque string, given to a client upon creating a connection with PubSub. */ PubSubConnectionHandle: string; - /** The name of the resource to subscribe to. */ + /** + * The name of the resource to subscribe to. For LobbyChange subscriptions this is the lobbyId. For LobbyInvite + * subscriptions this should always be "@me". + */ ResourceId: string; /** Version number for the subscription of this resource. */ SubscriptionVersion: number; - /** Subscription type. */ + /** + * Subscription type. "LobbyChange" subscriptions allow a member or owner to receive notifications of lobby data, member or + * owner changes. "LobbyInvite" subscriptions allow a player to receive invites to lobbies. A player does not need to be a + * member of a lobby to receive lobby invites. + */ Type: string; } From 81d6f29e6dd306d746778fb199646267e663f79e Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 25 Nov 2024 21:09:04 +0000 Subject: [PATCH 211/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#241122 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 12 ++++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 29 ++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 4 ++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 33 +++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 8 ++--- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 12 ++++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 29 ++++++++++++++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 4 ++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 33 +++++++++++++++++++ 41 files changed, 283 insertions(+), 131 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index cd20ebf7..1f8ad5b7 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.183.241108", + "version": "1.184.241122", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 27376b7d..f57c125e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 3c58281c..be454f84 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d522e028..02c0a03f 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 43482eda..73a4be77 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -469,6 +469,10 @@ PlayFab.ClientApi = { 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 6d54df71..21beb256 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7d1c1892..9b21aeca 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 4a2376b9..c05820eb 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c680116c..d1453e04 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index aa022367..c01be507 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0c58dc10..74d4e84a 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 6ce5da41..b0d4d9c3 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 6e2037c6..a704aa88 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9c710fbc..0b23c251 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 72ee1b82..10b15b57 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 2af85832..a14f5fa6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index db8f33e0..9af88f00 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.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -433,6 +433,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 5ece3d5b..f3ebf34c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2576,6 +2576,8 @@ declare module PlayFabAdminModels { | "StatisticColumnLengthMismatch" | "InvalidExternalEntityId" | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" + | "TransactionAlreadyApplied" + | "ReportDataNotRetrievedSuccessfully" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2855,6 +2857,8 @@ declare module PlayFabAdminModels { | "GameSaveFileNotUploaded" | "GameSaveBadRequest" | "GameSaveOperationNotAllowed" + | "GameSaveDataStorageQuotaExceeded" + | "GameSaveNewerManifestExists" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 8367ae44..136fe8fa 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -333,6 +333,12 @@ declare module PlayFabClientModule { * 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: @@ -2763,6 +2769,21 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * length. + */ + SteamNames: string[]; + + } + + export interface GetPlayFabIDsFromSteamNamesResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Steam identifiers to PlayFab identifiers. */ + Data?: SteamNamePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot @@ -4611,6 +4632,14 @@ declare module PlayFabClientModels { } + export interface SteamNamePlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ + PlayFabId?: string; + /** Unique Steam identifier for a user, also known as Steam persona name. */ + SteamName?: string; + + } + export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 91f3b8c9..64bf0084 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -521,7 +521,9 @@ declare module PlayFabMultiplayerModels { | "CentralIndia" | "UaeNorth" | "UkSouth" - | "SwedenCentral"; + | "SwedenCentral" + | "CanadaCentral" + | "MexicoCentral"; type AzureVmFamily = "A" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 393a0a58..f306a43f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -282,6 +282,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.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/server/account-management/getplayfabidsfromsteamnames + */ + GetPlayFabIDsFromSteamNames(request: PlayFabServerModels.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: @@ -2406,6 +2412,8 @@ declare module PlayFabServerModels { | "StatisticColumnLengthMismatch" | "InvalidExternalEntityId" | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" + | "TransactionAlreadyApplied" + | "ReportDataNotRetrievedSuccessfully" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2685,6 +2693,8 @@ declare module PlayFabServerModels { | "GameSaveFileNotUploaded" | "GameSaveBadRequest" | "GameSaveOperationNotAllowed" + | "GameSaveDataStorageQuotaExceeded" + | "GameSaveNewerManifestExists" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3329,6 +3339,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * length. + */ + SteamNames: string[]; + + } + + export interface GetPlayFabIDsFromSteamNamesResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Steam identifiers to PlayFab identifiers. */ + Data?: SteamNamePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot @@ -4840,6 +4865,14 @@ declare module PlayFabServerModels { } + export interface SteamNamePlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ + PlayFabId?: string; + /** Unique Steam identifier for a user, also known as Steam persona name. */ + SteamName?: string; + + } + export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 27376b7d..f57c125e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 3c58281c..be454f84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d522e028..02c0a03f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 43482eda..73a4be77 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -469,6 +469,10 @@ PlayFab.ClientApi = { 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 6d54df71..21beb256 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7d1c1892..9b21aeca 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 4a2376b9..c05820eb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c680116c..d1453e04 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index aa022367..c01be507 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0c58dc10..74d4e84a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 6ce5da41..b0d4d9c3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 6e2037c6..a704aa88 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9c710fbc..0b23c251 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 72ee1b82..10b15b57 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 2af85832..a14f5fa6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index db8f33e0..9af88f00 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.183.241108", + sdkVersion: "1.184.241122", requestGetParams: { - sdk: "JavaScriptSDK-1.183.241108" + sdk: "JavaScriptSDK-1.184.241122" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.183.241108"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.184.241122"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -433,6 +433,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 5ece3d5b..f3ebf34c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2576,6 +2576,8 @@ declare module PlayFabAdminModels { | "StatisticColumnLengthMismatch" | "InvalidExternalEntityId" | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" + | "TransactionAlreadyApplied" + | "ReportDataNotRetrievedSuccessfully" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2855,6 +2857,8 @@ declare module PlayFabAdminModels { | "GameSaveFileNotUploaded" | "GameSaveBadRequest" | "GameSaveOperationNotAllowed" + | "GameSaveDataStorageQuotaExceeded" + | "GameSaveNewerManifestExists" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 8367ae44..136fe8fa 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -333,6 +333,12 @@ declare module PlayFabClientModule { * 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: @@ -2763,6 +2769,21 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * length. + */ + SteamNames: string[]; + + } + + export interface GetPlayFabIDsFromSteamNamesResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Steam identifiers to PlayFab identifiers. */ + Data?: SteamNamePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot @@ -4611,6 +4632,14 @@ declare module PlayFabClientModels { } + export interface SteamNamePlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ + PlayFabId?: string; + /** Unique Steam identifier for a user, also known as Steam persona name. */ + SteamName?: string; + + } + export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 91f3b8c9..64bf0084 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -521,7 +521,9 @@ declare module PlayFabMultiplayerModels { | "CentralIndia" | "UaeNorth" | "UkSouth" - | "SwedenCentral"; + | "SwedenCentral" + | "CanadaCentral" + | "MexicoCentral"; type AzureVmFamily = "A" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 393a0a58..f306a43f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -282,6 +282,12 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids */ GetPlayFabIDsFromSteamIDs(request: PlayFabServerModels.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/server/account-management/getplayfabidsfromsteamnames + */ + GetPlayFabIDsFromSteamNames(request: PlayFabServerModels.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: @@ -2406,6 +2412,8 @@ declare module PlayFabServerModels { | "StatisticColumnLengthMismatch" | "InvalidExternalEntityId" | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" + | "TransactionAlreadyApplied" + | "ReportDataNotRetrievedSuccessfully" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2685,6 +2693,8 @@ declare module PlayFabServerModels { | "GameSaveFileNotUploaded" | "GameSaveBadRequest" | "GameSaveOperationNotAllowed" + | "GameSaveDataStorageQuotaExceeded" + | "GameSaveNewerManifestExists" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3329,6 +3339,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * length. + */ + SteamNames: string[]; + + } + + export interface GetPlayFabIDsFromSteamNamesResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Steam identifiers to PlayFab identifiers. */ + Data?: SteamNamePlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot @@ -4840,6 +4865,14 @@ declare module PlayFabServerModels { } + export interface SteamNamePlayFabIdPair { + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ + PlayFabId?: string; + /** Unique Steam identifier for a user, also known as Steam persona name. */ + SteamName?: string; + + } + export interface SteamPlayFabIdPair { /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Steam identifier. */ PlayFabId?: string; From e8f24a07c4a8131cfc13d172f2b51813fcc99941 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 21 Jan 2025 18:05:29 +0000 Subject: [PATCH 212/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250117 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts | 5 +++++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabProgressionApi.d.ts | 5 +++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ 39 files changed, 147 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 1f8ad5b7..cf3297a9 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.184.241122", + "version": "1.185.250117", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index f57c125e..5853fe83 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index be454f84..1ea0cb3d 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 02c0a03f..e1b07bd5 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 73a4be77..0a574b33 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 21beb256..72b013dc 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9b21aeca..6daf708a 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index c05820eb..856e3d4e 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d1453e04..8f38afea 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index c01be507..81f8ce02 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 74d4e84a..0c77a619 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b0d4d9c3..da383e69 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a704aa88..0420a646 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 0b23c251..9b4e5fea 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 10b15b57..6771ab1c 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index a14f5fa6..2fb10cbd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 9af88f00..f2fcfee1 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.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f3ebf34c..21c7bd11 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2846,6 +2846,7 @@ declare module PlayFabAdminModels { | "TrueSkillConditionSetNotInModel" | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" + | "TrueSkillInvalidConditionRank" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2859,6 +2860,7 @@ declare module PlayFabAdminModels { | "GameSaveOperationNotAllowed" | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" + | "GameSaveBaseVersionNotAvailable" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index aeef7940..1baa0bc5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -634,6 +634,11 @@ declare module PlayFabProgressionModels { Entity?: EntityKey; /** Collection of statistics to update, maximum 50. */ Statistics: StatisticUpdate[]; + /** + * Optional transactionId of this update which can be used to ensure idempotence. Using this field is still in testing + * stage. + */ + TransactionId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f306a43f..7e1f3416 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2682,6 +2682,7 @@ declare module PlayFabServerModels { | "TrueSkillConditionSetNotInModel" | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" + | "TrueSkillInvalidConditionRank" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2695,6 +2696,7 @@ declare module PlayFabServerModels { | "GameSaveOperationNotAllowed" | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" + | "GameSaveBaseVersionNotAvailable" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index f57c125e..5853fe83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index be454f84..1ea0cb3d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 02c0a03f..e1b07bd5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 73a4be77..0a574b33 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 21beb256..72b013dc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9b21aeca..6daf708a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index c05820eb..856e3d4e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d1453e04..8f38afea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index c01be507..81f8ce02 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 74d4e84a..0c77a619 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b0d4d9c3..da383e69 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a704aa88..0420a646 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 0b23c251..9b4e5fea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 10b15b57..6771ab1c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index a14f5fa6..2fb10cbd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 9af88f00..f2fcfee1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.184.241122", + sdkVersion: "1.185.250117", requestGetParams: { - sdk: "JavaScriptSDK-1.184.241122" + sdk: "JavaScriptSDK-1.185.250117" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.184.241122"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f3ebf34c..21c7bd11 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2846,6 +2846,7 @@ declare module PlayFabAdminModels { | "TrueSkillConditionSetNotInModel" | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" + | "TrueSkillInvalidConditionRank" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2859,6 +2860,7 @@ declare module PlayFabAdminModels { | "GameSaveOperationNotAllowed" | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" + | "GameSaveBaseVersionNotAvailable" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index aeef7940..1baa0bc5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -634,6 +634,11 @@ declare module PlayFabProgressionModels { Entity?: EntityKey; /** Collection of statistics to update, maximum 50. */ Statistics: StatisticUpdate[]; + /** + * Optional transactionId of this update which can be used to ensure idempotence. Using this field is still in testing + * stage. + */ + TransactionId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f306a43f..7e1f3416 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2682,6 +2682,7 @@ declare module PlayFabServerModels { | "TrueSkillConditionSetNotInModel" | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" + | "TrueSkillInvalidConditionRank" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2695,6 +2696,7 @@ declare module PlayFabServerModels { | "GameSaveOperationNotAllowed" | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" + | "GameSaveBaseVersionNotAvailable" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 4f3534a74918ce2b3130cdf9a86ee7a5d151812e Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 3 Feb 2025 20:47:01 +0000 Subject: [PATCH 213/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250131 --- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 5853fe83..e416b8dc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 1ea0cb3d..53afd08c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e1b07bd5..0c51176a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 0a574b33..15437347 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 72b013dc..6f4c4032 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 6daf708a..3a906913 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 856e3d4e..f040097e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 8f38afea..673dbd48 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 81f8ce02..6f2072c8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0c77a619..3e41daa7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index da383e69..c761afcc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0420a646..919d0996 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 9b4e5fea..2f5c9a2f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 6771ab1c..77e65a8c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 2fb10cbd..97714ae7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index f2fcfee1..6e92b0b0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 5853fe83..e416b8dc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 1ea0cb3d..53afd08c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e1b07bd5..0c51176a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 0a574b33..15437347 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 72b013dc..6f4c4032 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 6daf708a..3a906913 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 856e3d4e..f040097e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 8f38afea..673dbd48 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 81f8ce02..6f2072c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0c77a619..3e41daa7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index da383e69..c761afcc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0420a646..919d0996 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 9b4e5fea..2f5c9a2f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 6771ab1c..77e65a8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 2fb10cbd..97714ae7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index f2fcfee1..6e92b0b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_118"; PlayFab.sdkVersion = "1.185.250117"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 6d2d8505142a359e00a212cd9e5558d72d14a96e Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 19 Feb 2025 23:56:42 +0000 Subject: [PATCH 214/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250214 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabProgressionApi.js | 16 ++++++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 5 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 40 +++++++------------ .../PlayFab/PlayFabProgressionApi.d.ts | 34 ++++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 7 +++- .../src/PlayFab/PlayFabAddonApi.js | 8 ++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- .../src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabProgressionApi.js | 16 ++++++-- .../src/PlayFab/PlayFabServerApi.js | 8 ++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 5 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 2 +- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 40 +++++++------------ .../PlayFab/PlayFabProgressionApi.d.ts | 34 ++++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 7 +++- 43 files changed, 261 insertions(+), 189 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index cf3297a9..9dea1f80 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.185.250117", + "version": "1.186.250214", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index e416b8dc..60d0626d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 53afd08c..ffbae1c1 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 0c51176a..a39a789f 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 15437347..8bd7056a 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 6f4c4032..fb603e64 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3a906913..e7389006 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index f040097e..b369f392 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 673dbd48..dbc93c4b 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6f2072c8..05a51bb0 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3e41daa7..9f169049 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c761afcc..af0ba7e4 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 919d0996..feb9035f 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 2f5c9a2f..efe7777d 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 77e65a8c..5d626b48 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 97714ae7..ce122590 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -317,10 +317,18 @@ PlayFab.ProgressionApi = { 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 6e92b0b0..cf478d5b 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.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 21c7bd11..85e9bc21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -857,7 +857,7 @@ declare module PlayFabAdminModels { PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; - /** The family type of the suer that is included in the ban. */ + /** The family type of the user that is included in the ban. */ UserFamilyType?: string; } @@ -2578,6 +2578,8 @@ declare module PlayFabAdminModels { | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "TransactionAlreadyApplied" | "ReportDataNotRetrievedSuccessfully" + | "ResetIntervalCannotBeModified" + | "VersionIncrementRateExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2861,6 +2863,7 @@ declare module PlayFabAdminModels { | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" + | "GameSaveManifestVersionQuarantined" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 136fe8fa..305dfbd4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3474,7 +3474,7 @@ declare module PlayFabClientModels { InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ LastLoginTime?: string; - /** True if the account was newly created on this login. */ + /** True if the master_player_account was newly created on this login. */ NewlyCreated: boolean; /** Player's unique PlayFabId. */ PlayFabId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 24e01593..9513846e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -459,6 +459,8 @@ declare module PlayFabEconomyModels { PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; + /** The real price the item was purchased for per marketplace. */ + RealMoneyPriceDetails?: RealMoneyPriceDetails; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; /** Optional details for stores items. */ @@ -594,10 +596,6 @@ declare module PlayFabEconomyModels { } - export interface ContentFeed { - - } - type CountryCode = "AF" | "AX" @@ -1607,10 +1605,6 @@ declare module PlayFabEconomyModels { | "Approved" | "Rejected"; - export interface PayoutDetails { - - } - export interface Permissions { /** * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player @@ -1729,10 +1723,6 @@ declare module PlayFabEconomyModels { } - export interface PurchaseOverride { - - } - export interface PurchaseOverridesInfo { } @@ -1766,6 +1756,18 @@ declare module PlayFabEconomyModels { } export interface RealMoneyPriceDetails { + /** The 'AppleAppStore' price amount per CurrencyCode. 'USD' supported only. */ + AppleAppStorePrices?: { [key: string]: number }; + /** The 'GooglePlay' price amount per CurrencyCode. 'USD' supported only. */ + GooglePlayPrices?: { [key: string]: number }; + /** The 'MicrosoftStore' price amount per CurrencyCode. 'USD' supported only. */ + MicrosoftStorePrices?: { [key: string]: number }; + /** The 'NintendoEShop' price amount per CurrencyCode. 'USD' supported only. */ + NintendoEShopPrices?: { [key: string]: number }; + /** The 'PlayStationStore' price amount per CurrencyCode. 'USD' supported only. */ + PlayStationStorePrices?: { [key: string]: number }; + /** The 'Steam' price amount per CurrencyCode. 'USD' supported only. */ + SteamPrices?: { [key: string]: number }; } @@ -1991,8 +1993,6 @@ declare module PlayFabEconomyModels { Rating: number; /** The ID of the author of the review. */ ReviewerEntity?: EntityKey; - /** Deprecated. Use ReviewerEntity instead. This property will be removed in a future release. */ - ReviewerId?: string; /** The ID of the review. */ ReviewId?: string; /** The full text of this review. */ @@ -2038,12 +2038,6 @@ declare module PlayFabEconomyModels { } - export interface ScanResult { - /** The URL of the item which failed the scan. */ - Url?: string; - - } - export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; @@ -2138,12 +2132,6 @@ declare module PlayFabEconomyModels { } - export interface SubscriptionDetails { - /** The length of time that the subscription will last in seconds. */ - DurationInSeconds: number; - - } - export interface SubtractInventoryItemsOperation { /** The amount to subtract from the current item amount. */ Amount?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index 1baa0bc5..aae1a259 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -99,11 +99,21 @@ declare module PlayFabProgressionModule { * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic */ UnlinkLeaderboardFromStatistic(request: PlayFabProgressionModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Updates a leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboarddefinition + */ + UpdateLeaderboardDefinition(request: PlayFabProgressionModels.UpdateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds or updates entries on the specified leaderboard. * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboardentries */ UpdateLeaderboardEntries(request: PlayFabProgressionModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Update an existing entity statistic definition. + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatisticdefinition + */ + UpdateStatisticDefinition(request: PlayFabProgressionModels.UpdateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on * various leaderboards. @@ -265,6 +275,8 @@ declare module PlayFabProgressionModels { Columns?: LeaderboardColumn[]; /** The number of entries on the leaderboard. */ EntryCount: number; + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ + NextReset?: string; /** Individual entity rankings in the leaderboard, in sorted order by rank. */ Rankings?: EntityLeaderboardEntry[]; /** Version of the leaderboard being returned. */ @@ -617,6 +629,18 @@ declare module PlayFabProgressionModels { } + export interface UpdateLeaderboardDefinitionRequest 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 name of the leaderboard to update the definition for. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit?: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration?: VersionConfiguration; + + } + export interface UpdateLeaderboardEntriesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -627,6 +651,16 @@ declare module PlayFabProgressionModels { } + export interface UpdateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + Name: string; + /** The version reset configuration for the statistic definition. */ + VersionConfiguration?: VersionConfiguration; + + } + export interface UpdateStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 7e1f3416..c6592288 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -952,7 +952,7 @@ declare module PlayFabServerModels { PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; - /** The family type of the suer that is included in the ban. */ + /** The family type of the user that is included in the ban. */ UserFamilyType?: string; } @@ -2414,6 +2414,8 @@ declare module PlayFabServerModels { | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "TransactionAlreadyApplied" | "ReportDataNotRetrievedSuccessfully" + | "ResetIntervalCannotBeModified" + | "VersionIncrementRateExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2697,6 +2699,7 @@ declare module PlayFabServerModels { | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" + | "GameSaveManifestVersionQuarantined" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -4740,7 +4743,7 @@ declare module PlayFabServerModels { InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ LastLoginTime?: string; - /** True if the account was newly created on this login. */ + /** True if the master_player_account was newly created on this login. */ NewlyCreated: boolean; /** Player's unique PlayFabId. */ PlayFabId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index e416b8dc..60d0626d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 53afd08c..ffbae1c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 0c51176a..a39a789f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 15437347..8bd7056a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 6f4c4032..fb603e64 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3a906913..e7389006 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index f040097e..b369f392 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 673dbd48..dbc93c4b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6f2072c8..05a51bb0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3e41daa7..9f169049 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c761afcc..af0ba7e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 919d0996..feb9035f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 2f5c9a2f..efe7777d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 77e65a8c..5d626b48 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 97714ae7..ce122590 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -317,10 +317,18 @@ PlayFab.ProgressionApi = { 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 6e92b0b0..cf478d5b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.185.250117", + sdkVersion: "1.186.250214", requestGetParams: { - sdk: "JavaScriptSDK-1.185.250117" + sdk: "JavaScriptSDK-1.186.250214" }, sessionTicket: 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.185.250117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 21c7bd11..85e9bc21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -857,7 +857,7 @@ declare module PlayFabAdminModels { PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; - /** The family type of the suer that is included in the ban. */ + /** The family type of the user that is included in the ban. */ UserFamilyType?: string; } @@ -2578,6 +2578,8 @@ declare module PlayFabAdminModels { | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "TransactionAlreadyApplied" | "ReportDataNotRetrievedSuccessfully" + | "ResetIntervalCannotBeModified" + | "VersionIncrementRateExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2861,6 +2863,7 @@ declare module PlayFabAdminModels { | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" + | "GameSaveManifestVersionQuarantined" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 136fe8fa..305dfbd4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3474,7 +3474,7 @@ declare module PlayFabClientModels { InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ LastLoginTime?: string; - /** True if the account was newly created on this login. */ + /** True if the master_player_account was newly created on this login. */ NewlyCreated: boolean; /** Player's unique PlayFabId. */ PlayFabId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 24e01593..9513846e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -459,6 +459,8 @@ declare module PlayFabEconomyModels { PriceOptions?: CatalogPriceOptions; /** Rating summary for this item. */ Rating?: Rating; + /** The real price the item was purchased for per marketplace. */ + RealMoneyPriceDetails?: RealMoneyPriceDetails; /** The date of when the item will be available. If not provided then the product will appear immediately. */ StartDate?: string; /** Optional details for stores items. */ @@ -594,10 +596,6 @@ declare module PlayFabEconomyModels { } - export interface ContentFeed { - - } - type CountryCode = "AF" | "AX" @@ -1607,10 +1605,6 @@ declare module PlayFabEconomyModels { | "Approved" | "Rejected"; - export interface PayoutDetails { - - } - export interface Permissions { /** * The list of ids of Segments that the a player can be in to purchase from the store. When a value is provided, the player @@ -1729,10 +1723,6 @@ declare module PlayFabEconomyModels { } - export interface PurchaseOverride { - - } - export interface PurchaseOverridesInfo { } @@ -1766,6 +1756,18 @@ declare module PlayFabEconomyModels { } export interface RealMoneyPriceDetails { + /** The 'AppleAppStore' price amount per CurrencyCode. 'USD' supported only. */ + AppleAppStorePrices?: { [key: string]: number }; + /** The 'GooglePlay' price amount per CurrencyCode. 'USD' supported only. */ + GooglePlayPrices?: { [key: string]: number }; + /** The 'MicrosoftStore' price amount per CurrencyCode. 'USD' supported only. */ + MicrosoftStorePrices?: { [key: string]: number }; + /** The 'NintendoEShop' price amount per CurrencyCode. 'USD' supported only. */ + NintendoEShopPrices?: { [key: string]: number }; + /** The 'PlayStationStore' price amount per CurrencyCode. 'USD' supported only. */ + PlayStationStorePrices?: { [key: string]: number }; + /** The 'Steam' price amount per CurrencyCode. 'USD' supported only. */ + SteamPrices?: { [key: string]: number }; } @@ -1991,8 +1993,6 @@ declare module PlayFabEconomyModels { Rating: number; /** The ID of the author of the review. */ ReviewerEntity?: EntityKey; - /** Deprecated. Use ReviewerEntity instead. This property will be removed in a future release. */ - ReviewerId?: string; /** The ID of the review. */ ReviewId?: string; /** The full text of this review. */ @@ -2038,12 +2038,6 @@ declare module PlayFabEconomyModels { } - export interface ScanResult { - /** The URL of the item which failed the scan. */ - Url?: string; - - } - export interface SearchItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** An opaque token used to retrieve the next page of items, if any are available. */ ContinuationToken?: string; @@ -2138,12 +2132,6 @@ declare module PlayFabEconomyModels { } - export interface SubscriptionDetails { - /** The length of time that the subscription will last in seconds. */ - DurationInSeconds: number; - - } - export interface SubtractInventoryItemsOperation { /** The amount to subtract from the current item amount. */ Amount?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index 1baa0bc5..aae1a259 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -99,11 +99,21 @@ declare module PlayFabProgressionModule { * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic */ UnlinkLeaderboardFromStatistic(request: PlayFabProgressionModels.UnlinkLeaderboardFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Updates a leaderboard definition. + * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboarddefinition + */ + UpdateLeaderboardDefinition(request: PlayFabProgressionModels.UpdateLeaderboardDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds or updates entries on the specified leaderboard. * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/updateleaderboardentries */ UpdateLeaderboardEntries(request: PlayFabProgressionModels.UpdateLeaderboardEntriesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Update an existing entity statistic definition. + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/updatestatisticdefinition + */ + UpdateStatisticDefinition(request: PlayFabProgressionModels.UpdateStatisticDefinitionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on * various leaderboards. @@ -265,6 +275,8 @@ declare module PlayFabProgressionModels { Columns?: LeaderboardColumn[]; /** The number of entries on the leaderboard. */ EntryCount: number; + /** The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule. */ + NextReset?: string; /** Individual entity rankings in the leaderboard, in sorted order by rank. */ Rankings?: EntityLeaderboardEntry[]; /** Version of the leaderboard being returned. */ @@ -617,6 +629,18 @@ declare module PlayFabProgressionModels { } + export interface UpdateLeaderboardDefinitionRequest 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 name of the leaderboard to update the definition for. */ + Name: string; + /** Maximum number of entries on this leaderboard */ + SizeLimit?: number; + /** The version reset configuration for the leaderboard definition. */ + VersionConfiguration?: VersionConfiguration; + + } + export interface UpdateLeaderboardEntriesRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -627,6 +651,16 @@ declare module PlayFabProgressionModels { } + export interface UpdateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ + Name: string; + /** The version reset configuration for the statistic definition. */ + VersionConfiguration?: VersionConfiguration; + + } + export interface UpdateStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 7e1f3416..c6592288 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -952,7 +952,7 @@ declare module PlayFabServerModels { PlayFabId?: string; /** The reason why this ban was applied. */ Reason?: string; - /** The family type of the suer that is included in the ban. */ + /** The family type of the user that is included in the ban. */ UserFamilyType?: string; } @@ -2414,6 +2414,8 @@ declare module PlayFabServerModels { | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier" | "TransactionAlreadyApplied" | "ReportDataNotRetrievedSuccessfully" + | "ResetIntervalCannotBeModified" + | "VersionIncrementRateExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2697,6 +2699,7 @@ declare module PlayFabServerModels { | "GameSaveDataStorageQuotaExceeded" | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" + | "GameSaveManifestVersionQuarantined" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -4740,7 +4743,7 @@ declare module PlayFabServerModels { InfoResultPayload?: GetPlayerCombinedInfoResultPayload; /** The time of this user's previous login. If there was no previous login, then it's DateTime.MinValue */ LastLoginTime?: string; - /** True if the account was newly created on this login. */ + /** True if the master_player_account was newly created on this login. */ NewlyCreated: boolean; /** Player's unique PlayFabId. */ PlayFabId?: string; From 6fef29a2ce9d50fd0782a229914633850293375b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 20 Feb 2025 00:31:07 +0000 Subject: [PATCH 215/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250214 --- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 60d0626d..c50a04de 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ffbae1c1..a958b6f1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index a39a789f..12ab88b8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8bd7056a..3b4fd06a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index fb603e64..53ef6219 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e7389006..3a853186 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index b369f392..ba3cf018 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index dbc93c4b..a6f2c2e4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 05a51bb0..e21c9ae6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 9f169049..f00d8301 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index af0ba7e4..6e65be70 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index feb9035f..aa597cc0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index efe7777d..893e8a4d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5d626b48..e3e3d484 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index ce122590..20570e98 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index cf478d5b..21deedaa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 60d0626d..c50a04de 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ffbae1c1..a958b6f1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index a39a789f..12ab88b8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8bd7056a..3b4fd06a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index fb603e64..53ef6219 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e7389006..3a853186 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index b369f392..ba3cf018 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index dbc93c4b..a6f2c2e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 05a51bb0..e21c9ae6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 9f169049..f00d8301 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index af0ba7e4..6e65be70 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index feb9035f..aa597cc0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index efe7777d..893e8a4d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5d626b48..e3e3d484 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index ce122590..20570e98 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index cf478d5b..21deedaa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From a6f5a7dfb6467059bc23a2353f06467bc46163b6 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 20 Feb 2025 01:08:33 +0000 Subject: [PATCH 216/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250214 --- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index c50a04de..78919bed 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index a958b6f1..f23e4b81 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 12ab88b8..b3b67082 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 3b4fd06a..8957fa88 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 53ef6219..cd8db2d4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3a853186..eeeb97f3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index ba3cf018..d9470042 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a6f2c2e4..a400e2cb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index e21c9ae6..dbd2f172 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index f00d8301..fa7c1884 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 6e65be70..cf337069 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index aa597cc0..a24c536c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 893e8a4d..e06a1db9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index e3e3d484..34da11df 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 20570e98..40af4c3d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 21deedaa..0630d9c0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index c50a04de..78919bed 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index a958b6f1..f23e4b81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 12ab88b8..b3b67082 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 3b4fd06a..8957fa88 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 53ef6219..cd8db2d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3a853186..eeeb97f3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index ba3cf018..d9470042 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a6f2c2e4..a400e2cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index e21c9ae6..dbd2f172 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index f00d8301..fa7c1884 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 6e65be70..cf337069 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index aa597cc0..a24c536c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 893e8a4d..e06a1db9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index e3e3d484..34da11df 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 20570e98..40af4c3d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 21deedaa..0630d9c0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.186.250214"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 63eb30ce1a96189f88668064bbe92f68b1212dba Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 3 Mar 2025 21:37:15 +0000 Subject: [PATCH 217/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250228 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- 33 files changed, 129 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9dea1f80..b791014b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.186.250214", + "version": "1.187.250228", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 78919bed..02bd41ff 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f23e4b81..3b13e65f 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index b3b67082..a2c201a6 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8957fa88..f5f829b8 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index cd8db2d4..1a259803 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index eeeb97f3..84b03230 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index d9470042..131b4962 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a400e2cb..a7c6d147 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index dbd2f172..580dfe62 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index fa7c1884..79d1cc2e 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index cf337069..a3fb6548 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a24c536c..74ed4145 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e06a1db9..83831a8e 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 34da11df..62ffe471 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 40af4c3d..52607498 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0630d9c0..d89d1223 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.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 78919bed..02bd41ff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f23e4b81..3b13e65f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index b3b67082..a2c201a6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8957fa88..f5f829b8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index cd8db2d4..1a259803 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index eeeb97f3..84b03230 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index d9470042..131b4962 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a400e2cb..a7c6d147 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index dbd2f172..580dfe62 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index fa7c1884..79d1cc2e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index cf337069..a3fb6548 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a24c536c..74ed4145 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e06a1db9..83831a8e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 34da11df..62ffe471 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 40af4c3d..52607498 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0630d9c0..d89d1223 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.186.250214", + sdkVersion: "1.187.250228", requestGetParams: { - sdk: "JavaScriptSDK-1.186.250214" + sdk: "JavaScriptSDK-1.187.250228" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.186.250214"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.187.250228"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; From 8bfbdb908b159a922bf6419a14557876ddb2f7f3 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 17 Mar 2025 22:57:22 +0000 Subject: [PATCH 218/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250314 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 24 ++- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 24 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 24 ++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 194 +++++++++++++++++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 125 ++++++++++- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 10 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 146 ++++++++++++- .../src/PlayFab/PlayFabAddonApi.js | 8 +- .../src/PlayFab/PlayFabAdminApi.js | 24 ++- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 24 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 24 ++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 194 +++++++++++++++++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 125 ++++++++++- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 10 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 146 ++++++++++++- 41 files changed, 1161 insertions(+), 143 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b791014b..13f64b0e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.187.250228", + "version": "1.188.250314", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 02bd41ff..a6bf319a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 3b13e65f..489422f2 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -325,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); }, @@ -397,6 +401,10 @@ PlayFab.AdminApi = { 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); }, @@ -521,6 +529,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, + ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders); + }, + ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -637,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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index a2c201a6..2376ecf0 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index f5f829b8..6eb63720 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; 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); }, @@ -397,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); }, @@ -609,6 +617,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 @@ -1255,6 +1267,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 1a259803..768e4780 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 84b03230..6ce8beab 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 131b4962..0f9efc5d 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a7c6d147..eef566fc 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 580dfe62..f55aa18e 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 79d1cc2e..36651de8 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index a3fb6548..57f2b7d0 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 74ed4145..0c40c9af 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 83831a8e..1db293a0 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 62ffe471..919d7ca1 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 52607498..9f9dfdde 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d89d1223..fe8eff2d 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.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -293,6 +293,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); }, @@ -377,6 +381,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); }, @@ -565,6 +573,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, + ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithPSN: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithPSN", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -745,6 +757,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/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 85e9bc21..eff44902 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -116,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. @@ -215,6 +220,11 @@ declare module PlayFabAdminModule { * 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 @@ -383,6 +393,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, 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/admin/player-data-management/listplayercustomproperties + */ + ListPlayerCustomProperties(request: PlayFabAdminModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _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 @@ -547,6 +562,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. @@ -1677,12 +1697,68 @@ 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; @@ -1758,6 +1834,34 @@ declare module PlayFabAdminModels { } + 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; @@ -2580,6 +2684,7 @@ declare module PlayFabAdminModels { | "ReportDataNotRetrievedSuccessfully" | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" + | "InvalidSteamUsername" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2713,6 +2818,7 @@ declare module PlayFabAdminModels { | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" + | "InventoryCollectionDeletionDisallowed" | "LobbyDoesNotExist" | "LobbyRateLimitExceeded" | "LobbyPlayerAlreadyJoined" @@ -2849,6 +2955,7 @@ declare module PlayFabAdminModels { | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" + | "TrueSkillTotalScenarioLimitExceeded" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -3015,6 +3122,27 @@ declare module PlayFabAdminModels { } + 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 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; + + } + export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -3636,6 +3764,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 { } @@ -3871,6 +4018,8 @@ declare module PlayFabAdminModels { ContactEmailAddresses?: ContactEmailInfo[]; /** Player record created */ Created?: string; + /** Dictionary of player's custom properties. */ + CustomProperties?: { [key: string]: any }; /** Player Display Name */ DisplayName?: string; /** Last login */ @@ -4364,6 +4513,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. */ @@ -5369,6 +5526,32 @@ declare module PlayFabAdminModels { } + 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; + + } + export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -5422,6 +5605,14 @@ declare module PlayFabAdminModels { } + 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; + + } + export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -5750,7 +5941,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 305dfbd4..c2e256e1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -111,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. @@ -233,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 @@ -524,6 +534,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, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -881,6 +896,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, 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/client/player-data-management/updateplayercustomproperties + */ + UpdatePlayerCustomProperties(request: PlayFabClientModels.UpdatePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. @@ -1873,6 +1893,46 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; + export interface CustomPropertyDetails { + /** The custom property's name. */ + Name?: string; + /** The custom property's value. */ + Value?: any; + + } + + 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 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; + /** 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[]; + /** + * 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 DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -2487,6 +2547,23 @@ declare module PlayFabClientModels { } + export interface GetPlayerCustomPropertyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Specific property name to search for in the player's properties. */ + PropertyName: string; + + } + + export interface GetPlayerCustomPropertyResult extends PlayFabModule.IPlayFabResultCommon { + /** + * 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; + + } + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3412,6 +3489,21 @@ declare module PlayFabClientModels { } + export interface ListPlayerCustomPropertiesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface ListPlayerCustomPropertiesResult extends PlayFabModule.IPlayFabResultCommon { + /** 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 ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; @@ -5095,6 +5187,28 @@ declare module PlayFabClientModels { } + 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; + /** Collection of properties to be set for a player. */ + Properties: UpdateProperty[]; + + } + + export interface UpdatePlayerCustomPropertiesResult extends PlayFabModule.IPlayFabResultCommon { + /** + * 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 UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5107,6 +5221,14 @@ declare module PlayFabClientModels { } + 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; + + } + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5366,7 +5488,8 @@ declare module PlayFabClientModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 9513846e..880a6ebf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -10,7 +10,7 @@ declare module PlayFabEconomyModule { */ AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates a new item in the working catalog using provided metadata. + * Creates a new item in the working catalog using provided metadata. Note: SAS tokens provided are valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem */ CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -69,13 +69,15 @@ declare module PlayFabEconomyModule { /** * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note - * that item references data is cached and may take a few moments for changes to propagate. + * that item references data is cached and may take a few moments for changes to propagate. Note: SAS tokens provided are + * valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem */ GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request. - * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. + * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. Note: + * SAS tokens provided are valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems */ GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -273,7 +275,7 @@ declare module PlayFabEconomyModule { */ UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Update the metadata for an item in the working catalog. + * Update the metadata for an item in the working catalog. Note: SAS tokens provided are valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index c6592288..8f5031f9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -82,6 +82,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer */ DeletePlayer(request: PlayFabServerModels.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/server/player-data-management/deleteplayercustomproperties + */ + DeletePlayerCustomProperties(request: PlayFabServerModels.DeletePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes push notification template for title * https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate @@ -205,6 +210,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.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/server/player-data-management/getplayercustomproperty + */ + GetPlayerCustomProperty(request: PlayFabServerModels.GetPlayerCustomPropertyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the player's profile * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile @@ -461,6 +471,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.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/server/player-data-management/listplayercustomproperties + */ + ListPlayerCustomProperties(request: PlayFabServerModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -718,6 +733,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, 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/server/player-data-management/updateplayercustomproperties + */ + UpdatePlayerCustomProperties(request: PlayFabServerModels.UpdatePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics @@ -1618,6 +1638,14 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; + export interface CustomPropertyDetails { + /** The custom property's name. */ + Name?: string; + /** The custom property's value. */ + Value?: any; + + } + export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1637,6 +1665,42 @@ declare module PlayFabServerModels { } + 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 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; @@ -2416,6 +2480,7 @@ declare module PlayFabServerModels { | "ReportDataNotRetrievedSuccessfully" | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" + | "InvalidSteamUsername" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2549,6 +2614,7 @@ declare module PlayFabServerModels { | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" + | "InventoryCollectionDeletionDisallowed" | "LobbyDoesNotExist" | "LobbyRateLimitExceeded" | "LobbyPlayerAlreadyJoined" @@ -2685,6 +2751,7 @@ declare module PlayFabServerModels { | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" + | "TrueSkillTotalScenarioLimitExceeded" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -3092,6 +3159,27 @@ declare module PlayFabServerModels { } + 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 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; + + } + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3929,6 +4017,25 @@ declare module PlayFabServerModels { } + 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 ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4242,6 +4349,8 @@ declare module PlayFabServerModels { ContactEmailAddresses?: ContactEmailInfo[]; /** Player record created */ Created?: string; + /** Dictionary of player's custom properties. */ + CustomProperties?: { [key: string]: any }; /** Player Display Name */ DisplayName?: string; /** Last login */ @@ -5216,6 +5325,32 @@ declare module PlayFabServerModels { } + 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; + + } + export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5235,6 +5370,14 @@ declare module PlayFabServerModels { } + 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; + + } + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5524,7 +5667,8 @@ declare module PlayFabServerModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 02bd41ff..a6bf319a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 3b13e65f..489422f2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -325,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); }, @@ -397,6 +401,10 @@ PlayFab.AdminApi = { 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); }, @@ -521,6 +529,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, + ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders); + }, + ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -637,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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index a2c201a6..2376ecf0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index f5f829b8..6eb63720 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; 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); }, @@ -397,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); }, @@ -609,6 +617,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 @@ -1255,6 +1267,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/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 1a259803..768e4780 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 84b03230..6ce8beab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 131b4962..0f9efc5d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a7c6d147..eef566fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 580dfe62..f55aa18e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 79d1cc2e..36651de8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index a3fb6548..57f2b7d0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 74ed4145..0c40c9af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 83831a8e..1db293a0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 62ffe471..919d7ca1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 52607498..9f9dfdde 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d89d1223..fe8eff2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.187.250228", + sdkVersion: "1.188.250314", requestGetParams: { - sdk: "JavaScriptSDK-1.187.250228" + sdk: "JavaScriptSDK-1.188.250314" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.187.250228"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -293,6 +293,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); }, @@ -377,6 +381,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); }, @@ -565,6 +573,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, + ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders); + }, + LoginWithPSN: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithPSN", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -745,6 +757,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/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 85e9bc21..eff44902 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -116,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. @@ -215,6 +220,11 @@ declare module PlayFabAdminModule { * 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 @@ -383,6 +393,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/listopenidconnection */ ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, 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/admin/player-data-management/listplayercustomproperties + */ + ListPlayerCustomProperties(request: PlayFabAdminModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * _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 @@ -547,6 +562,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. @@ -1677,12 +1697,68 @@ 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; @@ -1758,6 +1834,34 @@ declare module PlayFabAdminModels { } + 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; @@ -2580,6 +2684,7 @@ declare module PlayFabAdminModels { | "ReportDataNotRetrievedSuccessfully" | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" + | "InvalidSteamUsername" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2713,6 +2818,7 @@ declare module PlayFabAdminModels { | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" + | "InventoryCollectionDeletionDisallowed" | "LobbyDoesNotExist" | "LobbyRateLimitExceeded" | "LobbyPlayerAlreadyJoined" @@ -2849,6 +2955,7 @@ declare module PlayFabAdminModels { | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" + | "TrueSkillTotalScenarioLimitExceeded" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -3015,6 +3122,27 @@ declare module PlayFabAdminModels { } + 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 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; + + } + export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The auth token of the player requesting the password reset. */ Token: string; @@ -3636,6 +3764,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 { } @@ -3871,6 +4018,8 @@ declare module PlayFabAdminModels { ContactEmailAddresses?: ContactEmailInfo[]; /** Player record created */ Created?: string; + /** Dictionary of player's custom properties. */ + CustomProperties?: { [key: string]: any }; /** Player Display Name */ DisplayName?: string; /** Last login */ @@ -4364,6 +4513,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. */ @@ -5369,6 +5526,32 @@ declare module PlayFabAdminModels { } + 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; + + } + export interface UpdatePlayerSharedSecretRequest extends PlayFabModule.IPlayFabRequestCommon { /** Disable or Enable this key */ Disabled: boolean; @@ -5422,6 +5605,14 @@ declare module PlayFabAdminModels { } + 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; + + } + export interface UpdateRandomResultTablesRequest extends PlayFabModule.IPlayFabRequestCommon { /** which catalog is being updated. If null, update the current default catalog version */ CatalogVersion?: string; @@ -5750,7 +5941,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface UserOriginationSegmentFilter { /** User login provider. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 305dfbd4..c2e256e1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -111,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. @@ -233,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 @@ -524,6 +534,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, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for * API calls which require an authenticated user @@ -881,6 +896,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabClientModels.UpdateCharacterStatisticsRequest, 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/client/player-data-management/updateplayercustomproperties + */ + UpdatePlayerCustomProperties(request: PlayFabClientModels.UpdatePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user. By default, clients are not permitted to * update statistics. Developers may override this setting in the Game Manager > Settings > API Features. @@ -1873,6 +1893,46 @@ declare module PlayFabClientModels { | "ZMW" | "ZWD"; + export interface CustomPropertyDetails { + /** The custom property's name. */ + Name?: string; + /** The custom property's value. */ + Value?: any; + + } + + 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 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; + /** 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[]; + /** + * 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 DeviceInfoRequest extends PlayFabModule.IPlayFabRequestCommon { /** Information posted to the PlayStream Event. Currently arbitrary, and specific to the environment sending it. */ Info?: { [key: string]: any }; @@ -2487,6 +2547,23 @@ declare module PlayFabClientModels { } + export interface GetPlayerCustomPropertyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Specific property name to search for in the player's properties. */ + PropertyName: string; + + } + + export interface GetPlayerCustomPropertyResult extends PlayFabModule.IPlayFabResultCommon { + /** + * 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; + + } + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3412,6 +3489,21 @@ declare module PlayFabClientModels { } + export interface ListPlayerCustomPropertiesRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface ListPlayerCustomPropertiesResult extends PlayFabModule.IPlayFabResultCommon { + /** 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 ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId?: string; @@ -5095,6 +5187,28 @@ declare module PlayFabClientModels { } + 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; + /** Collection of properties to be set for a player. */ + Properties: UpdateProperty[]; + + } + + export interface UpdatePlayerCustomPropertiesResult extends PlayFabModule.IPlayFabResultCommon { + /** + * 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 UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5107,6 +5221,14 @@ declare module PlayFabClientModels { } + 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; + + } + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5366,7 +5488,8 @@ declare module PlayFabClientModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface UserPrivateAccountInfo { /** user email address */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 9513846e..880a6ebf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -10,7 +10,7 @@ declare module PlayFabEconomyModule { */ AddInventoryItems(request: PlayFabEconomyModels.AddInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Creates a new item in the working catalog using provided metadata. + * Creates a new item in the working catalog using provided metadata. Note: SAS tokens provided are valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/createdraftitem */ CreateDraftItem(request: PlayFabEconomyModels.CreateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -69,13 +69,15 @@ declare module PlayFabEconomyModule { /** * Retrieves an item from the working catalog. This item represents the current working state of the item. GetDraftItem * does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note - * that item references data is cached and may take a few moments for changes to propagate. + * that item references data is cached and may take a few moments for changes to propagate. Note: SAS tokens provided are + * valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitem */ GetDraftItem(request: PlayFabEconomyModels.GetDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request. - * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. + * GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. Note: + * SAS tokens provided are valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getdraftitems */ GetDraftItems(request: PlayFabEconomyModels.GetDraftItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -273,7 +275,7 @@ declare module PlayFabEconomyModule { */ UpdateCatalogConfig(request: PlayFabEconomyModels.UpdateCatalogConfigRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Update the metadata for an item in the working catalog. + * Update the metadata for an item in the working catalog. Note: SAS tokens provided are valid for 1 hour. * https://docs.microsoft.com/rest/api/playfab/economy/catalog/updatedraftitem */ UpdateDraftItem(request: PlayFabEconomyModels.UpdateDraftItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index c6592288..8f5031f9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -82,6 +82,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer */ DeletePlayer(request: PlayFabServerModels.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/server/player-data-management/deleteplayercustomproperties + */ + DeletePlayerCustomProperties(request: PlayFabServerModels.DeletePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes push notification template for title * https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate @@ -205,6 +210,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo */ GetPlayerCombinedInfo(request: PlayFabServerModels.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/server/player-data-management/getplayercustomproperty + */ + GetPlayerCustomProperty(request: PlayFabServerModels.GetPlayerCustomPropertyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the player's profile * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile @@ -461,6 +471,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.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/server/player-data-management/listplayercustomproperties + */ + ListPlayerCustomProperties(request: PlayFabServerModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -718,6 +733,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics */ UpdateCharacterStatistics(request: PlayFabServerModels.UpdateCharacterStatisticsRequest, 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/server/player-data-management/updateplayercustomproperties + */ + UpdatePlayerCustomProperties(request: PlayFabServerModels.UpdatePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Updates the values of the specified title-specific statistics for the user * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics @@ -1618,6 +1638,14 @@ declare module PlayFabServerModels { | "ZMW" | "ZWD"; + export interface CustomPropertyDetails { + /** The custom property's name. */ + Name?: string; + /** The custom property's value. */ + Value?: any; + + } + export interface DeleteCharacterFromUserRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID for a specific character owned by a user */ CharacterId: string; @@ -1637,6 +1665,42 @@ declare module PlayFabServerModels { } + 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 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; @@ -2416,6 +2480,7 @@ declare module PlayFabServerModels { | "ReportDataNotRetrievedSuccessfully" | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" + | "InvalidSteamUsername" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2549,6 +2614,7 @@ declare module PlayFabServerModels { | "AnalyticsSegmentCountOverLimit" | "SnapshotNotFound" | "InventoryApiNotImplemented" + | "InventoryCollectionDeletionDisallowed" | "LobbyDoesNotExist" | "LobbyRateLimitExceeded" | "LobbyPlayerAlreadyJoined" @@ -2685,6 +2751,7 @@ declare module PlayFabServerModels { | "TrueSkillModelStateInvalidForOperation" | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" + | "TrueSkillTotalScenarioLimitExceeded" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -3092,6 +3159,27 @@ declare module PlayFabServerModels { } + 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 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; + + } + export interface GetPlayerProfileRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -3929,6 +4017,25 @@ declare module PlayFabServerModels { } + 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 ListUsersCharactersRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -4242,6 +4349,8 @@ declare module PlayFabServerModels { ContactEmailAddresses?: ContactEmailInfo[]; /** Player record created */ Created?: string; + /** Dictionary of player's custom properties. */ + CustomProperties?: { [key: string]: any }; /** Player Display Name */ DisplayName?: string; /** Last login */ @@ -5216,6 +5325,32 @@ declare module PlayFabServerModels { } + 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; + + } + export interface UpdatePlayerStatisticsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5235,6 +5370,14 @@ declare module PlayFabServerModels { } + 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; + + } + export interface UpdateSharedGroupDataRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5524,7 +5667,8 @@ declare module PlayFabServerModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface UserPrivateAccountInfo { /** user email address */ From 39ff0ac8b50ba1aa9c8982ae025cfd024af88ce4 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 18 Mar 2025 20:26:15 +0000 Subject: [PATCH 219/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250314 --- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index a6bf319a..5c046754 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 489422f2..88e8a00b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2376ecf0..a016cc95 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6eb63720..c0c04e1e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 768e4780..bc51aa38 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 6ce8beab..f1d0c1c9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 0f9efc5d..6de9ffc8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index eef566fc..e467d8a2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f55aa18e..3d2157f0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 36651de8..0a32b32c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 57f2b7d0..59772e6c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0c40c9af..9b9e475f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1db293a0..e2785809 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 919d7ca1..12232520 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 9f9dfdde..d7979137 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fe8eff2d..1f279785 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index a6bf319a..5c046754 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 489422f2..88e8a00b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2376ecf0..a016cc95 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6eb63720..c0c04e1e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 768e4780..bc51aa38 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 6ce8beab..f1d0c1c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 0f9efc5d..6de9ffc8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index eef566fc..e467d8a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f55aa18e..3d2157f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 36651de8..0a32b32c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 57f2b7d0..59772e6c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0c40c9af..9b9e475f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1db293a0..e2785809 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 919d7ca1..12232520 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 9f9dfdde..d7979137 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fe8eff2d..1f279785 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 36b974d5dd9cd69b0af1357436bb588d9c0be7a3 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 19 Mar 2025 18:02:46 +0000 Subject: [PATCH 220/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250314 --- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 5c046754..a6bf319a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 88e8a00b..489422f2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index a016cc95..2376ecf0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c0c04e1e..6eb63720 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index bc51aa38..768e4780 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f1d0c1c9..6ce8beab 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 6de9ffc8..0f9efc5d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index e467d8a2..eef566fc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 3d2157f0..f55aa18e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 0a32b32c..36651de8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 59772e6c..57f2b7d0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 9b9e475f..0c40c9af 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e2785809..1db293a0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 12232520..919d7ca1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index d7979137..9f9dfdde 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1f279785..fe8eff2d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 5c046754..a6bf319a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 88e8a00b..489422f2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index a016cc95..2376ecf0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c0c04e1e..6eb63720 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index bc51aa38..768e4780 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f1d0c1c9..6ce8beab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 6de9ffc8..0f9efc5d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index e467d8a2..eef566fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 3d2157f0..f55aa18e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 0a32b32c..36651de8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 59772e6c..57f2b7d0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 9b9e475f..0c40c9af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e2785809..1db293a0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 12232520..919d7ca1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index d7979137..9f9dfdde 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1f279785..fe8eff2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From e5525b33710cfab0e7915b3e798b51127ec5414b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 19 Mar 2025 19:17:52 +0000 Subject: [PATCH 221/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250314 --- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index a6bf319a..1fbbc971 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 489422f2..546e7e0b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 2376ecf0..f97c287c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6eb63720..eddea146 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 768e4780..2cdf2cf4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 6ce8beab..f71fef2a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 0f9efc5d..9d3b2626 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index eef566fc..67ccc6d8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f55aa18e..70aab6cc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 36651de8..788fcbb9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 57f2b7d0..88b062a2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0c40c9af..ba878d03 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1db293a0..7e0aafaa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 919d7ca1..2e00c381 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 9f9dfdde..52539e2d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index fe8eff2d..78589c88 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index a6bf319a..1fbbc971 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 489422f2..546e7e0b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 2376ecf0..f97c287c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6eb63720..eddea146 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 768e4780..2cdf2cf4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 6ce8beab..f71fef2a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 0f9efc5d..9d3b2626 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index eef566fc..67ccc6d8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f55aa18e..70aab6cc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 36651de8..788fcbb9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 57f2b7d0..88b062a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0c40c9af..ba878d03 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1db293a0..7e0aafaa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 919d7ca1..2e00c381 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 9f9dfdde..52539e2d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index fe8eff2d..78589c88 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; PlayFab.sdkVersion = "1.188.250314"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 7bd15689d83819f70e845e556dd1bef80a41f9ac Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 1 Apr 2025 20:50:28 +0000 Subject: [PATCH 222/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250328 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 6 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 15 +++++++++++++++ .../Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 17 +++++++++++++++++ .../Typings/PlayFab/PlayFabProgressionApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 15 +++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 6 +++--- .../src/PlayFab/PlayFabAdminApi.js | 6 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +++--- .../src/PlayFab/PlayFabClientApi.js | 6 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +++--- .../src/PlayFab/PlayFabDataApi.js | 6 +++--- .../src/PlayFab/PlayFabEconomyApi.js | 6 +++--- .../src/PlayFab/PlayFabEventsApi.js | 6 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 +++--- .../src/PlayFab/PlayFabProgressionApi.js | 6 +++--- .../src/PlayFab/PlayFabServerApi.js | 6 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 15 +++++++++++++++ .../typings/PlayFab/PlayFabMultiplayerApi.d.ts | 17 +++++++++++++++++ .../typings/PlayFab/PlayFabProgressionApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 15 +++++++++++++++ 41 files changed, 193 insertions(+), 99 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 13f64b0e..fb58dd2f 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.188.250314", + "version": "1.189.250328", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 1fbbc971..0b71c8bb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 546e7e0b..a6bc1865 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index f97c287c..b868a20d 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index eddea146..7f9b63aa 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 2cdf2cf4..3068330c 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index f71fef2a..3e9523e7 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 9d3b2626..c52cb7c1 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 67ccc6d8..b4ad1a19 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 70aab6cc..636dc77d 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 788fcbb9..dadcc01e 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 88b062a2..528615b1 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index ba878d03..e02b52a6 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7e0aafaa..7dcf8a3d 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 2e00c381..e3c60686 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 52539e2d..51ab7abb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 78589c88..03919928 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.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index eff44902..cf43589e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2685,6 +2685,7 @@ declare module PlayFabAdminModels { | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" | "InvalidSteamUsername" + | "InvalidVersionResetForLinkedLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2799,6 +2800,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" + | "ExperimentationLegacyExperimentInvalidOperation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2864,6 +2866,13 @@ declare module PlayFabAdminModels { | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" | "EventSinkTenantIdInvalid" + | "EventSinkResourceMisconfigured" + | "EventSinkAccessDenied" + | "EventSinkWriteConflict" + | "EventSinkResourceNotFound" + | "EventSinkResourceFeatureNotSupported" + | "EventSinkBucketNameInvalid" + | "EventSinkResourceUnavailable" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2971,6 +2980,12 @@ declare module PlayFabAdminModels { | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" | "GameSaveManifestVersionQuarantined" + | "GameSaveManifestUploadProgressUpdateNotAllowed" + | "GameSaveNotFinalizedManifestNotEligibleAsKnownGood" + | "GameSaveNoUpdatesRequested" + | "GameSaveTitleDoesNotExist" + | "GameSaveOperationNotAllowedForTitle" + | "GameSaveManifestFilesLimitExceeded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 64bf0084..41fc903f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1209,6 +1209,12 @@ declare module PlayFabMultiplayerModels { * set ownership. The useConnections property can be either true or false. */ OwnerMigrationPolicy?: string; + /** + * A setting that controls whether only the lobby owner can send invites to join the lobby. When true, only the lobby owner + * can send invites. When false or not specified, any member can send invites. Defaults to false if not specified. + * Restricted to client owned lobbies. + */ + RestrictInvitesToLobbyOwner: boolean; /** * The public key-value pairs which allow queries to differentiate between lobbies. Queries will refer to these key-value * pairs in their filter and order by clauses to retrieve lobbies fitting the specified criteria. At most 30 key-value @@ -2170,6 +2176,12 @@ declare module PlayFabMultiplayerModels { * set ownership. The useConnections property can be either true or false. */ OwnerMigrationPolicy?: string; + /** + * A setting that controls whether only the lobby owner can send invites to join the lobby. When true, only the lobby owner + * can send invites. When false or not specified, any member can send invites. Defaults to false if not specified. + * Restricted to client owned lobbies. + */ + RestrictInvitesToLobbyOwner: boolean; /** * A setting to control whether connections are used. Defaults to true. When true, notifications are sent to subscribed * players, disconnect detection removes connectionHandles, only owner migration policies using connections are allowed, @@ -2639,6 +2651,11 @@ declare module PlayFabMultiplayerModels { * PubSub. */ PubSubConnectionHandle?: string; + /** + * A setting that controls lobby invites. When true only owners can invite new players, when false all members area allowed + * to invite. + */ + RestrictInvitesToLobbyOwner: boolean; /** Search data. */ SearchData?: { [key: string]: string | null }; /** Preview: Lobby joined server. This is not the server owner, rather the server that has joined a client owned lobby. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index aae1a259..7cedfdb1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -261,7 +261,7 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** Name of the leaderboard. */ LeaderboardName: string; - /** Maximum number of results to return from the leaderboard. Minimum 1, maximum 1,000. */ + /** Maximum number of results to return from the leaderboard. Minimum 1, maximum 100. */ PageSize: number; /** Index position to start from. 1 is beginning of leaderboard. */ StartingPosition?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 8f5031f9..284d21a2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2481,6 +2481,7 @@ declare module PlayFabServerModels { | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" | "InvalidSteamUsername" + | "InvalidVersionResetForLinkedLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2595,6 +2596,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" + | "ExperimentationLegacyExperimentInvalidOperation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2660,6 +2662,13 @@ declare module PlayFabServerModels { | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" | "EventSinkTenantIdInvalid" + | "EventSinkResourceMisconfigured" + | "EventSinkAccessDenied" + | "EventSinkWriteConflict" + | "EventSinkResourceNotFound" + | "EventSinkResourceFeatureNotSupported" + | "EventSinkBucketNameInvalid" + | "EventSinkResourceUnavailable" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2767,6 +2776,12 @@ declare module PlayFabServerModels { | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" | "GameSaveManifestVersionQuarantined" + | "GameSaveManifestUploadProgressUpdateNotAllowed" + | "GameSaveNotFinalizedManifestNotEligibleAsKnownGood" + | "GameSaveNoUpdatesRequested" + | "GameSaveTitleDoesNotExist" + | "GameSaveOperationNotAllowedForTitle" + | "GameSaveManifestFilesLimitExceeded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 1fbbc971..0b71c8bb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 546e7e0b..a6bc1865 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index f97c287c..b868a20d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index eddea146..7f9b63aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 2cdf2cf4..3068330c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index f71fef2a..3e9523e7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 9d3b2626..c52cb7c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 67ccc6d8..b4ad1a19 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 70aab6cc..636dc77d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 788fcbb9..dadcc01e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 88b062a2..528615b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index ba878d03..e02b52a6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7e0aafaa..7dcf8a3d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 2e00c381..e3c60686 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 52539e2d..51ab7abb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 78589c88..03919928 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.188.250314", + sdkVersion: "1.189.250328", requestGetParams: { - sdk: "JavaScriptSDK-1.188.250314" + sdk: "JavaScriptSDK-1.189.250328" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; -PlayFab.sdkVersion = "1.188.250314"; +PlayFab.sdkVersion = "1.189.250328"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index eff44902..cf43589e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2685,6 +2685,7 @@ declare module PlayFabAdminModels { | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" | "InvalidSteamUsername" + | "InvalidVersionResetForLinkedLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2799,6 +2800,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" + | "ExperimentationLegacyExperimentInvalidOperation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2864,6 +2866,13 @@ declare module PlayFabAdminModels { | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" | "EventSinkTenantIdInvalid" + | "EventSinkResourceMisconfigured" + | "EventSinkAccessDenied" + | "EventSinkWriteConflict" + | "EventSinkResourceNotFound" + | "EventSinkResourceFeatureNotSupported" + | "EventSinkBucketNameInvalid" + | "EventSinkResourceUnavailable" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2971,6 +2980,12 @@ declare module PlayFabAdminModels { | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" | "GameSaveManifestVersionQuarantined" + | "GameSaveManifestUploadProgressUpdateNotAllowed" + | "GameSaveNotFinalizedManifestNotEligibleAsKnownGood" + | "GameSaveNoUpdatesRequested" + | "GameSaveTitleDoesNotExist" + | "GameSaveOperationNotAllowedForTitle" + | "GameSaveManifestFilesLimitExceeded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 64bf0084..41fc903f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1209,6 +1209,12 @@ declare module PlayFabMultiplayerModels { * set ownership. The useConnections property can be either true or false. */ OwnerMigrationPolicy?: string; + /** + * A setting that controls whether only the lobby owner can send invites to join the lobby. When true, only the lobby owner + * can send invites. When false or not specified, any member can send invites. Defaults to false if not specified. + * Restricted to client owned lobbies. + */ + RestrictInvitesToLobbyOwner: boolean; /** * The public key-value pairs which allow queries to differentiate between lobbies. Queries will refer to these key-value * pairs in their filter and order by clauses to retrieve lobbies fitting the specified criteria. At most 30 key-value @@ -2170,6 +2176,12 @@ declare module PlayFabMultiplayerModels { * set ownership. The useConnections property can be either true or false. */ OwnerMigrationPolicy?: string; + /** + * A setting that controls whether only the lobby owner can send invites to join the lobby. When true, only the lobby owner + * can send invites. When false or not specified, any member can send invites. Defaults to false if not specified. + * Restricted to client owned lobbies. + */ + RestrictInvitesToLobbyOwner: boolean; /** * A setting to control whether connections are used. Defaults to true. When true, notifications are sent to subscribed * players, disconnect detection removes connectionHandles, only owner migration policies using connections are allowed, @@ -2639,6 +2651,11 @@ declare module PlayFabMultiplayerModels { * PubSub. */ PubSubConnectionHandle?: string; + /** + * A setting that controls lobby invites. When true only owners can invite new players, when false all members area allowed + * to invite. + */ + RestrictInvitesToLobbyOwner: boolean; /** Search data. */ SearchData?: { [key: string]: string | null }; /** Preview: Lobby joined server. This is not the server owner, rather the server that has joined a client owned lobby. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index aae1a259..7cedfdb1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -261,7 +261,7 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** Name of the leaderboard. */ LeaderboardName: string; - /** Maximum number of results to return from the leaderboard. Minimum 1, maximum 1,000. */ + /** Maximum number of results to return from the leaderboard. Minimum 1, maximum 100. */ PageSize: number; /** Index position to start from. 1 is beginning of leaderboard. */ StartingPosition?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 8f5031f9..284d21a2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2481,6 +2481,7 @@ declare module PlayFabServerModels { | "ResetIntervalCannotBeModified" | "VersionIncrementRateExceeded" | "InvalidSteamUsername" + | "InvalidVersionResetForLinkedLeaderboard" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2595,6 +2596,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupCannotDelete" | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" + | "ExperimentationLegacyExperimentInvalidOperation" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2660,6 +2662,13 @@ declare module PlayFabServerModels { | "EventSinkInsufficientRoleAssignment" | "EventSinkContainerNotFound" | "EventSinkTenantIdInvalid" + | "EventSinkResourceMisconfigured" + | "EventSinkAccessDenied" + | "EventSinkWriteConflict" + | "EventSinkResourceNotFound" + | "EventSinkResourceFeatureNotSupported" + | "EventSinkBucketNameInvalid" + | "EventSinkResourceUnavailable" | "OperationCanceled" | "InvalidDisplayNameRandomSuffixLength" | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed" @@ -2767,6 +2776,12 @@ declare module PlayFabServerModels { | "GameSaveNewerManifestExists" | "GameSaveBaseVersionNotAvailable" | "GameSaveManifestVersionQuarantined" + | "GameSaveManifestUploadProgressUpdateNotAllowed" + | "GameSaveNotFinalizedManifestNotEligibleAsKnownGood" + | "GameSaveNoUpdatesRequested" + | "GameSaveTitleDoesNotExist" + | "GameSaveOperationNotAllowedForTitle" + | "GameSaveManifestFilesLimitExceeded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 86186fcec7c155add49e16002d145c14c5e61c11 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 29 Apr 2025 15:55:03 +0000 Subject: [PATCH 223/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250428 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 44 ++++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 24 +++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 17 ++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 83 +++++++++++++- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 107 +++++++++++++++++- .../src/PlayFab/PlayFabAddonApi.js | 8 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 44 ++++++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 24 +++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 17 ++- .../PlayFab/PlayFabAuthenticationApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 83 +++++++++++++- .../PlayFab/PlayFabCloudScriptApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 107 +++++++++++++++++- 43 files changed, 641 insertions(+), 147 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index fb58dd2f..0db4e4a2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.189.250328", + "version": "1.190.250428", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 0b71c8bb..574e0175 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index a6bc1865..e31fb366 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index b868a20d..f53bba0a 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 7f9b63aa..969913d2 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -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); }, @@ -557,6 +561,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkBattleNet: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkBattleNet", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -669,6 +677,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 @@ -1187,6 +1219,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkBattleNet: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkBattleNet", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 3068330c..ea67ad61 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3e9523e7..7e007d10 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index c52cb7c1..80f1b1cb 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index b4ad1a19..b4661ad0 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 636dc77d..ae4b40f4 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index dadcc01e..9725bbc3 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 528615b1..cf0090ce 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e02b52a6..6bb3045c 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7dcf8a3d..b1fd4845 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index e3c60686..64ef2c0b 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 51ab7abb..a747a6a9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 03919928..7a845e91 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.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -409,6 +409,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); }, @@ -577,6 +581,18 @@ PlayFab.ServerApi = { 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); + }, + + 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index cf43589e..6edb4325 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2201,7 +2201,6 @@ declare module PlayFabAdminModels { | "UnableToConnectToDatabase" | "InternalServerError" | "InvalidReportDate" - | "ReportNotAvailable" | "DatabaseThroughputExceeded" | "InvalidGameTicket" | "ExpiredGameTicket" @@ -2686,6 +2685,11 @@ declare module PlayFabAdminModels { | "VersionIncrementRateExceeded" | "InvalidSteamUsername" | "InvalidVersionResetForLinkedLeaderboard" + | "BattleNetNotEnabledForTitle" + | "ReportNotProcessed" + | "DataNotAvailable" + | "InvalidReportName" + | "ResourceNotModified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2965,6 +2969,7 @@ declare module PlayFabAdminModels { | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" | "TrueSkillTotalScenarioLimitExceeded" + | "TrueSkillInvalidConditionsList" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2986,6 +2991,9 @@ declare module PlayFabAdminModels { | "GameSaveTitleDoesNotExist" | "GameSaveOperationNotAllowedForTitle" | "GameSaveManifestFilesLimitExceeded" + | "GameSaveManifestDescriptionUpdateNotAllowed" + | "GameSaveTitleConfigNotFound" + | "GameSaveTitleAlreadyOnboarded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2993,7 +3001,9 @@ declare module PlayFabAdminModels { | "StateShareStateRedemptionLimitExceeded" | "StateShareStateRedemptionLimitNotUpdated" | "StateShareCreatedStatesLimitExceeded" - | "StateShareIdMissingOrMalformed"; + | "StateShareIdMissingOrMalformed" + | "PlayerCreationDisabled" + | "AccountAlreadyExists"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3852,7 +3862,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index ee55306a..58381549 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -149,7 +149,8 @@ declare module PlayFabAuthenticationModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "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 c2e256e1..bc91ba1f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -274,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 @@ -454,6 +459,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/linkbattlenet + */ + LinkBattleNet(request: PlayFabClientModels.LinkBattleNetRequest, 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 @@ -550,6 +560,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithapple */ LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sign in the user with a Battle.net identity token + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithbattlenet + */ + LoginWithBattleNet(request: PlayFabClientModels.LoginWithBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -787,6 +802,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkapple */ UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Battle.net account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkbattlenet + */ + UnlinkBattleNet(request: PlayFabClientModels.UnlinkBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid @@ -1164,6 +1184,14 @@ declare module PlayFabClientModels { } + export interface BattleNetAccountPlayFabIdPair { + /** Unique Battle.net account identifier for a user. */ + BattleNetAccountId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Battle.net account identifier. */ + PlayFabId?: string; + + } + export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; @@ -2662,6 +2690,21 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromBattleNetAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Battle.net account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 10 in length. + */ + BattleNetAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromBattleNetAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Battle.net account identifiers to PlayFab identifiers. */ + Data?: BattleNetAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 @@ -3223,6 +3266,16 @@ declare module PlayFabClientModels { } + export interface LinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Battle.net account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + + } + export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -3554,7 +3607,8 @@ declare module PlayFabClientModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -3629,6 +3683,27 @@ declare module PlayFabClientModels { } + export interface LoginWithBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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 LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4928,6 +5003,12 @@ declare module PlayFabClientModels { } + export interface UnlinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 9076c837..0016e54a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -625,7 +625,8 @@ declare module PlayFabCloudScriptModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 284d21a2..a33eb830 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -249,6 +249,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags */ GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, 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/server/account-management/getplayfabidsfrombattlenetaccountids + */ + GetPlayFabIDsFromBattleNetAccountIds(request: PlayFabServerModels.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/server/account-management/getplayfabidsfromfacebookids @@ -476,6 +481,24 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/listplayercustomproperties */ ListPlayerCustomProperties(request: PlayFabServerModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithandroiddeviceid + */ + LoginWithAndroidDeviceID(request: PlayFabServerModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithcustomid + */ + LoginWithCustomID(request: PlayFabServerModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using the iOS device identifier, returning a session identifier that can subsequently be used for API + * calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithiosdeviceid + */ + LoginWithIOSDeviceID(request: PlayFabServerModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -1005,6 +1028,14 @@ declare module PlayFabServerModels { } + export interface BattleNetAccountPlayFabIdPair { + /** Unique Battle.net account identifier for a user. */ + BattleNetAccountId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Battle.net account identifier. */ + PlayFabId?: string; + + } + export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1997,7 +2028,6 @@ declare module PlayFabServerModels { | "UnableToConnectToDatabase" | "InternalServerError" | "InvalidReportDate" - | "ReportNotAvailable" | "DatabaseThroughputExceeded" | "InvalidGameTicket" | "ExpiredGameTicket" @@ -2482,6 +2512,11 @@ declare module PlayFabServerModels { | "VersionIncrementRateExceeded" | "InvalidSteamUsername" | "InvalidVersionResetForLinkedLeaderboard" + | "BattleNetNotEnabledForTitle" + | "ReportNotProcessed" + | "DataNotAvailable" + | "InvalidReportName" + | "ResourceNotModified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2761,6 +2796,7 @@ declare module PlayFabServerModels { | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" | "TrueSkillTotalScenarioLimitExceeded" + | "TrueSkillInvalidConditionsList" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2782,6 +2818,9 @@ declare module PlayFabServerModels { | "GameSaveTitleDoesNotExist" | "GameSaveOperationNotAllowedForTitle" | "GameSaveManifestFilesLimitExceeded" + | "GameSaveManifestDescriptionUpdateNotAllowed" + | "GameSaveTitleConfigNotFound" + | "GameSaveTitleAlreadyOnboarded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2789,7 +2828,9 @@ declare module PlayFabServerModels { | "StateShareStateRedemptionLimitExceeded" | "StateShareStateRedemptionLimitNotUpdated" | "StateShareCreatedStatesLimitExceeded" - | "StateShareIdMissingOrMalformed"; + | "StateShareIdMissingOrMalformed" + | "PlayerCreationDisabled" + | "AccountAlreadyExists"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -3323,6 +3364,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromBattleNetAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Battle.net account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 10 in length. + */ + BattleNetAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromBattleNetAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Battle.net account identifiers to PlayFab identifiers. */ + Data?: BattleNetAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 @@ -4109,7 +4165,52 @@ declare module PlayFabServerModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; + + export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Specific model of the user's device. */ + AndroidDevice?: string; + /** Android device identifier for the user's device. */ + AndroidDeviceId: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Specific Operating System version for the user's device. */ + OS?: string; + + } + + export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Custom unique identifier for the user, generated by the title. */ + CustomId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Vendor-specific iOS identifier for the user's device. */ + DeviceId: string; + /** Specific model of the user's device. */ + DeviceModel?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Specific Operating System version for the user's device. */ + OS?: string; + + } export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 0b71c8bb..574e0175 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index a6bc1865..e31fb366 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index b868a20d..f53bba0a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 7f9b63aa..969913d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -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); }, @@ -557,6 +561,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, + LinkBattleNet: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkBattleNet", request, "X-Authorization", callback, customData, extraHeaders); + }, + LinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, @@ -669,6 +677,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 @@ -1187,6 +1219,10 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, + UnlinkBattleNet: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkBattleNet", request, "X-Authorization", callback, customData, extraHeaders); + }, + UnlinkCustomID: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 3068330c..ea67ad61 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3e9523e7..7e007d10 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index c52cb7c1..80f1b1cb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index b4ad1a19..b4661ad0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 636dc77d..ae4b40f4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index dadcc01e..9725bbc3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 528615b1..cf0090ce 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e02b52a6..6bb3045c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7dcf8a3d..b1fd4845 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index e3c60686..64ef2c0b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 51ab7abb..a747a6a9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 03919928..7a845e91 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.189.250328", + sdkVersion: "1.190.250428", requestGetParams: { - sdk: "JavaScriptSDK-1.189.250328" + sdk: "JavaScriptSDK-1.190.250428" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.189.250328"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.190.250428"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -409,6 +409,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); }, @@ -577,6 +581,18 @@ PlayFab.ServerApi = { 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); + }, + + 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index cf43589e..6edb4325 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2201,7 +2201,6 @@ declare module PlayFabAdminModels { | "UnableToConnectToDatabase" | "InternalServerError" | "InvalidReportDate" - | "ReportNotAvailable" | "DatabaseThroughputExceeded" | "InvalidGameTicket" | "ExpiredGameTicket" @@ -2686,6 +2685,11 @@ declare module PlayFabAdminModels { | "VersionIncrementRateExceeded" | "InvalidSteamUsername" | "InvalidVersionResetForLinkedLeaderboard" + | "BattleNetNotEnabledForTitle" + | "ReportNotProcessed" + | "DataNotAvailable" + | "InvalidReportName" + | "ResourceNotModified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2965,6 +2969,7 @@ declare module PlayFabAdminModels { | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" | "TrueSkillTotalScenarioLimitExceeded" + | "TrueSkillInvalidConditionsList" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2986,6 +2991,9 @@ declare module PlayFabAdminModels { | "GameSaveTitleDoesNotExist" | "GameSaveOperationNotAllowedForTitle" | "GameSaveManifestFilesLimitExceeded" + | "GameSaveManifestDescriptionUpdateNotAllowed" + | "GameSaveTitleConfigNotFound" + | "GameSaveTitleAlreadyOnboarded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2993,7 +3001,9 @@ declare module PlayFabAdminModels { | "StateShareStateRedemptionLimitExceeded" | "StateShareStateRedemptionLimitNotUpdated" | "StateShareCreatedStatesLimitExceeded" - | "StateShareIdMissingOrMalformed"; + | "StateShareIdMissingOrMalformed" + | "PlayerCreationDisabled" + | "AccountAlreadyExists"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -3852,7 +3862,8 @@ declare module PlayFabAdminModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index ee55306a..58381549 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -149,7 +149,8 @@ declare module PlayFabAuthenticationModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "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/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index c2e256e1..bc91ba1f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -274,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 @@ -454,6 +459,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/linkbattlenet + */ + LinkBattleNet(request: PlayFabClientModels.LinkBattleNetRequest, 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 @@ -550,6 +560,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithapple */ LoginWithApple(request: PlayFabClientModels.LoginWithAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sign in the user with a Battle.net identity token + * https://docs.microsoft.com/rest/api/playfab/client/authentication/loginwithbattlenet + */ + LoginWithBattleNet(request: PlayFabClientModels.LoginWithBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -787,6 +802,11 @@ declare module PlayFabClientModule { * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkapple */ UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Battle.net account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkbattlenet + */ + UnlinkBattleNet(request: PlayFabClientModels.UnlinkBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid @@ -1164,6 +1184,14 @@ declare module PlayFabClientModels { } + export interface BattleNetAccountPlayFabIdPair { + /** Unique Battle.net account identifier for a user. */ + BattleNetAccountId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Battle.net account identifier. */ + PlayFabId?: string; + + } + export interface CancelTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** Trade identifier. */ TradeId: string; @@ -2662,6 +2690,21 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromBattleNetAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Battle.net account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 10 in length. + */ + BattleNetAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromBattleNetAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Battle.net account identifiers to PlayFab identifiers. */ + Data?: BattleNetAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 @@ -3223,6 +3266,16 @@ declare module PlayFabClientModels { } + export interface LinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Battle.net account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + + } + export interface LinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Custom unique identifier for the user, generated by the title. */ CustomId: string; @@ -3554,7 +3607,8 @@ declare module PlayFabClientModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { /** @@ -3629,6 +3683,27 @@ declare module PlayFabClientModels { } + export interface LoginWithBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + EncryptedRequest?: string; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret that is used to verify API request signatures (Enterprise Only). */ + PlayerSecret?: 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 LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4928,6 +5003,12 @@ declare module PlayFabClientModels { } + export interface UnlinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + export interface UnlinkCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Custom unique identifier for the user, generated by the title. If not specified, the most recently signed in Custom ID diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 9076c837..0016e54a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -625,7 +625,8 @@ declare module PlayFabCloudScriptModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; export interface LogStatement { /** Optional object accompanying the message as contextual information */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 284d21a2..a33eb830 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -249,6 +249,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags */ GetPlayerTags(request: PlayFabServerModels.GetPlayerTagsRequest, 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/server/account-management/getplayfabidsfrombattlenetaccountids + */ + GetPlayFabIDsFromBattleNetAccountIds(request: PlayFabServerModels.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/server/account-management/getplayfabidsfromfacebookids @@ -476,6 +481,24 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/listplayercustomproperties */ ListPlayerCustomProperties(request: PlayFabServerModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for + * API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithandroiddeviceid + */ + LoginWithAndroidDeviceID(request: PlayFabServerModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can + * subsequently be used for API calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithcustomid + */ + LoginWithCustomID(request: PlayFabServerModels.LoginWithCustomIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Signs the user in using the iOS device identifier, returning a session identifier that can subsequently be used for API + * calls which require an authenticated user + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithiosdeviceid + */ + LoginWithIOSDeviceID(request: PlayFabServerModels.LoginWithIOSDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -1005,6 +1028,14 @@ declare module PlayFabServerModels { } + export interface BattleNetAccountPlayFabIdPair { + /** Unique Battle.net account identifier for a user. */ + BattleNetAccountId?: string; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Battle.net account identifier. */ + PlayFabId?: string; + + } + export interface CatalogItem { /** * defines the bundle properties for the item - bundles are items which contain other items, including random drop tables @@ -1997,7 +2028,6 @@ declare module PlayFabServerModels { | "UnableToConnectToDatabase" | "InternalServerError" | "InvalidReportDate" - | "ReportNotAvailable" | "DatabaseThroughputExceeded" | "InvalidGameTicket" | "ExpiredGameTicket" @@ -2482,6 +2512,11 @@ declare module PlayFabServerModels { | "VersionIncrementRateExceeded" | "InvalidSteamUsername" | "InvalidVersionResetForLinkedLeaderboard" + | "BattleNetNotEnabledForTitle" + | "ReportNotProcessed" + | "DataNotAvailable" + | "InvalidReportName" + | "ResourceNotModified" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2761,6 +2796,7 @@ declare module PlayFabServerModels { | "TrueSkillScenarioContainsActiveModel" | "TrueSkillInvalidConditionRank" | "TrueSkillTotalScenarioLimitExceeded" + | "TrueSkillInvalidConditionsList" | "GameSaveManifestNotFound" | "GameSaveManifestVersionAlreadyExists" | "GameSaveConflictUpdatingManifest" @@ -2782,6 +2818,9 @@ declare module PlayFabServerModels { | "GameSaveTitleDoesNotExist" | "GameSaveOperationNotAllowedForTitle" | "GameSaveManifestFilesLimitExceeded" + | "GameSaveManifestDescriptionUpdateNotAllowed" + | "GameSaveTitleConfigNotFound" + | "GameSaveTitleAlreadyOnboarded" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2789,7 +2828,9 @@ declare module PlayFabServerModels { | "StateShareStateRedemptionLimitExceeded" | "StateShareStateRedemptionLimitNotUpdated" | "StateShareCreatedStatesLimitExceeded" - | "StateShareIdMissingOrMalformed"; + | "StateShareIdMissingOrMalformed" + | "PlayerCreationDisabled" + | "AccountAlreadyExists"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -3323,6 +3364,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromBattleNetAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique Battle.net account identifiers for which the title needs to get PlayFab identifiers. The array cannot + * exceed 10 in length. + */ + BattleNetAccountIds: string[]; + + } + + export interface GetPlayFabIDsFromBattleNetAccountIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of Battle.net account identifiers to PlayFab identifiers. */ + Data?: BattleNetAccountPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 @@ -4109,7 +4165,52 @@ declare module PlayFabServerModels { | "NintendoSwitchAccount" | "GooglePlayGames" | "XboxMobileStore" - | "King"; + | "King" + | "BattleNet"; + + export interface LoginWithAndroidDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Specific model of the user's device. */ + AndroidDevice?: string; + /** Android device identifier for the user's device. */ + AndroidDeviceId: string; + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Specific Operating System version for the user's device. */ + OS?: string; + + } + + export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** Custom unique identifier for the user, generated by the title. */ + CustomId: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + + export interface LoginWithIOSDeviceIDRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Vendor-specific iOS identifier for the user's device. */ + DeviceId: string; + /** Specific model of the user's device. */ + DeviceModel?: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Specific Operating System version for the user's device. */ + OS?: string; + + } export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ From 826e63292a2c6cb9bf777e6fe8c1eee89ff7be6a Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 13 May 2025 19:42:55 +0000 Subject: [PATCH 224/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250512 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 20 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 28 ++- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 67 +++++++ .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 23 ++- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 10 + .../src/Typings/PlayFab/PlayFabEventsApi.d.ts | 181 ++++++++++++++++++ .../PlayFab/PlayFabProgressionApi.d.ts | 22 +++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 23 ++- .../src/PlayFab/PlayFabAddonApi.js | 20 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 28 ++- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 8 +- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 67 +++++++ .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 23 ++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 10 + .../src/typings/PlayFab/PlayFabEventsApi.d.ts | 181 ++++++++++++++++++ .../PlayFab/PlayFabProgressionApi.d.ts | 22 +++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 23 ++- 45 files changed, 841 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0db4e4a2..d9c888ee 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.190.250428", + "version": "1.191.250512", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 574e0175..d14beff3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -273,6 +273,10 @@ PlayFab.AddonApi = { 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); }, @@ -309,6 +313,10 @@ PlayFab.AddonApi = { 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); }, @@ -345,6 +353,10 @@ PlayFab.AddonApi = { 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e31fb366..26be3c9b 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index f53bba0a..df9950f0 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 969913d2..5a424afe 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ea67ad61..ae7b3175 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7e007d10..29c34f81 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 80f1b1cb..aacd9e26 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index b4661ad0..3a6d1ba0 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -245,18 +245,38 @@ PlayFab.EventsApi = { 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index ae4b40f4..6b715f1f 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 9725bbc3..d7350f81 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index cf0090ce..17290b05 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 6bb3045c..e8e7b548 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index b1fd4845..e6034c94 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 64ef2c0b..d0997f3c 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index a747a6a9..c4af5f01 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7a845e91..0c7706f8 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.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index a8999451..d832156b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -44,6 +44,11 @@ declare module PlayFabAddonModule { * 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 @@ -89,6 +94,11 @@ declare module PlayFabAddonModule { * 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 @@ -134,6 +144,11 @@ declare module PlayFabAddonModule { * 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 @@ -333,6 +348,26 @@ declare module PlayFabAddonModels { } + 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; @@ -447,6 +482,18 @@ declare module PlayFabAddonModels { } + 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 }; @@ -624,6 +671,26 @@ declare module PlayFabAddonModels { } + 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 }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 6edb4325..e6fe7012 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2690,6 +2690,7 @@ declare module PlayFabAdminModels { | "DataNotAvailable" | "InvalidReportName" | "ResourceNotModified" + | "StudioCreationLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2994,6 +2995,8 @@ declare module PlayFabAdminModels { | "GameSaveManifestDescriptionUpdateNotAllowed" | "GameSaveTitleConfigNotFound" | "GameSaveTitleAlreadyOnboarded" + | "GameSaveServiceNotEnabledForTitle" + | "GameSaveServiceOnboardingPending" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3003,7 +3006,15 @@ declare module PlayFabAdminModels { | "StateShareCreatedStatesLimitExceeded" | "StateShareIdMissingOrMalformed" | "PlayerCreationDisabled" - | "AccountAlreadyExists"; + | "AccountAlreadyExists" + | "TagInvalid" + | "TagTooLong" + | "StatisticColumnAggregationMismatch" + | "StatisticResetIntervalMismatch" + | "VersionConfigurationCannotBeSpecifiedForLinkedStat" + | "VersionConfigurationIsRequired" + | "InvalidEntityTypeForAggregation" + | "MultiLevelAggregationNotAllowed"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -5776,6 +5787,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 */ @@ -5833,6 +5846,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; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index bc91ba1f..829daa5a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -5383,6 +5383,8 @@ declare module PlayFabClientModels { 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 */ @@ -5440,6 +5442,14 @@ declare module PlayFabClientModels { } + export interface UserBattleNetInfo { + /** Battle.net identifier */ + BattleNetAccountId?: string; + /** Battle.net display name */ + BattleNetBattleTag?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts index ad01e759..6bcc412f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEventsApi.d.ts @@ -9,21 +9,46 @@ declare module PlayFabEventsModule { * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/createtelemetrykey */ CreateTelemetryKey(request: PlayFabEventsModels.CreateTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a Data Connection from a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletedataconnection + */ + DeleteDataConnection(request: PlayFabEventsModels.DeleteDataConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a telemetry key configured for the title. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletetelemetrykey */ DeleteTelemetryKey(request: PlayFabEventsModels.DeleteTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves a single Data Connection associated with a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/getdataconnection + */ + GetDataConnection(request: PlayFabEventsModels.GetDataConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets information about a telemetry key configured for the title. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/gettelemetrykey */ GetTelemetryKey(request: PlayFabEventsModels.GetTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the list of Data Connections associated with a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listdataconnections + */ + ListDataConnections(request: PlayFabEventsModels.ListDataConnectionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all telemetry keys configured for the title. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listtelemetrykeys */ ListTelemetryKeys(request: PlayFabEventsModels.ListTelemetryKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Creates or updates a Data Connection on a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnection + */ + SetDataConnection(request: PlayFabEventsModels.SetDataConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sets a Data Connection for the title to either the active or deactivated state. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnectionactive + */ + SetDataConnectionActive(request: PlayFabEventsModels.SetDataConnectionActiveRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets a telemetry key to the active or deactivated state. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/settelemetrykeyactive @@ -61,6 +86,95 @@ declare module PlayFabEventsModels { } + export interface DataConnectionAzureBlobSettings { + /** Name of the storage account. */ + AccountName?: string; + /** Name of the container. */ + ContainerName?: string; + /** Azure Entra Tenant Id. */ + TenantId?: string; + + } + + export interface DataConnectionAzureDataExplorerSettings { + /** The URI of the ADX cluster. */ + ClusterUri?: string; + /** The database to write to. */ + Database?: string; + /** The table to write to. */ + Table?: string; + + } + + export interface DataConnectionDetails { + /** Settings of the data connection. */ + ConnectionSettings: DataConnectionSettings; + /** Whether or not the connection is currently active. */ + IsActive: boolean; + /** The name of the data connection. */ + Name: string; + /** Current status of the data connection, if any. */ + Status?: DataConnectionStatusDetails; + /** The type of data connection. */ + Type: string; + + } + + type DataConnectionErrorState = "OK" + + | "Error"; + + export interface DataConnectionFabricKQLSettings { + /** The URI of the Fabric cluster. */ + ClusterUri?: string; + /** The database to write to. */ + Database?: string; + /** The table to write to. */ + Table?: string; + + } + + export interface DataConnectionSettings { + /** Settings if the type of connection is AzureBlobStorage. */ + AzureBlobSettings?: DataConnectionAzureBlobSettings; + /** Settings if the type of connection is AzureDataExplorer. */ + AzureDataExplorerSettings?: DataConnectionAzureDataExplorerSettings; + /** Settings if the type of connection is FabricKQL. */ + AzureFabricKQLSettings?: DataConnectionFabricKQLSettings; + + } + + export interface DataConnectionStatusDetails { + /** The name of the error affecting the data connection, if any. */ + Error?: string; + /** A description of the error affecting the data connection, if any. This may be empty for some errors. */ + ErrorMessage?: string; + /** The most recent time of the error affecting the data connection, if any. */ + MostRecentErrorTime?: string; + /** Indicates if the connection is in a normal state or error state. */ + State?: string; + + } + + type DataConnectionType = "AzureBlobStorage" + + | "AzureDataExplorer" + | "FabricKQL"; + + export interface DeleteDataConnectionRequest 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 name of the data connection to delete. */ + Name: string; + + } + + export interface DeleteDataConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** Indicates whether or not the connection was deleted as part of the request. */ + WasDeleted: boolean; + + } + export interface DeleteTelemetryKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -118,6 +232,20 @@ declare module PlayFabEventsModels { } + export interface GetDataConnectionRequest 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 name of the data connection to retrieve. */ + Name: string; + + } + + export interface GetDataConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The details of the queried Data Connection. */ + DataConnection?: DataConnectionDetails; + + } + export interface GetTelemetryKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -134,6 +262,18 @@ declare module PlayFabEventsModels { } + export interface ListDataConnectionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListDataConnectionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of existing Data Connections. */ + DataConnections?: DataConnectionDetails[]; + + } + export interface ListTelemetryKeysRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -148,6 +288,47 @@ declare module PlayFabEventsModels { } + export interface SetDataConnectionActiveRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether to set the data connection to active (true) or deactivated (false). */ + Active: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The name of the data connection to update. */ + Name: string; + + } + + export interface SetDataConnectionActiveResponse extends PlayFabModule.IPlayFabResultCommon { + /** The most current details about the data connection that was to be updated. */ + DataConnection?: DataConnectionDetails; + /** + * Indicates whether or not the data connection was updated. If false, the data connection was already in the desired + * state. + */ + WasUpdated: boolean; + + } + + export interface SetDataConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Settings of the data connection. */ + ConnectionSettings: DataConnectionSettings; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Whether or not the connection is currently active. */ + IsActive: boolean; + /** The name of the data connection to update or create. */ + Name: string; + /** The type of data connection. */ + Type: string; + + } + + export interface SetDataConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The details of the Data Connection to be created or updated. */ + DataConnection?: DataConnectionDetails; + + } + export interface SetTelemetryKeyActiveRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to set the key to active (true) or deactivated (false). */ Active: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index 7cedfdb1..ca5c9f66 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -145,6 +145,12 @@ declare module PlayFabProgressionModels { } export interface CreateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * [In Preview]: The list of statistic definition names whose scores must be aggregated towards this stat. If + * AggregationSource is specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, + * only one aggregation source can be specified. + */ + AggregationSources?: string[]; /** The columns for the statistic defining the aggregation method for each column. */ Columns?: StatisticColumn[]; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -375,6 +381,14 @@ declare module PlayFabProgressionModels { } export interface GetStatisticDefinitionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of statistic definitions names this definition aggregates to. */ + AggregationDestinations?: string[]; + /** + * The list of statistic definitions names whose values must be aggregated towards this stat. If AggregationSource is + * specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, only one aggregation + * source can be specified. + */ + AggregationSources?: string[]; /** The columns for the statistic defining the aggregation method for each column. */ Columns?: StatisticColumn[]; /** Created time, in UTC */ @@ -574,6 +588,14 @@ declare module PlayFabProgressionModels { } export interface StatisticDefinition { + /** The list of statistic definitions names this definition aggregates to. */ + AggregationDestinations?: string[]; + /** + * The list of statistic definitions names whose values must be aggregated towards this stat. If AggregationSource is + * specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, only one aggregation + * source can be specified. + */ + AggregationSources?: string[]; /** The columns for the statistic defining the aggregation method for each column. */ Columns?: StatisticColumn[]; /** Created time, in UTC */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index a33eb830..9ecbfa33 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2517,6 +2517,7 @@ declare module PlayFabServerModels { | "DataNotAvailable" | "InvalidReportName" | "ResourceNotModified" + | "StudioCreationLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2821,6 +2822,8 @@ declare module PlayFabServerModels { | "GameSaveManifestDescriptionUpdateNotAllowed" | "GameSaveTitleConfigNotFound" | "GameSaveTitleAlreadyOnboarded" + | "GameSaveServiceNotEnabledForTitle" + | "GameSaveServiceOnboardingPending" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2830,7 +2833,15 @@ declare module PlayFabServerModels { | "StateShareCreatedStatesLimitExceeded" | "StateShareIdMissingOrMalformed" | "PlayerCreationDisabled" - | "AccountAlreadyExists"; + | "AccountAlreadyExists" + | "TagInvalid" + | "TagTooLong" + | "StatisticColumnAggregationMismatch" + | "StatisticResetIntervalMismatch" + | "VersionConfigurationCannotBeSpecifiedForLinkedStat" + | "VersionConfigurationIsRequired" + | "InvalidEntityTypeForAggregation" + | "MultiLevelAggregationNotAllowed"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -5592,6 +5603,8 @@ declare module PlayFabServerModels { 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 */ @@ -5649,6 +5662,14 @@ declare module PlayFabServerModels { } + export interface UserBattleNetInfo { + /** Battle.net identifier */ + BattleNetAccountId?: string; + /** Battle.net display name */ + BattleNetBattleTag?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 574e0175..d14beff3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -273,6 +273,10 @@ PlayFab.AddonApi = { 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); }, @@ -309,6 +313,10 @@ PlayFab.AddonApi = { 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); }, @@ -345,6 +353,10 @@ PlayFab.AddonApi = { 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e31fb366..26be3c9b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index f53bba0a..df9950f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 969913d2..5a424afe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ea67ad61..ae7b3175 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7e007d10..29c34f81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 80f1b1cb..aacd9e26 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index b4661ad0..3a6d1ba0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -245,18 +245,38 @@ PlayFab.EventsApi = { 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index ae4b40f4..6b715f1f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 9725bbc3..d7350f81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index cf0090ce..17290b05 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 6bb3045c..e8e7b548 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index b1fd4845..e6034c94 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 64ef2c0b..d0997f3c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index a747a6a9..c4af5f01 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7a845e91..0c7706f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.190.250428", + sdkVersion: "1.191.250512", requestGetParams: { - sdk: "JavaScriptSDK-1.190.250428" + sdk: "JavaScriptSDK-1.191.250512" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.190.250428"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.191.250512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index a8999451..d832156b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -44,6 +44,11 @@ declare module PlayFabAddonModule { * 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 @@ -89,6 +94,11 @@ declare module PlayFabAddonModule { * 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 @@ -134,6 +144,11 @@ declare module PlayFabAddonModule { * 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 @@ -333,6 +348,26 @@ declare module PlayFabAddonModels { } + 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; @@ -447,6 +482,18 @@ declare module PlayFabAddonModels { } + 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 }; @@ -624,6 +671,26 @@ declare module PlayFabAddonModels { } + 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 }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 6edb4325..e6fe7012 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2690,6 +2690,7 @@ declare module PlayFabAdminModels { | "DataNotAvailable" | "InvalidReportName" | "ResourceNotModified" + | "StudioCreationLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2994,6 +2995,8 @@ declare module PlayFabAdminModels { | "GameSaveManifestDescriptionUpdateNotAllowed" | "GameSaveTitleConfigNotFound" | "GameSaveTitleAlreadyOnboarded" + | "GameSaveServiceNotEnabledForTitle" + | "GameSaveServiceOnboardingPending" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3003,7 +3006,15 @@ declare module PlayFabAdminModels { | "StateShareCreatedStatesLimitExceeded" | "StateShareIdMissingOrMalformed" | "PlayerCreationDisabled" - | "AccountAlreadyExists"; + | "AccountAlreadyExists" + | "TagInvalid" + | "TagTooLong" + | "StatisticColumnAggregationMismatch" + | "StatisticResetIntervalMismatch" + | "VersionConfigurationCannotBeSpecifiedForLinkedStat" + | "VersionConfigurationIsRequired" + | "InvalidEntityTypeForAggregation" + | "MultiLevelAggregationNotAllowed"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ @@ -5776,6 +5787,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 */ @@ -5833,6 +5846,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; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index bc91ba1f..829daa5a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -5383,6 +5383,8 @@ declare module PlayFabClientModels { 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 */ @@ -5440,6 +5442,14 @@ declare module PlayFabClientModels { } + export interface UserBattleNetInfo { + /** Battle.net identifier */ + BattleNetAccountId?: string; + /** Battle.net display name */ + BattleNetBattleTag?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts index ad01e759..6bcc412f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEventsApi.d.ts @@ -9,21 +9,46 @@ declare module PlayFabEventsModule { * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/createtelemetrykey */ CreateTelemetryKey(request: PlayFabEventsModels.CreateTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Deletes a Data Connection from a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletedataconnection + */ + DeleteDataConnection(request: PlayFabEventsModels.DeleteDataConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Deletes a telemetry key configured for the title. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/deletetelemetrykey */ DeleteTelemetryKey(request: PlayFabEventsModels.DeleteTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves a single Data Connection associated with a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/getdataconnection + */ + GetDataConnection(request: PlayFabEventsModels.GetDataConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Gets information about a telemetry key configured for the title. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/gettelemetrykey */ GetTelemetryKey(request: PlayFabEventsModels.GetTelemetryKeyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the list of Data Connections associated with a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listdataconnections + */ + ListDataConnections(request: PlayFabEventsModels.ListDataConnectionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Lists all telemetry keys configured for the title. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/listtelemetrykeys */ ListTelemetryKeys(request: PlayFabEventsModels.ListTelemetryKeysRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Creates or updates a Data Connection on a title. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnection + */ + SetDataConnection(request: PlayFabEventsModels.SetDataConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sets a Data Connection for the title to either the active or deactivated state. + * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/setdataconnectionactive + */ + SetDataConnectionActive(request: PlayFabEventsModels.SetDataConnectionActiveRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Sets a telemetry key to the active or deactivated state. * https://docs.microsoft.com/rest/api/playfab/events/playstream-events/settelemetrykeyactive @@ -61,6 +86,95 @@ declare module PlayFabEventsModels { } + export interface DataConnectionAzureBlobSettings { + /** Name of the storage account. */ + AccountName?: string; + /** Name of the container. */ + ContainerName?: string; + /** Azure Entra Tenant Id. */ + TenantId?: string; + + } + + export interface DataConnectionAzureDataExplorerSettings { + /** The URI of the ADX cluster. */ + ClusterUri?: string; + /** The database to write to. */ + Database?: string; + /** The table to write to. */ + Table?: string; + + } + + export interface DataConnectionDetails { + /** Settings of the data connection. */ + ConnectionSettings: DataConnectionSettings; + /** Whether or not the connection is currently active. */ + IsActive: boolean; + /** The name of the data connection. */ + Name: string; + /** Current status of the data connection, if any. */ + Status?: DataConnectionStatusDetails; + /** The type of data connection. */ + Type: string; + + } + + type DataConnectionErrorState = "OK" + + | "Error"; + + export interface DataConnectionFabricKQLSettings { + /** The URI of the Fabric cluster. */ + ClusterUri?: string; + /** The database to write to. */ + Database?: string; + /** The table to write to. */ + Table?: string; + + } + + export interface DataConnectionSettings { + /** Settings if the type of connection is AzureBlobStorage. */ + AzureBlobSettings?: DataConnectionAzureBlobSettings; + /** Settings if the type of connection is AzureDataExplorer. */ + AzureDataExplorerSettings?: DataConnectionAzureDataExplorerSettings; + /** Settings if the type of connection is FabricKQL. */ + AzureFabricKQLSettings?: DataConnectionFabricKQLSettings; + + } + + export interface DataConnectionStatusDetails { + /** The name of the error affecting the data connection, if any. */ + Error?: string; + /** A description of the error affecting the data connection, if any. This may be empty for some errors. */ + ErrorMessage?: string; + /** The most recent time of the error affecting the data connection, if any. */ + MostRecentErrorTime?: string; + /** Indicates if the connection is in a normal state or error state. */ + State?: string; + + } + + type DataConnectionType = "AzureBlobStorage" + + | "AzureDataExplorer" + | "FabricKQL"; + + export interface DeleteDataConnectionRequest 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 name of the data connection to delete. */ + Name: string; + + } + + export interface DeleteDataConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** Indicates whether or not the connection was deleted as part of the request. */ + WasDeleted: boolean; + + } + export interface DeleteTelemetryKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -118,6 +232,20 @@ declare module PlayFabEventsModels { } + export interface GetDataConnectionRequest 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 name of the data connection to retrieve. */ + Name: string; + + } + + export interface GetDataConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The details of the queried Data Connection. */ + DataConnection?: DataConnectionDetails; + + } + export interface GetTelemetryKeyRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -134,6 +262,18 @@ declare module PlayFabEventsModels { } + export interface ListDataConnectionsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + + } + + export interface ListDataConnectionsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of existing Data Connections. */ + DataConnections?: DataConnectionDetails[]; + + } + export interface ListTelemetryKeysRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -148,6 +288,47 @@ declare module PlayFabEventsModels { } + export interface SetDataConnectionActiveRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether to set the data connection to active (true) or deactivated (false). */ + Active: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The name of the data connection to update. */ + Name: string; + + } + + export interface SetDataConnectionActiveResponse extends PlayFabModule.IPlayFabResultCommon { + /** The most current details about the data connection that was to be updated. */ + DataConnection?: DataConnectionDetails; + /** + * Indicates whether or not the data connection was updated. If false, the data connection was already in the desired + * state. + */ + WasUpdated: boolean; + + } + + export interface SetDataConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Settings of the data connection. */ + ConnectionSettings: DataConnectionSettings; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Whether or not the connection is currently active. */ + IsActive: boolean; + /** The name of the data connection to update or create. */ + Name: string; + /** The type of data connection. */ + Type: string; + + } + + export interface SetDataConnectionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The details of the Data Connection to be created or updated. */ + DataConnection?: DataConnectionDetails; + + } + export interface SetTelemetryKeyActiveRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to set the key to active (true) or deactivated (false). */ Active: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index 7cedfdb1..ca5c9f66 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -145,6 +145,12 @@ declare module PlayFabProgressionModels { } export interface CreateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * [In Preview]: The list of statistic definition names whose scores must be aggregated towards this stat. If + * AggregationSource is specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, + * only one aggregation source can be specified. + */ + AggregationSources?: string[]; /** The columns for the statistic defining the aggregation method for each column. */ Columns?: StatisticColumn[]; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ @@ -375,6 +381,14 @@ declare module PlayFabProgressionModels { } export interface GetStatisticDefinitionResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of statistic definitions names this definition aggregates to. */ + AggregationDestinations?: string[]; + /** + * The list of statistic definitions names whose values must be aggregated towards this stat. If AggregationSource is + * specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, only one aggregation + * source can be specified. + */ + AggregationSources?: string[]; /** The columns for the statistic defining the aggregation method for each column. */ Columns?: StatisticColumn[]; /** Created time, in UTC */ @@ -574,6 +588,14 @@ declare module PlayFabProgressionModels { } export interface StatisticDefinition { + /** The list of statistic definitions names this definition aggregates to. */ + AggregationDestinations?: string[]; + /** + * The list of statistic definitions names whose values must be aggregated towards this stat. If AggregationSource is + * specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, only one aggregation + * source can be specified. + */ + AggregationSources?: string[]; /** The columns for the statistic defining the aggregation method for each column. */ Columns?: StatisticColumn[]; /** Created time, in UTC */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index a33eb830..9ecbfa33 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2517,6 +2517,7 @@ declare module PlayFabServerModels { | "DataNotAvailable" | "InvalidReportName" | "ResourceNotModified" + | "StudioCreationLimitExceeded" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2821,6 +2822,8 @@ declare module PlayFabServerModels { | "GameSaveManifestDescriptionUpdateNotAllowed" | "GameSaveTitleConfigNotFound" | "GameSaveTitleAlreadyOnboarded" + | "GameSaveServiceNotEnabledForTitle" + | "GameSaveServiceOnboardingPending" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2830,7 +2833,15 @@ declare module PlayFabServerModels { | "StateShareCreatedStatesLimitExceeded" | "StateShareIdMissingOrMalformed" | "PlayerCreationDisabled" - | "AccountAlreadyExists"; + | "AccountAlreadyExists" + | "TagInvalid" + | "TagTooLong" + | "StatisticColumnAggregationMismatch" + | "StatisticResetIntervalMismatch" + | "VersionConfigurationCannotBeSpecifiedForLinkedStat" + | "VersionConfigurationIsRequired" + | "InvalidEntityTypeForAggregation" + | "MultiLevelAggregationNotAllowed"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -5592,6 +5603,8 @@ declare module PlayFabServerModels { 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 */ @@ -5649,6 +5662,14 @@ declare module PlayFabServerModels { } + export interface UserBattleNetInfo { + /** Battle.net identifier */ + BattleNetAccountId?: string; + /** Battle.net display name */ + BattleNetBattleTag?: string; + + } + export interface UserCustomIdInfo { /** Custom ID */ CustomId?: string; From 9dd8b3caeec291fc6846a2ca8b037f0b64140fc5 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 27 May 2025 20:01:40 +0000 Subject: [PATCH 225/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250526 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 16 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 20 ++++++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 12 ++--- .../PlayFab/PlayFabProgressionApi.d.ts | 7 ++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 48 +++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 8 ++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- .../src/PlayFab/PlayFabClientApi.js | 16 +++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++-- .../src/PlayFab/PlayFabServerApi.js | 20 ++++++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 12 ++--- .../PlayFab/PlayFabProgressionApi.d.ts | 7 ++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 48 +++++++++++++++++++ 41 files changed, 281 insertions(+), 153 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index d9c888ee..e270264a 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.191.250512", + "version": "1.192.250526", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index d14beff3..5c534ebd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 26be3c9b..a4ed7442 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index df9950f0..07b631be 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 5a424afe..08f5e6d1 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -561,8 +561,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkBattleNet: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkBattleNet", 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) { @@ -1219,8 +1219,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkBattleNet: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkBattleNet", 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) { diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index ae7b3175..9475ea16 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 29c34f81..e0c817c5 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index aacd9e26..c3cdb7b8 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3a6d1ba0..99f2b6ab 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 6b715f1f..2fd63111 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d7350f81..bc34c438 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 17290b05..bb4f576e 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e8e7b548..2d09b941 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index e6034c94..95823169 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index d0997f3c..c45bb5c9 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index c4af5f01..3daa5688 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0c7706f8..76c98af4 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.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,6 +545,10 @@ 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); }, @@ -585,6 +589,10 @@ PlayFab.ServerApi = { 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); }, @@ -717,6 +725,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index e6fe7012..9332b9fc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2997,6 +2997,7 @@ declare module PlayFabAdminModels { | "GameSaveTitleAlreadyOnboarded" | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" + | "GameSaveManifestNotEligibleAsConflictingVersion" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 829daa5a..41001ff7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -461,9 +461,9 @@ declare module PlayFabClientModule { 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/linkbattlenet + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkbattlenetaccount */ - LinkBattleNet(request: PlayFabClientModels.LinkBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + 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 @@ -804,9 +804,9 @@ declare module PlayFabClientModule { UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Battle.net account from the user's PlayFab account. - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkbattlenet + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkbattlenetaccount */ - UnlinkBattleNet(request: PlayFabClientModels.UnlinkBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UnlinkBattleNetAccount(request: PlayFabClientModels.UnlinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid @@ -3266,7 +3266,7 @@ declare module PlayFabClientModels { } - export interface LinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific Battle.net account, unlink the other user and re-link. */ @@ -5003,7 +5003,7 @@ declare module PlayFabClientModels { } - export interface UnlinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index ca5c9f66..debd486e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -126,7 +126,10 @@ declare module PlayFabProgressionModule { declare module PlayFabProgressionModels { export interface CreateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Leaderboard columns describing the sort directions, cannot be changed after creation. */ + /** + * Leaderboard columns describing the sort directions, cannot be changed after creation. A maximum of 5 columns are + * allowed. + */ Columns: LeaderboardColumn[]; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -151,7 +154,7 @@ declare module PlayFabProgressionModels { * only one aggregation source can be specified. */ AggregationSources?: string[]; - /** The columns for the statistic defining the aggregation method for each column. */ + /** The columns for the statistic defining the aggregation method for each column. A maximum of 5 columns are allowed. */ Columns?: StatisticColumn[]; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 9ecbfa33..b7ae8328 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -436,6 +436,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, 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/server/account-management/linkbattlenetaccount + */ + LinkBattleNetAccount(request: PlayFabServerModels.LinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Nintendo account associated with the token to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount @@ -487,6 +492,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithandroiddeviceid */ LoginWithAndroidDeviceID(request: PlayFabServerModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sign in the user with a Battle.net identity token + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithbattlenet + */ + LoginWithBattleNet(request: PlayFabServerModels.LoginWithBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -679,6 +689,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Battle.net account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount + */ + UnlinkBattleNetAccount(request: PlayFabServerModels.UnlinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2824,6 +2839,7 @@ declare module PlayFabServerModels { | "GameSaveTitleAlreadyOnboarded" | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" + | "GameSaveManifestNotEligibleAsConflictingVersion" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3958,6 +3974,18 @@ declare module PlayFabServerModels { } + export interface LinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Battle.net account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -4195,6 +4223,18 @@ declare module PlayFabServerModels { } + export interface LoginWithBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -5244,6 +5284,14 @@ declare module PlayFabServerModels { } + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index d14beff3..5c534ebd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 26be3c9b..a4ed7442 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index df9950f0..07b631be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 5a424afe..08f5e6d1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -561,8 +561,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, - LinkBattleNet: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkBattleNet", 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) { @@ -1219,8 +1219,8 @@ PlayFab.ClientApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders); }, - UnlinkBattleNet: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkBattleNet", 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) { diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index ae7b3175..9475ea16 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 29c34f81..e0c817c5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index aacd9e26..c3cdb7b8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3a6d1ba0..99f2b6ab 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 6b715f1f..2fd63111 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d7350f81..bc34c438 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 17290b05..bb4f576e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e8e7b548..2d09b941 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index e6034c94..95823169 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index d0997f3c..c45bb5c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index c4af5f01..3daa5688 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0c7706f8..76c98af4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.191.250512", + sdkVersion: "1.192.250526", requestGetParams: { - sdk: "JavaScriptSDK-1.191.250512" + sdk: "JavaScriptSDK-1.192.250526" }, sessionTicket: 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_117"; -PlayFab.sdkVersion = "1.191.250512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.192.250526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -545,6 +545,10 @@ 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); }, @@ -585,6 +589,10 @@ PlayFab.ServerApi = { 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); }, @@ -717,6 +725,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index e6fe7012..9332b9fc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2997,6 +2997,7 @@ declare module PlayFabAdminModels { | "GameSaveTitleAlreadyOnboarded" | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" + | "GameSaveManifestNotEligibleAsConflictingVersion" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 829daa5a..41001ff7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -461,9 +461,9 @@ declare module PlayFabClientModule { 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/linkbattlenet + * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkbattlenetaccount */ - LinkBattleNet(request: PlayFabClientModels.LinkBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + 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 @@ -804,9 +804,9 @@ declare module PlayFabClientModule { UnlinkApple(request: PlayFabClientModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Battle.net account from the user's PlayFab account. - * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkbattlenet + * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkbattlenetaccount */ - UnlinkBattleNet(request: PlayFabClientModels.UnlinkBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + UnlinkBattleNetAccount(request: PlayFabClientModels.UnlinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related custom identifier from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/client/account-management/unlinkcustomid @@ -3266,7 +3266,7 @@ declare module PlayFabClientModels { } - export interface LinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface LinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to a specific Battle.net account, unlink the other user and re-link. */ @@ -5003,7 +5003,7 @@ declare module PlayFabClientModels { } - export interface UnlinkBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index ca5c9f66..debd486e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -126,7 +126,10 @@ declare module PlayFabProgressionModule { declare module PlayFabProgressionModels { export interface CreateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Leaderboard columns describing the sort directions, cannot be changed after creation. */ + /** + * Leaderboard columns describing the sort directions, cannot be changed after creation. A maximum of 5 columns are + * allowed. + */ Columns: LeaderboardColumn[]; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -151,7 +154,7 @@ declare module PlayFabProgressionModels { * only one aggregation source can be specified. */ AggregationSources?: string[]; - /** The columns for the statistic defining the aggregation method for each column. */ + /** The columns for the statistic defining the aggregation method for each column. A maximum of 5 columns are allowed. */ Columns?: StatisticColumn[]; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 9ecbfa33..b7ae8328 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -436,6 +436,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers */ GrantItemsToUsers(request: PlayFabServerModels.GrantItemsToUsersRequest, 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/server/account-management/linkbattlenetaccount + */ + LinkBattleNetAccount(request: PlayFabServerModels.LinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Nintendo account associated with the token to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount @@ -487,6 +492,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithandroiddeviceid */ LoginWithAndroidDeviceID(request: PlayFabServerModels.LoginWithAndroidDeviceIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sign in the user with a Battle.net identity token + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithbattlenet + */ + LoginWithBattleNet(request: PlayFabServerModels.LoginWithBattleNetRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -679,6 +689,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Battle.net account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount + */ + UnlinkBattleNetAccount(request: PlayFabServerModels.UnlinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2824,6 +2839,7 @@ declare module PlayFabServerModels { | "GameSaveTitleAlreadyOnboarded" | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" + | "GameSaveManifestNotEligibleAsConflictingVersion" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3958,6 +3974,18 @@ declare module PlayFabServerModels { } + export interface LinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to a specific Battle.net account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + export interface LinkedPlatformAccountModel { /** Linked account email of the user on the platform, if available */ Email?: string; @@ -4195,6 +4223,18 @@ declare module PlayFabServerModels { } + export interface LoginWithBattleNetRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Automatically create a PlayFab account if one is not currently linked to this ID. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The JSON Web Token (JWT) returned by Battle.net after login */ + IdentityToken: string; + /** Flags for which pieces of info to return for the user. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + + } + export interface LoginWithCustomIDRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -5244,6 +5284,14 @@ declare module PlayFabServerModels { } + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From 4816ad1607d1d3e4a6c4a5a2308be3388ec53f77 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 9 Jun 2025 16:26:25 +0000 Subject: [PATCH 226/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250606 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 6 +++++- PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts | 4 +++- PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 8 ++++++++ PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts | 8 ++++++-- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 6 +++++- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 6 +++++- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 4 +++- .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 8 ++++++++ .../src/typings/PlayFab/PlayFabProgressionApi.d.ts | 8 ++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 6 +++++- 43 files changed, 183 insertions(+), 139 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e270264a..7d4b94f2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.192.250526", + "version": "1.193.250606", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 5c534ebd..b0bf9709 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index a4ed7442..d06e53d8 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 07b631be..1ecbe502 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 08f5e6d1..6388f0c1 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 9475ea16..070f1a5f 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e0c817c5..0c605d7b 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index c3cdb7b8..94aad14e 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 99f2b6ab..5572d867 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 2fd63111..606ddfe5 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index bc34c438..bd50b4f3 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index bb4f576e..e59e64af 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 2d09b941..95a0277d 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 95823169..c3071bd4 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index c45bb5c9..3c8fa68c 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 3daa5688..ded4cc40 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 76c98af4..d1d1efb1 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.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9332b9fc..b35e9138 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2998,6 +2998,9 @@ declare module PlayFabAdminModels { | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" | "GameSaveManifestNotEligibleAsConflictingVersion" + | "GameSaveServiceUnavailable" + | "GameSaveConflict" + | "GameSaveManifestNotEligibleForRollback" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3015,7 +3018,8 @@ declare module PlayFabAdminModels { | "VersionConfigurationCannotBeSpecifiedForLinkedStat" | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" - | "MultiLevelAggregationNotAllowed"; + | "MultiLevelAggregationNotAllowed" + | "AggregationTypeNotAllowedForLinkedStat"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 41001ff7..ab2cd677 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3304,7 +3304,9 @@ declare module PlayFabClientModels { export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ - AccessToken: string; + AccessToken?: string; + /** Token used for limited login authentication. */ + AuthenticationToken?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 880a6ebf..950435ed 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2211,6 +2211,8 @@ declare module PlayFabEconomyModels { export interface Transaction { /** The API call that caused this transaction. */ ApiName?: string; + /** Additional details about the transaction. Null if it was not a clawback operation. */ + ClawbackDetails?: TransactionClawbackDetails; /** The type of item that the the operation occurred on. */ ItemType?: string; /** The operations that occurred. */ @@ -2230,6 +2232,12 @@ declare module PlayFabEconomyModels { } + export interface TransactionClawbackDetails { + /** The id of the clawed back operation. */ + TransactionIdClawedback?: string; + + } + export interface TransactionOperation { /** The amount of items in this transaction. */ Amount?: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index debd486e..f8ae00af 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -238,9 +238,9 @@ declare module PlayFabProgressionModels { } export interface EntityStatistics { - /** Entity key */ + /** The entity for which the statistics are returned. */ EntityKey?: EntityKey; - /** All statistics for the given entitykey */ + /** The statistics for the given entity key. */ Statistics?: EntityStatisticValue[]; } @@ -416,6 +416,8 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** Collection of Entity IDs to retrieve statistics for. */ Entities: EntityKey[]; + /** The list of statistics to return for the user. If set to null, the current version of all statistics are returned. */ + StatisticNames?: string[]; } @@ -432,6 +434,8 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; + /** The list of statistics to return for the user. If set to null, the current version of all statistics are returned. */ + StatisticNames?: string[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index b7ae8328..fcc3c291 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2840,6 +2840,9 @@ declare module PlayFabServerModels { | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" | "GameSaveManifestNotEligibleAsConflictingVersion" + | "GameSaveServiceUnavailable" + | "GameSaveConflict" + | "GameSaveManifestNotEligibleForRollback" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2857,7 +2860,8 @@ declare module PlayFabServerModels { | "VersionConfigurationCannotBeSpecifiedForLinkedStat" | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" - | "MultiLevelAggregationNotAllowed"; + | "MultiLevelAggregationNotAllowed" + | "AggregationTypeNotAllowedForLinkedStat"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 5c534ebd..b0bf9709 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index a4ed7442..d06e53d8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 07b631be..1ecbe502 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 08f5e6d1..6388f0c1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 9475ea16..070f1a5f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e0c817c5..0c605d7b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index c3cdb7b8..94aad14e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 99f2b6ab..5572d867 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 2fd63111..606ddfe5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index bc34c438..bd50b4f3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index bb4f576e..e59e64af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 2d09b941..95a0277d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 95823169..c3071bd4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index c45bb5c9..3c8fa68c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 3daa5688..ded4cc40 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 76c98af4..d1d1efb1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.192.250526", + sdkVersion: "1.193.250606", requestGetParams: { - sdk: "JavaScriptSDK-1.192.250526" + sdk: "JavaScriptSDK-1.193.250606" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.192.250526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.193.250606"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9332b9fc..b35e9138 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2998,6 +2998,9 @@ declare module PlayFabAdminModels { | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" | "GameSaveManifestNotEligibleAsConflictingVersion" + | "GameSaveServiceUnavailable" + | "GameSaveConflict" + | "GameSaveManifestNotEligibleForRollback" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3015,7 +3018,8 @@ declare module PlayFabAdminModels { | "VersionConfigurationCannotBeSpecifiedForLinkedStat" | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" - | "MultiLevelAggregationNotAllowed"; + | "MultiLevelAggregationNotAllowed" + | "AggregationTypeNotAllowedForLinkedStat"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 41001ff7..ab2cd677 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3304,7 +3304,9 @@ declare module PlayFabClientModels { export interface LinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique identifier from Facebook for the user. */ - AccessToken: string; + AccessToken?: string; + /** Token used for limited login authentication. */ + AuthenticationToken?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 880a6ebf..950435ed 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2211,6 +2211,8 @@ declare module PlayFabEconomyModels { export interface Transaction { /** The API call that caused this transaction. */ ApiName?: string; + /** Additional details about the transaction. Null if it was not a clawback operation. */ + ClawbackDetails?: TransactionClawbackDetails; /** The type of item that the the operation occurred on. */ ItemType?: string; /** The operations that occurred. */ @@ -2230,6 +2232,12 @@ declare module PlayFabEconomyModels { } + export interface TransactionClawbackDetails { + /** The id of the clawed back operation. */ + TransactionIdClawedback?: string; + + } + export interface TransactionOperation { /** The amount of items in this transaction. */ Amount?: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index debd486e..f8ae00af 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -238,9 +238,9 @@ declare module PlayFabProgressionModels { } export interface EntityStatistics { - /** Entity key */ + /** The entity for which the statistics are returned. */ EntityKey?: EntityKey; - /** All statistics for the given entitykey */ + /** The statistics for the given entity key. */ Statistics?: EntityStatisticValue[]; } @@ -416,6 +416,8 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** Collection of Entity IDs to retrieve statistics for. */ Entities: EntityKey[]; + /** The list of statistics to return for the user. If set to null, the current version of all statistics are returned. */ + StatisticNames?: string[]; } @@ -432,6 +434,8 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; + /** The list of statistics to return for the user. If set to null, the current version of all statistics are returned. */ + StatisticNames?: string[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index b7ae8328..fcc3c291 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2840,6 +2840,9 @@ declare module PlayFabServerModels { | "GameSaveServiceNotEnabledForTitle" | "GameSaveServiceOnboardingPending" | "GameSaveManifestNotEligibleAsConflictingVersion" + | "GameSaveServiceUnavailable" + | "GameSaveConflict" + | "GameSaveManifestNotEligibleForRollback" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -2857,7 +2860,8 @@ declare module PlayFabServerModels { | "VersionConfigurationCannotBeSpecifiedForLinkedStat" | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" - | "MultiLevelAggregationNotAllowed"; + | "MultiLevelAggregationNotAllowed" + | "AggregationTypeNotAllowedForLinkedStat"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ From f0f65b6a140d3225348d4059775da5eb83d87f2b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 23 Jun 2025 20:42:58 +0000 Subject: [PATCH 227/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250620 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 4 ++-- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 4 ++-- 35 files changed, 133 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 7d4b94f2..090cc66c 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.193.250606", + "version": "1.194.250620", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index b0bf9709..fbcee332 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index d06e53d8..dd2b90f2 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 1ecbe502..576c92ea 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 6388f0c1..7c542ee7 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 070f1a5f..883c76a9 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 0c605d7b..18961067 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 94aad14e..e276a5f8 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 5572d867..6058c73d 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 606ddfe5..e7812286 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index bd50b4f3..a26f3b6f 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index e59e64af..cc97f20c 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 95a0277d..981a9d9a 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index c3071bd4..913f6cf2 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3c8fa68c..ce5d5452 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index ded4cc40..80bede0e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d1d1efb1..bb8efa01 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.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 41fc903f..d6ba4b93 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3065,8 +3065,8 @@ declare module PlayFabMultiplayerModels { */ PreferredRegions: string[]; /** - * Data encoded as a string that is passed to the game server when requested. This can be used to to communicate - * information such as game mode or map through the request flow. + * Data encoded as a string that is passed to the game server when requested. This can be used to communicate information + * such as game mode or map through the request flow. Maximum size is 8KB */ SessionCookie?: string; /** A guid string session ID created track the multiplayer server session over its life. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index b0bf9709..fbcee332 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index d06e53d8..dd2b90f2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 1ecbe502..576c92ea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 6388f0c1..7c542ee7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 070f1a5f..883c76a9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 0c605d7b..18961067 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 94aad14e..e276a5f8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 5572d867..6058c73d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 606ddfe5..e7812286 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index bd50b4f3..a26f3b6f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index e59e64af..cc97f20c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 95a0277d..981a9d9a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index c3071bd4..913f6cf2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3c8fa68c..ce5d5452 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index ded4cc40..80bede0e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d1d1efb1..bb8efa01 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.193.250606", + sdkVersion: "1.194.250620", requestGetParams: { - sdk: "JavaScriptSDK-1.193.250606" + sdk: "JavaScriptSDK-1.194.250620" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.193.250606"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.194.250620"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 41fc903f..d6ba4b93 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3065,8 +3065,8 @@ declare module PlayFabMultiplayerModels { */ PreferredRegions: string[]; /** - * Data encoded as a string that is passed to the game server when requested. This can be used to to communicate - * information such as game mode or map through the request flow. + * Data encoded as a string that is passed to the game server when requested. This can be used to communicate information + * such as game mode or map through the request flow. Maximum size is 8KB */ SessionCookie?: string; /** A guid string session ID created track the multiplayer server session over its life. */ From 22d28bf89a108de3775e3e37c3d83d5a0270f2f3 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 7 Jul 2025 20:05:51 +0000 Subject: [PATCH 228/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250704 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 7 +++++++ PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 7 +++++++ 35 files changed, 143 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 090cc66c..0ea0742e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.194.250620", + "version": "1.195.250704", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index fbcee332..c1516993 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index dd2b90f2..f8ca8c53 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 576c92ea..e0117aa1 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 7c542ee7..fa4e03d4 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 883c76a9..b3809638 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 18961067..3ae1c892 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index e276a5f8..e5eb2776 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6058c73d..07985103 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index e7812286..a61b2e6b 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a26f3b6f..bfd23814 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index cc97f20c..27fedc79 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 981a9d9a..9e2c008b 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 913f6cf2..4416c050 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index ce5d5452..7987e62e 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 80bede0e..cb5b0146 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index bb8efa01..87cb27c0 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.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 950435ed..ad997c82 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1163,6 +1163,13 @@ declare module PlayFabEconomyModels { export interface GetDraftItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of item alternate IDs. */ AlternateIds?: CatalogAlternateId[]; + /** + * An opaque token used to retrieve the next page of items created by the caller, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. This value is optional. Default value is 10. */ + Count?: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index fbcee332..c1516993 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index dd2b90f2..f8ca8c53 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 576c92ea..e0117aa1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 7c542ee7..fa4e03d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 883c76a9..b3809638 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 18961067..3ae1c892 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index e276a5f8..e5eb2776 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6058c73d..07985103 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index e7812286..a61b2e6b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a26f3b6f..bfd23814 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index cc97f20c..27fedc79 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 981a9d9a..9e2c008b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 913f6cf2..4416c050 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index ce5d5452..7987e62e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 80bede0e..cb5b0146 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index bb8efa01..87cb27c0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.194.250620", + sdkVersion: "1.195.250704", requestGetParams: { - sdk: "JavaScriptSDK-1.194.250620" + sdk: "JavaScriptSDK-1.195.250704" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.194.250620"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.195.250704"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 950435ed..ad997c82 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -1163,6 +1163,13 @@ declare module PlayFabEconomyModels { export interface GetDraftItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** List of item alternate IDs. */ AlternateIds?: CatalogAlternateId[]; + /** + * An opaque token used to retrieve the next page of items created by the caller, if any are available. Should be null on + * initial request. + */ + ContinuationToken?: string; + /** Number of items to retrieve. This value is optional. Default value is 10. */ + Count?: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ From ec8bf0e66a0b76dab2742f874fed3ea0f5d8f56d Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 23 Jul 2025 23:46:20 +0000 Subject: [PATCH 229/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250718 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 28 +++++++++---------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 2 ++ .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 2 ++ .../PlayFab/PlayFabProgressionApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 20 ++++++------- .../src/PlayFab/PlayFabAddonApi.js | 8 +++--- .../src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- .../src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- .../src/PlayFab/PlayFabDataApi.js | 8 +++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 +++--- .../src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 +++--- .../src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 28 +++++++++---------- .../PlayFab/PlayFabCloudScriptApi.d.ts | 2 ++ .../typings/PlayFab/PlayFabEconomyApi.d.ts | 2 ++ .../PlayFab/PlayFabProgressionApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 20 ++++++------- 43 files changed, 187 insertions(+), 179 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 0ea0742e..553a3155 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.195.250704", + "version": "1.196.250718", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index c1516993..b58d25c2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index f8ca8c53..d2973465 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e0117aa1..5050a70a 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index fa4e03d4..fd6fa8ae 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b3809638..a6496f29 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3ae1c892..e8c06092 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index e5eb2776..b37a0f47 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 07985103..48c45484 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index a61b2e6b..74093c5a 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index bfd23814..76ea92be 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 27fedc79..2b7b1148 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 9e2c008b..0f677216 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 4416c050..fe5b4131 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 7987e62e..a1f3ccfc 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index cb5b0146..9ddf6c9b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 87cb27c0..76087717 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.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index ab2cd677..47bb77c7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2707,8 +2707,8 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 - * in length. + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in + * length. */ FacebookIDs: string[]; @@ -2738,7 +2738,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. - * The array cannot exceed 2,000 in length. + * The array cannot exceed 25 in length. */ GameCenterIDs: string[]; @@ -2768,7 +2768,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ GoogleIDs: string[]; @@ -2783,7 +2783,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. - * The array cannot exceed 2,000 in length. + * The array cannot exceed 25 in length. */ GooglePlayGamesPlayerIDs: string[]; @@ -2798,7 +2798,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. The - * array cannot exceed 2,000 in length. + * array cannot exceed 25 in length. */ KongregateIDs: string[]; @@ -2813,7 +2813,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoAccountIds: string[]; @@ -2828,7 +2828,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoSwitchDeviceIds: string[]; @@ -2845,7 +2845,7 @@ declare module PlayFabClientModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNAccountIDs: string[]; @@ -2862,7 +2862,7 @@ declare module PlayFabClientModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; @@ -2877,7 +2877,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ SteamStringIDs?: string[]; @@ -2891,7 +2891,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in * length. */ SteamNames: string[]; @@ -2907,7 +2907,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ TwitchIds: string[]; @@ -2924,7 +2924,7 @@ declare module PlayFabClientModels { Sandbox?: string; /** * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ XboxLiveAccountIDs: string[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts index 0016e54a..38ac8fc3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -489,6 +489,8 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The object returned from the function, if any */ FunctionResult?: any; + /** The size in bytes of the object returned from the function, if any */ + FunctionResultSize?: number; /** Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. */ FunctionResultTooLarge?: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index ad997c82..6dc989cc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2220,6 +2220,8 @@ declare module PlayFabEconomyModels { ApiName?: string; /** Additional details about the transaction. Null if it was not a clawback operation. */ ClawbackDetails?: TransactionClawbackDetails; + /** The custom tags associated with this transactions. */ + CustomTags?: { [key: string]: string | null }; /** The type of item that the the operation occurred on. */ ItemType?: string; /** The operations that occurred. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index f8ae00af..26a2c9b4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -143,7 +143,7 @@ declare module PlayFabProgressionModels { /** Maximum number of entries on this leaderboard */ SizeLimit: number; /** The version reset configuration for the leaderboard definition. */ - VersionConfiguration: VersionConfiguration; + VersionConfiguration?: VersionConfiguration; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index fcc3c291..cda12b63 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3412,8 +3412,8 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 - * in length. + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in + * length. */ FacebookIDs: string[]; @@ -3458,7 +3458,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoAccountIds: string[]; @@ -3473,7 +3473,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoSwitchDeviceIds: string[]; @@ -3490,7 +3490,7 @@ declare module PlayFabServerModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNAccountIDs: string[]; @@ -3507,7 +3507,7 @@ declare module PlayFabServerModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; @@ -3522,7 +3522,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ SteamStringIDs?: string[]; @@ -3536,7 +3536,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in * length. */ SteamNames: string[]; @@ -3552,7 +3552,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ TwitchIds: string[]; @@ -3569,7 +3569,7 @@ declare module PlayFabServerModels { Sandbox?: string; /** * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ XboxLiveAccountIDs: string[]; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index c1516993..b58d25c2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index f8ca8c53..d2973465 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e0117aa1..5050a70a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index fa4e03d4..fd6fa8ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b3809638..a6496f29 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3ae1c892..e8c06092 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index e5eb2776..b37a0f47 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 07985103..48c45484 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index a61b2e6b..74093c5a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index bfd23814..76ea92be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 27fedc79..2b7b1148 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 9e2c008b..0f677216 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 4416c050..fe5b4131 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 7987e62e..a1f3ccfc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index cb5b0146..9ddf6c9b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 87cb27c0..76087717 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.195.250704", + sdkVersion: "1.196.250718", requestGetParams: { - sdk: "JavaScriptSDK-1.195.250704" + sdk: "JavaScriptSDK-1.196.250718" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.195.250704"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.196.250718"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index ab2cd677..47bb77c7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2707,8 +2707,8 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 - * in length. + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in + * length. */ FacebookIDs: string[]; @@ -2738,7 +2738,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromGameCenterIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Game Center identifiers (the Player Identifier) for which the title needs to get PlayFab identifiers. - * The array cannot exceed 2,000 in length. + * The array cannot exceed 25 in length. */ GameCenterIDs: string[]; @@ -2768,7 +2768,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromGoogleIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Google identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ GoogleIDs: string[]; @@ -2783,7 +2783,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromGooglePlayGamesPlayerIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Google Play Games identifiers (Google+ user IDs) for which the title needs to get PlayFab identifiers. - * The array cannot exceed 2,000 in length. + * The array cannot exceed 25 in length. */ GooglePlayGamesPlayerIDs: string[]; @@ -2798,7 +2798,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromKongregateIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Kongregate identifiers (Kongregate's user_id) for which the title needs to get PlayFab identifiers. The - * array cannot exceed 2,000 in length. + * array cannot exceed 25 in length. */ KongregateIDs: string[]; @@ -2813,7 +2813,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoAccountIds: string[]; @@ -2828,7 +2828,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoSwitchDeviceIds: string[]; @@ -2845,7 +2845,7 @@ declare module PlayFabClientModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNAccountIDs: string[]; @@ -2862,7 +2862,7 @@ declare module PlayFabClientModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; @@ -2877,7 +2877,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ SteamStringIDs?: string[]; @@ -2891,7 +2891,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in * length. */ SteamNames: string[]; @@ -2907,7 +2907,7 @@ declare module PlayFabClientModels { export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ TwitchIds: string[]; @@ -2924,7 +2924,7 @@ declare module PlayFabClientModels { Sandbox?: string; /** * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ XboxLiveAccountIDs: string[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts index 0016e54a..38ac8fc3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabCloudScriptApi.d.ts @@ -489,6 +489,8 @@ declare module PlayFabCloudScriptModels { FunctionName?: string; /** The object returned from the function, if any */ FunctionResult?: any; + /** The size in bytes of the object returned from the function, if any */ + FunctionResultSize?: number; /** Flag indicating if the FunctionResult was too large and was subsequently dropped from this event. */ FunctionResultTooLarge?: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index ad997c82..6dc989cc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2220,6 +2220,8 @@ declare module PlayFabEconomyModels { ApiName?: string; /** Additional details about the transaction. Null if it was not a clawback operation. */ ClawbackDetails?: TransactionClawbackDetails; + /** The custom tags associated with this transactions. */ + CustomTags?: { [key: string]: string | null }; /** The type of item that the the operation occurred on. */ ItemType?: string; /** The operations that occurred. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index f8ae00af..26a2c9b4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -143,7 +143,7 @@ declare module PlayFabProgressionModels { /** Maximum number of entries on this leaderboard */ SizeLimit: number; /** The version reset configuration for the leaderboard definition. */ - VersionConfiguration: VersionConfiguration; + VersionConfiguration?: VersionConfiguration; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index fcc3c291..cda12b63 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3412,8 +3412,8 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromFacebookIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 - * in length. + * Array of unique Facebook identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in + * length. */ FacebookIDs: string[]; @@ -3458,7 +3458,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoAccountIds: string[]; @@ -3473,7 +3473,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Nintendo Switch Device identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ NintendoSwitchDeviceIds: string[]; @@ -3490,7 +3490,7 @@ declare module PlayFabServerModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNAccountIDs: string[]; @@ -3507,7 +3507,7 @@ declare module PlayFabServerModels { IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; @@ -3522,7 +3522,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array - * cannot exceed 2,000 in length. + * cannot exceed 25 in length. */ SteamStringIDs?: string[]; @@ -3536,7 +3536,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromSteamNamesRequest extends PlayFabModule.IPlayFabRequestCommon { /** - * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 2,000 in + * Array of unique Steam identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed 25 in * length. */ SteamNames: string[]; @@ -3552,7 +3552,7 @@ declare module PlayFabServerModels { export interface GetPlayFabIDsFromTwitchIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Twitch identifiers (Twitch's _id) for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ TwitchIds: string[]; @@ -3569,7 +3569,7 @@ declare module PlayFabServerModels { Sandbox?: string; /** * Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers. The array cannot - * exceed 2,000 in length. + * exceed 25 in length. */ XboxLiveAccountIDs: string[]; From bdad69f6a04baac2478e434c20e053c3b0dd23df Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 4 Aug 2025 20:28:26 +0000 Subject: [PATCH 230/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250801 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++- PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 5 +++++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 +++- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 4 +++- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 5 +++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 +++- 39 files changed, 151 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 553a3155..7d45d895 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.196.250718", + "version": "1.197.250801", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index b58d25c2..54fec057 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index d2973465..c82c0814 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 5050a70a..3fa772c7 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index fd6fa8ae..d640ddcc 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index a6496f29..b377227a 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e8c06092..a7b86ecc 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index b37a0f47..1e839d43 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 48c45484..49e930e4 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 74093c5a..4ed37a2e 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 76ea92be..3a5eb789 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2b7b1148..0826d25e 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0f677216..023cbd1e 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index fe5b4131..1aa3d343 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index a1f3ccfc..c2b4dc85 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 9ddf6c9b..a10bef29 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 76087717..635d138e 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.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b35e9138..6ac30bbf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2691,6 +2691,7 @@ declare module PlayFabAdminModels { | "InvalidReportName" | "ResourceNotModified" | "StudioCreationLimitExceeded" + | "StudioDeletionInitiated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3019,7 +3020,8 @@ declare module PlayFabAdminModels { | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" - | "AggregationTypeNotAllowedForLinkedStat"; + | "AggregationTypeNotAllowedForLinkedStat" + | "StoreMetricsRequestInvalidInput"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index d6ba4b93..954f5ba0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -535,6 +535,7 @@ declare module PlayFabMultiplayerModels { | "Dasv4" | "Dav4" | "Dadsv5" + | "Dadsv6" | "Eav4" | "Easv4" | "Ev4" @@ -587,6 +588,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ads_v5" | "Standard_D8ads_v5" | "Standard_D16ads_v5" + | "Standard_D2ads_v6" + | "Standard_D4ads_v6" + | "Standard_D8ads_v6" + | "Standard_D16ads_v6" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index cda12b63..20959d94 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2533,6 +2533,7 @@ declare module PlayFabServerModels { | "InvalidReportName" | "ResourceNotModified" | "StudioCreationLimitExceeded" + | "StudioDeletionInitiated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2861,7 +2862,8 @@ declare module PlayFabServerModels { | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" - | "AggregationTypeNotAllowedForLinkedStat"; + | "AggregationTypeNotAllowedForLinkedStat" + | "StoreMetricsRequestInvalidInput"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index b58d25c2..54fec057 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index d2973465..c82c0814 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 5050a70a..3fa772c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index fd6fa8ae..d640ddcc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index a6496f29..b377227a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e8c06092..a7b86ecc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index b37a0f47..1e839d43 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 48c45484..49e930e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 74093c5a..4ed37a2e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 76ea92be..3a5eb789 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2b7b1148..0826d25e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0f677216..023cbd1e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index fe5b4131..1aa3d343 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index a1f3ccfc..c2b4dc85 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 9ddf6c9b..a10bef29 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 76087717..635d138e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.196.250718", + sdkVersion: "1.197.250801", requestGetParams: { - sdk: "JavaScriptSDK-1.196.250718" + sdk: "JavaScriptSDK-1.197.250801" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.196.250718"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.197.250801"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b35e9138..6ac30bbf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2691,6 +2691,7 @@ declare module PlayFabAdminModels { | "InvalidReportName" | "ResourceNotModified" | "StudioCreationLimitExceeded" + | "StudioDeletionInitiated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3019,7 +3020,8 @@ declare module PlayFabAdminModels { | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" - | "AggregationTypeNotAllowedForLinkedStat"; + | "AggregationTypeNotAllowedForLinkedStat" + | "StoreMetricsRequestInvalidInput"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index d6ba4b93..954f5ba0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -535,6 +535,7 @@ declare module PlayFabMultiplayerModels { | "Dasv4" | "Dav4" | "Dadsv5" + | "Dadsv6" | "Eav4" | "Easv4" | "Ev4" @@ -587,6 +588,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ads_v5" | "Standard_D8ads_v5" | "Standard_D16ads_v5" + | "Standard_D2ads_v6" + | "Standard_D4ads_v6" + | "Standard_D8ads_v6" + | "Standard_D16ads_v6" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index cda12b63..20959d94 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2533,6 +2533,7 @@ declare module PlayFabServerModels { | "InvalidReportName" | "ResourceNotModified" | "StudioCreationLimitExceeded" + | "StudioDeletionInitiated" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2861,7 +2862,8 @@ declare module PlayFabServerModels { | "VersionConfigurationIsRequired" | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" - | "AggregationTypeNotAllowedForLinkedStat"; + | "AggregationTypeNotAllowedForLinkedStat" + | "StoreMetricsRequestInvalidInput"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ From 1281c8aabfe0271d86b39b87e3284533a1721bf5 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 19 Aug 2025 15:18:11 +0000 Subject: [PATCH 231/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250815 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 11 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabProgressionApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 11 ++-- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 12 ++++ .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++ .../PlayFab/PlayFabProgressionApi.d.ts | 55 +++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 8 +-- .../src/PlayFab/PlayFabAdminApi.js | 11 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEconomyApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabProgressionApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 11 ++-- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 12 ++++ .../typings/PlayFab/PlayFabEconomyApi.d.ts | 4 ++ .../PlayFab/PlayFabProgressionApi.d.ts | 55 +++++++++++++++++++ 39 files changed, 283 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 7d45d895..c308e1bf 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.197.250801", + "version": "1.198.250815", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 54fec057..333e028f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index c82c0814..95c3df5e 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -421,6 +421,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Please use ExportPlayersInSegment instead. + */ GetPlayersInSegment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 3fa772c7..514e9654 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d640ddcc..74fbc577 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b377227a..47019d7b 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index a7b86ecc..1d3f9734 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 1e839d43..919f152b 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 49e930e4..7ecad2b0 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 4ed37a2e..918d0da3 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3a5eb789..aa74c488 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 0826d25e..51118f87 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 023cbd1e..0e1acf41 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1aa3d343..a9ddafe6 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index c2b4dc85..9e36bfd5 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index a10bef29..e31c7efb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 635d138e..d6fad5fc 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.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -393,6 +393,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetPlayersInSegment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index d832156b..813f6c85 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -160,8 +160,14 @@ declare module PlayFabAddonModule { 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.). */ @@ -175,6 +181,12 @@ declare module PlayFabAddonModels { * 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; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 6dc989cc..40ada114 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2266,6 +2266,10 @@ declare module PlayFabEconomyModels { } export interface TransactionPurchaseDetails { + /** The friendly id of the item that was purchased. */ + ItemFriendlyId?: string; + /** The id of the item that was purchased. */ + ItemId?: string; /** The friendly id of the Store the item was purchased from or null. */ StoreFriendlyId?: string; /** The id of the Store the item was purchased from or null. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index 26a2c9b4..1d378fbb 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -138,6 +138,8 @@ declare module PlayFabProgressionModels { * 'external' as the type. */ EntityType: string; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** A name for the leaderboard, unique per title. */ Name: string; /** Maximum number of entries on this leaderboard */ @@ -160,6 +162,8 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** The entity type allowed to have score(s) for this statistic. */ EntityType?: string; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ Name: string; /** The version reset configuration for the statistic definition. */ @@ -257,6 +261,11 @@ declare module PlayFabProgressionModels { } + type EventType = "None" + + | "Telemetry" + | "PlayStream"; + type ExternalFriendSources = "None" | "Steam" @@ -350,6 +359,8 @@ declare module PlayFabProgressionModels { * 'external' as the type. */ EntityType: string; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** Last time, in UTC, leaderboard version was incremented. */ LastResetTime?: string; /** A name for the leaderboard, unique per title. */ @@ -398,6 +409,8 @@ declare module PlayFabProgressionModels { Created: string; /** The entity type that can have this statistic. */ EntityType?: string; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Last time, in UTC, statistic version was incremented. */ LastResetTime?: string; /** The list of leaderboards that are linked to this statistic definition. */ @@ -500,6 +513,8 @@ declare module PlayFabProgressionModels { * 'external' as the type. */ EntityType: string; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** Last time, in UTC, leaderboard version was incremented. */ LastResetTime?: string; /** A name for the leaderboard, unique per title. */ @@ -513,6 +528,14 @@ declare module PlayFabProgressionModels { } + export interface LeaderboardEntityRankOnVersionEndConfig { + /** The type of event to emit when the leaderboard version end. */ + EventType: string; + /** The maximum number of entity to return on leaderboard version end. Range is 1 to 1000. */ + RankLimit: number; + + } + export interface LeaderboardEntryUpdate { /** The unique Id for the entry. If using PlayFab Entities, this would be the entityId of the entity. */ EntityId: string; @@ -529,10 +552,24 @@ declare module PlayFabProgressionModels { } + export interface LeaderboardEventEmissionConfig { + /** This event emits the top ranks of the leaderboard when the leaderboard version end. */ + EntityRankOnVersionEndConfig?: LeaderboardEntityRankOnVersionEndConfig; + /** This event is emitted when the leaderboard version end. */ + VersionEndConfig?: LeaderboardVersionEndConfig; + + } + type LeaderboardSortDirection = "Descending" | "Ascending"; + export interface LeaderboardVersionEndConfig { + /** The type of event to emit when the leaderboard version end. */ + EventType: string; + + } + export interface LinkedStatisticColumn { /** The name of the statistic column that this leaderboard column is sourced from. */ LinkedStatisticColumnName: string; @@ -609,6 +646,8 @@ declare module PlayFabProgressionModels { Created: string; /** The entity type that can have this statistic. */ EntityType?: string; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Last time, in UTC, statistic version was incremented. */ LastResetTime?: string; /** The list of leaderboards that are linked to this statistic definition. */ @@ -628,6 +667,18 @@ declare module PlayFabProgressionModels { } + export interface StatisticsEventEmissionConfig { + /** Emitted when statistics are updated. */ + UpdateEventConfig?: StatisticsUpdateEventConfig; + + } + + export interface StatisticsUpdateEventConfig { + /** The event type to emit when statistics are updated. */ + EventType: string; + + } + export interface StatisticUpdate { /** * Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. Must be less than 50 @@ -661,6 +712,8 @@ declare module PlayFabProgressionModels { export interface UpdateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** The name of the leaderboard to update the definition for. */ Name: string; /** Maximum number of entries on this leaderboard */ @@ -683,6 +736,8 @@ declare module PlayFabProgressionModels { export interface UpdateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ Name: string; /** The version reset configuration for the statistic definition. */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 54fec057..333e028f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index c82c0814..95c3df5e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -421,6 +421,9 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Please use ExportPlayersInSegment instead. + */ GetPlayersInSegment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 3fa772c7..514e9654 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d640ddcc..74fbc577 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b377227a..47019d7b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index a7b86ecc..1d3f9734 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 1e839d43..919f152b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 49e930e4..7ecad2b0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 4ed37a2e..918d0da3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3a5eb789..aa74c488 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 0826d25e..51118f87 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 023cbd1e..0e1acf41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1aa3d343..a9ddafe6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index c2b4dc85..9e36bfd5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index a10bef29..e31c7efb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 635d138e..d6fad5fc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.197.250801", + sdkVersion: "1.198.250815", requestGetParams: { - sdk: "JavaScriptSDK-1.197.250801" + sdk: "JavaScriptSDK-1.198.250815" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.197.250801"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.198.250815"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -393,6 +393,9 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, + /** + * @deprecated Do not use + */ GetPlayersInSegment: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index d832156b..813f6c85 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -160,8 +160,14 @@ declare module PlayFabAddonModule { 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.). */ @@ -175,6 +181,12 @@ declare module PlayFabAddonModels { * 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; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 6dc989cc..40ada114 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -2266,6 +2266,10 @@ declare module PlayFabEconomyModels { } export interface TransactionPurchaseDetails { + /** The friendly id of the item that was purchased. */ + ItemFriendlyId?: string; + /** The id of the item that was purchased. */ + ItemId?: string; /** The friendly id of the Store the item was purchased from or null. */ StoreFriendlyId?: string; /** The id of the Store the item was purchased from or null. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index 26a2c9b4..1d378fbb 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -138,6 +138,8 @@ declare module PlayFabProgressionModels { * 'external' as the type. */ EntityType: string; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** A name for the leaderboard, unique per title. */ Name: string; /** Maximum number of entries on this leaderboard */ @@ -160,6 +162,8 @@ declare module PlayFabProgressionModels { CustomTags?: { [key: string]: string | null }; /** The entity type allowed to have score(s) for this statistic. */ EntityType?: string; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ Name: string; /** The version reset configuration for the statistic definition. */ @@ -257,6 +261,11 @@ declare module PlayFabProgressionModels { } + type EventType = "None" + + | "Telemetry" + | "PlayStream"; + type ExternalFriendSources = "None" | "Steam" @@ -350,6 +359,8 @@ declare module PlayFabProgressionModels { * 'external' as the type. */ EntityType: string; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** Last time, in UTC, leaderboard version was incremented. */ LastResetTime?: string; /** A name for the leaderboard, unique per title. */ @@ -398,6 +409,8 @@ declare module PlayFabProgressionModels { Created: string; /** The entity type that can have this statistic. */ EntityType?: string; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Last time, in UTC, statistic version was incremented. */ LastResetTime?: string; /** The list of leaderboards that are linked to this statistic definition. */ @@ -500,6 +513,8 @@ declare module PlayFabProgressionModels { * 'external' as the type. */ EntityType: string; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** Last time, in UTC, leaderboard version was incremented. */ LastResetTime?: string; /** A name for the leaderboard, unique per title. */ @@ -513,6 +528,14 @@ declare module PlayFabProgressionModels { } + export interface LeaderboardEntityRankOnVersionEndConfig { + /** The type of event to emit when the leaderboard version end. */ + EventType: string; + /** The maximum number of entity to return on leaderboard version end. Range is 1 to 1000. */ + RankLimit: number; + + } + export interface LeaderboardEntryUpdate { /** The unique Id for the entry. If using PlayFab Entities, this would be the entityId of the entity. */ EntityId: string; @@ -529,10 +552,24 @@ declare module PlayFabProgressionModels { } + export interface LeaderboardEventEmissionConfig { + /** This event emits the top ranks of the leaderboard when the leaderboard version end. */ + EntityRankOnVersionEndConfig?: LeaderboardEntityRankOnVersionEndConfig; + /** This event is emitted when the leaderboard version end. */ + VersionEndConfig?: LeaderboardVersionEndConfig; + + } + type LeaderboardSortDirection = "Descending" | "Ascending"; + export interface LeaderboardVersionEndConfig { + /** The type of event to emit when the leaderboard version end. */ + EventType: string; + + } + export interface LinkedStatisticColumn { /** The name of the statistic column that this leaderboard column is sourced from. */ LinkedStatisticColumnName: string; @@ -609,6 +646,8 @@ declare module PlayFabProgressionModels { Created: string; /** The entity type that can have this statistic. */ EntityType?: string; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Last time, in UTC, statistic version was incremented. */ LastResetTime?: string; /** The list of leaderboards that are linked to this statistic definition. */ @@ -628,6 +667,18 @@ declare module PlayFabProgressionModels { } + export interface StatisticsEventEmissionConfig { + /** Emitted when statistics are updated. */ + UpdateEventConfig?: StatisticsUpdateEventConfig; + + } + + export interface StatisticsUpdateEventConfig { + /** The event type to emit when statistics are updated. */ + EventType: string; + + } + export interface StatisticUpdate { /** * Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. Must be less than 50 @@ -661,6 +712,8 @@ declare module PlayFabProgressionModels { export interface UpdateLeaderboardDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** [In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted. */ + EventEmissionConfig?: LeaderboardEventEmissionConfig; /** The name of the leaderboard to update the definition for. */ Name: string; /** Maximum number of entries on this leaderboard */ @@ -683,6 +736,8 @@ declare module PlayFabProgressionModels { export interface UpdateStatisticDefinitionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** [In Preview]: Configurations for different Statistics events that can be emitted by the service. */ + EventEmissionConfig?: StatisticsEventEmissionConfig; /** Name of the statistic. Must be less than 150 characters. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'. */ Name: string; /** The version reset configuration for the statistic definition. */ From d0a7e9a7c22a5cb1479b20ee221f373ec9e473ab Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 16 Sep 2025 21:52:41 +0000 Subject: [PATCH 232/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250912 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 12 ++++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 11 +++++- .../PlayFab/PlayFabProgressionApi.d.ts | 15 ++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 36 ++++++++++++++++--- .../src/PlayFab/PlayFabAddonApi.js | 8 ++--- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 12 ++++--- .../src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 11 +++++- .../PlayFab/PlayFabProgressionApi.d.ts | 15 ++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 36 ++++++++++++++++--- 39 files changed, 259 insertions(+), 139 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c308e1bf..65055479 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.198.250815", + "version": "1.199.250912", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 333e028f..93855317 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 95c3df5e..5ced2a4a 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 514e9654..98453ad0 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 74fbc577..be6c8a14 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 47019d7b..541660e8 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 1d3f9734..7de29af5 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 919f152b..c53a506d 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 7ecad2b0..4202b149 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 918d0da3..9eb66e4b 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index aa74c488..e123907d 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 51118f87..e8be738f 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0e1acf41..e6184355 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a9ddafe6..4a778615 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 9e36bfd5..5867c0e5 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index e31c7efb..c27eb3ae 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -313,6 +313,10 @@ PlayFab.ProgressionApi = { 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index d6fad5fc..15f2f2af 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.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -584,6 +584,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 6ac30bbf..592e6ef1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2692,6 +2692,8 @@ declare module PlayFabAdminModels { | "ResourceNotModified" | "StudioCreationLimitExceeded" | "StudioDeletionInitiated" + | "ProductDisabledForTitle" + | "PreconditionFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2824,6 +2826,7 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" + | "GetPlayersInSegmentDeprecated" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3021,7 +3024,13 @@ declare module PlayFabAdminModels { | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" | "AggregationTypeNotAllowedForLinkedStat" - | "StoreMetricsRequestInvalidInput"; + | "OperationDeniedDueToDefinitionPolicy" + | "StatisticUpdateNotAllowedWhileLinked" + | "UnsupportedEntityType" + | "EntityTypeSpecifiedRequiresAggregationSource" + | "PlayFabErrorEventNotSupportedForEntityType" + | "StoreMetricsRequestInvalidInput" + | "StoreMetricsErrorRetrievingMetrics"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index 1d378fbb..706cdb98 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -94,6 +94,11 @@ declare module PlayFabProgressionModule { * https://docs.microsoft.com/rest/api/playfab/progression/statistics/liststatisticdefinitions */ ListStatisticDefinitions(request: PlayFabProgressionModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks an aggregation source from a statistic definition. + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/unlinkaggregationsourcefromstatistic + */ + UnlinkAggregationSourceFromStatistic(request: PlayFabProgressionModels.UnlinkAggregationSourceFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks a leaderboard definition from it's linked statistic definition. * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic @@ -699,6 +704,16 @@ declare module PlayFabProgressionModels { } + export interface UnlinkAggregationSourceFromStatisticRequest 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 name of the statistic to unlink. */ + Name: string; + /** The name of the aggregation source statistic to unlink. */ + SourceStatisticName: string; + + } + export interface UnlinkLeaderboardFromStatisticRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 20959d94..d2ff24b7 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -481,6 +481,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Xbox Live account associated with the provided Xbox ID and Sandbox to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxid + */ + LinkXboxId(request: PlayFabServerModels.LinkXboxIdRequest, 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/server/player-data-management/listplayercustomproperties @@ -2534,6 +2539,8 @@ declare module PlayFabServerModels { | "ResourceNotModified" | "StudioCreationLimitExceeded" | "StudioDeletionInitiated" + | "ProductDisabledForTitle" + | "PreconditionFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2666,6 +2673,7 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" + | "GetPlayersInSegmentDeprecated" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -2863,7 +2871,13 @@ declare module PlayFabServerModels { | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" | "AggregationTypeNotAllowedForLinkedStat" - | "StoreMetricsRequestInvalidInput"; + | "OperationDeniedDueToDefinitionPolicy" + | "StatisticUpdateNotAllowedWhileLinked" + | "UnsupportedEntityType" + | "EntityTypeSpecifiedRequiresAggregationSource" + | "PlayFabErrorEventNotSupportedForEntityType" + | "StoreMetricsRequestInvalidInput" + | "StoreMetricsErrorRetrievingMetrics"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -4106,7 +4120,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + /** PlayFab unique identifier of the user to link. */ PlayFabId: string; /** Unique Steam identifier for a user. */ SteamId: string; @@ -4122,7 +4136,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + /** PlayFab unique identifier of the user to link. */ PlayFabId: string; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; @@ -4133,6 +4147,20 @@ declare module PlayFabServerModels { } + export interface LinkXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** PlayFab unique identifier of the user to link. */ + PlayFabId: string; + /** The id of Xbox Live sandbox. */ + Sandbox: string; + /** Unique Xbox identifier for a user. */ + XboxId: string; + + } + export interface ListPlayerCustomPropertiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -5361,7 +5389,7 @@ declare module PlayFabServerModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + /** PlayFab unique identifier of the user to unlink. */ PlayFabId: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 333e028f..93855317 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 95c3df5e..5ced2a4a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 514e9654..98453ad0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 74fbc577..be6c8a14 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 47019d7b..541660e8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 1d3f9734..7de29af5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 919f152b..c53a506d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 7ecad2b0..4202b149 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 918d0da3..9eb66e4b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index aa74c488..e123907d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 51118f87..e8be738f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0e1acf41..e6184355 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a9ddafe6..4a778615 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 9e36bfd5..5867c0e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index e31c7efb..c27eb3ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -313,6 +313,10 @@ PlayFab.ProgressionApi = { 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index d6fad5fc..15f2f2af 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.198.250815", + sdkVersion: "1.199.250912", requestGetParams: { - sdk: "JavaScriptSDK-1.198.250815" + sdk: "JavaScriptSDK-1.199.250912" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.198.250815"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.199.250912"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -584,6 +584,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 6ac30bbf..592e6ef1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2692,6 +2692,8 @@ declare module PlayFabAdminModels { | "ResourceNotModified" | "StudioCreationLimitExceeded" | "StudioDeletionInitiated" + | "ProductDisabledForTitle" + | "PreconditionFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2824,6 +2826,7 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" + | "GetPlayersInSegmentDeprecated" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3021,7 +3024,13 @@ declare module PlayFabAdminModels { | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" | "AggregationTypeNotAllowedForLinkedStat" - | "StoreMetricsRequestInvalidInput"; + | "OperationDeniedDueToDefinitionPolicy" + | "StatisticUpdateNotAllowedWhileLinked" + | "UnsupportedEntityType" + | "EntityTypeSpecifiedRequiresAggregationSource" + | "PlayFabErrorEventNotSupportedForEntityType" + | "StoreMetricsRequestInvalidInput" + | "StoreMetricsErrorRetrievingMetrics"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { /** Parameter of this task instance */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index 1d378fbb..706cdb98 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -94,6 +94,11 @@ declare module PlayFabProgressionModule { * https://docs.microsoft.com/rest/api/playfab/progression/statistics/liststatisticdefinitions */ ListStatisticDefinitions(request: PlayFabProgressionModels.ListStatisticDefinitionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks an aggregation source from a statistic definition. + * https://docs.microsoft.com/rest/api/playfab/progression/statistics/unlinkaggregationsourcefromstatistic + */ + UnlinkAggregationSourceFromStatistic(request: PlayFabProgressionModels.UnlinkAggregationSourceFromStatisticRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks a leaderboard definition from it's linked statistic definition. * https://docs.microsoft.com/rest/api/playfab/progression/leaderboards/unlinkleaderboardfromstatistic @@ -699,6 +704,16 @@ declare module PlayFabProgressionModels { } + export interface UnlinkAggregationSourceFromStatisticRequest 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 name of the statistic to unlink. */ + Name: string; + /** The name of the aggregation source statistic to unlink. */ + SourceStatisticName: string; + + } + export interface UnlinkLeaderboardFromStatisticRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 20959d94..d2ff24b7 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -481,6 +481,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount */ LinkXboxAccount(request: PlayFabServerModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Xbox Live account associated with the provided Xbox ID and Sandbox to the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxid + */ + LinkXboxId(request: PlayFabServerModels.LinkXboxIdRequest, 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/server/player-data-management/listplayercustomproperties @@ -2534,6 +2539,8 @@ declare module PlayFabServerModels { | "ResourceNotModified" | "StudioCreationLimitExceeded" | "StudioDeletionInitiated" + | "ProductDisabledForTitle" + | "PreconditionFailed" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2666,6 +2673,7 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" + | "GetPlayersInSegmentDeprecated" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -2863,7 +2871,13 @@ declare module PlayFabServerModels { | "InvalidEntityTypeForAggregation" | "MultiLevelAggregationNotAllowed" | "AggregationTypeNotAllowedForLinkedStat" - | "StoreMetricsRequestInvalidInput"; + | "OperationDeniedDueToDefinitionPolicy" + | "StatisticUpdateNotAllowedWhileLinked" + | "UnsupportedEntityType" + | "EntityTypeSpecifiedRequiresAggregationSource" + | "PlayFabErrorEventNotSupportedForEntityType" + | "StoreMetricsRequestInvalidInput" + | "StoreMetricsErrorRetrievingMetrics"; export interface GenericPlayFabIdPair { /** Unique generic service identifier for a user. */ @@ -4106,7 +4120,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + /** PlayFab unique identifier of the user to link. */ PlayFabId: string; /** Unique Steam identifier for a user. */ SteamId: string; @@ -4122,7 +4136,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + /** PlayFab unique identifier of the user to link. */ PlayFabId: string; /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", ""). */ XboxToken: string; @@ -4133,6 +4147,20 @@ declare module PlayFabServerModels { } + export interface LinkXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** PlayFab unique identifier of the user to link. */ + PlayFabId: string; + /** The id of Xbox Live sandbox. */ + Sandbox: string; + /** Unique Xbox identifier for a user. */ + XboxId: string; + + } + export interface ListPlayerCustomPropertiesRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -5361,7 +5389,7 @@ declare module PlayFabServerModels { export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier. */ + /** PlayFab unique identifier of the user to unlink. */ PlayFabId: string; } From 4735b7a7729bf1dd8365e6778cbcf61ad2495941 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 29 Sep 2025 17:56:00 +0000 Subject: [PATCH 233/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#250926 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 12 ++++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 33 +++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 8 ++--- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 12 ++++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 33 +++++++++++++++++++ 35 files changed, 203 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 65055479..4cfa50e1 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.199.250912", + "version": "1.200.250926", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 93855317..8273ae42 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5ced2a4a..0727aba6 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 98453ad0..c6275af5 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index be6c8a14..b0e74639 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 541660e8..80bafd2c 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 7de29af5..5693e2b7 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index c53a506d..bed36188 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -357,6 +357,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 4202b149..3f98a8c8 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 9eb66e4b..64089383 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e123907d..eb8d1e20 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index e8be738f..9f569904 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e6184355..76a13025 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 4a778615..db3de97e 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 5867c0e5..78b5b96a 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index c27eb3ae..067913c8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 15f2f2af..b2799f40 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.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index 40ada114..de51b47b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -186,6 +186,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems */ RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstorewithjwsinventoryitems + */ + RedeemAppleAppStoreWithJwsInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreWithJwsInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems @@ -1295,6 +1300,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** The token to get the status of the inventory operation. */ + OperationToken?: string; } @@ -1732,6 +1739,10 @@ declare module PlayFabEconomyModels { } + export interface PurchaseOverride { + + } + export interface PurchaseOverridesInfo { } @@ -1802,6 +1813,28 @@ declare module PlayFabEconomyModels { } + export interface RedeemAppleAppStoreWithJwsInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The JWS representation of a transaction. */ + JWSTransactions: string[]; + + } + + export interface RedeemAppleAppStoreWithJwsInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 93855317..8273ae42 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5ced2a4a..0727aba6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 98453ad0..c6275af5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index be6c8a14..b0e74639 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 541660e8..80bafd2c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 7de29af5..5693e2b7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index c53a506d..bed36188 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -357,6 +357,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/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 4202b149..3f98a8c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 9eb66e4b..64089383 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e123907d..eb8d1e20 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index e8be738f..9f569904 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e6184355..76a13025 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 4a778615..db3de97e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 5867c0e5..78b5b96a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index c27eb3ae..067913c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 15f2f2af..b2799f40 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.199.250912", + sdkVersion: "1.200.250926", requestGetParams: { - sdk: "JavaScriptSDK-1.199.250912" + sdk: "JavaScriptSDK-1.200.250926" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.199.250912"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.200.250926"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index 40ada114..de51b47b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -186,6 +186,11 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstoreinventoryitems */ RedeemAppleAppStoreInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Redeem items. + * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemappleappstorewithjwsinventoryitems + */ + RedeemAppleAppStoreWithJwsInventoryItems(request: PlayFabEconomyModels.RedeemAppleAppStoreWithJwsInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Redeem items. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemgoogleplayinventoryitems @@ -1295,6 +1300,8 @@ declare module PlayFabEconomyModels { CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ Entity?: EntityKey; + /** The token to get the status of the inventory operation. */ + OperationToken?: string; } @@ -1732,6 +1739,10 @@ declare module PlayFabEconomyModels { } + export interface PurchaseOverride { + + } + export interface PurchaseOverridesInfo { } @@ -1802,6 +1813,28 @@ declare module PlayFabEconomyModels { } + export interface RedeemAppleAppStoreWithJwsInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The id of the entity's collection to perform this action on. (Default="default") */ + CollectionId?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The entity to perform this action on. */ + Entity?: EntityKey; + /** The JWS representation of a transaction. */ + JWSTransactions: string[]; + + } + + export interface RedeemAppleAppStoreWithJwsInventoryItemsResponse extends PlayFabModule.IPlayFabResultCommon { + /** The list of failed redemptions from the external marketplace. */ + Failed?: RedemptionFailure[]; + /** The list of successful redemptions from the external marketplace. */ + Succeeded?: RedemptionSuccess[]; + /** The Transaction IDs associated with the inventory modifications */ + TransactionIds?: string[]; + + } + export interface RedeemGooglePlayInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; From bce61771198c0ce6a293503c6c598584c4775fe8 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 15 Oct 2025 20:47:05 +0000 Subject: [PATCH 234/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#251010 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 2 ++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 39 files changed, 137 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 4cfa50e1..f1d0ace2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.200.250926", + "version": "1.201.251010", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 8273ae42..475cf08a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 0727aba6..5e7c36b6 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c6275af5..43a27e89 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index b0e74639..3c5ec48d 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 80bafd2c..c299879d 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5693e2b7..981588c8 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index bed36188..1464e3d3 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3f98a8c8..44209759 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 64089383..9cf1345e 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index eb8d1e20..19260e28 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 9f569904..837f863d 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 76a13025..8dda4dcc 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index db3de97e..3e5ad5ad 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 78b5b96a..1a9e411a 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 067913c8..2c3078a9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b2799f40..b1c4b7b7 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.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 592e6ef1..9d99c2e1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2694,6 +2694,7 @@ declare module PlayFabAdminModels { | "StudioDeletionInitiated" | "ProductDisabledForTitle" | "PreconditionFailed" + | "CannotEnableAnonymousPlayerCreation" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 954f5ba0..61f5beee 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3114,6 +3114,8 @@ declare module PlayFabMultiplayerModels { NetworkConfiguration: PartyNetworkConfiguration; /** A guid string party ID created track the party session over its life. */ PartyId?: string; + /** A player entity Id on behalf of whom the request is being made. */ + PlayFabId?: string; /** * The preferred regions to request a party session from. The party service will iterate through the regions in the * specified order and allocate a party session from the first one that is available. diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index d2ff24b7..603ae841 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2541,6 +2541,7 @@ declare module PlayFabServerModels { | "StudioDeletionInitiated" | "ProductDisabledForTitle" | "PreconditionFailed" + | "CannotEnableAnonymousPlayerCreation" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 8273ae42..475cf08a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 0727aba6..5e7c36b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c6275af5..43a27e89 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index b0e74639..3c5ec48d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 80bafd2c..c299879d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5693e2b7..981588c8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index bed36188..1464e3d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3f98a8c8..44209759 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 64089383..9cf1345e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index eb8d1e20..19260e28 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 9f569904..837f863d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 76a13025..8dda4dcc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index db3de97e..3e5ad5ad 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 78b5b96a..1a9e411a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 067913c8..2c3078a9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b2799f40..b1c4b7b7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.200.250926", + sdkVersion: "1.201.251010", requestGetParams: { - sdk: "JavaScriptSDK-1.200.250926" + sdk: "JavaScriptSDK-1.201.251010" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.200.250926"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.201.251010"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 592e6ef1..9d99c2e1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2694,6 +2694,7 @@ declare module PlayFabAdminModels { | "StudioDeletionInitiated" | "ProductDisabledForTitle" | "PreconditionFailed" + | "CannotEnableAnonymousPlayerCreation" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 954f5ba0..61f5beee 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3114,6 +3114,8 @@ declare module PlayFabMultiplayerModels { NetworkConfiguration: PartyNetworkConfiguration; /** A guid string party ID created track the party session over its life. */ PartyId?: string; + /** A player entity Id on behalf of whom the request is being made. */ + PlayFabId?: string; /** * The preferred regions to request a party session from. The party service will iterate through the regions in the * specified order and allocate a party session from the first one that is available. diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index d2ff24b7..603ae841 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2541,6 +2541,7 @@ declare module PlayFabServerModels { | "StudioDeletionInitiated" | "ProductDisabledForTitle" | "PreconditionFailed" + | "CannotEnableAnonymousPlayerCreation" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 9d8d39640e2926a3151589f8806006aaaa487aa7 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 27 Oct 2025 17:55:44 +0000 Subject: [PATCH 235/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#251024 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts | 5 +---- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 ++ .../src/typings/PlayFab/PlayFabProgressionApi.d.ts | 5 +---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 2 ++ 39 files changed, 139 insertions(+), 137 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f1d0ace2..466c75af 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.201.251010", + "version": "1.202.251024", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 475cf08a..33f2c792 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5e7c36b6..b979b166 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 43a27e89..df8f4187 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 3c5ec48d..567104ee 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index c299879d..55e9f48b 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 981588c8..c8d76aca 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 1464e3d3..7a06c4f0 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 44209759..9b8e891a 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 9cf1345e..c8a6f1a6 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 19260e28..c114c6b5 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 837f863d..6b0b45bc 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 8dda4dcc..d0c42d4d 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 3e5ad5ad..7f748846 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 1a9e411a..3fdb4463 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 2c3078a9..24d40664 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b1c4b7b7..ac86841c 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.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 9d99c2e1..32bcdebf 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2695,6 +2695,7 @@ declare module PlayFabAdminModels { | "ProductDisabledForTitle" | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" + | "ParentCustomerAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3006,6 +3007,7 @@ declare module PlayFabAdminModels { | "GameSaveServiceUnavailable" | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" + | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index 706cdb98..acd511ef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -767,10 +767,7 @@ declare module PlayFabProgressionModels { Entity?: EntityKey; /** Collection of statistics to update, maximum 50. */ Statistics: StatisticUpdate[]; - /** - * Optional transactionId of this update which can be used to ensure idempotence. Using this field is still in testing - * stage. - */ + /** Optional transactionId of this update which can be used to ensure idempotence. */ TransactionId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 603ae841..ea2d29db 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2542,6 +2542,7 @@ declare module PlayFabServerModels { | "ProductDisabledForTitle" | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" + | "ParentCustomerAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2853,6 +2854,7 @@ declare module PlayFabServerModels { | "GameSaveServiceUnavailable" | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" + | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 475cf08a..33f2c792 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5e7c36b6..b979b166 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 43a27e89..df8f4187 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 3c5ec48d..567104ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index c299879d..55e9f48b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 981588c8..c8d76aca 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 1464e3d3..7a06c4f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 44209759..9b8e891a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 9cf1345e..c8a6f1a6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 19260e28..c114c6b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 837f863d..6b0b45bc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 8dda4dcc..d0c42d4d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 3e5ad5ad..7f748846 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 1a9e411a..3fdb4463 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 2c3078a9..24d40664 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b1c4b7b7..ac86841c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.201.251010", + sdkVersion: "1.202.251024", requestGetParams: { - sdk: "JavaScriptSDK-1.201.251010" + sdk: "JavaScriptSDK-1.202.251024" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.201.251010"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.202.251024"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 9d99c2e1..32bcdebf 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2695,6 +2695,7 @@ declare module PlayFabAdminModels { | "ProductDisabledForTitle" | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" + | "ParentCustomerAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -3006,6 +3007,7 @@ declare module PlayFabAdminModels { | "GameSaveServiceUnavailable" | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" + | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index 706cdb98..acd511ef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -767,10 +767,7 @@ declare module PlayFabProgressionModels { Entity?: EntityKey; /** Collection of statistics to update, maximum 50. */ Statistics: StatisticUpdate[]; - /** - * Optional transactionId of this update which can be used to ensure idempotence. Using this field is still in testing - * stage. - */ + /** Optional transactionId of this update which can be used to ensure idempotence. */ TransactionId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 603ae841..ea2d29db 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2542,6 +2542,7 @@ declare module PlayFabServerModels { | "ProductDisabledForTitle" | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" + | "ParentCustomerAccountNotFound" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2853,6 +2854,7 @@ declare module PlayFabServerModels { | "GameSaveServiceUnavailable" | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" + | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 7881700d835fbff27d8779b335c1c61c9b66d454 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 10 Nov 2025 22:31:55 +0000 Subject: [PATCH 236/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#251107 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 4 +++- .../Typings/PlayFab/PlayFabProgressionApi.d.ts | 18 ++++++++++++++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAddonApi.js | 8 ++++---- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabClientApi.d.ts | 4 +++- .../typings/PlayFab/PlayFabProgressionApi.d.ts | 18 ++++++++++++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 41 files changed, 171 insertions(+), 135 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 466c75af..9c0a141d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.202.251024", + "version": "1.203.251107", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 33f2c792..75dbbd84 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index b979b166..35a9e158 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index df8f4187..c932f125 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 567104ee..deaa32ae 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 55e9f48b..e5f36d96 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index c8d76aca..5c61ff91 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 7a06c4f0..c2947bef 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 9b8e891a..a977ed03 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index c8a6f1a6..13d9295a 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index c114c6b5..a5647683 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 6b0b45bc..d67da63e 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index d0c42d4d..926c49ae 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7f748846..2500b5b1 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 3fdb4463..cc710c75 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 24d40664..a4930f81 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ac86841c..4ec19db1 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.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 32bcdebf..a5c0a112 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2696,6 +2696,7 @@ declare module PlayFabAdminModels { | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" + | "AccountLinkedToABannedPlayer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 47bb77c7..cba13f80 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -5721,10 +5721,12 @@ declare module PlayFabClientModels { CurrencyCode?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ + JwsReceiptData?: string; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ - ReceiptData: string; + ReceiptData?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index acd511ef..bf847432 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -586,24 +586,38 @@ declare module PlayFabProgressionModels { export interface ListLeaderboardDefinitionsRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; } export interface ListLeaderboardDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { /** List of leaderboard definitions for the title. */ LeaderboardDefinitions?: LeaderboardDefinition[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } export interface ListStatisticDefinitionsRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; } export interface ListStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; /** List of statistic definitions for the title. */ StatisticDefinitions?: StatisticDefinition[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index ea2d29db..82a536ba 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2543,6 +2543,7 @@ declare module PlayFabServerModels { | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" + | "AccountLinkedToABannedPlayer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 33f2c792..75dbbd84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index b979b166..35a9e158 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index df8f4187..c932f125 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 567104ee..deaa32ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 55e9f48b..e5f36d96 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index c8d76aca..5c61ff91 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 7a06c4f0..c2947bef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 9b8e891a..a977ed03 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index c8a6f1a6..13d9295a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index c114c6b5..a5647683 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 6b0b45bc..d67da63e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index d0c42d4d..926c49ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7f748846..2500b5b1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 3fdb4463..cc710c75 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 24d40664..a4930f81 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ac86841c..4ec19db1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.202.251024", + sdkVersion: "1.203.251107", requestGetParams: { - sdk: "JavaScriptSDK-1.202.251024" + sdk: "JavaScriptSDK-1.203.251107" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.202.251024"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.203.251107"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 32bcdebf..a5c0a112 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2696,6 +2696,7 @@ declare module PlayFabAdminModels { | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" + | "AccountLinkedToABannedPlayer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 47bb77c7..cba13f80 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -5721,10 +5721,12 @@ declare module PlayFabClientModels { CurrencyCode?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ + JwsReceiptData?: string; /** Amount of the stated currency paid, in centesimal units. */ PurchasePrice: number; /** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */ - ReceiptData: string; + ReceiptData?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index acd511ef..bf847432 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -586,24 +586,38 @@ declare module PlayFabProgressionModels { export interface ListLeaderboardDefinitionsRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; } export interface ListLeaderboardDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { /** List of leaderboard definitions for the title. */ LeaderboardDefinitions?: LeaderboardDefinition[]; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; } export interface ListStatisticDefinitionsRequest 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 page size for the request. */ + PageSize?: number; + /** The skip token for the paged request. */ + SkipToken?: string; } export interface ListStatisticDefinitionsResponse extends PlayFabModule.IPlayFabResultCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; + /** The page size on the response. */ + PageSize: number; + /** The skip token for the paged response. */ + SkipToken?: string; /** List of statistic definitions for the title. */ StatisticDefinitions?: StatisticDefinition[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index ea2d29db..82a536ba 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2543,6 +2543,7 @@ declare module PlayFabServerModels { | "PreconditionFailed" | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" + | "AccountLinkedToABannedPlayer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From 60043e008a3bf06add2975c2a71fdd35b3892f93 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 2 Dec 2025 17:17:20 +0000 Subject: [PATCH 237/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#251121 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 6 ++++++ PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 6 ++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 39 files changed, 145 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 9c0a141d..f2e9023e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.203.251107", + "version": "1.204.251121", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 75dbbd84..9870c0f7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 35a9e158..e2604729 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c932f125..665fe5e1 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index deaa32ae..67e19377 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index e5f36d96..a2488774 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 5c61ff91..25e14f9e 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index c2947bef..72023ef0 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a977ed03..d5af24f6 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 13d9295a..b6af95e4 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a5647683..4a9b7984 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index d67da63e..338ed99c 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 926c49ae..38541f47 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 2500b5b1..0026ff1b 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index cc710c75..0698eff3 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index a4930f81..fdf7e2db 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 4ec19db1..c2c18c79 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.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index a5c0a112..c10c88a0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2697,6 +2697,7 @@ declare module PlayFabAdminModels { | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" + | "AzureSubscriptionNotEligibleForLinking" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 61f5beee..a781bd25 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3657,6 +3657,12 @@ declare module PlayFabMultiplayerModels { * server-owned (must be 'Server') - Any server can set ownership. The useConnections property must be true. */ Owner?: EntityKey; + /** + * A setting that controls whether only the lobby owner can send invites to join the lobby. When true, only the lobby owner + * can send invites. When false or not specified, any member can send invites. Will not modify current configuration if not + * specified. Restricted to client owned lobbies. + */ + RestrictInvitesToLobbyOwner?: boolean; /** * The public key-value pairs which allow queries to differentiate between lobbies. Optional. Sets or updates key-value * pairs on the lobby for use with queries. Only the current lobby owner can set search data. New keys will be added with diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 82a536ba..6ef3a660 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2544,6 +2544,7 @@ declare module PlayFabServerModels { | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" + | "AzureSubscriptionNotEligibleForLinking" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 75dbbd84..9870c0f7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 35a9e158..e2604729 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c932f125..665fe5e1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index deaa32ae..67e19377 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index e5f36d96..a2488774 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 5c61ff91..25e14f9e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index c2947bef..72023ef0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a977ed03..d5af24f6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 13d9295a..b6af95e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a5647683..4a9b7984 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index d67da63e..338ed99c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 926c49ae..38541f47 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 2500b5b1..0026ff1b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index cc710c75..0698eff3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index a4930f81..fdf7e2db 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 4ec19db1..c2c18c79 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.203.251107", + sdkVersion: "1.204.251121", requestGetParams: { - sdk: "JavaScriptSDK-1.203.251107" + sdk: "JavaScriptSDK-1.204.251121" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.203.251107"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.204.251121"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index a5c0a112..c10c88a0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2697,6 +2697,7 @@ declare module PlayFabAdminModels { | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" + | "AzureSubscriptionNotEligibleForLinking" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 61f5beee..a781bd25 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -3657,6 +3657,12 @@ declare module PlayFabMultiplayerModels { * server-owned (must be 'Server') - Any server can set ownership. The useConnections property must be true. */ Owner?: EntityKey; + /** + * A setting that controls whether only the lobby owner can send invites to join the lobby. When true, only the lobby owner + * can send invites. When false or not specified, any member can send invites. Will not modify current configuration if not + * specified. Restricted to client owned lobbies. + */ + RestrictInvitesToLobbyOwner?: boolean; /** * The public key-value pairs which allow queries to differentiate between lobbies. Optional. Sets or updates key-value * pairs on the lobby for use with queries. Only the current lobby owner can set search data. New keys will be added with diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 82a536ba..6ef3a660 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2544,6 +2544,7 @@ declare module PlayFabServerModels { | "CannotEnableAnonymousPlayerCreation" | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" + | "AzureSubscriptionNotEligibleForLinking" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" From b1d85d88d84ec9e0eff9bc839bb54f777a15f9a6 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 8 Dec 2025 21:40:32 +0000 Subject: [PATCH 238/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#251205 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 12 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 24 ++++- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 3 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 38 ++++++++ .../PlayFab/PlayFabProgressionApi.d.ts | 10 +- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 97 ++++++++++++++++++- .../src/PlayFab/PlayFabAddonApi.js | 8 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 12 ++- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 24 ++++- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 3 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 38 ++++++++ .../PlayFab/PlayFabProgressionApi.d.ts | 10 +- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 97 ++++++++++++++++++- 41 files changed, 445 insertions(+), 149 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index f2e9023e..a9e3d495 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.204.251121", + "version": "1.205.251205", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 9870c0f7..81a62976 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e2604729..3b546fcf 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 665fe5e1..7892018c 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 67e19377..a471fee9 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -469,6 +469,10 @@ 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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index a2488774..21c90e3f 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 25e14f9e..30065f4c 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 72023ef0..6d6d2e43 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d5af24f6..d9e09b8b 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index b6af95e4..bba34d05 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 4a9b7984..94e79a7c 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 338ed99c..2e07f941 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 38541f47..4cce7727 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 0026ff1b..13a56a9f 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 0698eff3..8482e472 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index fdf7e2db..8c9b14b5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c2c18c79..cc323cff 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.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -436,6 +436,10 @@ 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); }, @@ -580,6 +584,10 @@ PlayFab.ServerApi = { 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); }, @@ -620,6 +628,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); }, @@ -756,6 +768,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index c10c88a0..cc6e9983 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -38,7 +38,7 @@ declare module PlayFabAdminModule { */ 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>; @@ -3034,6 +3034,7 @@ declare module PlayFabAdminModels { | "UnsupportedEntityType" | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" + | "MetadataLengthExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index cba13f80..1ba31e24 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -332,6 +332,13 @@ 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 @@ -2840,6 +2847,21 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromOpenIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique OpenId Connect identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed + * 10 in length. + */ + OpenIdSubjectIdentifiers: OpenIdSubjectIdentifier[]; + + } + + export interface GetPlayFabIDsFromOpenIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of OpenId Connect identifiers to PlayFab identifiers. */ + Data?: OpenIdSubjectIdentifierPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; @@ -4180,6 +4202,22 @@ declare module PlayFabClientModels { } + export interface OpenIdSubjectIdentifier { + /** The issuer URL for the OpenId Connect provider, or the override URL if an override exists. */ + Issuer: string; + /** The unique subject identifier within the context of the issuer. */ + Subject: string; + + } + + export interface OpenIdSubjectIdentifierPlayFabIdPair { + /** Unique OpenId Connect identifier for a user. */ + OpenIdSubjectIdentifier?: OpenIdSubjectIdentifier; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the OpenId Connect identifier. */ + PlayFabId?: string; + + } + export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index bf847432..eed7301f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -544,10 +544,7 @@ declare module PlayFabProgressionModels { export interface LeaderboardEntryUpdate { /** The unique Id for the entry. If using PlayFab Entities, this would be the entityId of the entity. */ EntityId: string; - /** - * Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs. Must be less - * than 50 UTF8 encoded characters. - */ + /** Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs. */ Metadata?: string; /** * The scores for the leaderboard. The number of values provided here must match the number of columns in the Leaderboard @@ -699,10 +696,7 @@ declare module PlayFabProgressionModels { } export interface StatisticUpdate { - /** - * Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. Must be less than 50 - * UTF8 encoded characters. - */ + /** Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. */ Metadata?: string; /** Name of the statistic, as originally configured. */ Name: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 6ef3a660..f2682b6e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -53,7 +53,7 @@ declare module PlayFabServerModule { */ AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, 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/server/account-management/banusers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -281,6 +281,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.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 subject identifier is + * the OpenId issuer plus the OpenId subject 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/server/account-management/getplayfabidsfromopenidsubjectidentifiers + */ + GetPlayFabIDsFromOpenIdSubjectIdentifiers(request: PlayFabServerModels.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/server/account-management/getplayfabidsfrompsnaccountids @@ -476,6 +483,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linksteamid */ LinkSteamId(request: PlayFabServerModels.LinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Twitch account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linktwitchaccount + */ + LinkTwitchAccount(request: PlayFabServerModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount @@ -532,6 +544,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid */ LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sign in the user with a Twitch access token + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithtwitch + */ + LoginWithTwitch(request: PlayFabServerModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -724,6 +741,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinksteamid */ UnlinkSteamId(request: PlayFabServerModels.UnlinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Twitch account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinktwitchaccount + */ + UnlinkTwitchAccount(request: PlayFabServerModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount @@ -2881,6 +2903,7 @@ declare module PlayFabServerModels { | "UnsupportedEntityType" | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" + | "MetadataLengthExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; @@ -3506,6 +3529,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromOpenIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique OpenId Connect identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed + * 10 in length. + */ + OpenIdSubjectIdentifiers: OpenIdSubjectIdentifier[]; + + } + + export interface GetPlayFabIDsFromOpenIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of OpenId Connect identifiers to PlayFab identifiers. */ + Data?: OpenIdSubjectIdentifierPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; @@ -4136,6 +4174,18 @@ declare module PlayFabServerModels { } + export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Twitch access token for authentication. */ + AccessToken: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** PlayFab unique identifier of the user to link. */ + PlayFabId: string; + + } + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4344,6 +4394,22 @@ declare module PlayFabServerModels { } + export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Twitch access token for authentication. */ + AccessToken: string; + /** If true, create a new PlayFab account if one does not exist. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Parameters for requesting additional player info. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret for additional authentication. */ + PlayerSecret?: string; + /** PlayFab unique identifier of the user. */ + PlayFabId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4502,6 +4568,22 @@ declare module PlayFabServerModels { } + export interface OpenIdSubjectIdentifier { + /** The issuer URL for the OpenId Connect provider, or the override URL if an override exists. */ + Issuer: string; + /** The unique subject identifier within the context of the issuer. */ + Subject: string; + + } + + export interface OpenIdSubjectIdentifierPlayFabIdPair { + /** Unique OpenId Connect identifier for a user. */ + OpenIdSubjectIdentifier?: OpenIdSubjectIdentifier; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the OpenId Connect identifier. */ + PlayFabId?: string; + + } + export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -5391,6 +5473,19 @@ declare module PlayFabServerModels { } + export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Valid token issued by Twitch. Used to specify which twitch account to unlink from the profile. By default it uses the + * one that is present on the profile. + */ + AccessToken?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** PlayFab unique identifier of the user to unlink. */ + PlayFabId: string; + + } + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 9870c0f7..81a62976 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e2604729..3b546fcf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 665fe5e1..7892018c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 67e19377..a471fee9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -469,6 +469,10 @@ 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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index a2488774..21c90e3f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 25e14f9e..30065f4c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 72023ef0..6d6d2e43 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d5af24f6..d9e09b8b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index b6af95e4..bba34d05 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 4a9b7984..94e79a7c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 338ed99c..2e07f941 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 38541f47..4cce7727 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 0026ff1b..13a56a9f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 0698eff3..8482e472 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index fdf7e2db..8c9b14b5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c2c18c79..cc323cff 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.204.251121", + sdkVersion: "1.205.251205", requestGetParams: { - sdk: "JavaScriptSDK-1.204.251121" + sdk: "JavaScriptSDK-1.205.251205" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.204.251121"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.205.251205"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -436,6 +436,10 @@ 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); }, @@ -580,6 +584,10 @@ PlayFab.ServerApi = { 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); }, @@ -620,6 +628,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); }, @@ -756,6 +768,10 @@ PlayFab.ServerApi = { 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index c10c88a0..cc6e9983 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -38,7 +38,7 @@ declare module PlayFabAdminModule { */ 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>; @@ -3034,6 +3034,7 @@ declare module PlayFabAdminModels { | "UnsupportedEntityType" | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" + | "MetadataLengthExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index cba13f80..1ba31e24 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -332,6 +332,13 @@ 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 @@ -2840,6 +2847,21 @@ declare module PlayFabClientModels { } + export interface GetPlayFabIDsFromOpenIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique OpenId Connect identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed + * 10 in length. + */ + OpenIdSubjectIdentifiers: OpenIdSubjectIdentifier[]; + + } + + export interface GetPlayFabIDsFromOpenIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of OpenId Connect identifiers to PlayFab identifiers. */ + Data?: OpenIdSubjectIdentifierPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; @@ -4180,6 +4202,22 @@ declare module PlayFabClientModels { } + export interface OpenIdSubjectIdentifier { + /** The issuer URL for the OpenId Connect provider, or the override URL if an override exists. */ + Issuer: string; + /** The unique subject identifier within the context of the issuer. */ + Subject: string; + + } + + export interface OpenIdSubjectIdentifierPlayFabIdPair { + /** Unique OpenId Connect identifier for a user. */ + OpenIdSubjectIdentifier?: OpenIdSubjectIdentifier; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the OpenId Connect identifier. */ + PlayFabId?: string; + + } + export interface OpenTradeRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Players who are allowed to accept the trade. If null, the trade may be accepted by any player. If empty, the trade may diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index bf847432..eed7301f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -544,10 +544,7 @@ declare module PlayFabProgressionModels { export interface LeaderboardEntryUpdate { /** The unique Id for the entry. If using PlayFab Entities, this would be the entityId of the entity. */ EntityId: string; - /** - * Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs. Must be less - * than 50 UTF8 encoded characters. - */ + /** Arbitrary metadata to store along side the leaderboard entry, will be returned by all Leaderboard APIs. */ Metadata?: string; /** * The scores for the leaderboard. The number of values provided here must match the number of columns in the Leaderboard @@ -699,10 +696,7 @@ declare module PlayFabProgressionModels { } export interface StatisticUpdate { - /** - * Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. Must be less than 50 - * UTF8 encoded characters. - */ + /** Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. */ Metadata?: string; /** Name of the statistic, as originally configured. */ Name: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 6ef3a660..f2682b6e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -53,7 +53,7 @@ declare module PlayFabServerModule { */ AwardSteamAchievement(request: PlayFabServerModels.AwardSteamAchievementRequest, 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/server/account-management/banusers */ BanUsers(request: PlayFabServerModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -281,6 +281,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids */ GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabServerModels.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 subject identifier is + * the OpenId issuer plus the OpenId subject 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/server/account-management/getplayfabidsfromopenidsubjectidentifiers + */ + GetPlayFabIDsFromOpenIdSubjectIdentifiers(request: PlayFabServerModels.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/server/account-management/getplayfabidsfrompsnaccountids @@ -476,6 +483,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/linksteamid */ LinkSteamId(request: PlayFabServerModels.LinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Links the Twitch account associated with the token to the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/linktwitchaccount + */ + LinkTwitchAccount(request: PlayFabServerModels.LinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Links the Xbox Live account associated with the provided access code to the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount @@ -532,6 +544,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid */ LoginWithSteamId(request: PlayFabServerModels.LoginWithSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Sign in the user with a Twitch access token + * https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithtwitch + */ + LoginWithTwitch(request: PlayFabServerModels.LoginWithTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can * subsequently be used for API calls which require an authenticated user @@ -724,6 +741,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinksteamid */ UnlinkSteamId(request: PlayFabServerModels.UnlinkSteamIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Twitch account from the user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinktwitchaccount + */ + UnlinkTwitchAccount(request: PlayFabServerModels.UnlinkTwitchAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Xbox Live account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount @@ -2881,6 +2903,7 @@ declare module PlayFabServerModels { | "UnsupportedEntityType" | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" + | "MetadataLengthExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; @@ -3506,6 +3529,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromOpenIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique OpenId Connect identifiers for which the title needs to get PlayFab identifiers. The array cannot exceed + * 10 in length. + */ + OpenIdSubjectIdentifiers: OpenIdSubjectIdentifier[]; + + } + + export interface GetPlayFabIDsFromOpenIdsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of OpenId Connect identifiers to PlayFab identifiers. */ + Data?: OpenIdSubjectIdentifierPlayFabIdPair[]; + + } + export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; @@ -4136,6 +4174,18 @@ declare module PlayFabServerModels { } + export interface LinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Twitch access token for authentication. */ + AccessToken: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** If another user is already linked to the account, unlink the other user and re-link. */ + ForceLink?: boolean; + /** PlayFab unique identifier of the user to link. */ + PlayFabId: string; + + } + export interface LinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4344,6 +4394,22 @@ declare module PlayFabServerModels { } + export interface LoginWithTwitchRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Twitch access token for authentication. */ + AccessToken: string; + /** If true, create a new PlayFab account if one does not exist. */ + CreateAccount?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Parameters for requesting additional player info. */ + InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; + /** Player secret for additional authentication. */ + PlayerSecret?: string; + /** PlayFab unique identifier of the user. */ + PlayFabId: string; + + } + export interface LoginWithXboxIdRequest extends PlayFabModule.IPlayFabRequestCommon { /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; @@ -4502,6 +4568,22 @@ declare module PlayFabServerModels { } + export interface OpenIdSubjectIdentifier { + /** The issuer URL for the OpenId Connect provider, or the override URL if an override exists. */ + Issuer: string; + /** The unique subject identifier within the context of the issuer. */ + Subject: string; + + } + + export interface OpenIdSubjectIdentifierPlayFabIdPair { + /** Unique OpenId Connect identifier for a user. */ + OpenIdSubjectIdentifier?: OpenIdSubjectIdentifier; + /** Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the OpenId Connect identifier. */ + PlayFabId?: string; + + } + export interface PlayerLeaderboardEntry { /** Title-specific display name of the user for this leaderboard entry. */ DisplayName?: string; @@ -5391,6 +5473,19 @@ declare module PlayFabServerModels { } + export interface UnlinkTwitchAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Valid token issued by Twitch. Used to specify which twitch account to unlink from the profile. By default it uses the + * one that is present on the profile. + */ + AccessToken?: string; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** PlayFab unique identifier of the user to unlink. */ + PlayFabId: string; + + } + export interface UnlinkXboxAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From 0fb85173dd55b4bb6ccb3060ccec78b80881f3af Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 29 Dec 2025 16:33:16 +0000 Subject: [PATCH 239/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#251219 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts | 4 +++- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabEconomyApi.d.ts | 4 +++- 35 files changed, 135 insertions(+), 131 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index a9e3d495..723eccda 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.205.251205", + "version": "1.206.251219", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 81a62976..d069ec4e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 3b546fcf..eff6e434 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 7892018c..679415a6 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index a471fee9..4c1252b3 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 21c90e3f..05de9432 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 30065f4c..cda01fe8 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 6d6d2e43..d21dbf1f 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d9e09b8b..c50645a3 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index bba34d05..b2f9726d 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 94e79a7c..e0e5f203 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 2e07f941..18af11ae 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4cce7727..a4f189f0 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 13a56a9f..a3ec9cc2 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 8482e472..60a74fe2 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 8c9b14b5..1db1a6d3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index cc323cff..6dd4d00e 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.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index de51b47b..eadb20c0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -197,7 +197,7 @@ declare module PlayFabEconomyModule { */ RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Redeem items. + * Redeem items from the Microsoft Store. Supported entitlement types are Developer Manager Consumable and Durable. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems */ RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -1568,6 +1568,8 @@ declare module PlayFabEconomyModels { Id?: string; /** The stack id of the item. */ StackId?: string; + /** Only used for subscriptions. The date of when the item started in UTC. */ + StartDate?: string; /** The type of the item. This should correspond to the item type in the catalog. */ Type?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 81a62976..d069ec4e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 3b546fcf..eff6e434 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 7892018c..679415a6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index a471fee9..4c1252b3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 21c90e3f..05de9432 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 30065f4c..cda01fe8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 6d6d2e43..d21dbf1f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d9e09b8b..c50645a3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index bba34d05..b2f9726d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 94e79a7c..e0e5f203 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 2e07f941..18af11ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4cce7727..a4f189f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 13a56a9f..a3ec9cc2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 8482e472..60a74fe2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 8c9b14b5..1db1a6d3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index cc323cff..6dd4d00e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.205.251205", + sdkVersion: "1.206.251219", requestGetParams: { - sdk: "JavaScriptSDK-1.205.251205" + sdk: "JavaScriptSDK-1.206.251219" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.205.251205"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.206.251219"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index de51b47b..eadb20c0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -197,7 +197,7 @@ declare module PlayFabEconomyModule { */ RedeemGooglePlayInventoryItems(request: PlayFabEconomyModels.RedeemGooglePlayInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Redeem items. + * Redeem items from the Microsoft Store. Supported entitlement types are Developer Manager Consumable and Durable. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/redeemmicrosoftstoreinventoryitems */ RedeemMicrosoftStoreInventoryItems(request: PlayFabEconomyModels.RedeemMicrosoftStoreInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -1568,6 +1568,8 @@ declare module PlayFabEconomyModels { Id?: string; /** The stack id of the item. */ StackId?: string; + /** Only used for subscriptions. The date of when the item started in UTC. */ + StartDate?: string; /** The type of the item. This should correspond to the item type in the catalog. */ Type?: string; From 1fb32c6b3ae6039926f78a21b1740589862ffe9b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 12 Jan 2026 17:07:34 +0000 Subject: [PATCH 240/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260109 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 16 ++++++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 37 +++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 8 ++-- .../src/PlayFab/PlayFabAdminApi.js | 8 ++-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++-- .../src/PlayFab/PlayFabClientApi.js | 8 ++-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++-- .../src/PlayFab/PlayFabDataApi.js | 8 ++-- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++-- .../src/PlayFab/PlayFabEventsApi.js | 8 ++-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++-- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++-- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++-- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++-- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++-- .../src/PlayFab/PlayFabServerApi.js | 16 ++++++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 37 +++++++++++++++++++ 37 files changed, 221 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 723eccda..09ae7cf2 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.206.251219", + "version": "1.207.260109", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index d069ec4e..c41feadd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index eff6e434..ccb404b4 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 679415a6..e148095e 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 4c1252b3..1dfbab0c 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 05de9432..40fd29e1 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index cda01fe8..526665e5 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index d21dbf1f..a0151024 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c50645a3..940a197e 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index b2f9726d..60192a53 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index e0e5f203..06541b5b 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 18af11ae..63222a8d 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index a4f189f0..39a722d6 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index a3ec9cc2..c6355144 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 60a74fe2..4acb5096 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 1db1a6d3..032b90f2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 6dd4d00e..a882480e 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.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -748,6 +748,14 @@ PlayFab.ServerApi = { 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); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index cc6e9983..3c41e98f 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2813,6 +2813,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" + | "ExperimentationExperimentStopFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f2682b6e..cbeecfb0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -716,6 +716,16 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount */ UnlinkBattleNetAccount(request: PlayFabServerModels.UnlinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Facebook account from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookaccount + */ + UnlinkFacebookAccount(request: PlayFabServerModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Facebook Instant Games identifier from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookinstantgamesid + */ + UnlinkFacebookInstantGamesId(request: PlayFabServerModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2682,6 +2692,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" + | "ExperimentationExperimentStopFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -5413,6 +5424,32 @@ declare module PlayFabServerModels { } + export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** PlayFab unique identifier of the user to unlink. */ + PlayFabId: string; + + } + + export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Facebook Instant Games identifier for the user. If not specified, the most recently linked identifier will be used. */ + FacebookInstantGamesId?: string; + /** PlayFab unique identifier of the user to unlink. */ + PlayFabId: string; + + } + + export interface UnlinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index d069ec4e..c41feadd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index eff6e434..ccb404b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 679415a6..e148095e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 4c1252b3..1dfbab0c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 05de9432..40fd29e1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index cda01fe8..526665e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index d21dbf1f..a0151024 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c50645a3..940a197e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index b2f9726d..60192a53 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index e0e5f203..06541b5b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 18af11ae..63222a8d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index a4f189f0..39a722d6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index a3ec9cc2..c6355144 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 60a74fe2..4acb5096 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 1db1a6d3..032b90f2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 6dd4d00e..a882480e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.206.251219", + sdkVersion: "1.207.260109", requestGetParams: { - sdk: "JavaScriptSDK-1.206.251219" + sdk: "JavaScriptSDK-1.207.260109" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.206.251219"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_8"; +PlayFab.sdkVersion = "1.207.260109"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -748,6 +748,14 @@ PlayFab.ServerApi = { 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); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index cc6e9983..3c41e98f 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2813,6 +2813,7 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" + | "ExperimentationExperimentStopFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f2682b6e..cbeecfb0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -716,6 +716,16 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount */ UnlinkBattleNetAccount(request: PlayFabServerModels.UnlinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Facebook account from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookaccount + */ + UnlinkFacebookAccount(request: PlayFabServerModels.UnlinkFacebookAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Facebook Instant Games identifier from the user's PlayFab account + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookinstantgamesid + */ + UnlinkFacebookInstantGamesId(request: PlayFabServerModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2682,6 +2692,7 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInvalidTrafficAllocation" | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" + | "ExperimentationExperimentStopFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -5413,6 +5424,32 @@ declare module PlayFabServerModels { } + export interface UnlinkFacebookAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** PlayFab unique identifier of the user to unlink. */ + PlayFabId: string; + + } + + export interface UnlinkFacebookAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + + export interface UnlinkFacebookInstantGamesIdRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Facebook Instant Games identifier for the user. If not specified, the most recently linked identifier will be used. */ + FacebookInstantGamesId?: string; + /** PlayFab unique identifier of the user to unlink. */ + PlayFabId: string; + + } + + export interface UnlinkFacebookInstantGamesIdResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From bdaa12c6281db6b95794262b50ab19e74f1b7eec Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 26 Jan 2026 17:01:12 +0000 Subject: [PATCH 241/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260123 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 12 +++------ PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 +++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 26 ++----------------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + .../src/PlayFab/PlayFabAddonApi.js | 8 +++--- .../src/PlayFab/PlayFabAdminApi.js | 8 +++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +++--- .../src/PlayFab/PlayFabClientApi.js | 8 +++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +++--- .../src/PlayFab/PlayFabDataApi.js | 8 +++--- .../src/PlayFab/PlayFabEconomyApi.js | 12 +++------ .../src/PlayFab/PlayFabEventsApi.js | 8 +++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 +++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 +++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 +++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 +++--- .../src/PlayFab/PlayFabServerApi.js | 8 +++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../typings/PlayFab/PlayFabEconomyApi.d.ts | 26 ++----------------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 39 files changed, 137 insertions(+), 185 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 09ae7cf2..4093f19e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.207.260109", + "version": "1.208.260123", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index c41feadd..96b2eabe 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index ccb404b4..e126970a 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index e148095e..9814a7e1 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1dfbab0c..c5452344 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 40fd29e1..8a527812 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 526665e5..b6be7c55 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index a0151024..a6c60c85 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -337,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); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 940a197e..a5f46b24 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 60192a53..88502a83 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 06541b5b..35d46e04 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 63222a8d..72c0605a 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 39a722d6..41122205 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index c6355144..48a1d05c 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4acb5096..0824f31d 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 032b90f2..7e423ec5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index a882480e..2373c790 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.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 3c41e98f..b26931de 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2742,6 +2742,7 @@ declare module PlayFabAdminModels { | "CatalogBadRequest" | "CatalogTooManyRequests" | "InvalidCatalogItemConfiguration" + | "LegacyEconomyDisabled" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index eadb20c0..de9c8dc2 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -157,11 +157,6 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Gets the access tokens. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens - */ - GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than @@ -1459,23 +1454,6 @@ declare module PlayFabEconomyModels { } - export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a - * CollectionsIdKey for the user - */ - CollectionsAccessToken?: string; - /** The date the collections access token expires */ - CollectionsAccessTokenExpirationDate: string; - - } - export interface GetTransactionHistoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; @@ -1862,8 +1840,6 @@ declare module PlayFabEconomyModels { export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; - /** The OneStore Collections Id Key used for AAD authentication. */ - CollectionsIdKey?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ @@ -1967,6 +1943,8 @@ declare module PlayFabEconomyModels { } export interface RedemptionSuccess { + /** The timestamp for when the redeem expired. */ + ExpirationTimestamp?: string; /** The Marketplace Alternate ID being redeemed. */ MarketplaceAlternateId?: string; /** The transaction id in the external marketplace. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index cbeecfb0..85f76d81 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2621,6 +2621,7 @@ declare module PlayFabServerModels { | "CatalogBadRequest" | "CatalogTooManyRequests" | "InvalidCatalogItemConfiguration" + | "LegacyEconomyDisabled" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index c41feadd..96b2eabe 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index ccb404b4..e126970a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index e148095e..9814a7e1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1dfbab0c..c5452344 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 40fd29e1..8a527812 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 526665e5..b6be7c55 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index a0151024..a6c60c85 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -337,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); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 940a197e..a5f46b24 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 60192a53..88502a83 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 06541b5b..35d46e04 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 63222a8d..72c0605a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 39a722d6..41122205 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index c6355144..48a1d05c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4acb5096..0824f31d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 032b90f2..7e423ec5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index a882480e..2373c790 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.207.260109", + sdkVersion: "1.208.260123", requestGetParams: { - sdk: "JavaScriptSDK-1.207.260109" + sdk: "JavaScriptSDK-1.208.260123" }, sessionTicket: 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_8"; -PlayFab.sdkVersion = "1.207.260109"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 3c41e98f..b26931de 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2742,6 +2742,7 @@ declare module PlayFabAdminModels { | "CatalogBadRequest" | "CatalogTooManyRequests" | "InvalidCatalogItemConfiguration" + | "LegacyEconomyDisabled" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index eadb20c0..de9c8dc2 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -157,11 +157,6 @@ declare module PlayFabEconomyModule { * https://docs.microsoft.com/rest/api/playfab/economy/catalog/getitems */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Gets the access tokens. - * https://docs.microsoft.com/rest/api/playfab/economy/inventory/getmicrosoftstoreaccesstokens - */ - GetMicrosoftStoreAccessTokens(request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than @@ -1459,23 +1454,6 @@ declare module PlayFabEconomyModels { } - export interface GetMicrosoftStoreAccessTokensRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - - } - - export interface GetMicrosoftStoreAccessTokensResponse extends PlayFabModule.IPlayFabResultCommon { - /** - * The collections access token for calling https://onestore.microsoft.com/b2b/keys/create/collections to obtain a - * CollectionsIdKey for the user - */ - CollectionsAccessToken?: string; - /** The date the collections access token expires */ - CollectionsAccessTokenExpirationDate: string; - - } - export interface GetTransactionHistoryRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; @@ -1862,8 +1840,6 @@ declare module PlayFabEconomyModels { export interface RedeemMicrosoftStoreInventoryItemsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The id of the entity's collection to perform this action on. (Default="default") */ CollectionId?: string; - /** The OneStore Collections Id Key used for AAD authentication. */ - CollectionsIdKey?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** The entity to perform this action on. */ @@ -1967,6 +1943,8 @@ declare module PlayFabEconomyModels { } export interface RedemptionSuccess { + /** The timestamp for when the redeem expired. */ + ExpirationTimestamp?: string; /** The Marketplace Alternate ID being redeemed. */ MarketplaceAlternateId?: string; /** The transaction id in the external marketplace. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index cbeecfb0..85f76d81 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2621,6 +2621,7 @@ declare module PlayFabServerModels { | "CatalogBadRequest" | "CatalogTooManyRequests" | "InvalidCatalogItemConfiguration" + | "LegacyEconomyDisabled" | "ExportInvalidStatusUpdate" | "ExportInvalidPrefix" | "ExportBlobContainerDoesNotExist" From 962bc1eca47d1b7af8ba6f777865fc6c0ae6cead Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 26 Jan 2026 21:43:41 +0000 Subject: [PATCH 242/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260123 --- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js | 2 +- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 96b2eabe..1bb127c7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index e126970a..db382e7a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9814a7e1..01da20fb 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index c5452344..a42e91b9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 8a527812..5f582823 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index b6be7c55..a07de92b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index a6c60c85..408653c4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index a5f46b24..3701f45b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 88502a83..63b88efc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 35d46e04..db182b44 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 72c0605a..8254c6cc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 41122205..e598bd51 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 48a1d05c..6e99d385 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 0824f31d..a78ebec1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 7e423ec5..b18430fa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 2373c790..ef2bbb9c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 96b2eabe..1bb127c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index e126970a..db382e7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9814a7e1..01da20fb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index c5452344..a42e91b9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 8a527812..5f582823 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index b6be7c55..a07de92b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index a6c60c85..408653c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index a5f46b24..3701f45b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 88502a83..63b88efc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 35d46e04..db182b44 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 72c0605a..8254c6cc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 41122205..e598bd51 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 48a1d05c..6e99d385 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 0824f31d..a78ebec1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 7e423ec5..b18430fa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 2373c790..ef2bbb9c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -223,7 +223,7 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_117"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; PlayFab.sdkVersion = "1.208.260123"; PlayFab.GenerateErrorReport = function (error) { if (error == null) From 616c4ea282f5b9841b55d7fc07c76fef4fc032c6 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 16 Feb 2026 21:32:53 +0000 Subject: [PATCH 243/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260213 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++++++---- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 8 ++++---- .../src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- .../src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- .../src/PlayFab/PlayFabDataApi.js | 8 ++++---- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- .../src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- .../src/PlayFab/PlayFabServerApi.js | 12 ++++++++---- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 19 +++++++++++++++++++ 35 files changed, 175 insertions(+), 129 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 4093f19e..c4d8411d 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.208.260123", + "version": "1.209.260213", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 1bb127c7..bad375a0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index db382e7a..fca9d2d7 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 01da20fb..6ef11348 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index a42e91b9..838fe4c4 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 5f582823..8d5a1d7e 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index a07de92b..3c0782a1 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 408653c4..182624a2 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3701f45b..22056975 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 63b88efc..b6d0c066 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index db182b44..b88cf933 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 8254c6cc..83066ed7 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e598bd51..11c4cf5a 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 6e99d385..6bb7d96f 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index a78ebec1..a4cf82a2 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index b18430fa..d147dc1f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index ef2bbb9c..5f83929e 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.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; 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); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 85f76d81..c116ce31 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -23,6 +23,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid */ AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Adds or updates a contact email to the specified player's profile. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/addorupdatecontactemail + */ + AddOrUpdateContactEmail(request: PlayFabServerModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag @@ -942,6 +947,20 @@ declare module PlayFabServerModels { } + export interface AddOrUpdateContactEmailRequest 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 new contact email to associate with the player. */ + EmailAddress: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 1bb127c7..bad375a0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index db382e7a..fca9d2d7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 01da20fb..6ef11348 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index a42e91b9..838fe4c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 5f582823..8d5a1d7e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index a07de92b..3c0782a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 408653c4..182624a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3701f45b..22056975 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 63b88efc..b6d0c066 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index db182b44..b88cf933 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 8254c6cc..83066ed7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e598bd51..11c4cf5a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 6e99d385..6bb7d96f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index a78ebec1..a4cf82a2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index b18430fa..d147dc1f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index ef2bbb9c..5f83929e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.208.260123", + sdkVersion: "1.209.260213", requestGetParams: { - sdk: "JavaScriptSDK-1.208.260123" + sdk: "JavaScriptSDK-1.209.260213" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.208.260123"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_116"; +PlayFab.sdkVersion = "1.209.260213"; 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); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 85f76d81..c116ce31 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -23,6 +23,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid */ AddGenericID(request: PlayFabServerModels.AddGenericIDRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Adds or updates a contact email to the specified player's profile. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/addorupdatecontactemail + */ + AddOrUpdateContactEmail(request: PlayFabServerModels.AddOrUpdateContactEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag. * https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag @@ -942,6 +947,20 @@ declare module PlayFabServerModels { } + export interface AddOrUpdateContactEmailRequest 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 new contact email to associate with the player. */ + EmailAddress: string; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface AddOrUpdateContactEmailResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface AddPlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From 3b6ea9458a0d739dc5c9e450b6b8e2099a920e02 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 2 Mar 2026 22:23:03 +0000 Subject: [PATCH 244/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260227 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 9 +++++++-- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 1 + PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 9 +++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 1 + 39 files changed, 147 insertions(+), 133 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index c4d8411d..802b957e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.209.260213", + "version": "1.210.260227", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index bad375a0..a004c1aa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index fca9d2d7..61a9ec8c 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 6ef11348..06ea1ffc 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 838fe4c4..1b9577da 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 8d5a1d7e..38cf8084 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 3c0782a1..651278da 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 182624a2..a35e3098 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 22056975..fc9b54cf 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index b6d0c066..2a065ab1 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index b88cf933..d66dcac4 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 83066ed7..b54de6b7 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 11c4cf5a..f666ef70 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 6bb7d96f..d9b08f84 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index a4cf82a2..fc9c868d 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index d147dc1f..b8dd182e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5f83929e..c63911b2 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.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index b26931de..c90c26fb 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3037,6 +3037,7 @@ declare module PlayFabAdminModels { | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" + | "MaxQueryableVersionsExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index a781bd25..c731701c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -547,7 +547,8 @@ declare module PlayFabMultiplayerModels { | "Ddsv4" | "HBv3" | "Ddv5" - | "Ddsv5"; + | "Ddsv5" + | "Ddsv6"; type AzureVmSize = "Standard_A1" @@ -632,7 +633,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ds_v5" | "Standard_D8ds_v5" | "Standard_D16ds_v5" - | "Standard_D32ds_v5"; + | "Standard_D32ds_v5" + | "Standard_D2ds_v6" + | "Standard_D4ds_v6" + | "Standard_D8ds_v6" + | "Standard_D16ds_v6"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index c116ce31..eccd9092 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2935,6 +2935,7 @@ declare module PlayFabServerModels { | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" + | "MaxQueryableVersionsExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index bad375a0..a004c1aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index fca9d2d7..61a9ec8c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 6ef11348..06ea1ffc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 838fe4c4..1b9577da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 8d5a1d7e..38cf8084 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 3c0782a1..651278da 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 182624a2..a35e3098 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 22056975..fc9b54cf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index b6d0c066..2a065ab1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index b88cf933..d66dcac4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 83066ed7..b54de6b7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 11c4cf5a..f666ef70 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 6bb7d96f..d9b08f84 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index a4cf82a2..fc9c868d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index d147dc1f..b8dd182e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5f83929e..c63911b2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.209.260213", + sdkVersion: "1.210.260227", requestGetParams: { - sdk: "JavaScriptSDK-1.209.260213" + sdk: "JavaScriptSDK-1.210.260227" }, sessionTicket: 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_116"; -PlayFab.sdkVersion = "1.209.260213"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.210.260227"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index b26931de..c90c26fb 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3037,6 +3037,7 @@ declare module PlayFabAdminModels { | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" + | "MaxQueryableVersionsExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index a781bd25..c731701c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -547,7 +547,8 @@ declare module PlayFabMultiplayerModels { | "Ddsv4" | "HBv3" | "Ddv5" - | "Ddsv5"; + | "Ddsv5" + | "Ddsv6"; type AzureVmSize = "Standard_A1" @@ -632,7 +633,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ds_v5" | "Standard_D8ds_v5" | "Standard_D16ds_v5" - | "Standard_D32ds_v5"; + | "Standard_D32ds_v5" + | "Standard_D2ds_v6" + | "Standard_D4ds_v6" + | "Standard_D8ds_v6" + | "Standard_D16ds_v6"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index c116ce31..eccd9092 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2935,6 +2935,7 @@ declare module PlayFabServerModels { | "EntityTypeSpecifiedRequiresAggregationSource" | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" + | "MaxQueryableVersionsExceeded" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; From 8653f45d6cb36f28a228cd947c9abf26d3812b9e Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 16 Mar 2026 21:01:01 +0000 Subject: [PATCH 245/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260313 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++++---- PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++- PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts | 6 +++++- PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts | 7 +++++-- PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js | 8 ++++---- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js | 8 ++++---- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js | 8 ++++---- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js | 8 ++++---- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++++---- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js | 8 ++++---- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++++---- PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js | 8 ++++---- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++- .../src/typings/PlayFab/PlayFabMultiplayerApi.d.ts | 6 +++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 7 +++++-- 41 files changed, 159 insertions(+), 139 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 802b957e..d92b76e3 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.210.260227", + "version": "1.211.260313", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index a004c1aa..a2d9d57c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 61a9ec8c..63eae33f 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 06ea1ffc..c40dd4c0 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 1b9577da..28808e74 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 38cf8084..b20c8c27 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 651278da..450eeede 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index a35e3098..20597ded 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index fc9b54cf..0ed64000 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 2a065ab1..f84d9feb 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index d66dcac4..91ea8b0c 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index b54de6b7..733a871b 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index f666ef70..c56dd499 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index d9b08f84..507eb6b4 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index fc9c868d..d92c1aea 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index b8dd182e..277c9c03 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c63911b2..5da70918 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.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index c90c26fb..f8d94c21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2832,7 +2832,7 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentDeprecated" + | "GetPlayersInSegmentRetired" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 1ba31e24..39be01d0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2369,7 +2369,10 @@ declare module PlayFabClientModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: PlayerProfileViewConstraints; - /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + /** + * Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. When provided, all Xbox Live + * users the caller is following are included regardless of whether they follow the caller back. + */ XboxToken?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index c731701c..35291eab 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1611,7 +1611,11 @@ declare module PlayFabMultiplayerModels { OrderBy?: string; /** Request pagination information. */ Pagination?: PaginationRequest; - /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + /** + * Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. Only mutual Xbox Live friends + * (where both users follow each other) are included, unlike GetFriendsList which includes all users the caller is + * following. + */ XboxToken?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index eccd9092..58ce46f3 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2730,7 +2730,7 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentDeprecated" + | "GetPlayersInSegmentRetired" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3131,7 +3131,10 @@ declare module PlayFabServerModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: PlayerProfileViewConstraints; - /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + /** + * Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. When provided, all Xbox Live + * users the caller is following are included regardless of whether they follow the caller back. + */ XboxToken?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index a004c1aa..a2d9d57c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 61a9ec8c..63eae33f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 06ea1ffc..c40dd4c0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 1b9577da..28808e74 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 38cf8084..b20c8c27 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 651278da..450eeede 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index a35e3098..20597ded 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index fc9b54cf..0ed64000 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 2a065ab1..f84d9feb 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index d66dcac4..91ea8b0c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index b54de6b7..733a871b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index f666ef70..c56dd499 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index d9b08f84..507eb6b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index fc9c868d..d92c1aea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index b8dd182e..277c9c03 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c63911b2..5da70918 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.210.260227", + sdkVersion: "1.211.260313", requestGetParams: { - sdk: "JavaScriptSDK-1.210.260227" + sdk: "JavaScriptSDK-1.211.260313" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.210.260227"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.211.260313"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index c90c26fb..f8d94c21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2832,7 +2832,7 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentDeprecated" + | "GetPlayersInSegmentRetired" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 1ba31e24..39be01d0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2369,7 +2369,10 @@ declare module PlayFabClientModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: PlayerProfileViewConstraints; - /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + /** + * Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. When provided, all Xbox Live + * users the caller is following are included regardless of whether they follow the caller back. + */ XboxToken?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index c731701c..35291eab 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -1611,7 +1611,11 @@ declare module PlayFabMultiplayerModels { OrderBy?: string; /** Request pagination information. */ Pagination?: PaginationRequest; - /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + /** + * Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. Only mutual Xbox Live friends + * (where both users follow each other) are included, unlike GetFriendsList which includes all users the caller is + * following. + */ XboxToken?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index eccd9092..58ce46f3 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2730,7 +2730,7 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentDeprecated" + | "GetPlayersInSegmentRetired" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3131,7 +3131,10 @@ declare module PlayFabServerModels { * the Game Manager "Client Profile Options" tab in the "Settings" section. */ ProfileConstraints?: PlayerProfileViewConstraints; - /** Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. */ + /** + * Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab. When provided, all Xbox Live + * users the caller is following are included regardless of whether they follow the caller back. + */ XboxToken?: string; } From 6c528f742aafbd8ac96a7ab6dc24b403a49e411b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 30 Mar 2026 21:05:31 +0000 Subject: [PATCH 246/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260327 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 32 +++++++++++++++---- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 26 +++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 +++ .../src/PlayFab/PlayFabAddonApi.js | 8 ++--- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 32 +++++++++++++++---- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 26 +++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 +++ 39 files changed, 241 insertions(+), 141 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index d92b76e3..138508e4 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.211.260313", + "version": "1.212.260327", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index a2d9d57c..a31e36e4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 63eae33f..4cd15be1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c40dd4c0..ad565247 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 28808e74..8c973e69 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b20c8c27..df3c0304 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 450eeede..e41f3c57 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 20597ded..7c0a649b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 0ed64000..6e5d1a3d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f84d9feb..0d4a0ffd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 91ea8b0c..2c7bd14a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 733a871b..7074aa25 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index c56dd499..e12e7769 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 507eb6b4..7dd6851f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index d92c1aea..0396a3e0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 277c9c03..4aa3ca2b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5da70918..404697d2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f8d94c21..cd2a67b0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2698,6 +2698,7 @@ declare module PlayFabAdminModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2815,6 +2816,8 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -3012,6 +3015,7 @@ declare module PlayFabAdminModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3358,12 +3362,17 @@ declare module PlayFabAdminModels { } export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ + /** + * The name of the policy to read. Only 'ApiPolicy' is supported. This parameter is optional and defaults to 'ApiPolicy' if + * omitted. + */ PolicyName?: string; } export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The UTC date and time when the policy was last updated. Null if the policy has never been customized. */ + LastUpdated?: string; /** The name of the policy read. */ PolicyName?: string; /** Policy version. */ @@ -3999,15 +4008,18 @@ declare module PlayFabAdminModels { } export interface PermissionStatement { - /** The action this statement effects. The only supported action is 'Execute'. */ - Action: string; + /** The action this statement effects. May only be '*'. This parameter is optional and defaults to '*' if omitted. */ + Action?: string; /** Additional conditions to be applied for API Resources. */ ApiConditions?: ApiCondition; /** A comment about the statement. Intended solely for bookkeeping and debugging. */ Comment?: string; /** The effect this statement will have. It could be either Allow or Deny */ Effect: string; - /** The principal this statement will effect. The only supported principal is '*'. */ + /** + * The principal this statement will effect. May be '*' to match all callers, or a JSON object targeting a specific entity + * type, e.g. {"title_player_account":"*"} for players or {"master_player_account":"*"} for master player accounts. + */ Principal: string; /** * The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or @@ -5650,8 +5662,11 @@ declare module PlayFabAdminModels { export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; - /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ - PolicyName: string; + /** + * The name of the policy being updated. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; /** Version of the policy to update. Must be the latest (as returned by GetPolicy). */ PolicyVersion: number; /** The new statements to include in the policy. */ @@ -5664,6 +5679,11 @@ declare module PlayFabAdminModels { PolicyName?: string; /** The statements included in the new version of the policy. */ Statements?: PermissionStatement[]; + /** + * Optional warnings about policy statements that may not have the intended effect. For example, resource paths that don't + * match any known API endpoint. The policy update still succeeds when warnings are present. + */ + Warnings?: string[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index f28ed924..ce708bfc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,6 +140,8 @@ declare module PlayFabProfilesModels { Permissions?: EntityPermissionStatement[]; /** The statistics on this profile. */ Statistics?: { [key: string]: EntityStatisticValue }; + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + StatisticsColumnDetails?: { [key: string]: StatisticColumnCollection }; /** * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic * concurrency during update. @@ -182,6 +184,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -201,6 +205,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** Entity keys of the profiles to load. Must be between 1 and 25 */ Entities: EntityKey[]; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -340,5 +346,25 @@ declare module PlayFabProfilesModels { } + type StatisticAggregationMethod = "Last" + + | "Min" + | "Max" + | "Sum"; + + export interface StatisticColumn { + /** Aggregation method for calculating new value of a statistic. */ + AggregationMethod: string; + /** Name of the statistic column, as originally configured. */ + Name: string; + + } + + export interface StatisticColumnCollection { + /** Columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 58ce46f3..a7b19381 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2596,6 +2596,7 @@ declare module PlayFabServerModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2713,6 +2714,8 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2910,6 +2913,7 @@ declare module PlayFabServerModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index a2d9d57c..a31e36e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 63eae33f..4cd15be1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c40dd4c0..ad565247 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 28808e74..8c973e69 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b20c8c27..df3c0304 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 450eeede..e41f3c57 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 20597ded..7c0a649b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 0ed64000..6e5d1a3d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f84d9feb..0d4a0ffd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 91ea8b0c..2c7bd14a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 733a871b..7074aa25 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index c56dd499..e12e7769 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 507eb6b4..7dd6851f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index d92c1aea..0396a3e0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 277c9c03..4aa3ca2b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5da70918..404697d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f8d94c21..cd2a67b0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2698,6 +2698,7 @@ declare module PlayFabAdminModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2815,6 +2816,8 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -3012,6 +3015,7 @@ declare module PlayFabAdminModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3358,12 +3362,17 @@ declare module PlayFabAdminModels { } export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ + /** + * The name of the policy to read. Only 'ApiPolicy' is supported. This parameter is optional and defaults to 'ApiPolicy' if + * omitted. + */ PolicyName?: string; } export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The UTC date and time when the policy was last updated. Null if the policy has never been customized. */ + LastUpdated?: string; /** The name of the policy read. */ PolicyName?: string; /** Policy version. */ @@ -3999,15 +4008,18 @@ declare module PlayFabAdminModels { } export interface PermissionStatement { - /** The action this statement effects. The only supported action is 'Execute'. */ - Action: string; + /** The action this statement effects. May only be '*'. This parameter is optional and defaults to '*' if omitted. */ + Action?: string; /** Additional conditions to be applied for API Resources. */ ApiConditions?: ApiCondition; /** A comment about the statement. Intended solely for bookkeeping and debugging. */ Comment?: string; /** The effect this statement will have. It could be either Allow or Deny */ Effect: string; - /** The principal this statement will effect. The only supported principal is '*'. */ + /** + * The principal this statement will effect. May be '*' to match all callers, or a JSON object targeting a specific entity + * type, e.g. {"title_player_account":"*"} for players or {"master_player_account":"*"} for master player accounts. + */ Principal: string; /** * The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or @@ -5650,8 +5662,11 @@ declare module PlayFabAdminModels { export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; - /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ - PolicyName: string; + /** + * The name of the policy being updated. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; /** Version of the policy to update. Must be the latest (as returned by GetPolicy). */ PolicyVersion: number; /** The new statements to include in the policy. */ @@ -5664,6 +5679,11 @@ declare module PlayFabAdminModels { PolicyName?: string; /** The statements included in the new version of the policy. */ Statements?: PermissionStatement[]; + /** + * Optional warnings about policy statements that may not have the intended effect. For example, resource paths that don't + * match any known API endpoint. The policy update still succeeds when warnings are present. + */ + Warnings?: string[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index f28ed924..ce708bfc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,6 +140,8 @@ declare module PlayFabProfilesModels { Permissions?: EntityPermissionStatement[]; /** The statistics on this profile. */ Statistics?: { [key: string]: EntityStatisticValue }; + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + StatisticsColumnDetails?: { [key: string]: StatisticColumnCollection }; /** * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic * concurrency during update. @@ -182,6 +184,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -201,6 +205,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** Entity keys of the profiles to load. Must be between 1 and 25 */ Entities: EntityKey[]; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -340,5 +346,25 @@ declare module PlayFabProfilesModels { } + type StatisticAggregationMethod = "Last" + + | "Min" + | "Max" + | "Sum"; + + export interface StatisticColumn { + /** Aggregation method for calculating new value of a statistic. */ + AggregationMethod: string; + /** Name of the statistic column, as originally configured. */ + Name: string; + + } + + export interface StatisticColumnCollection { + /** Columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + + } + } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 58ce46f3..a7b19381 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2596,6 +2596,7 @@ declare module PlayFabServerModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2713,6 +2714,8 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2910,6 +2913,7 @@ declare module PlayFabServerModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 171a0cbd5fc11e9a0a9d36c2d95b9ce46e01eafc Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 13 Apr 2026 21:37:04 +0000 Subject: [PATCH 247/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260410 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 17 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 21 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 219 +++++------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 40 +++- .../PlayFab/PlayFabProgressionApi.d.ts | 7 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 201 ++++------------ .../src/PlayFab/PlayFabAddonApi.js | 6 +- .../src/PlayFab/PlayFabAdminApi.js | 17 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEconomyApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 21 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 219 +++++------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 40 +++- .../PlayFab/PlayFabProgressionApi.d.ts | 7 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 201 ++++------------ 41 files changed, 407 insertions(+), 773 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 138508e4..383f1c0e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.212.260327", + "version": "1.213.260410", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index a31e36e4..afeda721 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 4cd15be1..48b7a41e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -421,13 +421,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Please use ExportPlayersInSegment instead. - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -712,6 +705,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders); }, + ValidateApiPolicy: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ValidateApiPolicy", request, "X-SecretKey", callback, customData, extraHeaders); + }, + }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ad565247..d04e723d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8c973e69..60348061 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index df3c0304..9ad4bb6b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e41f3c57..8d4ed165 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 7c0a649b..f88dfd41 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6e5d1a3d..d296d0ef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 0d4a0ffd..206c46e5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 2c7bd14a..3aa0ec5c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 7074aa25..c556e68e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e12e7769..7c9bd472 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7dd6851f..1f6ac93f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 0396a3e0..430e52f0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 4aa3ca2b..4deac16e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 404697d2..c781c380 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -317,6 +317,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + ExportPlayersInSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetAllSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,13 +401,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -476,6 +473,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentExport: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index cd2a67b0..51c6aa4e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -245,15 +245,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have * a reset interval. @@ -640,6 +631,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Validates the result of a policy update without persisting it. + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/validateapipolicy + */ + ValidateApiPolicy(request: PlayFabAdminModels.ValidateApiPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -717,16 +713,6 @@ declare module PlayFabAdminModels { } - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1120,16 +1106,6 @@ declare module PlayFabAdminModels { | "True" | "False"; - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -2836,6 +2812,8 @@ declare module PlayFabAdminModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3016,6 +2994,7 @@ declare module PlayFabAdminModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3275,42 +3254,6 @@ declare module PlayFabAdminModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; - - } - - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; - - } - export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4053,82 +3996,6 @@ declare module PlayFabAdminModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4218,18 +4085,6 @@ declare module PlayFabAdminModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -4262,6 +4117,23 @@ declare module PlayFabAdminModels { } + export interface PolicyDiffSummary { + /** Number of new statements that would be added. */ + StatementsAdded: number; + /** Number of existing statements that would be removed. Only applicable when OverwritePolicy is true. */ + StatementsRemoved: number; + /** + * Number of existing statements that would be replaced by functionally equivalent incoming statements (e.g., same + * resource/effect/principal but different comment). + */ + StatementsReplaced: number; + /** Number of existing statements that would remain unchanged. */ + StatementsUnchanged: number; + /** Total number of statements in the resulting policy. */ + TotalResultingStatements: number; + + } + export interface PushNotificationContent { /** Text of message to send. */ Message?: string; @@ -4276,14 +4148,6 @@ declare module PlayFabAdminModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -6118,6 +5982,39 @@ declare module PlayFabAdminModels { } + export interface ValidateApiPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether the validation should simulate overwriting or appending to the existing policy. */ + OverwritePolicy: boolean; + /** + * The name of the policy to validate. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; + /** Version of the policy to validate against. Must be the latest (as returned by GetPolicy). */ + PolicyVersion: number; + /** The statements to validate. */ + Statements: PermissionStatement[]; + + } + + export interface ValidateApiPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Summary of what would change compared to the current policy. */ + Diff?: PolicyDiffSummary; + /** Whether the proposed policy is valid and would be accepted by UpdatePolicy. */ + IsValid: boolean; + /** The name of the policy validated. */ + PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; + /** The full set of statements that would result from applying this update. */ + ResultingStatements?: PermissionStatement[]; + /** Validation errors that would cause UpdatePolicy to reject this request. Empty if IsValid is true. */ + ValidationErrors?: string[]; + /** Non-blocking warnings about the proposed policy (e.g., near statement limit, duplicate statements). */ + Warnings?: string[]; + + } + export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 35291eab..3a338922 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -523,7 +523,8 @@ declare module PlayFabMultiplayerModels { | "UkSouth" | "SwedenCentral" | "CanadaCentral" - | "MexicoCentral"; + | "MexicoCentral" + | "WestUs3"; type AzureVmFamily = "A" @@ -548,7 +549,14 @@ declare module PlayFabMultiplayerModels { | "HBv3" | "Ddv5" | "Ddsv5" - | "Ddsv6"; + | "Ddsv6" + | "Fasv6" + | "Fasv7" + | "Fadsv7" + | "Eadsv5" + | "Eadsv6" + | "Eadsv7" + | "Dadsv7"; type AzureVmSize = "Standard_A1" @@ -577,6 +585,18 @@ declare module PlayFabMultiplayerModels { | "Standard_F4s_v2" | "Standard_F8s_v2" | "Standard_F16s_v2" + | "Standard_F2as_v6" + | "Standard_F4as_v6" + | "Standard_F8as_v6" + | "Standard_F16as_v6" + | "Standard_F2as_v7" + | "Standard_F4as_v7" + | "Standard_F8as_v7" + | "Standard_F16as_v7" + | "Standard_F2ads_v7" + | "Standard_F4ads_v7" + | "Standard_F8ads_v7" + | "Standard_F16ads_v7" | "Standard_D2as_v4" | "Standard_D4as_v4" | "Standard_D8as_v4" @@ -593,6 +613,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ads_v6" | "Standard_D8ads_v6" | "Standard_D16ads_v6" + | "Standard_D2ads_v7" + | "Standard_D4ads_v7" + | "Standard_D8ads_v7" + | "Standard_D16ads_v7" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" @@ -601,6 +625,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4as_v4" | "Standard_E8as_v4" | "Standard_E16as_v4" + | "Standard_E2ads_v5" + | "Standard_E4ads_v5" + | "Standard_E8ads_v5" + | "Standard_E16ads_v5" + | "Standard_E2ads_v6" + | "Standard_E4ads_v6" + | "Standard_E8ads_v6" + | "Standard_E16ads_v6" + | "Standard_E2ads_v7" + | "Standard_E4ads_v7" + | "Standard_E8ads_v7" + | "Standard_E16ads_v7" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index eed7301f..00230005 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -696,6 +696,13 @@ declare module PlayFabProgressionModels { } export interface StatisticUpdate { + /** + * A list of entities to which the statistic update must be aggregated to, in addition to the entity being updated. For + * example, for Group stats where the stat value is aggregated based on the group members, this would refer to the Group + * entity. For a community stat that's aggregated at the Title, it is not required to populate this property (Title is the + * default). + */ + AggregationTargetEntityKeys?: EntityKey[]; /** Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. */ Metadata?: string; /** Name of the statistic, as originally configured. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index a7b19381..f56bdc64 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -118,6 +118,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which + * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not + * be reflected in the results. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/exportplayersinsegment + */ + ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. @@ -230,15 +237,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current version and values for the indicated statistics, for the local player. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics @@ -339,6 +337,14 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and + * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls + * from which the files containing the player profile data can be downloaded. Otherwise, it returns the current 'State' of + * the export + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport + */ + GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -888,16 +894,6 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1249,12 +1245,6 @@ declare module PlayFabServerModels { } - type ChurnRiskLevel = "NoData" - - | "LowRisk" - | "MediumRisk" - | "HighRisk"; - type CloudScriptRevisionOption = "Live" | "Latest" @@ -1282,16 +1272,6 @@ declare module PlayFabServerModels { } - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1940,6 +1920,20 @@ declare module PlayFabServerModels { } + export interface ExportPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the requested segment. */ + SegmentId: string; + + } + + export interface ExportPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId?: string; + /** Unique identifier of the requested Segment. */ + SegmentId?: string; + + } + type ExternalFriendSources = "None" | "Steam" @@ -2734,6 +2728,8 @@ declare module PlayFabServerModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -2914,6 +2910,7 @@ declare module PlayFabServerModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3379,39 +3376,17 @@ declare module PlayFabServerModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; + export interface GetPlayersInSegmentExportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId: string; } - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; + export interface GetPlayersInSegmentExportResponse extends PlayFabModule.IPlayFabResultCommon { + /** Url from which the index file can be downloaded. */ + IndexUrl?: string; + /** Shows the current status of the export */ + State?: string; } @@ -4637,82 +4612,6 @@ declare module PlayFabServerModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4802,18 +4701,6 @@ declare module PlayFabServerModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -4872,14 +4759,6 @@ declare module PlayFabServerModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index a31e36e4..afeda721 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 4cd15be1..48b7a41e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -421,13 +421,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Please use ExportPlayersInSegment instead. - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -712,6 +705,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders); }, + ValidateApiPolicy: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ValidateApiPolicy", request, "X-SecretKey", callback, customData, extraHeaders); + }, + }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ad565247..d04e723d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8c973e69..60348061 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index df3c0304..9ad4bb6b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e41f3c57..8d4ed165 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 7c0a649b..f88dfd41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6e5d1a3d..d296d0ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 0d4a0ffd..206c46e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 2c7bd14a..3aa0ec5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 7074aa25..c556e68e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e12e7769..7c9bd472 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7dd6851f..1f6ac93f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 0396a3e0..430e52f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 4aa3ca2b..4deac16e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 404697d2..c781c380 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -317,6 +317,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + ExportPlayersInSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetAllSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,13 +401,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -476,6 +473,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentExport: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index cd2a67b0..51c6aa4e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -245,15 +245,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have * a reset interval. @@ -640,6 +631,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Validates the result of a policy update without persisting it. + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/validateapipolicy + */ + ValidateApiPolicy(request: PlayFabAdminModels.ValidateApiPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -717,16 +713,6 @@ declare module PlayFabAdminModels { } - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1120,16 +1106,6 @@ declare module PlayFabAdminModels { | "True" | "False"; - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -2836,6 +2812,8 @@ declare module PlayFabAdminModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3016,6 +2994,7 @@ declare module PlayFabAdminModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3275,42 +3254,6 @@ declare module PlayFabAdminModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; - - } - - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; - - } - export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4053,82 +3996,6 @@ declare module PlayFabAdminModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4218,18 +4085,6 @@ declare module PlayFabAdminModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -4262,6 +4117,23 @@ declare module PlayFabAdminModels { } + export interface PolicyDiffSummary { + /** Number of new statements that would be added. */ + StatementsAdded: number; + /** Number of existing statements that would be removed. Only applicable when OverwritePolicy is true. */ + StatementsRemoved: number; + /** + * Number of existing statements that would be replaced by functionally equivalent incoming statements (e.g., same + * resource/effect/principal but different comment). + */ + StatementsReplaced: number; + /** Number of existing statements that would remain unchanged. */ + StatementsUnchanged: number; + /** Total number of statements in the resulting policy. */ + TotalResultingStatements: number; + + } + export interface PushNotificationContent { /** Text of message to send. */ Message?: string; @@ -4276,14 +4148,6 @@ declare module PlayFabAdminModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -6118,6 +5982,39 @@ declare module PlayFabAdminModels { } + export interface ValidateApiPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether the validation should simulate overwriting or appending to the existing policy. */ + OverwritePolicy: boolean; + /** + * The name of the policy to validate. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; + /** Version of the policy to validate against. Must be the latest (as returned by GetPolicy). */ + PolicyVersion: number; + /** The statements to validate. */ + Statements: PermissionStatement[]; + + } + + export interface ValidateApiPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Summary of what would change compared to the current policy. */ + Diff?: PolicyDiffSummary; + /** Whether the proposed policy is valid and would be accepted by UpdatePolicy. */ + IsValid: boolean; + /** The name of the policy validated. */ + PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; + /** The full set of statements that would result from applying this update. */ + ResultingStatements?: PermissionStatement[]; + /** Validation errors that would cause UpdatePolicy to reject this request. Empty if IsValid is true. */ + ValidationErrors?: string[]; + /** Non-blocking warnings about the proposed policy (e.g., near statement limit, duplicate statements). */ + Warnings?: string[]; + + } + export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 35291eab..3a338922 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -523,7 +523,8 @@ declare module PlayFabMultiplayerModels { | "UkSouth" | "SwedenCentral" | "CanadaCentral" - | "MexicoCentral"; + | "MexicoCentral" + | "WestUs3"; type AzureVmFamily = "A" @@ -548,7 +549,14 @@ declare module PlayFabMultiplayerModels { | "HBv3" | "Ddv5" | "Ddsv5" - | "Ddsv6"; + | "Ddsv6" + | "Fasv6" + | "Fasv7" + | "Fadsv7" + | "Eadsv5" + | "Eadsv6" + | "Eadsv7" + | "Dadsv7"; type AzureVmSize = "Standard_A1" @@ -577,6 +585,18 @@ declare module PlayFabMultiplayerModels { | "Standard_F4s_v2" | "Standard_F8s_v2" | "Standard_F16s_v2" + | "Standard_F2as_v6" + | "Standard_F4as_v6" + | "Standard_F8as_v6" + | "Standard_F16as_v6" + | "Standard_F2as_v7" + | "Standard_F4as_v7" + | "Standard_F8as_v7" + | "Standard_F16as_v7" + | "Standard_F2ads_v7" + | "Standard_F4ads_v7" + | "Standard_F8ads_v7" + | "Standard_F16ads_v7" | "Standard_D2as_v4" | "Standard_D4as_v4" | "Standard_D8as_v4" @@ -593,6 +613,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ads_v6" | "Standard_D8ads_v6" | "Standard_D16ads_v6" + | "Standard_D2ads_v7" + | "Standard_D4ads_v7" + | "Standard_D8ads_v7" + | "Standard_D16ads_v7" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" @@ -601,6 +625,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4as_v4" | "Standard_E8as_v4" | "Standard_E16as_v4" + | "Standard_E2ads_v5" + | "Standard_E4ads_v5" + | "Standard_E8ads_v5" + | "Standard_E16ads_v5" + | "Standard_E2ads_v6" + | "Standard_E4ads_v6" + | "Standard_E8ads_v6" + | "Standard_E16ads_v6" + | "Standard_E2ads_v7" + | "Standard_E4ads_v7" + | "Standard_E8ads_v7" + | "Standard_E16ads_v7" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index eed7301f..00230005 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -696,6 +696,13 @@ declare module PlayFabProgressionModels { } export interface StatisticUpdate { + /** + * A list of entities to which the statistic update must be aggregated to, in addition to the entity being updated. For + * example, for Group stats where the stat value is aggregated based on the group members, this would refer to the Group + * entity. For a community stat that's aggregated at the Title, it is not required to populate this property (Title is the + * default). + */ + AggregationTargetEntityKeys?: EntityKey[]; /** Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. */ Metadata?: string; /** Name of the statistic, as originally configured. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index a7b19381..f56bdc64 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -118,6 +118,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which + * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not + * be reflected in the results. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/exportplayersinsegment + */ + ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. @@ -230,15 +237,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current version and values for the indicated statistics, for the local player. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics @@ -339,6 +337,14 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and + * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls + * from which the files containing the player profile data can be downloaded. Otherwise, it returns the current 'State' of + * the export + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport + */ + GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -888,16 +894,6 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1249,12 +1245,6 @@ declare module PlayFabServerModels { } - type ChurnRiskLevel = "NoData" - - | "LowRisk" - | "MediumRisk" - | "HighRisk"; - type CloudScriptRevisionOption = "Live" | "Latest" @@ -1282,16 +1272,6 @@ declare module PlayFabServerModels { } - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1940,6 +1920,20 @@ declare module PlayFabServerModels { } + export interface ExportPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the requested segment. */ + SegmentId: string; + + } + + export interface ExportPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId?: string; + /** Unique identifier of the requested Segment. */ + SegmentId?: string; + + } + type ExternalFriendSources = "None" | "Steam" @@ -2734,6 +2728,8 @@ declare module PlayFabServerModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -2914,6 +2910,7 @@ declare module PlayFabServerModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3379,39 +3376,17 @@ declare module PlayFabServerModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; + export interface GetPlayersInSegmentExportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId: string; } - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; + export interface GetPlayersInSegmentExportResponse extends PlayFabModule.IPlayFabResultCommon { + /** Url from which the index file can be downloaded. */ + IndexUrl?: string; + /** Shows the current status of the export */ + State?: string; } @@ -4637,82 +4612,6 @@ declare module PlayFabServerModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4802,18 +4701,6 @@ declare module PlayFabServerModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -4872,14 +4759,6 @@ declare module PlayFabServerModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; From f45ec5549abb482a82f317f149a5dddc50036a39 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 14 May 2026 21:12:39 +0000 Subject: [PATCH 248/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260512 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +-- .../src/PlayFab/PlayFabProgressionApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 14 +++++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 37 ++++++++++++++----- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 12 ++++-- .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 14 ++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 +++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 35 ++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 6 +-- .../src/PlayFab/PlayFabAdminApi.js | 6 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- .../src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- .../src/PlayFab/PlayFabDataApi.js | 6 +-- .../src/PlayFab/PlayFabEconomyApi.js | 6 +-- .../src/PlayFab/PlayFabEventsApi.js | 6 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +-- .../src/PlayFab/PlayFabGroupsApi.js | 6 +-- .../src/PlayFab/PlayFabInsightsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- .../src/PlayFab/PlayFabProfilesApi.js | 6 +-- .../src/PlayFab/PlayFabProgressionApi.js | 6 +-- .../src/PlayFab/PlayFabServerApi.js | 14 +++++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabDataApi.d.ts | 37 ++++++++++++++----- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 12 ++++-- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 14 ++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 +++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 35 ++++++++++++++++++ 45 files changed, 283 insertions(+), 145 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 383f1c0e..03e6709c 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.213.260410", + "version": "1.215.260512", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index afeda721..1d694fe1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 48b7a41e..7fb0aabf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d04e723d..775372e3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 60348061..383841d8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 9ad4bb6b..0510adaf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 8d4ed165..1c1130a1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index f88dfd41..ca702f1a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d296d0ef..e77d0547 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 206c46e5..15584165 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3aa0ec5c..3782285a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c556e68e..4c57b05e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7c9bd472..f82408f9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1f6ac93f..fa68ff09 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 430e52f0..86a2d2f6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 4deac16e..8a5f3252 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c781c380..1ebfec4e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -749,6 +749,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkApple", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -761,6 +765,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkFacebookInstantGamesId", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkGameCenterAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 51c6aa4e..590ae405 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3021,6 +3021,7 @@ declare module PlayFabAdminModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index ec9909ef..287d8c21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -52,8 +52,11 @@ declare module PlayFabDataModels { /** Names of the files to have their pending uploads aborted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API or other APIs, you can ensure that the file upload abort operation is performed only if the + * profile has not been updated since you last loaded that version. If the profile for the same entity has been updated, + * the operation will fail with an EntityProfileVersionMismatch error. The conflicting update can be caused by any + * operation that modifies the entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -75,8 +78,11 @@ declare module PlayFabDataModels { /** Names of the files to be deleted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file deletion is performed only if the profile has not been updated + * since you last loaded that version. If the profile for the same entity has been updated, the operation will fail with an + * EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the entity + * profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -105,7 +111,13 @@ declare module PlayFabDataModels { Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; - /** The current version of the profile, can be used for concurrency control during updates. */ + /** + * Field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API, you can ensure that the file upload finalization is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. + */ ProfileVersion: number; } @@ -191,8 +203,11 @@ declare module PlayFabDataModels { /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file upload initiation is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -258,9 +273,11 @@ declare module PlayFabDataModels { /** The entity to perform this action on. */ Entity: EntityKey; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from - * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetObjects API or other APIs, you can ensure that the object update is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ExpectedProfileVersion?: number; /** Collection of objects to set on the profile. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index de9c8dc2..733020c5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -158,9 +158,10 @@ declare module PlayFabEconomyModule { */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to - * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. + * Get transaction history for a player. Up to 50 Events can be returned at once (or 250 with response compression + * enabled). You can use continuation tokens to paginate through results that return greater than the limit. Getting + * transaction history has a lower RPS limit than getting a Player's inventory with Player Entities having a limit of 30 + * requests in 300 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -1459,7 +1460,10 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. This value is optional. The default value is 10 */ + /** + * Number of items to retrieve. This value is optional. The default value is 10. The maximum value is 50, or 250 if + * response compression is enabled. + */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 16f98aba..2ef182c1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -600,9 +600,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group data update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ @@ -628,9 +629,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group role update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 3a338922..d2ff0a24 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -759,7 +759,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose tickets should be canceled. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue from which a player's tickets should be canceled. */ QueueName: string; @@ -773,7 +773,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose backfill tickets should be canceled. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue from which a player's backfill tickets should be canceled. */ QueueName: string; @@ -2524,7 +2524,7 @@ declare module PlayFabMultiplayerModels { export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue to find a match for. */ QueueName: string; @@ -2623,7 +2623,7 @@ declare module PlayFabMultiplayerModels { export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue the tickets are in. */ QueueName: string; @@ -3177,6 +3177,8 @@ declare module PlayFabMultiplayerModels { InvitationId?: string; /** The guid string party ID of the party session. */ PartyId?: string; + /** The region the party session is located in. */ + Region?: string; /** A base-64 encoded string containing the serialized network descriptor for this party. */ SerializedNetworkDescriptor?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f56bdc64..0a2e059c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -722,6 +722,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Apple account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkapple + */ + UnlinkApple(request: PlayFabServerModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Battle.net account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount @@ -737,6 +742,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookinstantgamesid */ UnlinkFacebookInstantGamesId(request: PlayFabServerModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Game Center account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkgamecenteraccount + */ + UnlinkGameCenterAccount(request: PlayFabServerModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2937,6 +2947,7 @@ declare module PlayFabServerModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; @@ -5323,6 +5334,18 @@ declare module PlayFabServerModels { } + export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkAppleResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5357,6 +5380,18 @@ declare module PlayFabServerModels { } + export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index afeda721..1d694fe1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 48b7a41e..7fb0aabf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d04e723d..775372e3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 60348061..383841d8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 9ad4bb6b..0510adaf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 8d4ed165..1c1130a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index f88dfd41..ca702f1a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d296d0ef..e77d0547 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 206c46e5..15584165 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3aa0ec5c..3782285a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c556e68e..4c57b05e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7c9bd472..f82408f9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1f6ac93f..fa68ff09 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 430e52f0..86a2d2f6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 4deac16e..8a5f3252 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c781c380..1ebfec4e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -749,6 +749,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkApple", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -761,6 +765,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkFacebookInstantGamesId", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkGameCenterAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 51c6aa4e..590ae405 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3021,6 +3021,7 @@ declare module PlayFabAdminModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index ec9909ef..287d8c21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -52,8 +52,11 @@ declare module PlayFabDataModels { /** Names of the files to have their pending uploads aborted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API or other APIs, you can ensure that the file upload abort operation is performed only if the + * profile has not been updated since you last loaded that version. If the profile for the same entity has been updated, + * the operation will fail with an EntityProfileVersionMismatch error. The conflicting update can be caused by any + * operation that modifies the entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -75,8 +78,11 @@ declare module PlayFabDataModels { /** Names of the files to be deleted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file deletion is performed only if the profile has not been updated + * since you last loaded that version. If the profile for the same entity has been updated, the operation will fail with an + * EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the entity + * profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -105,7 +111,13 @@ declare module PlayFabDataModels { Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; - /** The current version of the profile, can be used for concurrency control during updates. */ + /** + * Field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API, you can ensure that the file upload finalization is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. + */ ProfileVersion: number; } @@ -191,8 +203,11 @@ declare module PlayFabDataModels { /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file upload initiation is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -258,9 +273,11 @@ declare module PlayFabDataModels { /** The entity to perform this action on. */ Entity: EntityKey; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from - * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetObjects API or other APIs, you can ensure that the object update is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ExpectedProfileVersion?: number; /** Collection of objects to set on the profile. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index de9c8dc2..733020c5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -158,9 +158,10 @@ declare module PlayFabEconomyModule { */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to - * paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - * getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. + * Get transaction history for a player. Up to 50 Events can be returned at once (or 250 with response compression + * enabled). You can use continuation tokens to paginate through results that return greater than the limit. Getting + * transaction history has a lower RPS limit than getting a Player's inventory with Player Entities having a limit of 30 + * requests in 300 seconds. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -1459,7 +1460,10 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. This value is optional. The default value is 10 */ + /** + * Number of items to retrieve. This value is optional. The default value is 10. The maximum value is 50, or 250 if + * response compression is enabled. + */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 16f98aba..2ef182c1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -600,9 +600,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group data update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ @@ -628,9 +629,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group role update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 3a338922..d2ff0a24 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -759,7 +759,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose tickets should be canceled. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue from which a player's tickets should be canceled. */ QueueName: string; @@ -773,7 +773,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose backfill tickets should be canceled. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue from which a player's backfill tickets should be canceled. */ QueueName: string; @@ -2524,7 +2524,7 @@ declare module PlayFabMultiplayerModels { export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue to find a match for. */ QueueName: string; @@ -2623,7 +2623,7 @@ declare module PlayFabMultiplayerModels { export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue the tickets are in. */ QueueName: string; @@ -3177,6 +3177,8 @@ declare module PlayFabMultiplayerModels { InvitationId?: string; /** The guid string party ID of the party session. */ PartyId?: string; + /** The region the party session is located in. */ + Region?: string; /** A base-64 encoded string containing the serialized network descriptor for this party. */ SerializedNetworkDescriptor?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f56bdc64..0a2e059c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -722,6 +722,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Apple account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkapple + */ + UnlinkApple(request: PlayFabServerModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Battle.net account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount @@ -737,6 +742,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookinstantgamesid */ UnlinkFacebookInstantGamesId(request: PlayFabServerModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Game Center account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkgamecenteraccount + */ + UnlinkGameCenterAccount(request: PlayFabServerModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2937,6 +2947,7 @@ declare module PlayFabServerModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; @@ -5323,6 +5334,18 @@ declare module PlayFabServerModels { } + export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkAppleResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5357,6 +5380,18 @@ declare module PlayFabServerModels { } + export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From ef1d4d55a13e213e4ff4d574f50f605ade88ccf8 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 27 May 2026 20:39:52 +0000 Subject: [PATCH 249/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260526 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 12 ++++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 4 +++ .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 32 ++++++++++++++++--- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++++++++--- .../src/PlayFab/PlayFabAddonApi.js | 8 ++--- .../src/PlayFab/PlayFabAdminApi.js | 12 ++++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 4 +++ .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 32 ++++++++++++++++--- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++++++++--- 39 files changed, 245 insertions(+), 149 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 03e6709c..e6728216 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.215.260512", + "version": "1.216.260526", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 1d694fe1..588e29ee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 7fb0aabf..6b9fd704 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 775372e3..9f4835aa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 383841d8..af9c8f98 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0510adaf..01f4af6c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 1c1130a1..9a531c93 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index ca702f1a..9324b47c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index e77d0547..6751c191 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 15584165..576296b6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3782285a..075c63a3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 4c57b05e..c6df6f78 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index f82408f9..54c0b289 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index fa68ff09..69ec7d0d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 86a2d2f6..4940164a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 8a5f3252..7b75ceb4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1ebfec4e..5fff049c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -477,6 +477,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index 813f6c85..d8d47bd6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -303,6 +303,8 @@ declare module PlayFabAddonModels { Environments?: NintendoEnvironment[]; /** If an error should be returned if the addon already exists. */ ErrorIfExists?: boolean; + /** List of Nintendo Subscription Environments, currently supporting up to 4. Needs Catalog enabled. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } @@ -639,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments, currently supporting up to 4. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 590ae405..ac9ca0c9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -172,7 +172,8 @@ declare module PlayFabAdminModule { GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -285,6 +286,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabAdminModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get detail information of a segment and its associated definition(s) and action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments @@ -784,6 +790,8 @@ declare module PlayFabAdminModels { Body: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Optional status for the new news item. If not set, defaults to Published. */ + Status?: string; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; /** Default title (headline) of the news item. */ @@ -2552,7 +2560,6 @@ declare module PlayFabAdminModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2811,7 +2818,6 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2889,8 +2895,6 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3350,6 +3354,18 @@ declare module PlayFabAdminModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -3921,6 +3937,12 @@ declare module PlayFabAdminModels { } + type NewsStatus = "None" + + | "Unpublished" + | "Published" + | "Archived"; + export interface OpenIdConnection { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 0a2e059c..e9a22a2e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -127,7 +127,8 @@ declare module PlayFabServerModule { ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -345,6 +346,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabServerModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -2478,7 +2484,6 @@ declare module PlayFabServerModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2737,7 +2742,6 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2815,8 +2819,6 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3694,6 +3696,18 @@ declare module PlayFabServerModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 1d694fe1..588e29ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 7fb0aabf..6b9fd704 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 775372e3..9f4835aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 383841d8..af9c8f98 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0510adaf..01f4af6c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 1c1130a1..9a531c93 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index ca702f1a..9324b47c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index e77d0547..6751c191 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 15584165..576296b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3782285a..075c63a3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 4c57b05e..c6df6f78 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index f82408f9..54c0b289 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index fa68ff09..69ec7d0d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 86a2d2f6..4940164a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 8a5f3252..7b75ceb4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1ebfec4e..5fff049c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -477,6 +477,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index 813f6c85..d8d47bd6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -303,6 +303,8 @@ declare module PlayFabAddonModels { Environments?: NintendoEnvironment[]; /** If an error should be returned if the addon already exists. */ ErrorIfExists?: boolean; + /** List of Nintendo Subscription Environments, currently supporting up to 4. Needs Catalog enabled. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } @@ -639,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments, currently supporting up to 4. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 590ae405..ac9ca0c9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -172,7 +172,8 @@ declare module PlayFabAdminModule { GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -285,6 +286,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabAdminModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get detail information of a segment and its associated definition(s) and action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments @@ -784,6 +790,8 @@ declare module PlayFabAdminModels { Body: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Optional status for the new news item. If not set, defaults to Published. */ + Status?: string; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; /** Default title (headline) of the news item. */ @@ -2552,7 +2560,6 @@ declare module PlayFabAdminModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2811,7 +2818,6 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2889,8 +2895,6 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3350,6 +3354,18 @@ declare module PlayFabAdminModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -3921,6 +3937,12 @@ declare module PlayFabAdminModels { } + type NewsStatus = "None" + + | "Unpublished" + | "Published" + | "Archived"; + export interface OpenIdConnection { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 0a2e059c..e9a22a2e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -127,7 +127,8 @@ declare module PlayFabServerModule { ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -345,6 +346,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabServerModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -2478,7 +2484,6 @@ declare module PlayFabServerModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2737,7 +2742,6 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2815,8 +2819,6 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3694,6 +3696,18 @@ declare module PlayFabServerModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; From b7fefec287bfd820df5f0627d8ce14c5232f2377 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 9 Jun 2026 17:47:08 +0000 Subject: [PATCH 250/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260605 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 80 +++++++++---------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++- .../src/PlayFab/PlayFabAddonApi.js | 8 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 12 ++- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 80 +++++++++---------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++- 41 files changed, 267 insertions(+), 215 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e6728216..b104c0fb 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.216.260526", + "version": "1.217.260605", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 588e29ee..0680fa3e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6b9fd704..5b4f9aef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9f4835aa..9ec5b672 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index af9c8f98..d079ce97 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 01f4af6c..950a2bf7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9a531c93..9b7aebbc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 9324b47c..f0d972c4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6751c191..3e2f69e6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 576296b6..83c1e8f5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 075c63a3..a7bc069a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c6df6f78..82e192c3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 54c0b289..4d6e370f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 69ec7d0d..5296503e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4940164a..4458cc60 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 7b75ceb4..18a54ef9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5fff049c..b57d0ebd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromServerCustomIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromServerCustomIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index d8d47bd6..0abfa783 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -641,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments associated to a secondary AppId, currently supporting up to 4. */ + SecondarySubscriptionEnvironments?: NintendoEnvironment[]; /** List of Nintendo Subscription Environments, currently supporting up to 4. */ SubscriptionEnvironments?: NintendoEnvironment[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index ac9ca0c9..8a96312d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -5064,7 +5064,7 @@ declare module PlayFabAdminModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 39be01d0..3819a54d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3669,13 +3669,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3690,7 +3690,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization @@ -3700,7 +3700,7 @@ declare module PlayFabClientModels { IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3715,13 +3715,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web Token (JWT) returned by Battle.net after login */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3738,11 +3738,11 @@ declare module PlayFabClientModels { CustomId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3774,13 +3774,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3799,11 +3799,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3818,13 +3818,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Unique Game Center player id. */ PlayerId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The URL for the public encryption key that will be used to verify the signature. */ PublicKeyUrl?: string; @@ -3850,11 +3850,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() @@ -3876,11 +3876,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() @@ -3904,13 +3904,13 @@ declare module PlayFabClientModels { DeviceId?: string; /** Specific model of the user's device. */ DeviceModel?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3927,13 +3927,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3948,13 +3948,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3969,13 +3969,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3992,7 +3992,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the @@ -4001,7 +4001,7 @@ declare module PlayFabClientModels { IdToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4035,13 +4035,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri?: string; @@ -4058,11 +4058,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte @@ -4089,11 +4089,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4108,11 +4108,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4541,13 +4541,13 @@ declare module PlayFabClientModels { DisplayName?: string; /** User email address attached to their account */ Email?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Password for the PlayFab account (6-100 characters) */ Password?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * An optional parameter that specifies whether both the username and email parameters are required. If true, both @@ -4745,9 +4745,9 @@ declare module PlayFabClientModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e9a22a2e..47884a40 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -302,6 +302,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnonlineids */ GetPlayFabIDsFromPSNOnlineIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNOnlineIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the associated PlayFab account identifiers for the given set of server custom player identifiers. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromservercustomids + */ + GetPlayFabIDsFromServerCustomIDs(request: PlayFabServerModels.GetPlayFabIDsFromServerCustomIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile * IDs for the user accounts, available as SteamId in the Steamworks Community API calls. @@ -3605,6 +3610,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromServerCustomIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique server custom player identifiers for which the title needs to get PlayFab identifiers. Cannot contain + * more than 25 identifiers. + */ + ServerCustomIds: string[]; + + } + + export interface GetPlayFabIDsFromServerCustomIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of server custom identifiers to PlayFab identifiers. */ + Data?: ServerCustomIDPlayFabIDPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4414,7 +4434,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The backend server identifier for this player. */ ServerCustomId: string; @@ -5107,7 +5127,7 @@ declare module PlayFabServerModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 588e29ee..0680fa3e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6b9fd704..5b4f9aef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9f4835aa..9ec5b672 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index af9c8f98..d079ce97 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 01f4af6c..950a2bf7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9a531c93..9b7aebbc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 9324b47c..f0d972c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6751c191..3e2f69e6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 576296b6..83c1e8f5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 075c63a3..a7bc069a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c6df6f78..82e192c3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 54c0b289..4d6e370f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 69ec7d0d..5296503e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4940164a..4458cc60 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 7b75ceb4..18a54ef9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5fff049c..b57d0ebd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromServerCustomIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromServerCustomIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index d8d47bd6..0abfa783 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -641,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments associated to a secondary AppId, currently supporting up to 4. */ + SecondarySubscriptionEnvironments?: NintendoEnvironment[]; /** List of Nintendo Subscription Environments, currently supporting up to 4. */ SubscriptionEnvironments?: NintendoEnvironment[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ac9ca0c9..8a96312d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -5064,7 +5064,7 @@ declare module PlayFabAdminModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 39be01d0..3819a54d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3669,13 +3669,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3690,7 +3690,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization @@ -3700,7 +3700,7 @@ declare module PlayFabClientModels { IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3715,13 +3715,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web Token (JWT) returned by Battle.net after login */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3738,11 +3738,11 @@ declare module PlayFabClientModels { CustomId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3774,13 +3774,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3799,11 +3799,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3818,13 +3818,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Unique Game Center player id. */ PlayerId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The URL for the public encryption key that will be used to verify the signature. */ PublicKeyUrl?: string; @@ -3850,11 +3850,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() @@ -3876,11 +3876,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() @@ -3904,13 +3904,13 @@ declare module PlayFabClientModels { DeviceId?: string; /** Specific model of the user's device. */ DeviceModel?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3927,13 +3927,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3948,13 +3948,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3969,13 +3969,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3992,7 +3992,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the @@ -4001,7 +4001,7 @@ declare module PlayFabClientModels { IdToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4035,13 +4035,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri?: string; @@ -4058,11 +4058,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte @@ -4089,11 +4089,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4108,11 +4108,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4541,13 +4541,13 @@ declare module PlayFabClientModels { DisplayName?: string; /** User email address attached to their account */ Email?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Password for the PlayFab account (6-100 characters) */ Password?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * An optional parameter that specifies whether both the username and email parameters are required. If true, both @@ -4745,9 +4745,9 @@ declare module PlayFabClientModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e9a22a2e..47884a40 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -302,6 +302,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnonlineids */ GetPlayFabIDsFromPSNOnlineIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNOnlineIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the associated PlayFab account identifiers for the given set of server custom player identifiers. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromservercustomids + */ + GetPlayFabIDsFromServerCustomIDs(request: PlayFabServerModels.GetPlayFabIDsFromServerCustomIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile * IDs for the user accounts, available as SteamId in the Steamworks Community API calls. @@ -3605,6 +3610,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromServerCustomIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique server custom player identifiers for which the title needs to get PlayFab identifiers. Cannot contain + * more than 25 identifiers. + */ + ServerCustomIds: string[]; + + } + + export interface GetPlayFabIDsFromServerCustomIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of server custom identifiers to PlayFab identifiers. */ + Data?: ServerCustomIDPlayFabIDPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4414,7 +4434,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The backend server identifier for this player. */ ServerCustomId: string; @@ -5107,7 +5127,7 @@ declare module PlayFabServerModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; From 8232f090109956170395e44666edf70b40e7ceee Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 23 Jun 2026 19:07:33 +0000 Subject: [PATCH 251/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260619 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 10 +++++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 19 +++++++++++++++ .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 -- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++++++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++ .../src/PlayFab/PlayFabAddonApi.js | 10 +++++--- .../src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- .../src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- .../src/PlayFab/PlayFabDataApi.js | 6 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 6 ++--- .../src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 6 ++--- .../src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 19 +++++++++++++++ .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 -- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++ 43 files changed, 207 insertions(+), 105 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b104c0fb..5976eecf 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.217.260605", + "version": "1.218.260619", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 0680fa3e..ad4567c9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AddonApi = { PlayFab._internalSettings.entityToken = null; }, + ConfigurePSNEventStreams: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/ConfigurePSNEventStreams", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateOrUpdateApple: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5b4f9aef..20e6e5d4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9ec5b672..9c42a567 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d079ce97..ccc2ad23 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 950a2bf7..625b4095 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9b7aebbc..4ebf97e7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index f0d972c4..5334b34c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3e2f69e6..f619e7bd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 83c1e8f5..33be3fb8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a7bc069a..fd681646 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 82e192c3..05227718 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4d6e370f..0a28b7c7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5296503e..5e694759 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4458cc60..4dfca0d2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 18a54ef9..d9a8e9ae 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b57d0ebd..0fa96684 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index 0abfa783..6ec1a36a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAddonModule { export interface IPlayFabAddon { ForgetAllCredentials(): void; + /** + * Configures PSN event streams for an existing PSN addon on a title, without requiring a full addon upsert. + * https://docs.microsoft.com/rest/api/playfab/addon/addon/configurepsneventstreams + */ + ConfigurePSNEventStreams(request: PlayFabAddonModels.ConfigurePSNEventStreamsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates the Apple addon on a title, or updates it if it already exists. * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple @@ -159,6 +164,20 @@ declare module PlayFabAddonModule { } declare module PlayFabAddonModels { + export interface ConfigurePSNEventStreamsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ + Entity?: EntityKey; + /** Title name obtained after setting a back server for PS5. Used for clawback event listeners. */ + TitleName?: string; + + } + + export interface ConfigurePSNEventStreamsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon { /** Allow validation of receipts from the Apple production environment. Required for app releases. */ AllowProduction?: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 58381549..6730e3dc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -98,8 +98,6 @@ declare module PlayFabAuthenticationModels { export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ - Entity?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 3819a54d..76e82a72 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2363,6 +2363,11 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index d2ff0a24..90781b89 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -541,6 +541,9 @@ declare module PlayFabMultiplayerModels { | "Easv4" | "Ev4" | "Esv4" + | "Edsv4" + | "Edsv5" + | "Edsv6" | "Dsv3" | "Dsv2" | "NCasT4_v3" @@ -556,7 +559,8 @@ declare module PlayFabMultiplayerModels { | "Eadsv5" | "Eadsv6" | "Eadsv7" - | "Dadsv7"; + | "Dadsv7" + | "Dpdsv6"; type AzureVmSize = "Standard_A1" @@ -637,6 +641,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4ads_v7" | "Standard_E8ads_v7" | "Standard_E16ads_v7" + | "Standard_E2ds_v4" + | "Standard_E4ds_v4" + | "Standard_E8ds_v4" + | "Standard_E16ds_v4" + | "Standard_E2ds_v5" + | "Standard_E4ds_v5" + | "Standard_E8ds_v5" + | "Standard_E16ds_v5" + | "Standard_E2ds_v6" + | "Standard_E4ds_v6" + | "Standard_E8ds_v6" + | "Standard_E16ds_v6" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" @@ -673,7 +689,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D2ds_v6" | "Standard_D4ds_v6" | "Standard_D8ds_v6" - | "Standard_D16ds_v6"; + | "Standard_D16ds_v6" + | "Standard_D2pds_v6" + | "Standard_D4pds_v6" + | "Standard_D8pds_v6" + | "Standard_D16pds_v6"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 47884a40..2a04517a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3142,6 +3142,11 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 0680fa3e..ad4567c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AddonApi = { PlayFab._internalSettings.entityToken = null; }, + ConfigurePSNEventStreams: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/ConfigurePSNEventStreams", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateOrUpdateApple: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5b4f9aef..20e6e5d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9ec5b672..9c42a567 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d079ce97..ccc2ad23 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 950a2bf7..625b4095 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9b7aebbc..4ebf97e7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index f0d972c4..5334b34c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3e2f69e6..f619e7bd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 83c1e8f5..33be3fb8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a7bc069a..fd681646 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 82e192c3..05227718 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4d6e370f..0a28b7c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5296503e..5e694759 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4458cc60..4dfca0d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 18a54ef9..d9a8e9ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b57d0ebd..0fa96684 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index 0abfa783..6ec1a36a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAddonModule { export interface IPlayFabAddon { ForgetAllCredentials(): void; + /** + * Configures PSN event streams for an existing PSN addon on a title, without requiring a full addon upsert. + * https://docs.microsoft.com/rest/api/playfab/addon/addon/configurepsneventstreams + */ + ConfigurePSNEventStreams(request: PlayFabAddonModels.ConfigurePSNEventStreamsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates the Apple addon on a title, or updates it if it already exists. * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple @@ -159,6 +164,20 @@ declare module PlayFabAddonModule { } declare module PlayFabAddonModels { + export interface ConfigurePSNEventStreamsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ + Entity?: EntityKey; + /** Title name obtained after setting a back server for PS5. Used for clawback event listeners. */ + TitleName?: string; + + } + + export interface ConfigurePSNEventStreamsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon { /** Allow validation of receipts from the Apple production environment. Required for app releases. */ AllowProduction?: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 58381549..6730e3dc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -98,8 +98,6 @@ declare module PlayFabAuthenticationModels { export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ - Entity?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 3819a54d..76e82a72 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2363,6 +2363,11 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index d2ff0a24..90781b89 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -541,6 +541,9 @@ declare module PlayFabMultiplayerModels { | "Easv4" | "Ev4" | "Esv4" + | "Edsv4" + | "Edsv5" + | "Edsv6" | "Dsv3" | "Dsv2" | "NCasT4_v3" @@ -556,7 +559,8 @@ declare module PlayFabMultiplayerModels { | "Eadsv5" | "Eadsv6" | "Eadsv7" - | "Dadsv7"; + | "Dadsv7" + | "Dpdsv6"; type AzureVmSize = "Standard_A1" @@ -637,6 +641,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4ads_v7" | "Standard_E8ads_v7" | "Standard_E16ads_v7" + | "Standard_E2ds_v4" + | "Standard_E4ds_v4" + | "Standard_E8ds_v4" + | "Standard_E16ds_v4" + | "Standard_E2ds_v5" + | "Standard_E4ds_v5" + | "Standard_E8ds_v5" + | "Standard_E16ds_v5" + | "Standard_E2ds_v6" + | "Standard_E4ds_v6" + | "Standard_E8ds_v6" + | "Standard_E16ds_v6" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" @@ -673,7 +689,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D2ds_v6" | "Standard_D4ds_v6" | "Standard_D8ds_v6" - | "Standard_D16ds_v6"; + | "Standard_D16ds_v6" + | "Standard_D2pds_v6" + | "Standard_D4pds_v6" + | "Standard_D8pds_v6" + | "Standard_D16pds_v6"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 47884a40..2a04517a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3142,6 +3142,11 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** From 4807df6003c140f7cbd16cab633af4caffb3af01 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Fri, 7 Aug 2026 20:08:48 +0000 Subject: [PATCH 252/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260805 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 26 +++- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 122 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 19 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 29 ++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 25 ++++ .../src/PlayFab/PlayFabAddonApi.js | 6 +- .../src/PlayFab/PlayFabAdminApi.js | 26 +++- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEconomyApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 6 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 122 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 19 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 29 ++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 25 ++++ 41 files changed, 525 insertions(+), 99 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 5976eecf..ed4a1e56 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.218.260619", + "version": "1.220.260805", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index ad4567c9..7cfb7f7a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 20e6e5d4..21c8875e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -285,6 +285,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateInsightsScheduledScalingTask", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,6 +401,14 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetIPBansForIP: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForIP", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + GetIPBansForTitle: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForTitle", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -581,6 +593,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + RevokeIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + RunTask: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RunTask", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -645,6 +661,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + UpdateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9c42a567..3e963ed9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ccc2ad23..e4f7beea 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 625b4095..cc7d2328 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 4ebf97e7..56702368 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 5334b34c..3b981535 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index f619e7bd..c2273525 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 33be3fb8..c96b50b4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index fd681646..dddde94b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 05227718..0e364ab5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0a28b7c7..5fea2270 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5e694759..efcb9ac9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4dfca0d2..98ab4c73 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index d9a8e9ae..76ed0fc0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0fa96684..7717d578 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 8a96312d..5ca27e40 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -63,6 +63,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask */ CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Bans an IP address or CIDR range for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/createipban + */ + CreateIPBan(request: PlayFabAdminModels.CreateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection @@ -216,6 +221,16 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getdatareport */ GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans that apply to a specific IP address. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansforip + */ + GetIPBansForIP(request: PlayFabAdminModels.GetIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansfortitle + */ + GetIPBansForTitle(request: PlayFabAdminModels.GetAllIPBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the list of titles that the player has played * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayedtitlelist @@ -461,6 +476,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Revokes an active IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeipban + */ + RevokeIPBan(request: PlayFabAdminModels.RevokeIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Run a task immediately regardless of its schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask @@ -554,6 +574,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Updates an existing IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateipban + */ + UpdateIPBan(request: PlayFabAdminModels.UpdateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection @@ -1444,6 +1469,27 @@ declare module PlayFabAdminModels { } + export interface CreateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The UTC date and time when the IP ban expires. Leave this blank for a permanent ban. Must be later than the current time + * and no more than 100 years in the future. + */ + Expires?: string; + /** The IP address to be banned. */ + IPAddress: string; + /** The reason for the IP ban. Maximum 140 characters. */ + Reason?: string; + + } + + export interface CreateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -2682,6 +2728,9 @@ declare module PlayFabAdminModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2999,6 +3048,7 @@ declare module PlayFabAdminModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3037,6 +3087,16 @@ declare module PlayFabAdminModels { } + export interface GetAllIPBansRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface GetAllIPBansResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on all IP bans */ + IPBanData?: IPBanInfo[]; + + } + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3159,6 +3219,18 @@ declare module PlayFabAdminModels { } + export interface GetIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to retrieve information on. */ + IPAddress: string; + + } + + export interface GetIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban */ + IPBanData?: IPBanInfo[]; + + } + export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3680,6 +3752,22 @@ declare module PlayFabAdminModels { } + export interface IPBanInfo { + /** The active state of this ban. */ + Active: boolean; + /** PlayFab Developer ID of who issued the ban. Null if ban issued via Title Secret Key. */ + BannedByDeveloperId?: string; + /** The time when this IP ban was applied. */ + Created?: string; + /** The time when this ban expires. Permanent bans do not have expiration date. */ + Expires?: string; + /** The IP address on which the ban was applied. */ + IPAddress?: string; + /** The reason why this IP ban was applied. */ + Reason?: string; + + } + export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -4398,6 +4486,18 @@ declare module PlayFabAdminModels { } + export interface RevokeIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to be revoked. */ + IPAddress: string; + + } + + export interface RevokeIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was revoked */ + IPBanData?: IPBanInfo; + + } + export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -5469,6 +5569,28 @@ declare module PlayFabAdminModels { } + export interface UpdateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The updated active state for the IP ban. Null for no change. */ + Active?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The updated expiration date for the IP ban. Null for no change. */ + Expires?: string; + /** The IP address of the ban to be updated. */ + IPAddress: string; + /** Whether to make this IP ban permanent. Set to true to make this IP ban permanent. This will not modify Active state. */ + Permanent?: boolean; + /** The updated reason for the IP ban. Maximum 140 characters. Null for no change. */ + Reason?: string; + + } + + export interface UpdateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 76e82a72..967aa61d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2826,6 +2826,11 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -2878,6 +2883,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -2895,6 +2902,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3509,6 +3518,11 @@ declare module PlayFabClientModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4036,6 +4050,11 @@ declare module PlayFabClientModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode?: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90781b89..e006cd44 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -524,7 +524,34 @@ declare module PlayFabMultiplayerModels { | "SwedenCentral" | "CanadaCentral" | "MexicoCentral" - | "WestUs3"; + | "WestUs3" + | "CanadaEast" + | "UkWest" + | "FranceSouth" + | "SouthIndia" + | "SpainCentral" + | "GermanyWestCentral" + | "ItalyNorth" + | "IndonesiaCentral" + | "ChileCentral" + | "PolandCentral" + | "NewZealandNorth" + | "BrazilSoutheast" + | "NorwayEast" + | "SwitzerlandNorth" + | "MalaysiaWest" + | "IsraelCentral" + | "QatarCentral" + | "UaeCentral" + | "GermanyNorth" + | "AustriaEast" + | "BelgiumCentral" + | "DenmarkEast" + | "SwitzerlandWest" + | "SwedenSouth" + | "NorwayWest" + | "SouthAfricaWest" + | "MalaysiaSouth"; type AzureVmFamily = "A" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 2a04517a..804c6ebc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2611,6 +2611,9 @@ declare module PlayFabServerModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2928,6 +2931,7 @@ declare module PlayFabServerModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3537,6 +3541,11 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -3589,6 +3598,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3606,6 +3617,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4171,6 +4184,11 @@ declare module PlayFabServerModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4199,6 +4217,8 @@ declare module PlayFabServerModels { PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; + /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4419,6 +4439,11 @@ declare module PlayFabServerModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index ad4567c9..7cfb7f7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 20e6e5d4..21c8875e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -285,6 +285,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateInsightsScheduledScalingTask", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,6 +401,14 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetIPBansForIP: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForIP", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + GetIPBansForTitle: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForTitle", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -581,6 +593,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + RevokeIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + RunTask: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RunTask", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -645,6 +661,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + UpdateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9c42a567..3e963ed9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ccc2ad23..e4f7beea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 625b4095..cc7d2328 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 4ebf97e7..56702368 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 5334b34c..3b981535 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index f619e7bd..c2273525 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 33be3fb8..c96b50b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index fd681646..dddde94b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 05227718..0e364ab5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0a28b7c7..5fea2270 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5e694759..efcb9ac9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4dfca0d2..98ab4c73 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index d9a8e9ae..76ed0fc0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0fa96684..7717d578 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 8a96312d..5ca27e40 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -63,6 +63,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask */ CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Bans an IP address or CIDR range for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/createipban + */ + CreateIPBan(request: PlayFabAdminModels.CreateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection @@ -216,6 +221,16 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getdatareport */ GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans that apply to a specific IP address. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansforip + */ + GetIPBansForIP(request: PlayFabAdminModels.GetIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansfortitle + */ + GetIPBansForTitle(request: PlayFabAdminModels.GetAllIPBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the list of titles that the player has played * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayedtitlelist @@ -461,6 +476,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Revokes an active IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeipban + */ + RevokeIPBan(request: PlayFabAdminModels.RevokeIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Run a task immediately regardless of its schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask @@ -554,6 +574,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Updates an existing IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateipban + */ + UpdateIPBan(request: PlayFabAdminModels.UpdateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection @@ -1444,6 +1469,27 @@ declare module PlayFabAdminModels { } + export interface CreateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The UTC date and time when the IP ban expires. Leave this blank for a permanent ban. Must be later than the current time + * and no more than 100 years in the future. + */ + Expires?: string; + /** The IP address to be banned. */ + IPAddress: string; + /** The reason for the IP ban. Maximum 140 characters. */ + Reason?: string; + + } + + export interface CreateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -2682,6 +2728,9 @@ declare module PlayFabAdminModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2999,6 +3048,7 @@ declare module PlayFabAdminModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3037,6 +3087,16 @@ declare module PlayFabAdminModels { } + export interface GetAllIPBansRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface GetAllIPBansResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on all IP bans */ + IPBanData?: IPBanInfo[]; + + } + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3159,6 +3219,18 @@ declare module PlayFabAdminModels { } + export interface GetIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to retrieve information on. */ + IPAddress: string; + + } + + export interface GetIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban */ + IPBanData?: IPBanInfo[]; + + } + export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3680,6 +3752,22 @@ declare module PlayFabAdminModels { } + export interface IPBanInfo { + /** The active state of this ban. */ + Active: boolean; + /** PlayFab Developer ID of who issued the ban. Null if ban issued via Title Secret Key. */ + BannedByDeveloperId?: string; + /** The time when this IP ban was applied. */ + Created?: string; + /** The time when this ban expires. Permanent bans do not have expiration date. */ + Expires?: string; + /** The IP address on which the ban was applied. */ + IPAddress?: string; + /** The reason why this IP ban was applied. */ + Reason?: string; + + } + export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -4398,6 +4486,18 @@ declare module PlayFabAdminModels { } + export interface RevokeIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to be revoked. */ + IPAddress: string; + + } + + export interface RevokeIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was revoked */ + IPBanData?: IPBanInfo; + + } + export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -5469,6 +5569,28 @@ declare module PlayFabAdminModels { } + export interface UpdateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The updated active state for the IP ban. Null for no change. */ + Active?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The updated expiration date for the IP ban. Null for no change. */ + Expires?: string; + /** The IP address of the ban to be updated. */ + IPAddress: string; + /** Whether to make this IP ban permanent. Set to true to make this IP ban permanent. This will not modify Active state. */ + Permanent?: boolean; + /** The updated reason for the IP ban. Maximum 140 characters. Null for no change. */ + Reason?: string; + + } + + export interface UpdateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 76e82a72..967aa61d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2826,6 +2826,11 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -2878,6 +2883,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -2895,6 +2902,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3509,6 +3518,11 @@ declare module PlayFabClientModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4036,6 +4050,11 @@ declare module PlayFabClientModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode?: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90781b89..e006cd44 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -524,7 +524,34 @@ declare module PlayFabMultiplayerModels { | "SwedenCentral" | "CanadaCentral" | "MexicoCentral" - | "WestUs3"; + | "WestUs3" + | "CanadaEast" + | "UkWest" + | "FranceSouth" + | "SouthIndia" + | "SpainCentral" + | "GermanyWestCentral" + | "ItalyNorth" + | "IndonesiaCentral" + | "ChileCentral" + | "PolandCentral" + | "NewZealandNorth" + | "BrazilSoutheast" + | "NorwayEast" + | "SwitzerlandNorth" + | "MalaysiaWest" + | "IsraelCentral" + | "QatarCentral" + | "UaeCentral" + | "GermanyNorth" + | "AustriaEast" + | "BelgiumCentral" + | "DenmarkEast" + | "SwitzerlandWest" + | "SwedenSouth" + | "NorwayWest" + | "SouthAfricaWest" + | "MalaysiaSouth"; type AzureVmFamily = "A" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 2a04517a..804c6ebc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2611,6 +2611,9 @@ declare module PlayFabServerModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2928,6 +2931,7 @@ declare module PlayFabServerModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3537,6 +3541,11 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -3589,6 +3598,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3606,6 +3617,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4171,6 +4184,11 @@ declare module PlayFabServerModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4199,6 +4217,8 @@ declare module PlayFabServerModels { PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; + /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4419,6 +4439,11 @@ declare module PlayFabServerModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ From 2cd9cd2bc9f773d3d40494833fb130cae9a758cf Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 23 Sep 2026 01:20:32 +0000 Subject: [PATCH 253/253] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260922 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabProgressionApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 31 +++++++++-- .../Typings/PlayFab/PlayFabInsightsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 53 +------------------ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 44 ++++++++++++--- .../src/PlayFab/PlayFabAddonApi.js | 8 +-- .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEconomyApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabProgressionApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 31 +++++++++-- .../typings/PlayFab/PlayFabInsightsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 53 +------------------ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 44 ++++++++++++--- 43 files changed, 283 insertions(+), 253 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index ed4a1e56..817f859b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.220.260805", + "version": "1.222.260922", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 7cfb7f7a..24cba57f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 21c8875e..b543d7be 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 3e963ed9..8ac1c155 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e4f7beea..f66af485 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index cc7d2328..17c11b0f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 56702368..49e60dfc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 3b981535..013d5ea7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c2273525..c8ed22b3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index c96b50b4..06fe7806 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index dddde94b..5ff17e41 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 0e364ab5..4751a9f5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 5fea2270..f2b8672f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index efcb9ac9..d92785ef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 98ab4c73..5a1ec15d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 76ed0fc0..479bc913 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7717d578..a0f01589 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 5ca27e40..46869cef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3049,6 +3049,8 @@ declare module PlayFabAdminModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -6058,10 +6060,17 @@ declare module PlayFabAdminModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 967aa61d..b75e42e4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2876,14 +2876,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -2895,14 +2903,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -5656,10 +5672,17 @@ declare module PlayFabClientModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts index c9389833..bdc18b6b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts @@ -130,7 +130,7 @@ declare module PlayFabInsightsModels { } export interface InsightsPerformanceLevel { - /** Number of allowed active event exports. */ + /** Number of allowed active event exports. This value is always zero. */ ActiveEventExports: number; /** Maximum cache size. */ CacheSizeMB: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index e006cd44..17112934 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -966,8 +966,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1011,8 +1009,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1025,11 +1021,6 @@ declare module PlayFabMultiplayerModels { ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1067,8 +1058,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1117,8 +1106,6 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1133,11 +1120,6 @@ declare module PlayFabMultiplayerModels { ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1180,8 +1162,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1238,8 +1218,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1255,11 +1233,6 @@ declare module PlayFabMultiplayerModels { * relative to the root asset folder when unzipped. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1885,6 +1858,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** The instrumentation configuration of the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** @@ -2919,30 +2894,6 @@ declare module PlayFabMultiplayerModels { | "Locked"; - export interface MonitoringApplicationConfiguration { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReference; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - - export interface MonitoringApplicationConfigurationParams { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReferenceParams; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 804c6ebc..dbde1d7a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2932,6 +2932,8 @@ declare module PlayFabServerModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3591,14 +3593,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -3610,14 +3620,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -4211,13 +4229,20 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signs in under, otherwise the link will not be resolved by that sign in. + */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; - /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox to key the link under. Sandbox membership is per account, not per title: supply + * this only when the account signs in from a sandbox, and omit it otherwise, including for all retail accounts. This must + * match the sandbox the account signs in from, otherwise the link will not be resolved by that sign in. + */ SandboxId?: string; } @@ -6039,10 +6064,17 @@ declare module PlayFabServerModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 7cfb7f7a..24cba57f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 21c8875e..b543d7be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 3e963ed9..8ac1c155 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e4f7beea..f66af485 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index cc7d2328..17c11b0f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 56702368..49e60dfc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 3b981535..013d5ea7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c2273525..c8ed22b3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index c96b50b4..06fe7806 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index dddde94b..5ff17e41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 0e364ab5..4751a9f5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 5fea2270..f2b8672f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index efcb9ac9..d92785ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 98ab4c73..5a1ec15d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 76ed0fc0..479bc913 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7717d578..a0f01589 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 5ca27e40..46869cef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3049,6 +3049,8 @@ declare module PlayFabAdminModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -6058,10 +6060,17 @@ declare module PlayFabAdminModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 967aa61d..b75e42e4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2876,14 +2876,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -2895,14 +2903,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -5656,10 +5672,17 @@ declare module PlayFabClientModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts index c9389833..bdc18b6b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts @@ -130,7 +130,7 @@ declare module PlayFabInsightsModels { } export interface InsightsPerformanceLevel { - /** Number of allowed active event exports. */ + /** Number of allowed active event exports. This value is always zero. */ ActiveEventExports: number; /** Maximum cache size. */ CacheSizeMB: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index e006cd44..17112934 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -966,8 +966,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1011,8 +1009,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1025,11 +1021,6 @@ declare module PlayFabMultiplayerModels { ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1067,8 +1058,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1117,8 +1106,6 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1133,11 +1120,6 @@ declare module PlayFabMultiplayerModels { ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1180,8 +1162,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1238,8 +1218,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1255,11 +1233,6 @@ declare module PlayFabMultiplayerModels { * relative to the root asset folder when unzipped. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1885,6 +1858,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** The instrumentation configuration of the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** @@ -2919,30 +2894,6 @@ declare module PlayFabMultiplayerModels { | "Locked"; - export interface MonitoringApplicationConfiguration { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReference; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - - export interface MonitoringApplicationConfigurationParams { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReferenceParams; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 804c6ebc..dbde1d7a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2932,6 +2932,8 @@ declare module PlayFabServerModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3591,14 +3593,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -3610,14 +3620,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -4211,13 +4229,20 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signs in under, otherwise the link will not be resolved by that sign in. + */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; - /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox to key the link under. Sandbox membership is per account, not per title: supply + * this only when the account signs in from a sandbox, and omit it otherwise, including for all retail accounts. This must + * match the sandbox the account signs in from, otherwise the link will not be resolved by that sign in. + */ SandboxId?: string; } @@ -6039,10 +6064,17 @@ declare module PlayFabServerModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; }